/* =============================================================
   Dra. Mariana Serratos — Hair by Hair
   Archetype: Editorial Light Cream (paleta de marca)
   1. Tokens
   ============================================================= */
:root {
  /* Marca (extraídos del sitio original) */
  --green:        #416554;
  --green-deep:   #2f4a3d;
  --green-soft:   #98aaa0;
  --teal:         #65a2a1;
  --mist:         #aaccca;
  --sand:         #a69b80;

  /* Superficies */
  --bg:           #f7f4ee;
  --bg-2:         #efe9dd;
  --bg-3:         #e5ddcd;
  --paper:        #ffffff;
  --ink:          #2e2820;
  --ink-soft:     #4c443a;
  --ink-mute:     #857e70;
  --line:         rgba(46, 40, 32, 0.14);
  --line-soft:    rgba(46, 40, 32, 0.08);
  --dark:         #2e2820;
  --dark-2:       #3a332a;

  /* Tipografía */
  --display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --sans:    "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Ritmo */
  --gutter:  clamp(1.25rem, 5vw, 3rem);
  --maxw:    1240px;
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --radius:  4px;
  --radius-lg: 10px;

  /* Easings */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --shadow-sm: 0 1px 2px rgba(46,40,32,.06), 0 4px 14px rgba(46,40,32,.05);
  --shadow-md: 0 10px 30px rgba(46,40,32,.09), 0 2px 6px rgba(46,40,32,.05);
  --shadow-lg: 0 26px 60px rgba(46,40,32,.14), 0 6px 16px rgba(46,40,32,.06);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

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

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

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--green); color: #fff;
  border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* =============================================================
   3. Utilidades
   ============================================================= */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--sand { background: var(--bg-2); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--dark); color: rgba(255,255,255,.78); }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--display);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--green); opacity: .55; flex: none;
}
.section--dark .eyebrow { color: var(--mist); }
.section--dark .eyebrow::before { background: var(--mist); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1rem; }
.section-head p { font-size: clamp(1rem, 1.4vw, 1.125rem); color: var(--ink-mute); max-width: 44rem; }
.section-head--center p { margin-inline: auto; }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); }

/* Rombo de marca (eco del logotipo) */
.diamond {
  width: 10px; height: 10px; flex: none;
  background: var(--green);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* =============================================================
   4. Botones
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--display);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 1.05rem 1.9rem;
  border-radius: var(--radius);
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out),
              border-color .35s var(--ease-out), transform .35s var(--ease-out),
              box-shadow .35s var(--ease-out);
  will-change: transform;
  text-align: center;
}
.btn svg { width: 15px; height: 15px; flex: none; }

