/* OMG Que Linda — v3 · estética limpia de clínica + spa */
:root {
  --white: #FFFFFF;
  --canvas: #F4F4F2;
  --card: #F0EFEC;
  --ink: #171A19;
  --muted: #6A6F6C;
  --line: #E5E4E0;
  --green: #CFE5C5;
  --green-2: #B9D9AC;
  --green-d: #3B5A45;
  --blush: #F4E6E0;
  --lilac: #ECE7F3;
  --sand: #EFE6DA;

  --font: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1280px;
  --r: 28px;
  --r-sm: 16px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--green-d); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { font-weight: 400; letter-spacing: -0.035em; line-height: 1.02; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 5.6vw, 5rem); font-weight: 300; text-transform: uppercase; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.3rem); font-weight: 300; }
h3 { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 52ch; }
.wrap { width: min(var(--wrap), 100% - 2rem); margin-inline: auto; }

/* Contenedor principal blanco (estilo "lienzo") */
.sheet { background: var(--white); border-radius: 0 0 var(--r) var(--r); }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--white { background: var(--white); }
.panel { background: var(--white); border-radius: var(--r); margin: 1rem auto; width: min(var(--wrap) + 4rem, 100% - 1rem); padding: clamp(3rem, 6vw, 5.5rem) 0; }
.eyebrow { display: flex; align-items: center; gap: .6rem; font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.pill { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 500; padding: .25rem .7rem; border-radius: 999px; background: var(--green); color: var(--green-d); white-space: nowrap; }
.pill--line { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.head-row h2 { margin: 0; }
.head-row .lead { margin: 0; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: .6rem; border: 0; cursor: pointer; font: 600 .82rem/1 var(--font); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; padding: 1rem 1.5rem; border-radius: 999px; background: var(--green); color: var(--ink); transition: background .3s var(--ease), transform .3s var(--ease); }
.btn svg { width: 14px; height: 14px; flex: none; }
.btn:hover { background: var(--green-2); }
.btn:active { transform: scale(.97); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2C3230; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--green); }
.btn--ghost { background: transparent; border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--canvas); }
.circle { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--canvas); color: var(--ink); text-decoration: none; transition: background .3s var(--ease), transform .3s var(--ease); border: 0; cursor: pointer; }
.circle svg { width: 16px; height: 16px; }
.circle--white { background: #fff; }
.circle--green { background: var(--green); }
.circle--dark { background: var(--ink); color: #fff; }
a:hover > .circle, .circle:hover { background: var(--green); transform: translateX(2px); }
.text-link { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header .wrap { display: flex; align-items: center; gap: 1.5rem; height: 76px; }
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.logo__mark { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-size: .78rem; font-weight: 700; letter-spacing: -.02em; }
.logo__text { font-weight: 600; font-size: 1.05rem; letter-spacing: -.02em; line-height: 1.05; }
.logo__text small { display: block; font-weight: 400; font-size: .72rem; color: var(--muted); letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: .3rem; margin-left: 1rem; }
.nav a { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; padding: .7rem 1rem; border-radius: 999px; transition: background .25s; }
.nav a:hover { background: var(--canvas); }
.nav a[aria-current="page"] { background: var(--canvas); }
.nav a .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #E0706B; margin-left: .4rem; vertical-align: middle; }
.header__end { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.burger { display: none; }
@media (max-width: 1020px) {
  .nav { position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 1rem; margin: 0; border-bottom: 1px solid var(--line); transform: translateY(-120%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; z-index: -1; }
  .nav.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease); }
  .nav a { padding: 1rem; font-size: .9rem; }
  .burger { display: grid; }
  .header__end .hide-sm { display: none; }
}

/* HERO tipo "framed" */
.hero { padding: 1.5rem 0 3rem; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 1.5rem; min-height: min(78vh, 760px); }
.hero__left { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1rem, 3vw, 2.5rem) clamp(0rem, 2vw, 1.5rem) 0 0; }
.hero__left h1 { margin-top: 1.5rem; }
.hero__sub { font-size: 1.05rem; color: var(--muted); max-width: 44ch; margin: 1.5rem 0 2rem; }
.svc-list__head { display: flex; align-items: center; gap: .7rem; font-size: .95rem; margin-bottom: .6rem; }
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-list li { border-top: 1px solid var(--line); }
.svc-list li:last-child { border-bottom: 1px solid var(--line); }
.svc-list a { display: grid; grid-template-columns: 52px 1fr auto auto; align-items: center; gap: 1rem; padding: .7rem 0; text-decoration: none; }
.svc-list img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.svc-list .name { font-size: .98rem; }
.svc-list .pill--line { font-size: .72rem; }
.hero__photo { position: relative; border-radius: var(--r); overflow: hidden; background: #E9E9E7; min-height: 520px; }
.hero__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.06); transition: transform 1.8s var(--ease); }
.is-ready .hero__photo > img { transform: scale(1); }
.glass { display: inline-flex; align-items: center; gap: .7rem; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 999px; padding: .4rem .45rem .4rem .45rem; font-size: .82rem; line-height: 1.25; text-decoration: none; color: var(--ink); }
.glass small { display: block; color: var(--muted); font-size: .74rem; }
.glass .circle { width: 36px; height: 36px; }
.glass .avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.glass--txt { padding-right: 1.1rem; }
.hero__tl { position: absolute; top: 1.2rem; left: 1.2rem; }
.hero__tr { position: absolute; top: 1.2rem; right: 1.2rem; display: flex; gap: .5rem; }
.hero__mid { position: absolute; left: 50%; top: 66%; transform: translateX(-50%); padding: .85rem 1.3rem; border-radius: 14px; background: #fff; display: flex; gap: .7rem; align-items: center; font-size: .9rem; white-space: nowrap; box-shadow: 0 20px 40px -20px rgba(0,0,0,.3); }
.hero__mid svg { width: 18px; height: 18px; color: var(--muted); }
.hero__bl { position: absolute; left: 1.2rem; bottom: 1.2rem; }
.hero__br { position: absolute; right: 1.2rem; bottom: 1.2rem; }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { min-height: 440px; }
  .hero__left { padding: 0; }
  .hero__mid { top: auto; bottom: 5.2rem; }
}
@media (max-width: 520px) { .hero__br { display: none; } .hero__photo { min-height: 480px; } .hero__mid { font-size: .82rem; } }

/* Cifras */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 2.5rem 0 0; border-top: 1px solid var(--line); }
.stats div { text-align: center; }
.stats strong { display: block; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 300; letter-spacing: -.04em; line-height: 1; margin-bottom: .5rem; }
.stats span { font-size: .9rem; color: var(--muted); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 2rem; } }

