/* =========================================================
   BIOLASER — Landing page
   Paleta extraída del logotipo (logo.jpg)
   Magenta #FF1497 · Gris #969799
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* marca */
  --magenta: #ff1497;
  --magenta-600: #e60d84;
  --magenta-700: #b8006a;
  --magenta-200: #ffc2e2;
  --magenta-100: #ffe1f0;
  --magenta-50: #fff5f9;

  --gray: #969799;
  --gray-300: #cfd0d1;
  --gray-500: #7c7d80;

  /* neutros cálidos */
  --ink: #1b1620;
  --ink-800: #2a2331;
  --ink-70: rgba(27, 22, 32, .72);
  --ink-55: rgba(27, 22, 32, .55);
  --paper: #ffffff;
  --cream: #fbf7f9;
  --cream-deep: #f5eef2;
  --line: #ece5ea;
  --line-dark: rgba(255, 255, 255, .14);

  /* tipografía */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* layout */
  --shell: 1240px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 88px;
  --radius: 18px;
  --radius-lg: 26px;

  /* movimiento */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --shadow-sm: 0 2px 10px rgba(27, 22, 32, .05);
  --shadow: 0 18px 50px -18px rgba(27, 22, 32, .18);
  --shadow-lg: 0 40px 90px -30px rgba(27, 22, 32, .28);
  --shadow-magenta: 0 20px 50px -18px rgba(255, 20, 151, .55);
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

::selection { background: var(--magenta); color: #fff; }

:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

section[id],
main > section { scroll-margin-top: calc(var(--header-h) + 8px); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  z-index: 200;
  padding: .7rem 1.1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: .85rem;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- 3. Tipo ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--magenta-700);
}

.eyebrow-line {
  width: 42px;
  height: 1px;
  background: var(--magenta);
  display: inline-block;
}

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  line-height: .98;
  letter-spacing: -.015em;
  margin-top: 1rem;
}
.section-title em {
  font-style: italic;
  color: var(--magenta);
}

.section-lead {
  max-width: 42ch;
  color: var(--ink-70);
  font-size: 1.02rem;
  line-height: 1.75;
}

.section { padding: clamp(5rem, 9vw, 8.5rem) 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 5rem);
  margin-bottom: clamp(2.8rem, 5vw, 4.5rem);
}
.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.3rem;
}
.section-head--center .section-lead { max-width: 56ch; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- 4. Botones ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1.05rem 1.9rem;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease),
              color .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease);
}
.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
  transition: transform .45s var(--ease);
}
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.985); }

.btn-solid {
  background: var(--magenta);
  color: #fff;
  box-shadow: var(--shadow-magenta);
}
.btn-solid > * { position: relative; z-index: 1; }
.btn-solid:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px -18px rgba(255, 20, 151, .7);
}
.btn-solid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, .35) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn-solid:hover::before { transform: translateX(120%); }

.btn-ghost {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-3px);
}

.btn-sm { padding: .72rem 1.25rem; font-size: .72rem; }
.btn-block { width: 100%; }