.btn--primary { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); background: rgba(255,255,255,.6); }
.btn--wa { background: #1fa855; color: #fff; }
.btn--light { background: #fff; color: var(--green); }
.btn--outline-light { border: 1px solid rgba(255,255,255,.35); color: #fff; }

@media (hover: hover) {
  .btn--primary:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .btn--ghost:hover { background: #fff; border-color: var(--green); color: var(--green); transform: translateY(-2px); }
  .btn--wa:hover { background: #17904a; transform: translateY(-2px); }
  .btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .btn--outline-light:hover { background: rgba(255,255,255,.14); border-color: #fff; }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--display); font-weight: 600;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green);
  padding-bottom: .3rem;
  border-bottom: 1px solid rgba(65,101,84,.3);
  transition: gap .3s var(--ease-out), border-color .3s var(--ease-out);
}
@media (hover: hover) { .link-arrow:hover { gap: .95rem; border-color: var(--green); } }

/* =============================================================
   5. Header / navegación
   ============================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(247,244,238,.82);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out),
              box-shadow .4s var(--ease-out);
}
.site-header.is-solid {
  background: rgba(247,244,238,.96);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 1px 20px rgba(46,40,32,.06);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  height: 78px;
  transition: height .4s var(--ease-out);
}
.site-header.is-solid .nav { height: 66px; }

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; transition: height .4s var(--ease-out); }
.site-header.is-solid .brand img { height: 34px; }

.nav-menu { display: none; align-items: center; gap: 2.1rem; }
.nav-link {
  font-family: var(--display);
  font-size: .74rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding-block: .4rem;
  transition: color .3s var(--ease-out);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--green);
  transition: width .35s var(--ease-out);
}
@media (hover: hover) { .nav-link:hover { color: var(--green); } .nav-link:hover::after { width: 100%; } }
.nav-link.is-current { color: var(--green); }
.nav-link.is-current::after { width: 100%; }

.nav-group { position: relative; }
/* Puente invisible sobre el hueco: sin él el cursor sale del grupo al bajar
   hacia el desplegable y el submenú se cierra antes de poder pulsarlo. */
.nav-group::after {
  content: ""; position: absolute; z-index: 1;
  top: 100%; left: -70px; right: -70px; height: 1.7rem;
  opacity: 0; pointer-events: none;
}
.nav-group:hover::after, .nav-group:focus-within::after { pointer-events: auto; }
.nav-group > .nav-link { display: inline-flex; align-items: center; gap: .4rem; }
.nav-group > .nav-link svg { width: 9px; height: 9px; transition: transform .3s var(--ease-out); }
.nav-group:hover > .nav-link svg, .nav-group:focus-within > .nav-link svg { transform: rotate(180deg); }

.nav-drop {
  position: absolute; top: calc(100% + .6rem); left: 50%;
  transform: translate(-50%, 8px);
  min-width: 232px; padding: .55rem;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility .3s;
}
.nav-group:hover .nav-drop, .nav-group:focus-within .nav-drop {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.nav-drop a {
  display: block; padding: .72rem .9rem;
  font-size: .9rem; color: var(--ink-soft);
  border-radius: var(--radius);
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out);
}
@media (hover: hover) { .nav-drop a:hover { background: var(--bg-2); color: var(--green); } }

.nav-cta { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px; margin-right: -10px;
}
.nav-toggle span {
  display: block; height: 1.5px; width: 100%; background: var(--ink);
  transition: transform .35s var(--ease-out), opacity .25s var(--ease-out);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 78px 0 auto 0; z-index: 99;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lg);
  max-height: 0; overflow: hidden;
  transition: max-height .45s var(--ease-out);
}
.mobile-menu.is-open { max-height: min(78vh, 640px); overflow-y: auto; }
.mobile-menu ul { padding: 1rem var(--gutter) 2rem; }
.mobile-menu li + li { border-top: 1px solid var(--line-soft); }
.mobile-menu a {
  display: block; padding: 1.05rem 0;
  font-family: var(--display); font-weight: 500;
  font-size: .95rem; color: var(--ink);
}
.mobile-menu .is-sub a { padding-left: 1.25rem; font-size: .88rem; color: var(--ink-mute); font-weight: 400; }
.mobile-menu .btn { width: 100%; margin-top: 1.4rem; }

@media (min-width: 960px) {
  .nav-menu { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle, .mobile-menu { display: none; }
}

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative;
  display: flex; align-items: center;
  min-height: 100vh; min-height: 100svh;
  padding-top: 78px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
  animation: heroDrift 24s var(--ease-soft) infinite alternate;
}
@keyframes heroDrift { from { transform: scale(1.02); } to { transform: scale(1.09); } }

.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(247,244,238,.97) 0%, rgba(247,244,238,.9) 34%, rgba(247,244,238,.55) 58%, rgba(247,244,238,.2) 100%),
    linear-gradient(to top, rgba(247,244,238,.85) 0%, transparent 40%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-block: 3.5rem; }
.hero-content { max-width: 40rem; }

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.15rem);
  font-weight: 300;
  line-height: 1.02;
  margin-bottom: 1.5rem;
}
.hero h1 strong { display: block; font-weight: 600; color: var(--green); }

.hero-lede { font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 34rem; margin-bottom: 2rem; color: var(--ink-soft); }

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.6rem; }

.hero-trust {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .7rem 1.4rem;
  font-size: .82rem; color: var(--ink-mute);
  letter-spacing: .01em;
}
.hero-trust li { display: flex; align-items: center; gap: .6rem; }
.hero-trust li::before {
  content: ""; width: 7px; height: 7px; flex: none;
  background: var(--teal);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* Hero interior (páginas secundarias) */
.hero--page { min-height: auto; padding-block: calc(78px + clamp(4rem, 9vw, 7rem)) clamp(4rem, 9vw, 7rem); }
.hero--page .hero-content { max-width: 44rem; }
.hero--page h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); }
.hero--plain { background: var(--bg-2); }

/* =============================================================
   7. Barra de credenciales
   ============================================================= */
.credbar { background: var(--dark); color: rgba(255,255,255,.8); }
.credbar ul {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: rgba(255,255,255,.1);
}
.credbar li {
  background: var(--dark);
  padding: 1.6rem 1.25rem;
  text-align: center;
}
.credbar .n {
  display: block;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: #fff; line-height: 1.1; margin-bottom: .3rem;
}
.credbar .l {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mist);
}
@media (min-width: 720px) { .credbar ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .credbar ul { grid-template-columns: repeat(4, 1fr); } }

/* =============================================================
   8. Bloque doctora
   ============================================================= */
.doc-grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .doc-grid { grid-template-columns: 0.85fr 1fr; } }