/* ¿Por qué nosotros? con círculos concéntricos */
.why { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 30%; padding: 2rem 0; }
.why::before, .why::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid var(--line); transform: translate(-50%, -50%); pointer-events: none; }
.why::before { width: min(560px, 70vw); height: min(560px, 70vw); }
.why::after { width: min(420px, 54vw); height: min(420px, 54vw); }
.why__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; z-index: 1; }
.why__center h2 { text-transform: uppercase; font-size: clamp(2rem, 3.6vw, 3rem); margin: 0; }
.why__card { position: relative; z-index: 1; background: var(--card); border-radius: 22px; padding: 1.6rem 1.7rem; min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; }
.why__card header { display: flex; justify-content: space-between; gap: 1rem; }
.why__card h3 { font-size: 1.15rem; max-width: 18ch; }
.why__num { font-size: .78rem; display: flex; gap: .2rem; }
.why__num b { background: #fff; border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; font-weight: 500; }
.why__num i { font-style: normal; color: #C4C4C0; width: 30px; height: 30px; display: grid; place-items: center; }
.why__card p { color: var(--muted); font-size: .93rem; margin: 1.2rem 0 0; max-width: 34ch; }
@media (max-width: 860px) {
  .why { grid-template-columns: 1fr; gap: 1rem; }
  .why::before, .why::after { display: none; }
  .why__center { position: static; transform: none; text-align: left; margin-bottom: 1rem; order: -1; }
}

/* Carrusel de medicina estética */
.carousel { position: relative; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, calc((100% - 3rem) / 4)); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem; }
.track::-webkit-scrollbar { display: none; }
.tcard { position: relative; scroll-snap-align: start; border-radius: 24px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--lilac); text-decoration: none; color: var(--ink); display: block; isolation: isolate; }
.tcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1s var(--ease); }
.tcard:hover img { transform: scale(1.05); }
.tcard::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.92) 70%); z-index: -1; }
.tcard__body { position: absolute; left: 1.3rem; right: 1.3rem; bottom: 1.2rem; display: flex; justify-content: space-between; align-items: end; gap: .8rem; }
.tcard h3 { font-size: 1.5rem; font-weight: 500; margin: 0 0 .25rem; }
.tcard p { font-size: .85rem; color: var(--muted); margin: 0; }
.tcard .pill { position: absolute; top: 1.1rem; left: 1.1rem; background: #fff; color: var(--ink); }
.carousel__nav { display: flex; gap: .5rem; }

/* Bento de servicios (tipo mosaico) */
.tabs { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.tabs button { font: 300 clamp(1.8rem, 3.4vw, 3rem)/1.1 var(--font); letter-spacing: -.035em; background: none; border: 0; padding: 0; cursor: pointer; color: #C3C4C0; transition: color .3s; }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs span { font: 300 clamp(1.8rem, 3.4vw, 3rem)/1 var(--font); color: #C3C4C0; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 168px; gap: 1rem; }
.bento[hidden] { display: none; }
.tile { position: relative; border-radius: 22px; overflow: hidden; text-decoration: none; color: #fff; background: var(--card); isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1s var(--ease); }
.tile:hover img { transform: scale(1.05); }

.tile h3 { position: absolute; top: 1rem; left: 1rem; max-width: calc(100% - 2rem); margin: 0; font-size: .92rem; font-weight: 600; color: var(--ink); background: rgba(255,255,255,.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: .5rem .85rem; border-radius: 999px; }
.tile--plain h3, .tile--green h3 { background: none; padding: 0; font-size: 1.3rem; font-weight: 500; left: 1.3rem; top: 1.3rem; }
.tile .circle { position: absolute; right: 1rem; bottom: 1rem; background: #fff; }
.tile--light { color: var(--ink); }
.tile--light::before { display: none; }
.tile--plain { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.tile--plain::before { display: none; }
.tile--plain .circle { background: var(--green); }
.tile--green { background: var(--green); color: var(--ink); }
.tile--green::before { display: none; }
.c3 { grid-column: span 3; } .c4 { grid-column: span 4; } .c5 { grid-column: span 5; } .c6 { grid-column: span 6; } .c8 { grid-column: span 8; }
.r1 { grid-row: span 1; } .r2 { grid-row: span 2; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; } .bento > * { grid-column: span 1 !important; grid-row: span 1 !important; } .bento > .wide-sm { grid-column: span 2 !important; } }

/* Procedimiento destacado (círculo con anotaciones) */
.feature { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 2rem; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 3rem 0; }
.feature h2 { text-transform: uppercase; font-size: clamp(2rem, 3.4vw, 2.9rem); }
.feature__circle { position: relative; aspect-ratio: 1; max-width: 420px; margin: 0 auto; width: 100%; }
.feature__circle img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.feature__circle .dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.4); }
.feature__circle .play { position: absolute; right: 8%; bottom: 6%; width: 64px; height: 64px; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips span { font-size: .82rem; background: var(--canvas); border-radius: 999px; padding: .4rem .85rem; }
.feature__right { display: flex; flex-direction: column; justify-content: space-between; height: 100%; gap: 2rem; }
.feature__right p { color: var(--muted); }
.feature__more { display: flex; align-items: center; gap: .8rem; justify-content: flex-end; text-decoration: none; font-size: .85rem; text-align: right; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature__circle { max-width: 340px; } }

/* Proceso */
.process { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }
.steps { display: grid; gap: .8rem; }
.step { display: grid; grid-template-columns: 70px 1fr; gap: 1rem; background: var(--card); border-radius: 20px; padding: 1.5rem; }
.step b { font-size: 2.4rem; font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.step h3 { margin: .2rem 0 .3rem; font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); font-size: .93rem; }
.process__img { border-radius: var(--r); overflow: hidden; min-height: 420px; position: relative; }
.process__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.process__img .glass { position: absolute; left: 1.2rem; bottom: 1.2rem; padding: .9rem 1.2rem; border-radius: 18px; max-width: 300px; display: block; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr; } }

/* Promos */
.promos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.promo { background: var(--card); border-radius: var(--r); padding: 2rem; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.promo--img { color: #fff; background: #222; isolation: isolate; }
.promo--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.promo--img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,24,22,.15), rgba(20,24,22,.8)); z-index: -1; }
.promo--img .muted, .promo--img li { color: rgba(255,255,255,.82); }
.promo h3 { font-size: 1.7rem; font-weight: 400; margin-bottom: .3rem; }
.promo ul { list-style: none; margin: 1.5rem 0; padding: 0; flex: 1; display: grid; gap: .45rem; align-content: start; }
.promo li { font-size: .93rem; padding-left: 1.2rem; position: relative; }
.promo li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--green-d); }
.promo--img li::before { background: var(--green); }
.price { font-size: 2.8rem; font-weight: 300; letter-spacing: -.04em; margin-bottom: 1.25rem; line-height: 1; }
.price small { font-size: .85rem; letter-spacing: 0; }
.promo .pill { position: absolute; top: 1.5rem; right: 1.5rem; }
@media (max-width: 900px) { .promos { grid-template-columns: 1fr; } }

/* Equipo */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }
.team__img { border-radius: var(--r); overflow: hidden; position: relative; min-height: 520px; }
.team__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team__body { background: var(--card); border-radius: var(--r); padding: clamp(2rem, 4vw, 3.2rem); display: flex; flex-direction: column; justify-content: center; }
.team__body h2 { margin-bottom: .3rem; }
.creds { list-style: none; margin: 1.6rem 0 2rem; padding: 0; display: grid; gap: .7rem; }
.creds li { display: flex; gap: .8rem; align-items: flex-start; font-size: .95rem; }
.creds li::before { content: ""; flex: none; margin-top: .25rem; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%233B5A45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr; } .team__img { min-height: 380px; } }