/* ---------- 5. Progreso de scroll ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 120;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--magenta-200), var(--magenta));
  box-shadow: 0 0 18px rgba(255, 20, 151, .6);
  transition: width .1s linear;
}

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease),
              backdrop-filter .5s var(--ease), height .4s var(--ease);
}
.site-header.is-stuck {
  height: 72px;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(27, 22, 32, .4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  transition: transform .6s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: .26em;
  color: var(--gray-500);
}
.brand-text em {
  font-style: normal;
  font-size: .58rem;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: .32rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.9rem);
}
.nav-link {
  position: relative;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-70);
  padding-block: .4rem;
  transition: color .3s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--magenta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--magenta-700); }

.nav-cta { margin-left: .4rem; }

/* burger */
.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .6);
  position: relative;
  z-index: 130;
}
.burger span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.4px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform .45s var(--ease), opacity .3s var(--ease), width .45s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22.5px; }
.burger span:nth-child(3) { top: 28px; }
.burger.is-open span:nth-child(1) { transform: translateX(-50%) translateY(5.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateX(-50%) translateY(-5.5px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem));
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(110% 80% at 88% 8%, #fff0f7 0%, rgba(255, 240, 247, 0) 58%),
    radial-gradient(80% 60% at 4% 92%, #f6f0f3 0%, rgba(246, 240, 243, 0) 60%),
    var(--cream);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  right: -8vw;
  top: 6%;
  border-radius: 48% 52% 58% 42% / 50% 44% 56% 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 20, 151, .22), rgba(255, 20, 151, .04) 62%, transparent 72%);
  filter: blur(20px);
  animation: morph 22s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes morph {
  0%   { border-radius: 48% 52% 58% 42% / 50% 44% 56% 50%; transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  50%  { border-radius: 58% 42% 44% 56% / 42% 58% 42% 58%; transform: translate3d(-3%, 4%, 0) scale(1.08) rotate(12deg); }
  100% { border-radius: 42% 58% 52% 48% / 58% 42% 58% 42%; transform: translate3d(2%, -3%, 0) scale(1.02) rotate(-8deg); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(2rem, 4vw, 3.5rem);
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  margin-bottom: 1.6rem;
  animation: fadeIn .9s var(--ease) .05s both;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 7.4vw, 5.9rem);
  line-height: .92;
  letter-spacing: -.025em;
}
.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: .14em;
  margin-bottom: -.14em;
}
.hero-title .line > span {
  display: block;
  animation: riseIn 1.25s var(--ease) both;
}
.hero-title .line:nth-child(1) > span { animation-delay: .12s; }
.hero-title .line:nth-child(2) > span { animation-delay: .22s; }
.hero-title .line:nth-child(3) > span { animation-delay: .32s; }

@keyframes riseIn {
  from { transform: translateY(108%); }
  to   { transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(100deg, var(--magenta-700), var(--magenta) 55%, #ff6fbd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .08em;
}

.hero-sub {
  max-width: 46ch;
  margin-top: 1.9rem;
  color: var(--ink-70);
  font-size: clamp(.96rem, 1.1vw, 1.06rem);
  line-height: 1.8;
  animation: fadeIn 1s var(--ease) .48s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2.3rem;
  animation: fadeIn 1s var(--ease) .6s both;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.6rem;
  margin-top: 2.6rem;
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--ink-55);
  animation: fadeIn 1s var(--ease) .72s both;
}
.hero-trust li { display: flex; align-items: center; gap: .55rem; }
.hero-trust .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 0 3px var(--magenta-100);
}

/* visual */
.hero-visual {
  position: relative;
  isolation: isolate;
  justify-self: end;
  width: 100%;
  max-width: 450px;
}

.hero-frame {
  position: relative;
  border-radius: 240px 240px 24px 24px;
  overflow: hidden;
  aspect-ratio: 4 / 5.2;
  background: var(--cream-deep);
  box-shadow: var(--shadow-lg);
  transform: translateY(26px) scale(.97);
  opacity: 0;
  animation: frameIn 1.4s var(--ease) .25s forwards;
}
@keyframes frameIn {
  to { transform: none; opacity: 1; }
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.1); }
}

.hero-frame-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 20, 151, .08), transparent 35%, rgba(27, 22, 32, .18));
  mix-blend-mode: multiply;
}

.hero-ring {
  position: absolute;
  inset: -26px -26px auto auto;
  width: 130px;
  height: 130px;
  border: 1px solid var(--magenta-200);
  border-radius: 50%;
  z-index: -1;
  animation: spin 26s linear infinite;
}
.hero-ring::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  transform: translateX(-50%);
}
@keyframes spin { to { transform: rotate(360deg); } }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .8rem 1.1rem;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 16px;
  box-shadow: var(--shadow);
  z-index: 3;
  animation: cardIn .9s var(--ease) .85s both, floaty 7s ease-in-out infinite;
}
@keyframes cardIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.float-card p { display: flex; flex-direction: column; line-height: 1.25; }
.float-card strong { font-size: .9rem; font-weight: 500; letter-spacing: .02em; }
.float-card span { font-size: .68rem; color: var(--ink-55); letter-spacing: .04em; }