.doc-figure { position: relative; }
.doc-figure img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%;
  border-radius: var(--radius-lg);
  position: relative; z-index: 1;
  box-shadow: var(--shadow-lg);
}
.doc-figure::after {
  content: ""; position: absolute; z-index: 0;
  inset: 1.6rem -1.6rem -1.6rem 1.6rem;
  border: 1px solid var(--green);
  border-radius: var(--radius-lg);
  opacity: .45;
}
.doc-badge {
  position: absolute; z-index: 2;
  right: -1rem; bottom: 1.8rem;
  background: var(--green); color: #fff;
  padding: 1rem 1.3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.doc-badge b { display: block; font-family: var(--display); font-size: 1.55rem; font-weight: 600; line-height: 1; }
.doc-badge span { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }

/* Cita de la doctora — sustituye a la lista de credenciales en el Inicio,
   que ahora vive sólo en la página de La Doctora */
.doc-quote {
  margin: 1.8rem 0 1.6rem;
  padding-left: 1.4rem;
  border-left: 2px solid var(--teal);
  font-family: var(--display); font-weight: 300;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.5; color: var(--ink);
}
.doc-quote cite {
  display: block; margin-top: .9rem;
  font-family: var(--sans); font-style: normal;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 500;
}

.cred-list { margin: 1.9rem 0 2.2rem; display: grid; gap: .85rem; }
.cred-list li {
  display: flex; gap: .85rem; align-items: flex-start;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: .95rem; color: var(--ink-soft);
}
.cred-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.cred-list .diamond { margin-top: .55rem; }

/* =============================================================
   9. Tarjetas de tratamiento
   ============================================================= */
.treat-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.2rem); }
@media (min-width: 800px) { .treat-grid { grid-template-columns: repeat(2, 1fr); } }

.treat-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .5s var(--ease-out);
}
.treat-card figure { overflow: hidden; aspect-ratio: 16 / 10; }
.treat-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter .6s var(--ease-out);
}
.treat-body { padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column; flex: 1; }
.treat-body h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); margin-bottom: .8rem; }
.treat-body p { color: var(--ink-mute); font-size: .96rem; margin-bottom: 1.6rem; }
.treat-body .link-arrow { margin-top: auto; align-self: flex-start; }

@media (hover: hover) {
  .treat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
  .treat-card:hover img { transform: scale(1.06); filter: saturate(1.08); }
}

/* =============================================================
   10. Proceso (5 pasos)
   ============================================================= */
.steps { display: grid; gap: 2.2rem; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 2.6rem 2.2rem; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 1.8rem; } }

.step { position: relative; padding-top: 2.4rem; }
.step::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: var(--line);
}
.step::after {
  content: ""; position: absolute; top: -4px; left: 0;
  width: 9px; height: 9px; background: var(--green);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.step .num {
  display: block;
  font-family: var(--display); font-weight: 600;
  font-size: .7rem; letter-spacing: .18em;
  color: var(--teal); margin-bottom: .7rem;
}
.step h3 { font-size: 1.06rem; margin-bottom: .6rem; }
.step p { font-size: .9rem; color: var(--ink-mute); }

/* Banda de fotografía clínica */
.clinic-strip { display: grid; gap: 1px; background: var(--line); margin-top: clamp(3rem, 6vw, 5rem); }
@media (min-width: 720px) { .clinic-strip { grid-template-columns: repeat(2, 1fr); } }
.clinic-strip figure { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--bg-3); }
.clinic-strip img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transition: transform 1.2s var(--ease-out); }
.clinic-strip figure:nth-child(1) img { object-position: 50% 55%; }
.clinic-strip figure:nth-child(2) img { object-position: 55% 50%; }
.clinic-strip figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.4rem 1.2rem .95rem;
  background: linear-gradient(to top, rgba(46,40,32,.82), transparent);
  color: #fff; font-size: .76rem;
  letter-spacing: .1em; text-transform: uppercase;
  font-family: var(--display); font-weight: 500;
}
@media (hover: hover) { .clinic-strip figure:hover img { transform: scale(1.05); } }

/* =============================================================
   11. Cronología mes a mes — efecto firma
   ============================================================= */
.timeline { position: relative; max-width: 60rem; margin-inline: auto; }
.timeline-rail {
  position: absolute; top: 0; bottom: 0; left: 11px; width: 2px;
  background: var(--line);
  border-radius: 2px;
}
.timeline-rail span {
  position: absolute; inset: 0 0 auto 0;
  height: 0; background: linear-gradient(to bottom, var(--teal), var(--green));
  border-radius: 2px;
}
.tl-item { position: relative; padding: 0 0 2.6rem 3.2rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: 0; top: .35rem;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  background: var(--bg); border-radius: 50%;
}
.section--paper .tl-dot { background: var(--paper); }
.tl-dot i {
  width: 13px; height: 13px; display: block;
  background: var(--line);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  transition: background-color .5s var(--ease-out), transform .5s var(--ease-out);
}
.tl-item.is-on .tl-dot i { background: var(--green); transform: scale(1.18); }
.tl-when {
  display: block;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--ink); margin-bottom: .35rem;
  transition: color .5s var(--ease-out);
}
.tl-item.is-on .tl-when { color: var(--green); }
.tl-item p { font-size: .95rem; color: var(--ink-mute); max-width: 44rem; }
.tl-item em { font-style: normal; color: var(--ink-soft); font-weight: 500; }