/* Testimonios */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.review { background: var(--card); border-radius: 22px; padding: 1.6rem; margin: 0; }
.review .stars { color: #E7A33E; letter-spacing: 2px; margin-bottom: .8rem; }
.review blockquote { margin: 0 0 1.2rem; font-size: .98rem; }
.review figcaption { font-size: .85rem; color: var(--muted); }
[data-reviews][hidden] { display: none; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* CTA y contacto */
.cta { position: relative; border-radius: var(--r); overflow: hidden; color: #fff; padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4rem); isolation: isolate; display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: end; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,26,25,.78), rgba(23,26,25,.25)); z-index: -1; }
.cta h2 { text-transform: uppercase; margin: 0 0 1rem; }
.cta p { color: rgba(255,255,255,.82); max-width: 44ch; margin: 0; }
.cta .btns { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } .cta .btns { justify-content: flex-start; } }

.visit { display: grid; grid-template-columns: 1fr 1.3fr; gap: 1.5rem; }
.visit__info { background: var(--card); border-radius: var(--r); padding: clamp(2rem, 4vw, 3rem); }
.visit dl { margin: 1.5rem 0 2rem; display: grid; gap: 1.1rem; }
.visit dt { font-size: .8rem; color: var(--muted); }
.visit dd { margin: .1rem 0 0; font-size: 1.05rem; }
.map { width: 100%; height: 100%; min-height: 420px; border: 0; border-radius: var(--r); background: var(--card); }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } }

/* Footer */
.footer { padding: 4rem 0 2rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.footer h4 { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .95rem; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; font-size: .8rem; color: var(--muted); }
@media (max-width: 800px) { .footer__top { grid-template-columns: 1fr 1fr; } }

/* Páginas internas */
.page-hero { padding: 1.5rem 0 3rem; }
.page-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }
.page-hero__text { padding: clamp(1rem, 3vw, 2.5rem) 0; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.page-hero__photo { position: relative; border-radius: var(--r); overflow: hidden; min-height: 460px; }
.page-hero__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero__photo { min-height: 360px; } }

.filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; }
.chip { font: 500 .85rem var(--font); padding: .6rem 1.05rem; border-radius: 999px; border: 0; background: var(--card); color: var(--ink); cursor: pointer; transition: background .25s; }
.chip:hover { background: var(--green); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }

.treatments { display: grid; gap: 1rem; }
.treat { display: grid; grid-template-columns: 300px 1fr; gap: 0; background: var(--card); border-radius: var(--r); overflow: hidden; scroll-margin-top: 110px; }
.treat[hidden] { display: none; }
.treat__img { position: relative; min-height: 280px; }
.treat__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.treat__img .pill { position: absolute; top: 1rem; left: 1rem; background: #fff; color: var(--ink); }
.treat__body { padding: clamp(1.5rem, 3vw, 2.3rem); display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem 2.5rem; }
.treat__body h3 { font-size: 1.8rem; font-weight: 400; letter-spacing: -.03em; margin-bottom: .6rem; }
.treat__body > div > p { color: var(--muted); font-size: .95rem; }
.treat dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 16px; overflow: hidden; align-self: start; }
.treat dl div { background: #fff; padding: .9rem 1rem; }
.treat dt { font-size: .74rem; color: var(--muted); }
.treat dd { margin: .15rem 0 0; font-size: .92rem; font-weight: 600; }
@media (max-width: 960px) { .treat { grid-template-columns: 1fr; } .treat__img { min-height: 240px; } .treat__body { grid-template-columns: 1fr; } }
.empty-note { display: none; background: var(--card); border-radius: 20px; padding: 1.5rem; }
.empty-note.is-visible { display: block; }
.disclaimer { font-size: .82rem; color: var(--muted); margin-top: 2rem; max-width: 80ch; }

.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.cards4 > div { background: var(--card); border-radius: 22px; padding: 1.6rem; }
.cards4 h3 { font-size: 1.1rem; }
.cards4 p { color: var(--muted); font-size: .93rem; margin: 0; }
.cards4 .ico { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; margin-bottom: 2.5rem; }
.cards4 .ico svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .cards4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cards4 { grid-template-columns: 1fr; } }