.float-card--rating {
  left: -6%;
  bottom: 14%;
  animation-delay: .95s, -1.4s;
}
.float-card--rating .stars {
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--magenta);
}

.float-card--tag {
  right: -4%;
  top: 11%;
  animation-delay: 1.1s, -3.6s;
}
.tag-icon {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--magenta-50);
  color: var(--magenta);
  padding: 7px;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* ---------- 8. Marquee ---------- */
.marquee {
  position: relative;
  z-index: 2;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-block: 1.1rem;
  border-top: 1px solid rgba(27, 22, 32, .09);
  border-bottom: 1px solid rgba(27, 22, 32, .09);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: slide 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-style: italic;
  color: var(--ink);
  white-space: nowrap;
}
.marquee-track i {
  color: var(--magenta);
  font-style: normal;
  font-size: .7rem;
  animation: spin 8s linear infinite;
}
@keyframes slide {
  to { transform: translateX(-50%); }
}

/* ---------- 9. Stats ---------- */
.stats {
  padding-block: clamp(2.6rem, 5vw, 3.6rem);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat { position: relative; padding-left: 1.6rem; }
.stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55rem;
  bottom: .55rem;
  width: 1px;
  background: var(--line);
}
.stat:first-child { padding-left: 0; }
.stat:first-child::before { display: none; }

.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.02em;
  display: flex;
  align-items: flex-start;
  gap: .1rem;
}
.stat-num sup { font-size: .45em; color: var(--magenta); margin-top: .28em; }
.stat-num--text { font-size: clamp(1.5rem, 2.7vw, 2.15rem); letter-spacing: .01em; }
.stat-label {
  margin-top: .55rem;
  font-size: .76rem;
  letter-spacing: .07em;
  color: var(--ink-55);
}

/* ---------- 10. Tratamientos ---------- */
.treatments { background: var(--paper); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.4vw, 2.2rem);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  background: var(--cream-deep);
}
.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 20, 151, .0) 40%, rgba(255, 20, 151, .16));
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.card:hover .card-media::after { opacity: 1; }
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter .6s var(--ease);
  filter: saturate(.92);
}
.card:hover .card-media img {
  transform: scale(1.07);
  filter: saturate(1.05);
}

.card-body {
  position: relative;
  padding: 1.6rem 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
}
.card-body::before {
  content: "";
  position: absolute;
  left: 1.6rem;
  top: 0;
  width: 0;
  height: 1px;
  background: var(--magenta);
  transition: width .7s var(--ease);
}
.card:hover .card-body::before { width: calc(100% - 3.2rem); }

.card-num {
  font-family: var(--serif);
  font-size: .82rem;
  letter-spacing: .2em;
  color: var(--magenta);
  transition: transform .5s var(--ease);
}
.card:hover .card-num { transform: translateX(4px); }

.card h3 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.8vw, 1.55rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.card p {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--ink-70);
}
.card-meta {
  margin-top: auto;
  padding-top: .9rem;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-500);
  border-top: 1px dashed var(--line);
  display: block;
}

/* ---------- 11. Clínica ---------- */
.clinic {
  background:
    radial-gradient(70% 60% at 100% 0%, #fff3f9, transparent 55%),
    var(--cream);
  overflow: hidden;
}
.clinic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.clinic-media {
  position: relative;
  padding: 0 0 3rem 0;
}
.clinic-photo {
  overflow: hidden;
  border-radius: 20px;
  background: var(--cream-deep);
  box-shadow: var(--shadow);
}
.clinic-photo--main {
  width: 78%;
  border-radius: 220px 220px 20px 20px;
  aspect-ratio: 3 / 4.2;
  overflow: hidden;
}
.clinic-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.clinic-photo--small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  aspect-ratio: 1 / 1.25;
  border: 8px solid var(--cream);
  border-radius: 16px;
  animation: floaty 9s ease-in-out infinite;
}

.clinic-badge {
  position: absolute;
  left: 0;
  bottom: 4.5rem;
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  line-height: 1;
  text-align: center;
  box-shadow: var(--shadow);
}
.clinic-badge strong {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 400;
  letter-spacing: .02em;
}
.clinic-badge span {
  display: block;
  font-size: .55rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--magenta-200);
  margin-top: .2rem;
}