@media (min-width: 900px) {
  .timeline { padding-left: 0; }
  .timeline-rail { left: 50%; transform: translateX(-50%); }
  .tl-item { width: 50%; padding: 0 0 3rem 0; }
  .tl-item:nth-child(odd) { margin-left: 0; padding-right: 3.4rem; text-align: right; }
  .tl-item:nth-child(even) { margin-left: 50%; padding-left: 3.4rem; }
  .tl-item:nth-child(odd) .tl-dot { left: auto; right: -12px; }
  .tl-item:nth-child(even) .tl-dot { left: -12px; }
  .tl-item:nth-child(odd) p { margin-left: auto; }
}

.timeline-note {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: 1.5rem 1.7rem;
  border-left: 2px solid var(--teal);
  background: var(--bg-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .92rem; color: var(--ink-soft);
  max-width: 46rem; margin-inline: auto;
}
.section--paper .timeline-note { background: var(--bg); }

/* =============================================================
   12. Casos reales
   ============================================================= */
.cases-grid { display: grid; gap: clamp(1.6rem, 3vw, 2.4rem); }
@media (min-width: 760px) { .cases-grid { grid-template-columns: repeat(2, 1fr); } }

.case-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.case-card figure { position: relative; background: var(--bg-3); }
.case-card img { width: 100%; height: auto; }
/* Las fotos apilan el antes arriba y el después abajo: las etiquetas siguen ese eje */
.case-tags {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  padding: .8rem;
  pointer-events: none;
}
.case-tags span {
  font-family: var(--display); font-weight: 600;
  font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  padding: .38rem .75rem; border-radius: 2px;
  background: rgba(255,255,255,.92); color: var(--ink);
}
.case-tags span:last-child { background: var(--green); color: #fff; }
.case-body { padding: 1.3rem 1.5rem 1.6rem; }
.case-body h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.case-body p { font-size: .88rem; color: var(--ink-mute); }

.disclaimer {
  margin-top: 2.2rem;
  font-size: .84rem; color: var(--ink-mute);
  text-align: center; max-width: 44rem; margin-inline: auto;
  line-height: 1.7;
}

/* =============================================================
   13. Testimonios
   ============================================================= */
.quotes { display: grid; gap: clamp(1.4rem, 2.5vw, 2rem); }
@media (min-width: 760px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

.quote {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.quote::before {
  content: "\201C";
  font-family: var(--display); font-weight: 700;
  font-size: 4.6rem; line-height: .8;
  color: var(--mist);
  display: block; margin-bottom: .6rem;
}
.quote blockquote { font-size: .97rem; color: var(--ink-soft); margin-bottom: 1.7rem; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: .9rem; padding-top: 1.2rem; border-top: 1px solid var(--line-soft); }
.quote .mono {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--green); color: #fff;
  font-family: var(--display); font-weight: 600; font-size: .82rem;
  letter-spacing: .04em;
}
.quote .who b { display: block; font-family: var(--display); font-size: .93rem; color: var(--ink); font-weight: 600; }
.quote .who span { font-size: .78rem; color: var(--ink-mute); }
@media (hover: hover) { .quote:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); } }

/* =============================================================
   14. FAQ
   ============================================================= */
.faq { max-width: 52rem; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0; text-align: left;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1rem, 1.5vw, 1.1rem); color: var(--ink);
  transition: color .3s var(--ease-out);
}
@media (hover: hover) { .faq-q:hover { color: var(--green); } }
.faq-icon { position: relative; width: 16px; height: 16px; flex: none; margin-top: .35rem; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 100%; height: 1.5px; background: var(--green);
  transition: transform .4s var(--ease-out);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-icon::after { transform: rotate(0deg); }
.faq-a { overflow: hidden; height: 0; transition: height .45s var(--ease-out); }
.faq-a > div { padding-bottom: 1.7rem; color: var(--ink-mute); font-size: .96rem; max-width: 46rem; }
.faq-a ul { margin-top: .8rem; display: grid; gap: .45rem; }
.faq-a li { display: flex; gap: .7rem; }
.faq-a li::before { content: ""; width: 6px; height: 6px; margin-top: .6rem; flex: none; background: var(--teal); clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); }