.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.3rem 3.5rem 1.3rem 0; font-size: 1.12rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: var(--card); display: grid; place-items: center; font-size: 1.2rem; transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--green); }
.faq details p { color: var(--muted); padding-bottom: 1.3rem; margin: 0; max-width: 62ch; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: 1rem; } }

.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cat { background: var(--card); border-radius: var(--r); overflow: hidden; scroll-margin-top: 110px; }
.cat__img { height: 200px; position: relative; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; }
.cat__body { padding: 1.5rem 1.6rem 1.2rem; }
.cat h3 { font-size: 1.4rem; font-weight: 400; }
.cat ul { list-style: none; margin: 0; padding: 0; }
.cat li { border-top: 1px solid var(--line); }
.cat li a, .cat li span.row { display: flex; justify-content: space-between; align-items: center; padding: .75rem 0; text-decoration: none; font-size: .95rem; }
.cat li a:hover { color: var(--green-d); }
@media (max-width: 900px) { .catalog { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .catalog { grid-template-columns: 1fr; } }

.table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border-radius: 22px; overflow: hidden; }
.table th, .table td { text-align: left; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); }
.table tr:last-child td { border-bottom: 0; }
.table th { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.table td + td { font-size: 1.3rem; font-weight: 300; letter-spacing: -.02em; white-space: nowrap; }

.video { position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.prose { max-width: 70ch; } .prose h2 { font-size: 1.6rem; font-weight: 400; margin-top: 2rem; }

/* Formulario / modal */
.booking { border: 0; padding: 0; width: min(560px, 100% - 1.5rem); max-height: calc(100dvh - 2rem); border-radius: var(--r); background: #fff; color: var(--ink); overflow: auto; box-shadow: 0 40px 100px -30px rgba(0,0,0,.45); }
.booking::backdrop { background: rgba(23,26,25,.4); backdrop-filter: blur(4px); }
.booking[open] { animation: up .45s var(--ease); }
@keyframes up { from { opacity: 0; transform: translateY(20px); } }
.booking__head { display: flex; justify-content: space-between; gap: 1rem; padding: 2rem 2rem 0; }
.booking__head h2 { font-size: 2rem; margin: 0 0 .3rem; }
.form { display: grid; gap: 1rem; padding: 1.5rem 2rem 2rem; }
.form--flat { padding: 0; }
.field { display: grid; gap: .35rem; }
.field label, .field .lbl { font-size: .8rem; font-weight: 600; }
.field input, .field select, .field textarea { font: 400 1rem var(--font); color: var(--ink); background: var(--canvas); border: 1px solid transparent; border-radius: 14px; padding: .9rem 1rem; width: 100%; transition: border-color .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-d); background: #fff; }
.field textarea { min-height: 90px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.seg { display: flex; gap: .4rem; flex-wrap: wrap; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { font-weight: 500; font-size: .85rem; padding: .6rem 1rem; border-radius: 999px; background: var(--canvas); cursor: pointer; }
.seg input:checked + label { background: var(--ink); color: #fff; }
.seg input:focus-visible + label { outline: 2px solid var(--green-d); }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; color: var(--muted); }
.consent input { margin-top: .2rem; accent-color: var(--green-d); }
.form .btn { justify-content: center; }
.form .alt { text-align: center; font-size: .88rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } .booking__head, .form { padding-inline: 1.25rem; } }

/* WhatsApp + barra móvil */
.wa-float { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.4); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
.mbar { display: none; }
@media (max-width: 700px) {
  .wa-float { display: none; }
  .mbar { display: flex; gap: .5rem; position: fixed; left: .7rem; right: .7rem; bottom: .7rem; z-index: 60; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); padding: .45rem; border-radius: 999px; box-shadow: 0 14px 40px -12px rgba(0,0,0,.35); }
  .mbar .btn { flex: 1; justify-content: center; }
  .mbar .wa { width: 48px; height: 48px; border-radius: 50%; background: #25D366; display: grid; place-items: center; }
  .mbar .wa svg { width: 24px; fill: #fff; }
  body { padding-bottom: 4.5rem; }
}
.skip { position: absolute; left: 1rem; top: -100px; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 10px; z-index: 100; }
.skip:focus { top: 1rem; }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-r] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ===== v4: logo, animación y mobile ===== */
.logo { color: var(--ink); gap: .9rem; }
.logo__svg { height: 40px; width: auto; display: block; }
.logo__slogan { font-size: .7rem; line-height: 1.15; color: var(--muted); border-left: 1px solid var(--line); padding-left: .9rem; letter-spacing: .02em; }
.footer__logo { width: 120px; height: 120px; }
.header { transition: transform .45s var(--ease), border-color .3s; }
.header.is-hidden { transform: translateY(-100%); }
.nav__extra { display: none; }

/* Barra de progreso */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--green-d); transform-origin: left; transform: scaleX(0); z-index: 90; }

/* Intro con logo (una vez por sesión) */
.loader { position: fixed; inset: 0; z-index: 200; background: #fff; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; color: var(--ink); }
.loader svg { width: min(220px, 55vw); height: auto; clip-path: inset(0 100% 0 0); animation: logoIn 1s var(--ease) .1s forwards; }
.loader span { font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); opacity: 0; animation: fadeIn .6s ease .7s forwards; }
.show-loader .loader { display: flex; animation: loaderOut .7s var(--ease) 1.6s forwards; }
@keyframes logoIn { to { clip-path: inset(0 0 0 0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes loaderOut { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* Revelados */
.js [data-r] { transition: opacity .9s var(--ease), transform .9s var(--ease), clip-path 1.1s var(--ease); }
.js [data-r]:not(.in) { opacity: 0; transform: translateY(28px); }
.js [data-r="scale"]:not(.in) { transform: scale(.88); }
.js [data-r="clip"] { opacity: 1 !important; }
.js [data-r="clip"]:not(.in) { transform: none; clip-path: inset(14% 8% 14% 8% round 28px); }
.js [data-r="clip"].in { clip-path: inset(0 0 0 0 round 0px); }
.js .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.js .split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.js .split.in .w > span { transform: none; }

/* Pills flotantes */
.float { animation: bob 5s ease-in-out infinite; }
.f2 { animation-delay: -1.6s; } .f3 { animation-delay: -3.2s; }
@keyframes bob { 50% { transform: translateY(-7px); } }
.hero__mid { animation: bobc 6s ease-in-out infinite; }
@keyframes bobc { 50% { transform: translate(-50%, -6px); } }
.typing::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; background: var(--ink); margin-left: 2px; vertical-align: -2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* Marquesina */
.marquee { overflow: hidden; background: var(--ink); color: #fff; padding: 1.05rem 0; transform: rotate(-1.2deg) scale(1.02); margin: .5rem 0 1rem; }
.marquee__track { display: flex; width: max-content; animation: mq 32s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 2rem; padding-right: 2rem; font-size: clamp(1.1rem, 2.4vw, 1.6rem); font-weight: 300; letter-spacing: -.02em; white-space: nowrap; }
.marquee__track span::after { content: "✦"; color: var(--green); font-size: .8em; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Anillo giratorio */
.feature__circle .ring { position: absolute; inset: -9%; width: 118%; height: 118%; animation: spin 24s linear infinite; z-index: 1; pointer-events: none; }
.ring text { font: 600 8.2px var(--font); letter-spacing: .22em; fill: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.why::before { border-style: dashed; animation: spin 60s linear infinite; }

/* Puntos del carrusel */
.dots { display: flex; justify-content: center; gap: .4rem; margin-top: 1.2rem; }
.dots i { width: 7px; height: 7px; border-radius: 99px; background: #D5D6D2; transition: width .4s var(--ease), background .4s; }
.dots i.on { width: 24px; background: var(--ink); }

/* Feedback táctil */
.tile:active, .tcard:active, .svc-list a:active, .promo:active { transform: scale(.98); }
.tile, .tcard, .promo { transition: transform .35s var(--ease); }

/* Barra inferior móvil: aparece al bajar */
.mbar { transform: translateY(140%); transition: transform .5s var(--ease); }
.mbar.show { transform: none; }

/* ===== Mobile first (≤ 700px) ===== */
@media (max-width: 1020px) {
  .nav { inset: 0; height: 100dvh; padding: 6rem 1.5rem 2rem; justify-content: flex-start; gap: .2rem; transform: none; clip-path: circle(0 at calc(100% - 2.2rem) 2.4rem); transition: clip-path .7s var(--ease), visibility 0s .7s; z-index: 1; }
  .nav.is-open { clip-path: circle(160% at calc(100% - 2.2rem) 2.4rem); transition: clip-path .7s var(--ease); }
  .nav > a { font-size: 1.9rem !important; font-weight: 300; letter-spacing: -.03em !important; text-transform: none !important; padding: .55rem 0 !important; border-radius: 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .6s var(--ease); }
  .nav.is-open > a { opacity: 1; transform: none; }
  .nav.is-open > a:nth-child(2) { transition-delay: .06s; } .nav.is-open > a:nth-child(3) { transition-delay: .12s; } .nav.is-open > a:nth-child(4) { transition-delay: .18s; } .nav.is-open > a:nth-child(5) { transition-delay: .24s; }
  .nav > a[aria-current="page"] { background: none; color: var(--green-d); }
  .nav__extra { display: grid; gap: 1rem; margin-top: auto; padding-top: 1.5rem; }
  .nav__extra .btn { justify-content: center; }
  .nav__extra p { color: var(--muted); font-size: .9rem; margin: 0; }
  .nav__social { display: flex; gap: .5rem; }
  .burger { position: relative; z-index: 2; }
  .logo { position: relative; z-index: 2; }
}
@media (max-width: 700px) {
  body { font-size: 15.5px; }
  .wrap { width: calc(100% - 1.5rem); }
  .header .wrap { height: 64px; }
  .logo__svg { height: 34px; }
  .logo__slogan { font-size: .62rem; padding-left: .7rem; }
  h1 { font-size: clamp(2.5rem, 12.5vw, 3.4rem); }
  h2 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .hero { padding: .5rem 0 2rem; }
  .hero__grid { gap: 1.25rem; min-height: 0; }
  .hero__left { display: contents; }
  .hero__left > div:first-child { order: 1; }
  .hero__photo { order: 2; min-height: 420px; border-radius: 24px; }
  .hero__svcs { order: 3; }
  .hero__sub { margin: 1rem 0 1.4rem; font-size: 1rem; }
  .hero__ctas { display: grid !important; grid-template-columns: 1fr 1fr; gap: .5rem; }
  .hero__ctas .btn { justify-content: center; padding: 1rem .8rem; }
  .hero__left h1 { margin-top: 1rem; }
  .section { padding: 3.5rem 0; }
  .panel { width: calc(100% - .75rem); border-radius: 24px; padding: 3rem 0; }
  .head-row { margin-bottom: 1.5rem; gap: 1rem; }
  .stats { padding-top: 1.5rem; }
  .swipe-sm { display: grid !important; grid-auto-flow: column; grid-template-columns: none !important; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; gap: .75rem !important; padding: 0 .75rem .5rem; margin: 0 -.75rem; scrollbar-width: none; }
  .swipe-sm::-webkit-scrollbar { display: none; }
  .swipe-sm > * { scroll-snap-align: center; }
  .why.swipe-sm { padding-top: 0; }
  .why.swipe-sm .why__center { display: none; }
  .why-title-sm { display: block !important; }
  .track { grid-auto-columns: 74%; }
  .bento { grid-auto-rows: 160px; gap: .6rem; }
  .tile { border-radius: 18px; }
  .tile h3 { font-size: .8rem; padding: .4rem .7rem; top: .7rem; left: .7rem; }
  .tile .circle { width: 36px; height: 36px; right: .7rem; bottom: .7rem; }
  .feature { padding: 2rem 0; gap: 1.5rem; }
  .feature__circle { max-width: 280px; }
  .process__img { min-height: 320px; }
  .step { grid-template-columns: 52px 1fr; padding: 1.2rem; }
  .step b { font-size: 1.9rem; }
  .cta { padding: 3rem 1.4rem; }
  .cta h2 { font-size: 1.9rem; }
  .map { min-height: 300px; }
  .treat__img { min-height: 220px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__top > div:first-child { grid-column: 1 / -1; }
}
.why-title-sm { display: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-r]:not(.in), .js .split .w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee__track, .float, .ring, .hero__mid { animation: none !important; }
  .show-loader .loader { display: none; }
}
.hero__ctas { display: flex; gap: .6rem; flex-wrap: wrap; }
.hero__svcs { margin-top: 2.5rem; }
@media (max-width: 700px) { .hero__svcs { margin-top: .5rem; } }
.stats strong span { font-size: inherit; color: inherit; }