.clinic-copy .section-title { margin-bottom: 1.4rem; }
.clinic-text {
  max-width: 44ch;
  color: var(--ink-70);
  font-size: 1.02rem;
  line-height: 1.8;
}

.feature-list {
  display: grid;
  gap: 1.15rem;
  margin-top: 2.2rem;
}
.feature-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(27, 22, 32, .07);
}
.feature-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.feature-icon {
  flex: none;
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line);
  color: var(--magenta);
  transition: background-color .45s var(--ease), color .45s var(--ease), transform .45s var(--ease);
}
.feature-list li:hover .feature-icon {
  background: var(--magenta);
  border-color: var(--magenta);
  color: #fff;
  transform: scale(1.06);
}
.feature-list h3 {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .01em;
  margin-bottom: .2rem;
}
.feature-list p {
  font-size: .87rem;
  line-height: 1.65;
  color: var(--ink-70);
}

.signature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.2rem;
}
.signature figcaption { display: flex; flex-direction: column; }
.signature strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
}
.signature span { font-size: .72rem; letter-spacing: .08em; color: var(--gray-500); }
.sig-second { margin-top: .8rem; }
.signature-line { flex: 1; height: 1px; background: var(--line); }

/* ---------- 12. Resultados ---------- */
.results { background: var(--paper); }

.tabs {
  position: relative;
  display: flex;
  justify-content: center;
  gap: .2rem;
  padding: .4rem;
  margin: 0 auto clamp(2.2rem, 4vw, 3rem);
  width: max-content;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative;
  z-index: 1;
  padding: .62rem 1.35rem;
  border-radius: 999px;
  font-size: .78rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-55);
  white-space: nowrap;
  transition: color .4s var(--ease);
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: #fff; }
.tab-pill {
  position: absolute;
  z-index: 0;
  top: .4rem;
  left: 0;
  height: calc(100% - .8rem);
  border-radius: 999px;
  background: var(--magenta);
  box-shadow: 0 10px 24px -12px rgba(255, 20, 151, .9);
  transition: transform .55s var(--ease), width .55s var(--ease);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 238px;
  gap: 1rem;
}
.shot {
  position: relative;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream-deep);
  display: block;
  cursor: zoom-in;
  transition: transform .6s var(--ease), opacity .45s var(--ease), box-shadow .6s var(--ease);
}
/* composición 4×2 sin huecos: ancho + alto + cuatro cuadrados */
.shot:nth-child(1) { grid-column: span 2; }
.shot:nth-child(2) { grid-row: span 2; }

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter .6s var(--ease);
}
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(27, 22, 32, .55));
  opacity: .55;
  transition: opacity .6s var(--ease);
}
.shot:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.shot:hover img { transform: scale(1.08); filter: saturate(1.08); }
.shot:hover::after { opacity: .8; }