/* Preguntas enlazadas — el Inicio plantea, la página de FAQ responde */
.q-links { max-width: 48rem; margin-inline: auto; }
.q-links li { border-bottom: 1px solid var(--line); }
.q-links li:first-child { border-top: 1px solid var(--line); }
.q-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.25rem .25rem;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(.98rem, 1.4vw, 1.08rem); color: var(--ink);
  transition: color .3s var(--ease-out), padding-inline-start .35s var(--ease-out);
}
.q-links svg { flex: none; color: var(--green); opacity: .5; transition: opacity .3s var(--ease-out), transform .35s var(--ease-out); }
@media (hover: hover) {
  .q-links a:hover { color: var(--green); padding-inline-start: 1rem; }
  .q-links a:hover svg { opacity: 1; transform: translateX(5px); }
}

/* =============================================================
   15. Formulario multipaso
   ============================================================= */
.form-wrap { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
@media (min-width: 1000px) { .form-wrap { grid-template-columns: 0.85fr 1.15fr; } }

.form-aside h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 1.1rem; }
.form-aside p { color: var(--ink-mute); margin-bottom: 2rem; }
.contact-list { display: grid; gap: 1.3rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .ic {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--green);
}
.contact-list .ic svg { width: 16px; height: 16px; }
.contact-list b { display: block; font-family: var(--display); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: .2rem; }
.contact-list a, .contact-list span { color: var(--ink); font-size: .98rem; }
@media (hover: hover) { .contact-list a:hover { color: var(--green); } }

.form-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.6rem);
  box-shadow: var(--shadow-md);
}
.progress { margin-bottom: 2rem; }
.progress-track { height: 3px; background: var(--bg-3); border-radius: 3px; overflow: hidden; margin-bottom: .8rem; }
.progress-bar { height: 100%; width: 33.33%; background: var(--green); border-radius: 3px; transition: width .5s var(--ease-out); }
.progress-text { font-family: var(--display); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }

.step-pane { display: block; }
.step-pane[hidden] { display: none; }
.step-pane h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.step-pane > p { font-size: .9rem; color: var(--ink-mute); margin-bottom: 1.8rem; }

.field-group { margin-bottom: 1.6rem; }
.field-label {
  display: block;
  font-family: var(--display); font-size: .68rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: .8rem;
}
.opt-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.opt-row--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px) { .opt-row--4 { grid-template-columns: repeat(4, 1fr); } }
.opt-col { display: grid; gap: .6rem; }

.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt span {
  display: block; padding: .9rem 1rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: .92rem; color: var(--ink-soft); text-align: center;
  cursor: pointer;
  transition: border-color .3s var(--ease-out), background-color .3s var(--ease-out), color .3s var(--ease-out);
}
.opt--wide span { text-align: left; }
.opt--wide b { display: block; font-family: var(--display); font-weight: 600; font-size: .95rem; color: var(--ink); margin-bottom: .15rem; }
.opt--wide i { font-style: normal; font-size: .83rem; color: var(--ink-mute); }
@media (hover: hover) { .opt span:hover { border-color: var(--green-soft); background: var(--bg); } }
.opt input:checked + span { border-color: var(--green); background: rgba(65,101,84,.07); color: var(--green); }
.opt input:checked + span b { color: var(--green); }
.opt input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }

.input-row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .input-row--2 { grid-template-columns: repeat(2, 1fr); } }
.input {
  width: 100%; padding: .9rem 1rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: .95rem;
  transition: border-color .3s var(--ease-out), background-color .3s var(--ease-out);
}
.input::placeholder { color: var(--ink-mute); opacity: .75; }
.input:focus { outline: none; border-color: var(--green); background: var(--paper); }
textarea.input { min-height: 110px; resize: vertical; }

.form-error {
  display: none; margin-top: 1rem;
  font-size: .86rem; color: #a8342a;
}
.form-error.is-on { display: block; }

.form-nav { display: flex; gap: .8rem; margin-top: 2rem; }
.form-nav .btn { flex: 1; }
.form-nav .btn[hidden] { display: none; }
.form-legal { margin-top: 1.2rem; font-size: .76rem; color: var(--ink-mute); line-height: 1.6; }
.form-legal a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }

/* =============================================================
   16. CTA banda
   ============================================================= */
.cta-band { background: var(--green); color: rgba(255,255,255,.85); text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 1rem; }
.cta-band p { max-width: 40rem; margin: 0 auto 2rem; }
.cta-band .btn-row { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }

/* =============================================================
   17. Contenido editorial (páginas interiores)
   ============================================================= */
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 2.6rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 2rem 0 .7rem; }
.prose p { margin-bottom: 1.1rem; }
.prose blockquote {
  margin: 2rem 0; padding: 1.4rem 1.7rem;
  border-left: 2px solid var(--green);
  background: var(--bg-2);
  font-size: 1.02rem; color: var(--ink-soft); font-style: italic;
}
.prose ul { display: grid; gap: .6rem; margin-bottom: 1.4rem; }
.prose ul li { display: flex; gap: .8rem; }
.prose ul li::before { content: ""; width: 7px; height: 7px; margin-top: .62rem; flex: none; background: var(--teal); clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); }

.split { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split--rev .split-media { order: 2; } }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

.pill-grid { display: grid; gap: 1.2rem; margin-top: 2.4rem; }
@media (min-width: 560px) { .pill-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pill-grid { grid-template-columns: repeat(4, 1fr); } }
.pill {
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.pill h3 { font-size: .95rem; letter-spacing: .06em; margin-bottom: .5rem; color: var(--green); }
.pill p { font-size: .87rem; color: var(--ink-mute); }
@media (hover: hover) { .pill:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); } }

.info-cols { display: grid; gap: 2.2rem; }
@media (min-width: 720px) { .info-cols { grid-template-columns: repeat(2, 1fr); } }
.info-block h3 {
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green); margin-bottom: 1rem; padding-bottom: .7rem;
  border-bottom: 1px solid var(--line);
}

/* =============================================================
   18. Footer
   ============================================================= */
.site-footer { background: var(--dark); color: rgba(255,255,255,.62); padding-block: clamp(3.5rem, 7vw, 5.5rem) 0; }
.footer-grid { display: grid; gap: 2.6rem; padding-bottom: 3rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.footer-brand img { height: 52px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { font-size: .9rem; max-width: 26rem; margin-bottom: 1.5rem; }
.socials { display: flex; gap: .7rem; }
.socials a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.18); border-radius: 50%;
  color: rgba(255,255,255,.75);
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.socials svg { width: 16px; height: 16px; }
@media (hover: hover) { .socials a:hover { background: var(--green); border-color: var(--green); color: #fff; } }

.footer-col h4 {
  font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; margin-bottom: 1.2rem;
}
.footer-col li + li { margin-top: .7rem; }
.footer-col a, .footer-col span { font-size: .9rem; transition: color .3s var(--ease-out); }
@media (hover: hover) { .footer-col a:hover { color: var(--mist); } }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 1.6rem 1.2rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem;
  justify-content: space-between; align-items: center;
  font-size: .78rem; color: rgba(255,255,255,.45);
}
.footer-bottom a { transition: color .3s var(--ease-out); }
@media (hover: hover) { .footer-bottom a:hover { color: var(--mist); } }

/* Crédito de desarrollo — "developed by" aparece al pasar el cursor */
.footer-credit { text-align: center; margin-top: 1.5rem; padding-bottom: 2.2rem; }
.footer-credit a { display: inline-block; position: relative; }
.footer-credit a::after {
  content: "Developed by";
  position: absolute; bottom: 100%; left: 50%;
  transform: translateX(-50%) translateY(4px);
  margin-bottom: 7px;
  font-family: var(--display);
  font-size: .5rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
}
.footer-credit img {
  height: 27px; width: auto; margin: 0 auto;
  opacity: .5;
  transition: opacity .35s var(--ease-out);
}
@media (hover: hover) {
  .footer-credit a:hover::after { opacity: .8; transform: translateX(-50%) translateY(0); }
  .footer-credit a:hover img { opacity: 1; }
}
/* Sin cursor no hay hover: en táctil el crédito se muestra siempre */
@media (hover: none) {
  .footer-credit a::after { opacity: .6; transform: translateX(-50%) translateY(0); }
  .footer-credit img { opacity: .72; }
}

/* =============================================================
   19. WhatsApp flotante
   ============================================================= */
.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: #1fa855; color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 26px rgba(31,168,85,.4);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.wa-float svg { width: 27px; height: 27px; }
@media (hover: hover) { .wa-float:hover { transform: scale(1.07); box-shadow: 0 12px 34px rgba(31,168,85,.5); } }

/* =============================================================
   20. Reveals
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Defensa: un elemento con .reveal + data-split nunca debe quedar invisible */
.reveal[data-split] { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Escalonado dentro de rejillas */
.reveal-group > * {
  opacity: 0; transform: translateY(22px);
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
}
.reveal-group.is-visible > * { opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-group.is-visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-group.is-visible > *:nth-child(4) { transition-delay: .24s; }
.reveal-group.is-visible > *:nth-child(5) { transition-delay: .32s; }
.no-js .reveal-group > * { opacity: 1; transform: none; }

/* =============================================================
   21. Reduced motion — solo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; transform: scale(1.02); }
}

/* =============================================================
   22. Transiciones entre páginas
   ============================================================= */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: .45s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =============================================================
   23. Impresión
   ============================================================= */
@media print {
  .site-header, .wa-float, .mobile-menu, .form-card, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
}

/* =====================================================================
   v2 — casos en pareja (antes / después en fotos separadas), video y pendientes
   ===================================================================== */
.cases-grid { align-items: start; }
@media (min-width: 1040px) { .cases-grid { grid-template-columns: repeat(3, 1fr); } }
.case-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin: 0; }
.case-shot { position: relative; background: var(--bg-3); }
.case-shot img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.case-shot span {
  position: absolute; left: .7rem; top: .7rem;
  font-family: var(--display); font-weight: 600;
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  padding: .36rem .7rem; border-radius: 2px;
  background: rgba(255,255,255,.92); color: var(--ink);
  pointer-events: none;
}
.case-shot--after span { background: var(--green); color: #fff; }
/* Collage ya armado con el antes a la izquierda y el después a la derecha */
.case-tags--row { flex-direction: row; align-items: flex-start; }

.video-figure { position: relative; margin: 0; }
.video-figure video {
  width: 100%; display: block; object-fit: cover;
  aspect-ratio: 4 / 5; max-height: 600px;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  background: var(--bg-3);
}
.video-grid { display: grid; gap: 1.4rem; max-width: 44rem; margin: 2.8rem auto 0; }
@media (min-width: 560px) { .video-grid { grid-template-columns: 1fr 1fr; } }
.video-grid figure { margin: 0; }
.video-grid video {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); background: var(--bg-3);
}
.video-grid figcaption { margin-top: .7rem; font-size: .84rem; color: var(--ink-mute); text-align: center; }

.media-pending {
  display: grid; place-items: center; text-align: center;
  width: 100%; aspect-ratio: 4 / 3;
  border: 1.5px dashed var(--line); border-radius: var(--radius-lg);
  background: var(--bg-2); color: var(--ink-mute);
  padding: 2rem; font-size: .9rem; line-height: 1.6;
}
.media-pending b { display: block; font-family: var(--display); font-weight: 600; color: var(--ink); margin-bottom: .3rem; }

/* =====================================================================
   v2.1 — afinado de diseño
   ===================================================================== */

/* Heros interiores con fotografía a sangre */
.hero--photo { min-height: min(78vh, 760px); background: var(--bg-2); }
.hero--photo .hero-bg img { animation: none; transform: scale(1.02); }
.hero--photo .hero-veil {
  background:
    linear-gradient(100deg, rgba(247,244,238,.98) 0%, rgba(247,244,238,.94) 30%, rgba(247,244,238,.62) 52%, rgba(247,244,238,.08) 78%, rgba(247,244,238,0) 100%),
    linear-gradient(to top, rgba(247,244,238,.55) 0%, transparent 32%);
}
@media (max-width: 759px) {
  .hero--photo .hero-bg img { object-position: 68% 50%; }
  .hero--photo .hero-veil {
    background:
      linear-gradient(to top, rgba(247,244,238,.98) 0%, rgba(247,244,238,.9) 48%, rgba(247,244,238,.55) 100%);
  }
}
.hero--photo .hero-content { max-width: 40rem; }

/* Etiqueta en pastilla sobre el hero */
.eyebrow--pill {
  gap: 0;
  padding: .5rem .95rem;
  background: var(--green); color: #fff;
  border-radius: 999px;
  font-size: .64rem; letter-spacing: .2em;
  box-shadow: var(--shadow-sm);
}
.eyebrow--pill::before { display: none; }

/* Titulares de sección: palabra resaltada y línea corta */
.section-head h2 em, .hero h1 em, .form-aside h2 em, .cta-band h2 em { font-style: normal; color: var(--green); }
.cta-band h2 em { color: var(--mist); }
.section-head h2::after {
  content: ""; display: block;
  width: 42px; height: 2px; margin-top: 1.1rem;
  background: linear-gradient(90deg, var(--green), var(--teal));
  border-radius: 2px;
}
.section-head--center h2::after { margin-inline: auto; }

/* Botones: flecha que acompaña */
.btn:not(.btn--ghost):not(.btn--outline-light)::after {
  content: ""; width: 13px; height: 10px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12' fill='none'%3E%3Cpath d='M1 6h13m0 0-4.5-4.5M14 6l-4.5 4.5' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12' fill='none'%3E%3Cpath d='M1 6h13m0 0-4.5-4.5M14 6l-4.5 4.5' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .35s var(--ease-out);
}
@media (hover: hover) { .btn:hover::after { transform: translateX(4px); } }
.form-nav .btn[data-prev]::after { display: none; }

/* Tarjeta verde que cierra el bloque de tratamientos */
.treat-card--cta {
  grid-column: 1 / -1;
  background: var(--green); border-color: transparent;
  color: rgba(255,255,255,.85);
  display: grid; gap: 1.6rem; align-items: center;
  padding: clamp(1.8rem, 3.5vw, 2.8rem) clamp(1.6rem, 3.5vw, 3rem);
}
@media (min-width: 800px) { .treat-card--cta { grid-template-columns: 1fr auto; } }
.treat-card--cta .eyebrow { color: var(--mist); }
.treat-card--cta .eyebrow::before { background: var(--mist); }
.treat-card--cta h3 { color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin-bottom: .5rem; }
.treat-card--cta p { max-width: 36rem; }
@media (hover: hover) { .treat-card--cta:hover { transform: none; box-shadow: var(--shadow-lg); } }

/* Pills con icono lineal */
.pill-ic {
  width: 42px; height: 42px; margin-bottom: 1rem;
  display: grid; place-items: center;
  border: 1px solid rgba(65,101,84,.25); border-radius: 50%;
  color: var(--green); background: var(--bg);
}
.pill-ic svg { width: 19px; height: 19px; }

/* Casos: ampliar al hacer clic */
.case-card figure { cursor: zoom-in; }
.case-card figure img { transition: transform 1s var(--ease-out); }
.case-shot { overflow: hidden; }
@media (hover: hover) { .case-card figure:hover img { transform: scale(1.04); } }
.case-pair--wide .case-shot img { aspect-ratio: 1 / 1; object-position: 50% 0; }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; padding: 1.2rem;
  background: rgba(46,40,32,.9);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease-out), visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-inner {
  max-width: min(96vw, 1100px); max-height: 90vh;
  display: grid; gap: 4px; grid-auto-flow: column;
  transform: scale(.96); transition: transform .4s var(--ease-out);
}
.lightbox.is-open .lightbox-inner { transform: none; }
.lightbox-inner .case-shot, .lightbox-inner figure { position: relative; background: #000; }
.lightbox-inner img { max-height: 86vh; width: auto; max-width: 46vw; object-fit: contain; aspect-ratio: auto; display: block; }
.lightbox-inner figure img { max-width: 92vw; }
.lightbox-inner .case-tags--row, .lightbox-inner .case-tags { position: absolute; }
.lightbox-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 46px; height: 46px; display: grid; place-items: center;
  color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 50%;
  transition: background-color .3s var(--ease-out);
}
@media (hover: hover) { .lightbox-close:hover { background: rgba(255,255,255,.14); } }
.lightbox-close::before, .lightbox-close::after {
  content: ""; position: absolute; width: 18px; height: 1.5px; background: currentColor;
}
.lightbox-close::before { transform: rotate(45deg); } .lightbox-close::after { transform: rotate(-45deg); }
.lightbox-cap {
  position: absolute; left: 0; right: 0; bottom: 1rem; text-align: center;
  color: rgba(255,255,255,.75); font-size: .82rem; letter-spacing: .06em;
}
body.has-lightbox { overflow: hidden; }

/* Testimonios: comillas más presentes y borde fino de marca */
.quote::before { color: var(--green); opacity: .28; font-size: 5.4rem; margin-bottom: .2rem; }
.quote { border-top: 2px solid var(--green); }

/* Ritmo: reveals un poco más lentos y suaves */
.reveal { transform: translateY(20px); transition-duration: 1s; }
.reveal-group > * { transition-duration: .9s; }

/* Heros tipográficos, sin fotografía (Preguntas, Contacto) */
.hero--type {
  min-height: auto;
  padding-block: calc(78px + clamp(3rem, 6vw, 4.5rem)) clamp(3rem, 6vw, 4.5rem);
  background: var(--bg-2);
}
.hero--faq {
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(170,204,202,.28), transparent 70%),
    radial-gradient(50% 70% at 15% 100%, rgba(65,101,84,.10), transparent 70%),
    var(--bg-2);
}
.hero--contact {
  background:
    radial-gradient(55% 90% at 90% 90%, rgba(65,101,84,.14), transparent 70%),
    radial-gradient(45% 60% at 10% 0%, rgba(170,204,202,.22), transparent 70%),
    var(--bg-2);
}
.hero--type::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M28 6l8 8-8 8-8-8z' fill='none' stroke='%23416554' stroke-width='.8' opacity='.16'/%3E%3C/svg%3E");
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 100%);
  mask-image: linear-gradient(100deg, transparent 30%, #000 100%);
}
.hero-mark {
  position: absolute; z-index: 0; pointer-events: none;
  right: clamp(-1rem, 4vw, 6rem); bottom: -0.3em;
  font-family: var(--display); font-weight: 200;
  font-size: clamp(14rem, 30vw, 24rem); line-height: 1;
  color: var(--green); opacity: .09;
  user-select: none; white-space: nowrap;
}
.hero-mark--word { font-size: clamp(8rem, 19vw, 15rem); bottom: -0.22em; right: clamp(-2rem, 2vw, 4rem); letter-spacing: -.03em; }
@media (max-width: 759px) {
  .hero-mark { font-size: 13rem; right: -1.5rem; opacity: .07; }
  .hero-mark--word { font-size: 7rem; right: -1rem; }
}