.shot-cap {
  position: absolute;
  left: 1rem;
  bottom: .9rem;
  z-index: 2;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  transform: translateY(6px);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.shot:hover .shot-cap { transform: none; opacity: 1; }

.shot.is-hidden {
  display: none;
}
.shot.is-entering { animation: shotIn .55s var(--ease) both; }
@keyframes shotIn {
  from { opacity: 0; transform: scale(.94); }
  to   { opacity: 1; transform: none; }
}

/* ---------- 13. Testimonios ---------- */
.quotes {
  background: var(--ink);
  color: #f7f2f5;
  position: relative;
  overflow: hidden;
}
.quotes::before {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 760px;
  max-height: 760px;
  right: -18%;
  top: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 20, 151, .28), transparent 62%);
  pointer-events: none;
}
.quotes .eyebrow { color: var(--magenta-200); }
.quotes .section-title { color: #fff; }
.quotes .section-title em {
  background: linear-gradient(100deg, var(--magenta-200), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.quotes-grid {
  position: relative;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.quotes-nav { display: flex; gap: .7rem; margin-top: 2.4rem; }
.circle-btn {
  width: 52px;
  height: 52px;
  padding: 15px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  color: #fff;
  transition: background-color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
}
.circle-btn:hover {
  background: var(--magenta);
  border-color: var(--magenta);
  transform: translateY(-3px) scale(1.04);
}
.circle-btn:active { transform: scale(.96); }

.quote-stage { position: relative; min-height: 300px; }
.quote-track { position: relative; }

.quote {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .8s var(--ease), visibility .7s;
}
.quote.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.quote-mark {
  display: block;
  font-family: var(--serif);
  font-size: 5rem;
  line-height: .6;
  color: var(--magenta);
  margin-bottom: 1rem;
}
.quote p {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 1.95rem);
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: -.005em;
  color: #fbf6f9;
}
.quote footer {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1.7rem;
  font-size: .8rem;
}
.quote footer strong { font-weight: 500; letter-spacing: .06em; }
.quote footer span { color: rgba(255, 255, 255, .5); }
.quote footer span::before {
  content: "—";
  margin-right: .6rem;
  color: var(--magenta);
}

.quote-dots {
  display: flex;
  gap: .45rem;
  margin-top: 2.2rem;
}
.quote-dots button {
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .22);
  transition: background-color .4s var(--ease), width .4s var(--ease);
}
.quote-dots button.is-active { background: var(--magenta); width: 46px; }

/* ---------- 14. FAQ ---------- */
.faq { background: var(--paper); }
.faq-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.faq-note {
  margin-top: 1.6rem;
  max-width: 30ch;
  font-size: .9rem;
  color: var(--ink-70);
  line-height: 1.75;
}

.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.45rem 0;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  font-weight: 400;
  letter-spacing: -.005em;
  transition: color .35s var(--ease);
}
.acc-trigger:hover { color: var(--magenta-700); }

.acc-icon {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background-color .45s var(--ease), border-color .45s var(--ease), transform .5s var(--ease);
}
.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .45s var(--ease), background-color .45s var(--ease);
}
.acc-icon::before { width: 11px; height: 1px; }
.acc-icon::after { width: 1px; height: 11px; }
.acc-item.is-open .acc-icon {
  background: var(--magenta);
  border-color: var(--magenta);
  transform: rotate(90deg);
}
.acc-item.is-open .acc-icon::before,
.acc-item.is-open .acc-icon::after { background: #fff; }
.acc-item.is-open .acc-icon::after { transform: translate(-50%, -50%) scaleY(0); }

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .55s var(--ease);
}
.acc-panel > div { overflow: hidden; }
.acc-panel p {
  padding-bottom: 1.5rem;
  max-width: 58ch;
  color: var(--ink-70);
  font-size: .93rem;
  line-height: 1.8;
}
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }

/* ---------- 15. Contacto ---------- */
.contact {
  background:
    radial-gradient(60% 70% at 0% 0%, #fff4fa, transparent 58%),
    var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.contact-text {
  margin-top: 1.4rem;
  max-width: 38ch;
  color: var(--ink-70);
  line-height: 1.8;
}

.contact-info {
  display: grid;
  gap: 1.15rem;
  margin-top: 2.4rem;
}
.contact-info li {
  display: grid;
  gap: .18rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(27, 22, 32, .08);
}
.ci-label {
  font-size: .64rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray);
}
.ci-value { font-size: .98rem; }
.ci-value a { position: relative; }
.ci-value a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--magenta);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.ci-value a:hover::after { transform: scaleX(1); transform-origin: left; }

.contact-form {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .6);
  display: grid;
  gap: 1.05rem;
}

.field { display: grid; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.field .opt { text-transform: none; letter-spacing: .02em; color: var(--gray-300); }

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: .85rem 1rem;
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 12px;
  transition: border-color .35s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease);
  appearance: none;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--gray-300); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--magenta);
  box-shadow: 0 0 0 4px rgba(255, 20, 151, .1);
}

.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.4px solid var(--ink);
  border-bottom: 1.4px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.field-error {
  font-size: .72rem;
  color: #c1004f;
  min-height: 0;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.field.has-error .field-error { opacity: 1; transform: none; }
.field.has-error input,
.field.has-error textarea { border-color: #c1004f; background: #fff5f8; }

.check {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .78rem;
  line-height: 1.55;
  color: var(--ink-70);
  cursor: pointer;
  position: relative;
}
.check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.check-box {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid var(--gray-300);
  margin-top: .1rem;
  position: relative;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.check-box::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border-right: 1.6px solid #fff;
  border-bottom: 1.6px solid #fff;
  transform: rotate(40deg) scale(0);
  transition: transform .25s var(--ease);
}
.check input:checked + .check-box {
  background: var(--magenta);
  border-color: var(--magenta);
}
.check input:checked + .check-box::after { transform: rotate(40deg) scale(1); }
.check input:focus-visible + .check-box { outline: 2px solid var(--magenta); outline-offset: 2px; }

.form-note {
  font-size: .68rem;
  line-height: 1.6;
  color: var(--gray);
  text-align: center;
}

.form-success {
  display: none;
  padding: .85rem 1rem;
  border-radius: 12px;
  background: var(--magenta-50);
  border: 1px solid var(--magenta-200);
  color: var(--magenta-700);
  font-size: .82rem;
  text-align: center;
}
.form-success.is-visible { display: block; animation: shotIn .5s var(--ease) both; }

/* ---------- 16. Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #efe7ec;
  padding-top: clamp(3.5rem, 6vw, 5rem);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--magenta-700), var(--magenta), var(--magenta-200));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr 1fr .8fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 3rem;
}

.brand--light .brand-text strong { color: #fff; }
.brand--light .brand-text em { color: rgba(255, 255, 255, .5); }

.footer-brand p {
  margin-top: 1.2rem;
  max-width: 30ch;
  font-size: .86rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .6);
}

.footer-grid h3 {
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--magenta-200);
  margin-bottom: 1.1rem;
}
.footer-nav,
.footer-contact,
.footer-social { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.footer-nav a,
.footer-contact a,
.footer-social a {
  font-size: .89rem;
  color: rgba(255, 255, 255, .72);
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.footer-nav a:hover,
.footer-contact a:hover,
.footer-social a:hover { color: #fff; transform: translateX(3px); }
.footer-contact p {
  font-size: .89rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .6);
  margin-top: .2rem;
}
.footer-social a { display: inline-flex; align-items: center; gap: .55rem; }
.footer-social svg { width: 17px; height: 17px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line-dark);
  font-size: .74rem;
  color: rgba(255, 255, 255, .45);
}
.footer-credit {
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .55);
}
.footer-credit strong {
  font-weight: 500;
  letter-spacing: .08em;
  color: #fff;
  position: relative;
}
.footer-credit strong::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: linear-gradient(90deg, var(--magenta), transparent);
}
.footer-note a { color: var(--magenta-200); }

.versions {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .68rem;
  color: rgba(255, 255, 255, .35);
}
.versions a {
  padding: .18rem .42rem;
  border-radius: 4px;
  color: rgba(255, 255, 255, .6);
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.versions a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.versions a.is-current { color: var(--magenta); }

/* ---------- selector flotante de versiones ---------- */
.vbar {
  position: fixed;
  left: clamp(.75rem, 2vw, 1.5rem);
  bottom: clamp(.75rem, 2vw, 1.5rem);
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: .12rem;
  padding: .28rem .32rem .28rem .7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(27, 22, 32, .08);
  box-shadow: 0 16px 36px -20px rgba(27, 22, 32, .5);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.vbar-label { color: var(--gray-500); margin-right: .35rem; }
.vbar a {
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 26px;
  padding: 0 .35rem;
  border-radius: 999px;
  color: var(--ink-70);
  font-size: .62rem;
  letter-spacing: .1em;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.vbar a:hover { background: var(--cream-deep); color: var(--ink); transform: translateY(-1px); }
.vbar a.is-current { background: var(--magenta); color: #fff; box-shadow: 0 8px 18px -10px rgba(255, 20, 151, .9); }

@media (max-width: 640px) {
  .vbar { font-size: .55rem; padding-left: .55rem; }
  .vbar a { min-width: 28px; height: 24px; }
}

/* ---------- 17. WhatsApp + lightbox ---------- */
.whatsapp-fab {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 90;
  width: 56px;
  height: 56px;
  padding: 15px;
  border-radius: 50%;
  background: var(--magenta);
  color: #fff;
  box-shadow: 0 16px 34px -12px rgba(255, 20, 151, .85);
  transition: transform .45s var(--ease), background-color .45s var(--ease);
}
.whatsapp-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--magenta);
  animation: pulse 2.8s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: .7; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
.whatsapp-fab:hover {
  transform: translateY(-4px) scale(1.05);
  background: var(--magenta-600);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(20, 14, 22, .86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox img {
  max-width: min(1000px, 100%);
  max-height: 86vh;
  border-radius: 14px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
  transform: scale(.95);
  transition: transform .5s var(--ease);
  object-fit: contain;
}
.lightbox.is-open img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.lightbox-close:hover { background: var(--magenta); border-color: var(--magenta); transform: rotate(90deg); }

/* ---------- 18. Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal="left"]  { transform: translateX(-34px); }
[data-reveal="right"] { transform: translateX(34px); }
[data-reveal="zoom"]  { transform: scale(.95); }
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 19. Responsive ---------- */
@media (min-width: 861px) and (max-width: 1140px) {
  .nav-cta { display: none; }
  .nav { gap: 1.05rem; }
}

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { justify-self: center; max-width: 420px; }
  .hero { min-height: auto; padding-bottom: 1rem; }
  .hero-trust { margin-top: 2rem; }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .clinic-grid,
  .quotes-grid,
  .faq-grid,
  .contact-grid { grid-template-columns: 1fr; gap: clamp(2.5rem, 6vw, 4rem); }
  .clinic-media { max-width: 520px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(3)::before { display: none; }

  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .shot:nth-child(1) { grid-column: span 2; }
  .quote-stage { min-height: 340px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 76px; }
  .burger { display: block; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 380px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.35rem;
    padding: 6rem 2.2rem 3rem;
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: -30px 0 60px -30px rgba(27, 22, 32, .3);
    transform: translateX(105%);
    transition: transform .6s var(--ease);
    z-index: 125;
  }
  .nav.is-open { transform: none; }
  .nav-link {
    font-family: var(--serif);
    font-size: 1.55rem;
    letter-spacing: .01em;
    text-transform: none;
    color: var(--ink);
    opacity: 0;
    transform: translateX(18px);
    transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
  }
  .nav.is-open .nav-link { opacity: 1; transform: none; }
  .nav.is-open .nav-link:nth-child(1) { transition-delay: .08s; }
  .nav.is-open .nav-link:nth-child(2) { transition-delay: .13s; }
  .nav.is-open .nav-link:nth-child(3) { transition-delay: .18s; }
  .nav.is-open .nav-link:nth-child(4) { transition-delay: .23s; }
  .nav.is-open .nav-link:nth-child(5) { transition-delay: .28s; }
  .nav.is-open .nav-link:nth-child(6) { transition-delay: .33s; }
  .nav-link::after { display: none; }
  .nav-cta { margin: 1rem 0 0; opacity: 0; transition-delay: .38s; }
  .nav.is-open .nav-cta { opacity: 1; }

  body.nav-open { overflow: hidden; }

  .float-card--tag { right: 0; top: 4%; }
  .float-card--rating { left: -2%; bottom: 8%; }
}

@media (max-width: 640px) {
  .section { padding: 4.2rem 0; }
  .hero-title { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { flex-direction: column; gap: .55rem; }
  .hero-frame { border-radius: 180px 180px 20px 20px; }
  .float-card { padding: .65rem .85rem; border-radius: 13px; }
  .float-card strong { font-size: .8rem; }
  .float-card span { font-size: .62rem; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat, .stat:nth-child(3) { padding-left: 0; }
  .stat::before { display: none; }

  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .shot:nth-child(1) { grid-column: span 1; }
  .shot:nth-child(2) { grid-row: span 2; }

  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .quote p { font-size: 1.3rem; }
  .quote-stage { min-height: 380px; }
  .clinic-badge { width: 74px; height: 74px; bottom: 3.5rem; }
  .btn { padding: .95rem 1.5rem; font-size: .78rem; }
}

/* ---------- 20. Accesibilidad: movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .quote { transition: none; }
}
