/* ============================================================
   Dr. Juan Servín — Adelgazamiento & Medicina Estética
   Sistema visual: charcoal premium + petróleo + dorado beige
   ============================================================ */

/* Official brand palette + typography — see PDF "Modificaciones_Web_DrJuanServin_v4" §7 */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=Jost:wght@300;400;500;600&family=Libre+Baskerville:wght@400;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  /* === Brand palette (official, from logo) === */
  --gold:       #C29437; /* ★ Oro — acento primario */
  --gold-2:     #D0A542; /* Oro claro — hover/highlights */
  --gold-deep:  #B1822C; /* Oro oscuro — sombras/pressed */
  --maroon:     #7E0A23; /* ★★ Granate — acento secundario (alas fénix) */
  --petrol:     #0F222C; /* Azul Petróleo — color estructural */
  --petrol-2:   #173640; /* variante levemente más clara */
  --petrol-soft:#d7e1e1;
  --charcoal:   #1A1A1A; /* Negro profundo — tipografía / fondos alternativos */
  --charcoal-2: #20242a;
  --charcoal-3: #2a2f36;
  --paper:      #F5F3F0; /* Crema suave — fondo alternativo cálido */
  --cream:      #F5F3F0;
  --cream-2:    #ECE7DC;
  --ink:        #1A1A1A;
  --ink-soft:   #3a3a3a;
  --ink-mute:   #6c6c6c;
  --line:       rgba(26, 26, 26, 0.10);
  --line-gold:  rgba(194, 148, 55, 0.45);

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(15,34,44,.06), 0 6px 18px rgba(15,34,44,.05);
  --shadow-md: 0 8px 30px rgba(15,34,44,.10), 0 2px 8px rgba(15,34,44,.06);
  --shadow-lg: 0 30px 70px rgba(15,34,44,.18);
  --ease: cubic-bezier(.22,.61,.36,1);

  /* === Typography ===
     H1 / hero / ADAPT®     → Cormorant Garamond (serif, alta distinción)
     H2 / section titles    → Libre Baskerville  (serif, formal-legible)
     Body / paragraphs      → Jost               (sans-serif moderno)
     Quotes / pullquotes    → Playfair Display Italic (serif itálica) */
  --font-display: 'Cormorant Garamond', 'Libre Baskerville', Georgia, serif;
  --font-head:    'Libre Baskerville', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;
  --font-quote:   'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.18; letter-spacing: -0.005em; color: var(--ink); }
/* Section titles + ADAPT® name use Cormorant Garamond display serif. Hero h1 uses Libre Baskerville (defined separately below) for maximum legibility of the doctor's name. */
.s-title,
.adapt-name { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.015em; line-height: 1.08; font-style: normal; }
.hero-specialty { font-family: var(--font-display); font-weight: 400; letter-spacing: 0; line-height: 1.3; font-style: italic; }
/* Pullquotes use Playfair Display italic */
.about-quote,
.method-quote,
.cita-brand-quote,
.brand-quote { font-family: var(--font-quote); font-style: italic; font-weight: 400; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(36px, 4vw, 56px); }

/* ---------- Shared atoms ---------- */
.eyebrow {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
}
.eyebrow.center { justify-content: center; }
.eyebrow.on-dark { color: var(--gold-2); }
.method > .wrap > .head-block > .eyebrow {
  font-size: 20px;
  letter-spacing: 0.26em;
  gap: 18px;
  margin-bottom: 8px;
}
.method > .wrap > .head-block > .eyebrow::before {
  width: 42px; height: 2px;
}

.s-title { font-size: clamp(29px, 4vw, 47px); font-weight: 600; }
.s-lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-soft); max-width: 60ch; font-weight: 400; }
.center { text-align: center; }
.center .s-lead { margin-inline: auto; }

.head-block { margin-bottom: clamp(20px, 2.4vw, 32px); }
.head-block .eyebrow { margin-bottom: 18px; }
.head-block .s-title { margin-bottom: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px; letter-spacing: 0.02em;
  padding: 15px 28px; border-radius: 100px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  position: relative; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--petrol); color: #fff; box-shadow: 0 6px 20px rgba(29,59,68,.28); }
.btn-primary:hover { background: var(--petrol-2); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(29,59,68,.34); }
.btn-gold { background: var(--gold); color: var(--charcoal); box-shadow: 0 6px 20px rgba(198,162,95,.30); }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(198,162,95,.38); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost.on-dark:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-wa { background: #1d3557; color: #fff; box-shadow: 0 6px 20px rgba(29,53,87,.30); }
.btn-wa:hover { background: #142544; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(29,53,87,.4); }

/* Placeholder imagery — premium striped slots */
.ph {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 11px),
    linear-gradient(150deg, var(--petrol) 0%, var(--charcoal-2) 60%, var(--charcoal) 100%);
  display: flex; align-items: flex-end;
  color: rgba(255,255,255,.7);
}
.ph.light {
  background:
    repeating-linear-gradient(135deg, rgba(20,24,27,.035) 0 2px, transparent 2px 11px),
    linear-gradient(150deg, var(--cream-2) 0%, #e3dccd 100%);
  color: var(--ink-soft);
}
.ph .ph-tag {
  font-family: 'Courier New', monospace;
  font-size: 11.5px; letter-spacing: .04em;
  padding: 9px 13px; margin: 14px;
  background: rgba(20,24,27,.42); color: #fff;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 6px; backdrop-filter: blur(3px);
}
.ph.light .ph-tag { background: rgba(255,255,255,.6); color: var(--ink-soft); border-color: rgba(20,24,27,.1); }
.ph::after { /* phoenix corner mark */
  content: ""; position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px;
  background: url('assets/logo-mark.png') center/contain no-repeat;
  opacity: .5;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(251,249,244,.82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s var(--ease), border-color .4s, background .4s, padding .4s;
}
.header.scrolled {
  box-shadow: 0 1px 0 var(--line-gold), 0 6px 24px rgba(20,24,27,.06);
  border-bottom-color: var(--line);
  background: rgba(251,249,244,.94);
}
.nav { display: flex; align-items: center; gap: 18px; height: 92px; transition: height .4s var(--ease); }
.header.scrolled .nav { height: 76px; }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; position: relative; }
.brand img { height: 56px; width: auto; transition: height .4s var(--ease), opacity .35s var(--ease), transform .35s var(--ease); }
.header.scrolled .brand img { height: 44px; }
/* Two-state brand logo: full (eagle + wordmark) by default, mark-only (eagle) when scrolled */
.brand-full, .brand-mark { display: block; }
.brand-mark {
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  transform: scale(.85);
  pointer-events: none;
}
.header.scrolled .brand-full {
  opacity: 0;
  transform: scale(.85);
  pointer-events: none;
}
.header.scrolled .brand-mark {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
/* Brand tagline — shown below logo on desktop, hidden on scroll and mobile */
.brand-tagline {
  font-family: var(--font-body);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  line-height: 1;
  padding-left: 1px;
  opacity: 1;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.header.scrolled .brand-tagline {
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
}
.nav-links { display: flex; align-items: center; gap: 18px; flex-wrap: nowrap; }
.nav-links a {
  font-family: var(--font-head); font-size: 16px; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: 6px 0; white-space: nowrap; transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { margin-left: 4px; }
.nav-cta .btn { padding: 10px 18px; font-size: 13px; }

/* Header social icons (desktop) */
.header-socials {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 2px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}
.header-socials a {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--ink-soft);
  background: transparent;
  transition: color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.header-socials a:hover {
  color: var(--gold-deep);
  background: rgba(198,162,95,.1);
  transform: translateY(-1px);
}
.header-socials svg { width: 15px; height: 15px; }

.burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(20,24,27,.5); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
  background: var(--paper); padding: 90px 30px 30px;
  transform: translateX(100%); transition: transform .4s var(--ease);
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: -20px 0 60px rgba(0,0,0,.2);
}
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-panel a {
  font-family: var(--font-head); font-size: 18px; font-weight: 500; color: var(--ink);
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.drawer-panel a:last-of-type { border-bottom: none; }
.drawer-panel .btn { margin-top: 22px; color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; background: var(--charcoal); color: #fff;
  padding-top: 0; overflow: hidden;
}
.hero-inner { padding-top: clamp(8px, 1.4vw, 18px); }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 78% 18%, rgba(198,162,95,.16), transparent 60%),
    radial-gradient(70% 80% at 12% 95%, rgba(29,59,68,.55), transparent 60%);
}
.hero-mark {
  position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  width: min(720px, 60vw); aspect-ratio: 1; opacity: .05;
  background: url('assets/logo-mark.png') center/contain no-repeat;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; padding-block: clamp(56px, 8vw, 100px);
}
.hero-eyebrow { color: var(--gold-2); margin-bottom: 22px; }
.hero-eyebrow::before { background: var(--gold-2); }
.hero-name {
  font-family: var(--font-head);
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin: 0 0 18px;
}
.hero h1 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(30px, 3.4vw, 50px);
  font-weight: 700;
  font-style: normal;
  color: #fff;
  letter-spacing: -0.005em;
  margin-bottom: 24px;
  line-height: 1.12;
}
.hero h1 .accent { color: var(--gold-2); font-weight: 700; }
.hero-sub { font-size: clamp(17px, 1.7vw, 19.5px); color: rgba(255,255,255,.78); max-width: 52ch; margin-bottom: 34px; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 12.5px; font-weight: 500; letter-spacing: .02em;
  color: rgba(255,255,255,.82);
  padding: 8px 15px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04);
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.hero-visual { position: relative; }
.hero-frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgba(198,162,95,.32);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.hero-frame .ph { width: 100%; height: 100%; }
.hero-slideshow {
  position: relative; width: 100%; height: 100%;
}
.hero-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  animation: hero-fade 9s infinite;
  will-change: opacity, transform;
}
/* Negative delay on slide 1 so the animation starts already at the fade-in peak — no flash */
.hero-slide.is-1 { animation-delay: -0.6s; opacity: 1; }
.hero-slide.is-2 { animation-delay: 3.9s; }
@keyframes hero-fade {
  0%   { opacity: 0; transform: scale(1.06); }
  6%   { opacity: 1; transform: scale(1.02); }
  44%  { opacity: 1; transform: scale(1); }
  50%  { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; opacity: 1; transform: none; }
  .hero-slide.is-2 { opacity: 0; }
}
.hero-frame::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.hero-chip {
  position: absolute; left: -26px; bottom: 36px; z-index: 4;
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-md); padding: 16px 20px;
  box-shadow: var(--shadow-md); border: 1px solid var(--line-gold);
  display: flex; align-items: center; gap: 14px; max-width: 250px;
}
.hero-chip .chip-ico {
  position: relative;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--petrol);
  display: grid; place-items: center;
  flex-shrink: 0;
  overflow: visible;
}
.hero-chip .chip-ico::before,
.hero-chip .chip-ico::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(216,189,134,.55);
  animation: heart-ring 2.2s ease-out infinite;
  pointer-events: none;
}
.hero-chip .chip-ico::after { animation-delay: 1.1s; }
.hero-chip .chip-ico svg {
  width: 20px; height: 20px;
  stroke: var(--gold-2);
  animation: heart-beat 1.4s ease-in-out infinite;
  transform-origin: center;
}
@keyframes heart-beat {
  0%, 100% { transform: scale(1); }
  14%      { transform: scale(1.22); }
  28%      { transform: scale(1); }
  42%      { transform: scale(1.18); }
  70%      { transform: scale(1); }
}
@keyframes heart-ring {
  0%   { transform: scale(1);    opacity: .7; }
  80%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-chip .chip-ico svg,
  .hero-chip .chip-ico::before,
  .hero-chip .chip-ico::after { animation: none; }
  .hero-chip .chip-ico::before,
  .hero-chip .chip-ico::after { display: none; }
}
.hero-chip strong { font-family: var(--font-head); font-size: 14px; display: block; }
.hero-chip span { font-size: 13px; color: var(--ink-mute); }

/* ============================================================
   EKG DIVIDER · línea cardiográfica animada entre secciones
   ============================================================ */
.ekg-divider {
  width: 100%;
  background: transparent;
  padding: 0;
  margin: -27px 0;
  position: relative;
  z-index: 5;
  overflow: visible;
  pointer-events: none;
}
.ekg-divider::before,
.ekg-divider::after {
  content: "";
  position: absolute;
  top: 27px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(198,162,95,.55);
}
.ekg-divider::before { left: 0; }
.ekg-divider::after  { right: 0; }
.ekg-divider svg {
  display: block;
  width: 100%;
  height: 54px;
}
.ekg-base {
  fill: none;
  stroke: rgba(198,162,95,.18);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ekg-pulse {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 8 92;
  stroke-dashoffset: 100;
  filter: drop-shadow(0 0 6px rgba(198,162,95,.55));
  animation: ekg-flow 4.5s linear infinite;
}
@keyframes ekg-flow {
  to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ekg-pulse { animation: none; stroke-dashoffset: 50; }
}

/* ============================================================
   SERVICIOS · Carrusel continuo (index)
   ============================================================ */
.svc-carousel {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  --svc-gap: 22px;
  container-type: inline-size;
}
.svc-carousel::before,
.svc-carousel::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 60px;
  z-index: 2; pointer-events: none;
}
.svc-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper), rgba(251,249,244,0));
}
.svc-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--paper), rgba(251,249,244,0));
}
.svc-track {
  display: flex;
  gap: var(--svc-gap);
  width: max-content;
  animation: svc-scroll 40s linear infinite;
  will-change: transform;
}
.svc-carousel:hover .svc-track,
.svc-carousel.is-paused .svc-track {
  animation-play-state: paused;
}
.svc-track > .svc {
  flex: 0 0 calc((100cqi - 2 * var(--svc-gap)) / 3);
  min-width: 0;
}
@keyframes svc-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - var(--svc-gap) / 2)); }
}

.svc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--gold-2);
  border: 1px solid rgba(198,162,95,.35);
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  transition: background .25s, color .25s, transform .25s, border-color .25s;
}
.svc-arrow:hover {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}
.svc-arrow:active { transform: translateY(-50%) scale(.94); }
.svc-arrow svg { width: 20px; height: 20px; }
.svc-arrow-prev { left: 10px; }
.svc-arrow-next { right: 10px; }
@media (max-width: 600px) {
  .svc-arrow { width: 38px; height: 38px; }
  .svc-arrow svg { width: 16px; height: 16px; }
}

.svc-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin-top: 8px;
}
.svc-chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  padding: 9px 16px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.svc-chip:hover { border-color: var(--line-gold); color: var(--ink); transform: translateY(-1px); }
.svc-chip.is-active {
  background: var(--charcoal);
  color: var(--gold-2);
  border-color: var(--charcoal);
}

@media (max-width: 900px) {
  .svc-track > .svc {
    flex: 0 0 calc((100cqi - var(--svc-gap)) / 2);
  }
}
@media (max-width: 600px) {
  .svc-track > .svc {
    flex: 0 0 80cqi;
  }
}
@media (prefers-reduced-motion: reduce) {
  .svc-track { animation: none; }
}

/* ============================================================
   ÁREAS · Listado con filtro
   ============================================================ */
.areas-list { background: var(--paper); }
.areas-toolbar {
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center;
  margin-bottom: 28px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.areas-search {
  flex: 1 1 240px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color .25s, background .25s;
}
.areas-search:focus-within {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(198,162,95,.10);
}
.areas-search svg { width: 18px; height: 18px; color: var(--ink-mute); flex-shrink: 0; }
.areas-search input {
  flex: 1;
  border: 0; outline: 0; background: transparent;
  font-family: var(--font-body);
  font-size: 15px; color: var(--ink);
}
.areas-search input::placeholder { color: var(--ink-mute); }
.areas-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.areas-chips .chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.areas-chips .chip:hover { border-color: var(--line-gold); color: var(--ink); }
.areas-chips .chip.is-active {
  background: var(--charcoal);
  color: var(--gold-2);
  border-color: var(--charcoal);
}
.areas-count {
  margin-left: auto;
  color: var(--ink-mute);
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: .04em;
}
.areas-count span { color: var(--gold-deep); font-weight: 700; }
.areas-grid .svc.is-hidden { display: none; }
.areas-empty {
  display: flex; align-items: center; gap: 10px;
  justify-content: center;
  padding: 40px 20px;
  color: var(--ink-mute);
  font-size: 15px;
  text-align: center;
}
.areas-empty svg { width: 22px; height: 22px; color: var(--gold-deep); }
.nav-links a.is-active { color: var(--gold-deep); }
.nav-links a.is-active::after { width: 100%; background: var(--gold); }

@media (max-width: 720px) {
  .areas-toolbar { flex-direction: column; align-items: stretch; }
  .areas-count { margin-left: 0; text-align: right; }
}

/* ============================================================
   CITA · Página de reserva (nuevo diseño)
   ============================================================ */
.cita-hero {
  position: relative;
  min-height: clamp(220px, 28vw, 360px);
  padding-top: clamp(40px, 5vw, 80px);
  padding-bottom: clamp(50px, 7vw, 90px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.cita-hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,24,27,.55) 0%, rgba(20,24,27,.72) 100%),
    url('uploads/operacion.webp') center / cover no-repeat;
  z-index: 0;
}
.cita-hero-inner {
  position: relative; z-index: 1;
  text-align: center;
  padding-block: clamp(40px, 6vw, 80px);
}
.cita-breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 14px;
}
.cita-breadcrumb a {
  color: var(--gold-2);
  transition: color .25s;
}
.cita-breadcrumb a:hover { color: #fff; }
.cita-breadcrumb svg { width: 12px; height: 12px; opacity: .6; }
.cita-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.1;
}
.cita-hero-sub {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(14px, 1.5vw, 17px);
  color: var(--gold-2);
  letter-spacing: .04em;
}

.cita-types { background: var(--paper); }
.cita-types-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.cita-types-aside { position: sticky; top: 130px; }
.cita-types-aside .eyebrow { margin-bottom: 8px; }
.cita-types-aside .s-title {
  font-size: clamp(24px, 2.6vw, 32px);
  margin-bottom: 14px;
}
.cita-types-aside > p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.cita-aside-help {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.cita-aside-q {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.cita-aside-wa {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px;
  color: var(--gold-deep);
  font-weight: 600;
  transition: color .25s;
}
.cita-aside-wa:hover { color: var(--petrol); }

.cita-types-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cita-type {
  display: grid;
  grid-template-columns: 88px 1fr auto auto;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px 14px 14px;
  box-shadow: 0 1px 2px rgba(20,24,27,.04);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  text-decoration: none;
}
.cita-type:hover {
  transform: translateY(-2px);
  border-color: var(--line-gold);
  box-shadow: 0 10px 28px rgba(20,24,27,.08);
}
.cita-type-thumb {
  width: 88px; height: 88px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--charcoal-2);
  flex-shrink: 0;
}
.cita-type-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.cita-type-body { min-width: 0; }
.cita-type-head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 4px;
}
.cita-type-ico {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--petrol);
  display: grid; place-items: center;
  color: var(--gold-2);
  flex-shrink: 0;
}
.cita-type-ico svg { width: 14px; height: 14px; }
.cita-type h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .01em;
  margin: 0;
}
.cita-type-body p {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
}
.cita-type-arrow {
  color: var(--gold-deep);
  flex-shrink: 0;
  transition: transform .25s var(--ease);
}
.cita-type:hover .cita-type-arrow { transform: translateX(4px); }
.cita-type-price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  color: var(--gold-deep);
  white-space: nowrap;
  padding-right: 6px;
}

button.cita-type {
  width: 100%;
  text-align: left;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
}
button.cita-type[aria-expanded="true"] .cita-type-arrow { transform: rotate(90deg); }
.cita-type-wrap + .cita-type-wrap { margin-top: 14px; }
.cita-type-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s var(--ease), margin-top .35s var(--ease);
  margin-top: 0;
}
.cita-type-panel:not([hidden]) {
  max-height: 260px;
  margin-top: 10px;
}
.cita-type-panel-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  flex-wrap: wrap;
  background: linear-gradient(140deg, var(--charcoal-3) 0%, var(--charcoal) 100%);
  border: 1px solid var(--gold-deep);
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 8px 28px rgba(0,0,0,.25), inset 0 1px 0 rgba(216,189,134,.08);
  color: rgba(255,255,255,.9);
}
.cita-type-panel:not([hidden]) {
  max-height: 900px;
}
.cita-booking { display: block; }
.cita-booking-step { display: block; }
.cita-booking-step[hidden] { display: none; }

/* Step 1: service card */
.cita-booking-step-title {
  font-family: var(--font-head);
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-2);
  margin: 0 0 14px;
}
.cita-service-card {
  display: grid;
  grid-template-columns: 72px 1fr auto auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(216,189,134,.32);
  border-radius: 12px;
  padding: 14px 18px 14px 14px;
  cursor: pointer;
  color: inherit;
  text-align: left;
  font-family: inherit;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.cita-service-card:hover {
  background: rgba(216,189,134,.10);
  border-color: var(--gold);
  transform: translateY(-1px);
}
.cita-service-thumb {
  width: 72px; height: 72px;
  border-radius: 10px; overflow: hidden;
  background: var(--charcoal);
}
.cita-service-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.cita-service-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-2);
}
.cita-service-eyebrow svg { color: var(--gold-2); }
.cita-service-desc {
  margin: 6px 0 0;
  font-size: 13.5px; font-weight: 400;
  color: rgba(255,255,255,.7);
  line-height: 1.4;
}
.cita-service-price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px; font-weight: 700;
  color: #fff; margin: 0;
  white-space: nowrap;
}
.cita-service-arrow { color: var(--gold-2); flex-shrink: 0; transition: transform .25s; }
.cita-service-card:hover .cita-service-arrow { transform: translateX(3px); }

/* Back button (step 2) */
.cita-back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent;
  border: 1px solid rgba(216,189,134,.32);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  font-family: var(--font-head); font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-2);
  cursor: pointer;
  margin-bottom: 16px;
  transition: background .2s, color .2s, border-color .2s;
}
.cita-back-btn:hover { background: var(--gold); color: var(--charcoal); border-color: var(--gold); }
.cita-back-btn svg { stroke: currentColor; }

/* Calendar layout (inside expanded panel) */
.cita-booking-calendar {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-areas:
    "cal times"
    "footer footer";
  gap: 22px;
  align-items: start;
}
.cita-booking-cal { grid-area: cal; }
.cita-booking-times { grid-area: times; }
.cita-booking-footer { grid-area: footer; }
.cita-cal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.cita-cal-nav {
  width: 30px; height: 30px;
  border: 1px solid rgba(216,189,134,.45);
  border-radius: 100px;
  background: transparent;
  color: var(--gold-2);
  font-size: 18px; line-height: 1; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  display: grid; place-items: center;
}
.cita-cal-nav:hover { background: var(--gold); color: var(--charcoal); border-color: var(--gold); }
.cita-cal-nav:disabled { opacity: .3; cursor: not-allowed; }
.cita-cal-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px; font-weight: 600;
  color: #fff; text-transform: capitalize;
}
.cita-cal-dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
  font-family: var(--font-head);
  font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-2);
  padding: 4px 0;
  border-bottom: 1px solid rgba(216,189,134,.22);
  margin-bottom: 6px;
}
.cita-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cita-cal-day {
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font-head); font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,.85);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.cita-cal-day:hover:not(:disabled) { background: rgba(216,189,134,.14); border-color: var(--gold); color: #fff; }
.cita-cal-day.is-empty { visibility: hidden; pointer-events: none; }
.cita-cal-day:disabled { color: rgba(255,255,255,.18); cursor: not-allowed; }
.cita-cal-day.is-today { border-color: var(--gold-2); color: var(--gold-2); }
.cita-cal-day.is-selected {
  background: var(--gold); color: var(--charcoal); border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(198,162,95,.4);
  font-weight: 700;
}
.cita-booking-step-label {
  font-family: var(--font-head);
  font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-2);
  margin: 0 0 10px;
}
.cita-times-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}
.cita-times-grid::-webkit-scrollbar { width: 6px; }
.cita-times-grid::-webkit-scrollbar-thumb { background: rgba(216,189,134,.4); border-radius: 100px; }
.cita-time {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(216,189,134,.25);
  border-radius: 8px;
  padding: 8px 6px;
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.88);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.cita-time:hover { background: rgba(216,189,134,.12); border-color: var(--gold-2); color: #fff; }
.cita-time.is-selected {
  background: var(--gold); color: var(--charcoal); border-color: var(--gold);
  box-shadow: 0 6px 16px rgba(198,162,95,.35);
}
.cita-times-grid.is-empty::before {
  content: "Seleccioná una fecha primero";
  grid-column: 1 / -1;
  font-family: var(--font-head); font-size: 13px;
  color: rgba(255,255,255,.5); text-align: center; padding: 20px 8px;
}
.cita-booking-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(216,189,134,.22);
}
.cita-booking-selected {
  font-family: var(--font-head); font-size: 13.5px; font-weight: 600;
  color: #fff; margin: 4px 0 0;
}
.cita-booking-selected:empty::before {
  content: attr(data-empty);
  color: rgba(255,255,255,.5); font-weight: 400; font-style: italic;
}
.cita-booking .cita-price-label { color: var(--gold-2); }
.cita-booking-cta {
  white-space: nowrap;
}
.cita-booking-cta[aria-disabled="true"] {
  opacity: .45; pointer-events: none; filter: grayscale(.4);
}
@media (max-width: 720px) {
  .cita-booking-calendar {
    grid-template-columns: 1fr;
    grid-template-areas: "cal" "times" "footer";
    gap: 18px;
  }
  .cita-times-grid { grid-template-columns: repeat(4, 1fr); max-height: 200px; }
  .cita-booking-footer { flex-direction: column; align-items: stretch; text-align: center; }
  .cita-booking-cta { width: 100%; text-align: center; justify-content: center; display: flex; }
  .cita-service-card { grid-template-columns: 60px 1fr; grid-template-areas: "thumb info" "price price"; row-gap: 10px; }
  .cita-service-thumb { width: 60px; height: 60px; grid-area: thumb; }
  .cita-service-info { grid-area: info; }
  .cita-service-price { grid-area: price; text-align: center; font-size: 20px; }
  .cita-service-arrow { display: none; }
}
.cita-price-label {
  font-family: var(--font-head);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 4px;
}
.cita-price-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1;
}
.cita-price-cta { white-space: nowrap; }
@media (max-width: 600px) {
  .cita-type-panel-inner { padding: 14px 16px; }
  .cita-price-cta { width: 100%; text-align: center; justify-content: center; display: flex; }
}

.cita-intro { background: var(--paper); padding-block: clamp(20px, 3vw, 40px); }
.cita-intro .center { text-align: center; }
.cita-intro .s-title {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 600;
  margin-bottom: 18px;
}
.cita-intro .s-lead { max-width: 60ch; }

.cita-pillars { background: var(--paper); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(22px, 3vw, 38px);
  text-align: center;
}
.pillar {
  padding: 8px 10px;
}
.pillar-ico {
  display: inline-grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--petrol);
  color: var(--gold-2);
  margin-bottom: 18px;
  box-shadow: 0 0 0 6px rgba(29,59,68,.08);
}
.pillar-ico svg { width: 26px; height: 26px; }
.pillar h3 {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.pillar p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
}

.cita-cta-section { background: var(--paper); padding-block: clamp(16px, 2.5vw, 32px); }
.cita-cta {
  background: linear-gradient(160deg, var(--charcoal) 0%, var(--charcoal-2) 100%);
  border: 1px solid rgba(198,162,95,.25);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cita-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 50% 0%, rgba(198,162,95,.12), transparent 70%);
  pointer-events: none;
}
.cita-cta h3 {
  position: relative;
  font-family: var(--font-head);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: .01em;
}
.cita-cta .btn { position: relative; }

.cita-brand {
  position: relative;
  padding-block: clamp(40px, 6vw, 80px);
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.cita-brand-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,24,27,.78) 0%, rgba(20,24,27,.92) 100%),
    url('uploads/cita-brand.webp') center / cover no-repeat;
  z-index: 0;
  filter: saturate(.9);
}
.cita-brand-inner { position: relative; z-index: 1; }
.cita-brand-mark {
  width: 80px;
  margin: 0 auto 18px;
  display: block;
  filter: brightness(1.1);
}
.cita-brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 26px);
  color: #fff;
  letter-spacing: .04em;
}
.cita-brand-tag {
  font-family: var(--font-head);
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 18px;
}
.cita-brand-quote {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(16px, 2vw, 22px);
  color: rgba(255,255,255,.9);
  max-width: 46ch;
  margin: 0 auto;
  line-height: 1.4;
}

@media (max-width: 920px) {
  .cita-types-grid { grid-template-columns: 1fr; gap: 24px; }
  .cita-types-aside { position: static; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 22px; }
}
@media (max-width: 520px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .cita-hero h1 { font-size: 26px; }
  .cita-breadcrumb { font-size: 11px; }
  .cita-hero { padding-bottom: 36px; }
  .cita-type { grid-template-columns: 64px 1fr auto; gap: 12px; padding: 12px; }
  .cita-type-thumb { width: 64px; height: 64px; }
  .cita-type-price { font-size: 15px; padding-right: 2px; }
  .cita-type-arrow { display: none; }
  .cita-type h3 { font-size: 15px; }
  .cita-type-body p { font-size: 12.5px; }
  .cita-types-aside .s-title { font-size: 22px; }
}

/* ============================================================
   CITA · Reserva de turno (formulario antiguo, deprecado)
   ============================================================ */
.cita-section { background: var(--paper); }
.cita-grid {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.cita-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--shadow-md);
}
.cita-form h2 {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.cita-sub {
  color: var(--ink-mute);
  font-size: 14px;
  margin-bottom: 24px;
}
.form-row { margin-bottom: 18px; }
.form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-row label {
  display: block;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.form-row label span { color: var(--gold-deep); }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  outline: none;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(198,162,95,.12);
}
.form-row textarea { resize: vertical; min-height: 90px; }
.cita-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}
.cita-submit svg { width: 18px; height: 18px; }
.cita-note {
  text-align: center;
  color: var(--ink-mute);
  font-size: 12.5px;
  margin-top: 12px;
}

.cita-aside { display: flex; flex-direction: column; gap: 18px; }
.cita-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 30px);
  box-shadow: var(--shadow-sm);
}
.cita-card h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: .02em;
}
.cita-option {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: padding-left .25s, color .25s;
}
.cita-option:last-of-type { border-bottom: none; }
.cita-option:hover { padding-left: 4px; color: var(--gold-deep); }
.cita-option .ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--petrol);
  color: var(--gold-2);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.cita-option .ico svg { width: 18px; height: 18px; }
.cita-option strong {
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 600;
  display: block;
  color: var(--ink);
}
.cita-option span {
  font-size: 13px;
  color: var(--ink-mute);
}
.cita-hours .hour-row {
  display: flex; justify-content: space-between;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-soft);
}
.cita-hours .hour-row:last-of-type { border-bottom: none; }
.cita-hours .hour-row b {
  font-family: var(--font-head); font-weight: 500; color: var(--ink);
}
.cita-loc {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-mute);
}
.cita-loc svg { width: 16px; height: 16px; color: var(--gold-deep); }

.nav-cta .btn.is-active {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}

@media (max-width: 900px) {
  .cita-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .form-row.two { grid-template-columns: 1fr; }
}

/* ============================================================
   DETAIL PAGE · Servicios
   ============================================================ */
.detail-hero {
  position: relative;
  background: linear-gradient(180deg, var(--charcoal) 0%, var(--charcoal-2) 100%);
  color: #fff;
  padding: clamp(80px, 9vw, 120px) 0 clamp(28px, 3.5vw, 42px);
  overflow: hidden;
}
.detail-hero .wrap { position: relative; z-index: 2; }
.detail-hero .back-link a {
  color: var(--gold-2);
  font-size: 12px;
  font-family: var(--font-head);
  letter-spacing: .04em;
  display: inline-block;
  margin-bottom: 10px;
  transition: color .25s, transform .25s;
}
.detail-hero .back-link a:hover { color: #fff; transform: translateX(-3px); }
.detail-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: #fff;
  margin: 8px 0 12px;
}
.detail-hero-sub {
  color: rgba(255,255,255,.78);
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 300;
  max-width: 62ch;
  line-height: 1.55;
  margin-bottom: 18px;
}
.detail-nav {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 10px;
}
.detail-nav a {
  display: inline-flex; align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: .04em;
  transition: background .3s, border-color .3s, color .3s, transform .3s;
}
.detail-nav a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
  transform: translateY(-2px);
}

.svc-detail { background: var(--paper); }
.svc-detail.alt { background: #fff; }
.detail-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}
.detail-grid.reverse .detail-visual { order: 2; }
.detail-visual { position: relative; }
.detail-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
}
.detail-frame .ph { width: 100%; height: 100%; }
.detail-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-body .svc-tag {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.detail-body h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 14px;
}
.detail-lead {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 56ch;
}
.detail-body h3 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
  margin: 22px 0 10px;
  position: relative;
  padding-left: 18px;
}
.detail-body h3::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.detail-body p { color: var(--ink-soft); line-height: 1.65; }
.list-bullets {
  list-style: none;
  padding: 0; margin: 0 0 8px;
  display: grid; gap: 8px;
}
.list-bullets li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.5;
}
.list-bullets li::before {
  content: "✦";
  position: absolute;
  left: 0; top: 3px;
  color: var(--gold);
  font-size: 11px;
}
.detail-body .btn { margin-top: 26px; }

@media (max-width: 860px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid.reverse .detail-visual { order: 0; }
  .detail-visual { max-width: 460px; }
}

/* ============================================================
   RESULTADOS · Antes / Después
   ============================================================ */
.results { background: var(--paper); }
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
/* .results-carousel + .results-track styles vienen inline en index.html (coverflow) */
.result-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  transition: transform .4s var(--ease);
}
.result-card:hover { transform: translateY(-4px); }
.result-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
  text-align: center;
}
.result-frame {
  position: relative;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
.result-frame .result-img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  z-index: 1;
  opacity: 1;
}
.result-card .result-ekg,
.result-card .result-mono,
.result-card .result-label { display: none !important; }
.result-ekg {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 56px;
  height: 100%;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(198,162,95,.7));
}
.result-ekg .rekg-base {
  fill: none;
  stroke: var(--gold-2);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .9;
}
.result-ekg .rekg-pulse {
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 14 86;
  stroke-dashoffset: 100;
  filter: drop-shadow(0 0 6px rgba(255,235,190,.9));
  animation: rekg-flow 3.2s linear infinite;
}
@keyframes rekg-flow {
  to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .result-ekg .rekg-pulse { animation: none; stroke-dashoffset: 50; }
}
.result-half {
  position: relative;
  background: var(--charcoal-2);
  overflow: hidden;
}
.result-half .ph {
  width: 100%; height: 100%;
  background:
    linear-gradient(135deg, rgba(198,162,95,.08), rgba(29,59,68,.4)),
    radial-gradient(120% 80% at 50% 40%, rgba(255,255,255,.06), transparent 60%),
    var(--charcoal);
  display: grid; place-items: center;
  color: rgba(255,255,255,.35);
}
.result-half .ph-tag {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.result-half img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.result-mono {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--petrol);
  border: 2px solid var(--gold);
  display: grid; place-items: center;
  z-index: 3;
  box-shadow: 0 6px 22px rgba(0,0,0,.35);
}
.result-mono img {
  width: 32px; height: 32px; object-fit: contain;
  filter: brightness(0) invert(1) sepia(.5) hue-rotate(360deg) saturate(2);
  opacity: .9;
}
.result-label {
  position: absolute;
  left: 14px; bottom: 14px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(20,24,27,.78);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  z-index: 2;
}
.result-label.is-after {
  left: auto; right: 14px;
  color: var(--charcoal);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-color: transparent;
}
.result-meta {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-mute);
  font-family: var(--font-head);
  letter-spacing: .04em;
}
.results .disclaimer { margin-top: 32px; }

@media (max-width: 820px) {
  .results-grid { grid-template-columns: 1fr; gap: 22px; }
  .result-mono { width: 44px; height: 44px; }
  .result-mono img { width: 24px; height: 24px; }
}

/* ============================================================
   SAFETY · cualquier SVG inline sin dimension queda acotado
   ============================================================ */
.social-bar svg,
.btn-reserva svg,
.pillar-ico svg,
.cita-type-ico svg,
.purpose-ico svg,
.objective-ico svg,
.cita-option .ico svg {
  max-width: 100%;
  max-height: 100%;
  flex-shrink: 0;
}

/* ============================================================
   SUB-HEADER · Social bar + Reservar Cita
   ============================================================ */
.social-bar {
  background: var(--paper);
  border-bottom: 1px solid var(--line-gold);
  border-top: 1px solid var(--line);
  padding: 14px 0;
  margin-top: 92px; /* clear fixed header on desktop */
  display: none; /* desktop: hidden — icons live in the header instead */
}
@media (max-width: 920px) {
  .social-bar { display: block; }
  .header-socials { display: none; }
}
.social-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.social-bar-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}
.social-bar-icons a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(29,59,68,.06);
  color: var(--petrol);
  transition: color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.social-bar-icons a:hover {
  color: var(--gold-2);
  background: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(20,24,27,.18);
}
.social-bar-icons svg { width: 16px; height: 16px; }
.btn-reserva {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--charcoal);
  color: #fff;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(198,162,95,.55);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  box-shadow: 0 4px 10px rgba(20,24,27,.12);
}
.btn-reserva:hover {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(198,162,95,.35);
}
.btn-reserva svg { width: 14px; height: 14px; color: var(--gold-2); transition: color .3s; }
.btn-reserva:hover svg { color: var(--charcoal); }
/* Hide the Reservar button when you are already on the cita page */
body.page-cita .btn-reserva { display: none; }
body.page-cita .social-bar-inner { justify-content: center; }
@media (max-width: 540px) {
  .social-bar { padding: 12px 0; }
  .social-bar-icons { gap: 8px; }
  .social-bar-icons a { width: 32px; height: 32px; }
  .social-bar-icons svg { width: 14px; height: 14px; }
  .btn-reserva { padding: 9px 14px; font-size: 11.5px; letter-spacing: .04em; }
  .btn-reserva svg { width: 13px; height: 13px; }
}

/* ============================================================
   PROPÓSITO · Misión, Visión, Valores
   ============================================================ */
.purpose {
  position: relative;
  background: var(--charcoal);
  color: var(--cream);
  overflow: hidden;
}
.purpose::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 20% 0%, rgba(198,162,95,.10), transparent 60%),
    radial-gradient(50% 70% at 100% 100%, rgba(29,59,68,.45), transparent 60%);
  pointer-events: none;
}
.purpose::after {
  content: "";
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(320px, 42vw, 620px);
  aspect-ratio: 1 / 1;
  background: url('assets/logo-mark.png') center / contain no-repeat;
  opacity: .07;
  filter: brightness(1.6) saturate(0);
  pointer-events: none;
  z-index: 0;
}
.purpose .wrap { position: relative; z-index: 1; }
.purpose .head-block { margin-bottom: 28px; }
.purpose .s-title { color: var(--cream); }
.purpose .s-lead { color: rgba(246,242,234,.72); }
.purpose .eyebrow {
  color: var(--gold-2);
}
.purpose .eyebrow::before { background: var(--gold); }

.purpose-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.purpose-card {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
  padding: 38px 30px 32px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s, background .4s;
  overflow: hidden;
  backdrop-filter: blur(4px);
}
.purpose-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  opacity: .9;
}
.purpose-card:hover {
  transform: translateY(-4px);
  border-color: rgba(198,162,95,.45);
  background: rgba(255,255,255,.06);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.purpose-ico {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--petrol);
  display: grid; place-items: center;
  margin-bottom: 22px;
  box-shadow: 0 0 0 1px rgba(198,162,95,.25);
}
.purpose-ico svg { width: 22px; height: 22px; stroke: var(--gold-2); color: var(--gold-2); }
.purpose-tag {
  font-family: var(--font-head);
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 12px;
}
.purpose-card > p:not(.purpose-tag) {
  color: rgba(246,242,234,.78);
  font-size: 15.5px;
  line-height: 1.65;
}
.values-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.values-list li {
  color: rgba(246,242,234,.78);
  font-size: 15px;
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}
.values-list li::before {
  content: "✦";
  color: var(--gold);
  font-size: 10px;
  position: absolute;
  left: 0;
  top: 4px;
}
.values-list b { color: var(--cream); font-weight: 700; }

/* Cita del arquetipo Sabio en El método */
.method-quote {
  text-align: center;
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--gold-2);
  letter-spacing: .01em;
  margin: 18px auto 14px;
  max-width: 720px;
  position: relative;
}

@media (max-width: 900px) {
  .purpose-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BRAND MARQUEE (debajo del hero)
   ============================================================ */
.brand-strip {
  position: relative;
  background: #162227;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding-block: 20px;
  overflow: hidden;
}
.brand-strip::before,
.brand-strip::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 14%;
  pointer-events: none; z-index: 2;
}
.brand-strip::before {
  left: 0;
  background: linear-gradient(90deg, #162227 0%, rgba(22,34,39,.95) 35%, rgba(22,34,39,0) 100%);
}
.brand-strip::after {
  right: 0;
  background: linear-gradient(270deg, #162227 0%, rgba(22,34,39,.95) 35%, rgba(22,34,39,0) 100%);
}
.brand-track {
  display: flex; width: max-content;
  animation: brand-scroll 70s linear infinite;
}
.brand-strip:hover .brand-track { animation-play-state: paused; }
.brand-row {
  display: flex; align-items: center; gap: 64px;
  padding-right: 64px;
  flex-shrink: 0;
}
.brand-item {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(11px, 1vw, 14px);
  letter-spacing: .22em;
  color: rgba(215, 225, 225, .42);
  white-space: nowrap;
  transition: color .35s var(--ease), text-shadow .35s var(--ease);
}
.brand-item:hover {
  color: var(--gold-2);
  text-shadow: 0 0 24px rgba(198,162,95,.35);
}
.brand-dot {
  color: var(--gold);
  font-size: 10px;
  opacity: .55;
  flex-shrink: 0;
}
@keyframes brand-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-track { animation: none; }
}
@media (max-width: 720px) {
  .brand-strip { padding-block: 16px; }
  .brand-row { gap: 36px; padding-right: 36px; }
  .brand-track { animation-duration: 55s; }
}

/* ============================================================
   DIFERENCIAL / TRUST
   ============================================================ */
.cards-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.tcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 32px 26px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  position: relative; overflow: hidden;
}
.tcard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.tcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-gold); }
.tcard:hover::before { transform: scaleX(1); }
.tcard .ico { width: 50px; height: 50px; border-radius: 12px; background: var(--cream); display: grid; place-items: center; margin-bottom: 20px; border: 1px solid var(--line-gold); }
.tcard .ico svg { width: 24px; height: 24px; stroke: var(--petrol); fill: none; stroke-width: 1.6; }
.tcard {
  padding: 26px 22px;
}
.tcard h3 { font-size: 16px; margin-bottom: 10px; line-height: 1.25; }
.tcard p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }
.objective-card {
  position: relative;
  margin: clamp(32px, 4vw, 48px) auto 0;
  max-width: 560px;
  padding: 36px clamp(28px, 4vw, 48px) 30px;
  background: linear-gradient(160deg, #1c3037 0%, #14252b 100%);
  border: 1px solid rgba(198,162,95,.18);
  border-radius: var(--r-md);
  color: var(--cream);
  text-align: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.objective-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 100% 0%, rgba(198,162,95,.10), transparent 60%),
    radial-gradient(60% 60% at 0% 100%, rgba(29,59,68,.40), transparent 60%);
  pointer-events: none;
}
.objective-top {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-bottom: 18px;
}
.objective-line {
  flex: 1; max-width: 110px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198,162,95,.55), transparent);
}
.objective-ico {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  color: var(--gold-2);
  flex-shrink: 0;
}
.objective-ico svg { width: 44px; height: 44px; }
.objective-text {
  position: relative; z-index: 1;
  font-family: var(--font-head);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--cream);
  line-height: 1.55;
  letter-spacing: .01em;
  max-width: 36ch;
  margin: 0 auto;
}
.objective-text b {
  font-weight: 700;
  font-style: italic;
  color: #fff;
}
.objective-dots {
  position: relative; z-index: 1;
  display: flex; justify-content: center; gap: 6px;
  margin-top: 18px;
}
.objective-dots span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .8;
}
.objective-dots span:nth-child(2) { opacity: 1; }

/* ============================================================
   SOBRE EL DOCTOR
   ============================================================ */
.about { background: var(--cream); position: relative; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
.about-visual { position: relative; }
.about-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-gold); box-shadow: var(--shadow-md); aspect-ratio: 3/4; }
.about-frame .ph { width: 100%; height: 100%; }
.about-frame .about-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-mono {
  position: absolute; right: -22px; bottom: -22px; z-index: 3;
  width: 118px; height: 118px; border-radius: 50%;
  background: var(--charcoal); display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-gold);
  overflow: hidden;
  isolation: isolate;
}
.about-mono::after {
  content: ""; position: absolute;
  top: -60%; left: -60%;
  width: 80%; height: 220%;
  background: linear-gradient(115deg,
    transparent 0%,
    transparent 35%,
    rgba(255,235,190,0) 42%,
    rgba(255,235,190,.55) 50%,
    rgba(255,235,190,0) 58%,
    transparent 65%,
    transparent 100%);
  transform: rotate(18deg);
  animation: mono-sheen 5.5s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
}
.about-mono img {
  position: relative; z-index: 1;
  width: 104px;
  transform: translateY(8px);
  filter: brightness(1.08);
}
@keyframes mono-sheen {
  0%   { transform: translateX(-120%) rotate(18deg); opacity: 0; }
  18%  { opacity: 1; }
  45%  { transform: translateX(180%)  rotate(18deg); opacity: 0; }
  100% { transform: translateX(180%)  rotate(18deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .about-mono::after { animation: none; }
}
.about-body .s-title { margin-bottom: 8px; }
.about-role { font-family: var(--font-head); font-size: 16px; color: var(--gold-deep); font-weight: 500; margin-bottom: 24px; }
.about-body p { margin-bottom: 18px; color: var(--ink-soft); }
.about-quote {
  border-left: 2px solid var(--gold); padding: 6px 0 6px 24px; margin: 30px 0;
  font-family: var(--font-head); font-style: italic; font-weight: 300;
  font-size: clamp(19px, 2.2vw, 25px); color: var(--ink); line-height: 1.4;
}
.about-stats { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 24px; }
.about-stat strong { font-family: var(--font-head); font-size: 20px; font-weight: 600; color: var(--petrol); display: block; line-height: 1.15; }
.about-stat span { font-size: 12px; color: var(--ink-mute); letter-spacing: .01em; }

/* ============================================================
   MÉTODO
   ============================================================ */
.method { background: linear-gradient(180deg, var(--petrol) 0%, var(--charcoal) 100%); color: #fff; position: relative; overflow: hidden; }
.method .hero-mark { opacity: .04; right: auto; left: -10%; }
.method .s-title { color: #fff; }
.method .s-lead { color: rgba(255,255,255,.72); }

/* ============================================================
   MÉTODO ADAPT® — sección dedicada (premium)
   ============================================================ */
.adapt-intro {
  max-width: 880px;
  margin: 28px auto 0;
  text-align: center;
  position: relative;
  z-index: 2;
}
.adapt-intro p {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.75;
  color: rgba(255,255,255,.86);
  margin-bottom: 18px;
}
.adapt-intro p b { color: var(--gold-2); font-weight: 500; }
.adapt-intro .adapt-pull {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--gold-2);
  margin-top: 18px;
  line-height: 1.3;
}
.adapt-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 36px;
  position: relative; z-index: 2;
}
.adapt-pillar {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(208,165,66,.18);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-md);
  padding: 28px 26px 30px;
  transition: transform .4s var(--ease), background .4s, border-color .4s;
}
.adapt-pillar:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.06);
  border-color: var(--gold-2);
}
.adapt-letter {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}
.adapt-pillar h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: .01em;
}
.adapt-pillar p {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255,255,255,.78);
  margin-bottom: 12px;
}
.adapt-pillar p b { color: var(--gold-2); font-weight: 500; }
.adapt-list { list-style: none; padding: 0; margin: 8px 0 0; }
.adapt-list li {
  font-size: 14px;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  padding-left: 22px;
  margin-bottom: 8px;
  position: relative;
}
.adapt-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.adapt-list li b { color: var(--gold-2); font-weight: 600; }
.adapt-list.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 32px;
}
@media (max-width: 700px) { .adapt-list.two-col { grid-template-columns: 1fr; } }

.adapt-forwhom {
  margin-top: 48px;
  padding: 36px clamp(24px, 4vw, 48px);
  background: rgba(208,165,66,.06);
  border: 1px solid rgba(208,165,66,.20);
  border-radius: var(--r-lg);
  position: relative; z-index: 2;
}
.adapt-forwhom h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 14px;
}
.adapt-forwhom > p {
  font-size: 15.5px;
  color: rgba(255,255,255,.82);
  margin-bottom: 18px;
  line-height: 1.7;
}

.adapt-cta {
  margin-top: 56px;
  text-align: center;
  position: relative; z-index: 2;
}
.adapt-cta-text {
  max-width: 760px;
  margin: 0 auto 16px;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.75;
  color: rgba(255,255,255,.84);
}
.adapt-cta-text b { color: var(--gold-2); font-weight: 600; }
.adapt-cta-tag {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--gold);
  margin: 24px auto 28px;
  max-width: 720px;
}
.adapt-cta .btn-gold {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .18em;
  padding: 16px 36px;
  text-transform: uppercase;
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; z-index: 2; }
.step {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-md); padding: 30px 26px; position: relative;
  transition: background .4s, border-color .4s, box-shadow .4s var(--ease);
  animation: stepFloat 5s ease-in-out infinite;
  will-change: transform;
}
.steps .step:nth-child(1) { animation-delay: 0s; }
.steps .step:nth-child(2) { animation-delay: 0.5s; }
.steps .step:nth-child(3) { animation-delay: 1.0s; }
.steps .step:nth-child(4) { animation-delay: 1.5s; }
.steps .step:nth-child(5) { animation-delay: 2.0s; }
@keyframes stepFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.step:hover {
  animation-play-state: paused;
  background: rgba(255,255,255,.07);
  border-color: var(--line-gold);
  box-shadow: 0 14px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(216,189,134,.25);
}
@media (prefers-reduced-motion: reduce) {
  .step { animation: none; }
}
.step-num {
  font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .1em;
  color: var(--gold-2); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
}
.step-num b {
  display: inline-block;
  font-family: 'Cinzel', 'Times New Roman', serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--gold-2);
  background: linear-gradient(180deg, #f1dcab 0%, var(--gold-2) 32%, var(--gold) 62%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 1px 0 rgba(0,0,0,.45))
    drop-shadow(0 0 14px rgba(216,189,134,.25));
  transition: transform .45s var(--ease), filter .45s var(--ease);
}
.step:hover .step-num b {
  transform: scale(1.08);
  filter:
    drop-shadow(0 1px 0 rgba(0,0,0,.45))
    drop-shadow(0 0 22px rgba(216,189,134,.55));
}
.step h3 { font-size: 17.5px; color: #fff; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: rgba(255,255,255,.66); }
.step .ln {
  position: absolute;
  top: 56px;
  right: -22px;
  width: 16px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  box-shadow: 0 0 8px rgba(198,162,95,.45);
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 3;
}
.step:last-child .ln { display: none; }

@keyframes step-ln-1 {
  0%        { transform: scaleX(0); }
  12%       { transform: scaleX(1); }
  88%       { transform: scaleX(1); }
  96%, 100% { transform: scaleX(0); }
}
@keyframes step-ln-2 {
  0%, 18%   { transform: scaleX(0); }
  30%       { transform: scaleX(1); }
  88%       { transform: scaleX(1); }
  96%, 100% { transform: scaleX(0); }
}
@keyframes step-ln-3 {
  0%, 36%   { transform: scaleX(0); }
  48%       { transform: scaleX(1); }
  88%       { transform: scaleX(1); }
  96%, 100% { transform: scaleX(0); }
}
.steps.in .step:nth-child(1) .ln { animation: step-ln-1 6s var(--ease) infinite; }
.steps.in .step:nth-child(2) .ln { animation: step-ln-2 6s var(--ease) infinite; }
.steps.in .step:nth-child(3) .ln { animation: step-ln-3 6s var(--ease) infinite; }

@media (prefers-reduced-motion: reduce) {
  .step .ln { transform: scaleX(1); animation: none; }
}

/* ============================================================
   SERVICIOS
   ============================================================ */
.services .head-block { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 40px; }

/* ============================================================
   TECNOLOGÍA Y EVALUACIÓN
   ============================================================ */
.tech-eval { background: var(--cream); }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.tech-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: var(--r-md);
  padding: 28px 24px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tech-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tech-ico {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--petrol);
  color: var(--gold-2);
  margin-bottom: 16px;
}
.tech-ico svg { width: 22px; height: 22px; }
.tech-card h3 {
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--petrol);
  margin-bottom: 10px;
  letter-spacing: .005em;
}
.tech-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ============================================================
   BLOQUE 1 · MÉTODO ADAPT® HERO CARD (jerarquía dominante)
   ============================================================ */
.adapt-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: linear-gradient(135deg, var(--petrol) 0%, var(--charcoal) 100%);
  border: 1px solid rgba(208,165,66,.28);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  margin-bottom: 56px;
}
.adapt-hero-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 80% 0%, rgba(208,165,66,.18), transparent 70%);
  pointer-events: none;
}
.adapt-hero-img { position: relative; overflow: hidden; min-height: 360px; }
.adapt-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.adapt-hero-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 40%, var(--petrol) 100%);
}
.adapt-hero-body {
  padding: clamp(32px, 4.4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  position: relative; z-index: 2;
}
.adapt-hero-body .eyebrow { color: var(--gold-2); margin-bottom: 14px; }
.adapt-hero-body .adapt-name {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 400;
  color: var(--gold);
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin-bottom: 8px;
}
.adapt-hero-tag {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(15px, 1.6vw, 19px);
  color: var(--gold-2);
  margin-bottom: 18px;
}
.adapt-hero-body > p {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255,255,255,.86);
  margin-bottom: 26px;
}
.adapt-hero-body .btn-gold {
  align-self: flex-start;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 14px 28px;
}
@media (max-width: 820px) {
  .adapt-hero-card { grid-template-columns: minmax(0, 1fr); }
  .adapt-hero-img { min-height: 220px; max-height: 280px; }
  .adapt-hero-img::after { background: linear-gradient(180deg, transparent 50%, var(--petrol) 100%); }
  .adapt-hero-body { padding: 24px 22px; }
  .adapt-hero-body .btn-gold { align-self: stretch; text-align: center; width: 100%; box-sizing: border-box; }
}

/* ============================================================
   BLOQUE 2 · MEDICINA ESTÉTICA — categorías acordeón
   ============================================================ */
.estetica-block { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.estetica-head {
  display: block !important;
  text-align: left;
  margin: 0 0 36px !important;
  max-width: none;
}
.estetica-head .eyebrow {
  display: inline-block;
  color: var(--gold-deep);
  margin: 0 0 14px;
  padding-left: 28px;
  position: relative;
}
.estetica-head .eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 18px; height: 1px;
  background: var(--gold);
  transform: translateY(-50%);
}
.estetica-head .s-title {
  font-size: clamp(26px, 3.4vw, 38px) !important;
  line-height: 1.15;
  margin: 0 0 16px;
  max-width: 26ch;
}
.estetica-subtitle {
  display: inline;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 0.55em;
  font-weight: 400;
  color: var(--ink-soft);
  margin-left: 4px;
  letter-spacing: 0;
  vertical-align: middle;
}
.estetica-head .s-title { max-width: none; }
@media (max-width: 820px) {
  .estetica-subtitle { display: block; margin-left: 0; margin-top: 8px; font-size: 0.6em; }
}
.estetica-head .s-lead {
  max-width: 60ch;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  text-align: left;
}

.estetica-cats { display: flex; flex-direction: column; gap: 14px; }
.ecat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.ecat[open] { border-color: var(--line-gold); box-shadow: var(--shadow-md); }
.ecat summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 18px 14px 14px;
  font-family: var(--font-head);
  transition: background .25s;
}
.ecat-thumb {
  width: 72px; height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--charcoal-2);
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.ecat-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s var(--ease);
}
.ecat:hover .ecat-thumb img { transform: scale(1.05); }
.ecat summary::-webkit-details-marker { display: none; }
.ecat summary:hover { background: rgba(194,148,55,.04); }
.ecat-num { display: none; }
.ecat-title {
  font-family: var(--font-head);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .005em;
}
.ecat-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(194,148,55,.10);
  display: grid; place-items: center;
  color: var(--gold-deep);
  position: relative;
  transition: transform .45s cubic-bezier(0.165, 0.84, 0.44, 1), background .3s ease, color .3s ease, box-shadow .3s ease;
}
.ecat-icon::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  transform: scale(.6);
  transition: opacity .35s ease, transform .45s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 0;
}
.ecat-icon svg { width: 16px; height: 16px; position: relative; z-index: 1; transition: transform .35s cubic-bezier(0.165, 0.84, 0.44, 1); }
.ecat > summary:hover .ecat-icon {
  background: rgba(194,148,55,.18);
  box-shadow: 0 6px 18px rgba(194,148,55,.28);
  transform: translateY(-1px);
}
.ecat > summary:hover .ecat-icon::before { opacity: 1; transform: scale(1); }
.ecat > summary:hover .ecat-icon { color: var(--charcoal); }
.ecat > summary:hover .ecat-icon svg { transform: scale(1.15); }
.ecat > summary:active .ecat-icon { transform: scale(.92); transition-duration: .12s; }
.ecat[open] > summary .ecat-icon {
  transform: rotate(180deg);
  background: var(--gold);
  color: var(--charcoal);
  box-shadow: 0 4px 14px rgba(194,148,55,.35);
}
.ecat[open] > summary .ecat-icon::before { opacity: 0; }
.ecat[open] > summary:hover .ecat-icon { transform: rotate(180deg) translateY(1px); }

.ecat-body {
  padding: 8px 24px 32px;
  border-top: 1px solid var(--line);
  background: var(--cream);
  position: relative;
}
.ecat[open] > .ecat-body {
  animation: ecatReveal .5s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}
.ecat[open] > .ecat-body > * {
  animation: ecatFadeInUp .5s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}
.ecat[open] > .ecat-body > *:nth-child(1) { animation-delay: .10s; }
.ecat[open] > .ecat-body > *:nth-child(2) { animation-delay: .20s; }
.ecat[open] > .ecat-body > *:nth-child(3) { animation-delay: .30s; }
.ecat[open] > .ecat-body > *:nth-child(4) { animation-delay: .40s; }
.ecat[open] > .ecat-body > *:nth-child(5) { animation-delay: .50s; }
.ecat[open] > .ecat-body > *:nth-child(n+6) { animation-delay: .55s; }
.ecat[open] > .ecat-body .etreat {
  animation: ecatFadeInUp .5s cubic-bezier(0.165, 0.84, 0.44, 1) both;
  animation-delay: .25s;
}
.ecat[open] > .ecat-body::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: ecatShimmer .9s cubic-bezier(0.165, 0.84, 0.44, 1) both;
  pointer-events: none;
}
@keyframes ecatReveal {
  from { opacity: 0; transform: translateY(-4px); clip-path: inset(0 0 100% 0); }
  to   { opacity: 1; transform: translateY(0);    clip-path: inset(0 0 0 0); }
}
@keyframes ecatFadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ecatShimmer {
  0%   { background-position: 200% 0; opacity: 0; }
  20%  { opacity: 1; }
  100% { background-position: -100% 0; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ecat[open] > .ecat-body,
  .ecat[open] > .ecat-body > *,
  .ecat[open] > .ecat-body::before { animation: none; }
}
.ecat-lead {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 18px 0 22px;
  font-style: italic;
}
.etreat {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-sm);
  padding: 22px;
  margin-bottom: 14px;
  transition: border-color .3s, box-shadow .3s;
}
.etreat:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.etreat-img {
  flex: 0 0 200px;
  width: 200px;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--charcoal-2);
  border-radius: var(--r-sm);
}
.etreat-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s var(--ease);
}
.etreat:hover .etreat-img img { transform: scale(1.04); }
.etreat-body {
  flex: 1 1 0;
  min-width: 0;
}
.etreat h4 { margin-top: 2px; }
@media (max-width: 720px) {
  .etreat { flex-direction: column; gap: 14px; padding: 18px; }
  .etreat-img { flex: 0 0 auto; width: 100%; aspect-ratio: 16/9; max-height: 200px; }
}
.etreat:last-child { margin-bottom: 0; }
.etreat h4 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--petrol);
  margin-bottom: 10px;
  letter-spacing: .005em;
}
.etreat > p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 12px;
}
.etreat-meta {
  list-style: none;
  padding: 0;
  margin: 8px 0 14px;
}
.etreat-meta li {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  padding-left: 18px;
  margin-bottom: 6px;
  position: relative;
}
.etreat-meta li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.etreat-meta li b { color: var(--ink); font-weight: 600; }
.etreat-note {
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.6;
  padding: 10px 14px;
  background: rgba(194,148,55,.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
  margin-bottom: 14px;
}
.etreat-warning {
  font-size: 13.5px;
  color: var(--maroon);
  line-height: 1.6;
  padding: 10px 14px;
  background: rgba(126,10,35,.06);
  border-left: 3px solid var(--maroon);
  border-radius: 0 6px 6px 0;
  margin-bottom: 14px;
}
.etreat-cta {
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 10px 20px;
  font-weight: 600;
}
@media (max-width: 540px) {
  .ecat summary { padding: 12px 14px 12px 10px; gap: 12px; }
  .ecat-thumb { width: 56px; height: 56px; border-radius: 10px; }
  .ecat-num { font-size: 22px; min-width: 28px; }
  .ecat-body { padding: 8px 14px 22px; }
  .etreat-img { aspect-ratio: 16/8; max-height: 160px; }
  .etreat-body { padding: 0 0 4px; }
  .etreat-body h4 { margin-top: 12px; font-size: 15px; }
  .etreat-body > p,
  .etreat-body > ul,
  .etreat-body > .etreat-note,
  .etreat-body > .etreat-warning { font-size: 13.5px; }
}

/* ============================================================
   ÁREAS · Stack layout (vertical, drwilsonlarroza-style)
   ============================================================ */
.svc-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.svc-row {
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  max-width: 100%;
}
.svc-row:hover {
  transform: translateY(-4px);
  border-color: var(--line-gold);
  box-shadow: var(--shadow-md);
}
.svc-row-img {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-2) 60%, var(--petrol) 100%);
  min-height: 280px;
}
.svc-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .6s var(--ease);
}
.svc-row:hover .svc-row-img img { transform: scale(1.04); }
.svc-row-body {
  padding: clamp(22px, 3.6vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  overflow-wrap: anywhere;
}
.svc-row-body p { overflow-wrap: anywhere; word-break: normal; hyphens: auto; }
.svc-row-body .svc-tag {
  font-family: var(--font-head);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.svc-row-body h3 {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: .01em;
}
.svc-row-body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.svc-row-body .btn-outline {
  align-self: flex-start;
  max-width: 100%;
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
  padding: 11px 22px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  text-align: center;
  white-space: normal;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s, transform .3s var(--ease);
}
.svc-row-body .btn-outline:hover {
  background: var(--charcoal);
  color: var(--gold-2);
  border-color: var(--charcoal);
  transform: translateY(-2px);
}
@media (max-width: 820px) {
  .svc-row { grid-template-columns: 1fr; }
  .svc-row-img { min-height: 220px; max-height: 280px; }
  .svc-row-img img { aspect-ratio: 16/10; height: auto; }
  .svc-row-body .btn-outline { width: 100%; justify-content: center; }
}
@media (max-width: 540px) {
  .svc-stack { gap: 22px; }
  .svc-row-img { min-height: 180px; }
  .svc-row-body { padding: 20px 18px 24px; }
  .svc-row-body h3 { font-size: 19px; }
  .svc-row-body p { font-size: 14px; line-height: 1.6; }
  .svc-row-body .btn-outline { font-size: 12.5px; padding: 10px 16px; }
}
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 0; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  grid-column: span 2;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-gold); }
.svc-top {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-2) 60%, var(--petrol) 100%);
}
.svc-top .ph { width: 100%; height: 100%; }
.svc-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .6s var(--ease);
}
.svc:hover .svc-top img { transform: scale(1.06); }
.svc-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.svc-tag { font-family: var(--font-head); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px; }
.svc h3 { font-size: 21px; margin-bottom: 12px; }
.svc p { font-size: 15px; color: var(--ink-soft); flex: 1; }
.svc-link { font-family: var(--font-head); font-size: 13.5px; font-weight: 600; color: var(--petrol); margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; transition: gap .3s; }
.svc:hover .svc-link { gap: 14px; }
.svc-link svg { width: 16px; height: 16px; }
/* last two cards center on the 6-col grid (5 cards -> 2-2 then centered last, but we use 3+2) */
.svc.feat { grid-column: span 3; }
.svc.feat:nth-of-type(4), .svc.feat:nth-of-type(5) { grid-column: span 3; }

/* ============================================================
   TRANSFORMACIÓN (emotional CTA)
   ============================================================ */
.transform {
  position: relative; background: linear-gradient(160deg, var(--charcoal-2), var(--charcoal) 70%); color: #fff;
  overflow: hidden; text-align: center;
}
.transform .hero-mark { opacity: .06; right: 50%; transform: translate(50%, -50%); width: min(620px, 70vw); }
.transform-glow { position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 30%, rgba(198,162,95,.14), transparent 65%); }
.transform-inner { position: relative; z-index: 2; max-width: 760px; margin-inline: auto; }
.transform h2 { font-size: clamp(30px, 4.4vw, 52px); color: #fff; margin-bottom: 22px; }
.transform p { font-size: clamp(17px, 1.8vw, 20px); color: rgba(255,255,255,.78); font-weight: 300; margin-bottom: 36px; }
.transform .wings { display: flex; justify-content: center; margin-bottom: 30px; }
.transform .wings img { width: 84px; filter: brightness(0) invert(1); opacity: .85; }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testi { background: var(--cream); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tq {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 32px 28px;
  display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tq:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tq .mark { font-family: var(--font-head); font-size: 56px; line-height: .6; color: var(--gold); height: 30px; }
.tq-goal { font-family: var(--font-head); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px; }
.tq p { font-size: 15.5px; color: var(--ink-soft); flex: 1; margin-bottom: 22px; }
.tq-person { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.tq-ava { width: 42px; height: 42px; border-radius: 50%; background: var(--petrol); color: var(--gold-2); display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.tq-person strong { font-family: var(--font-head); font-size: 14.5px; display: block; }
.tq-person span { font-size: 12.5px; color: var(--ink-mute); }
.disclaimer {
  margin-top: 34px; text-align: center; font-size: 13.5px; color: var(--ink-mute);
  max-width: 70ch; margin-inline: auto; line-height: 1.55;
}
.disclaimer svg {
  width: 16px; height: 16px;
  stroke: var(--gold-deep);
  display: inline-block;
  vertical-align: -3px;
  margin-right: 8px;
}

/* ============================================================
   FORMACIÓN
   ============================================================ */
.creds-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.creds-list { display: flex; flex-direction: column; gap: 4px; }
.cred {
  display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line);
}
.cred:last-child { border-bottom: none; }
.cred .ico { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--cream); border: 1px solid var(--line-gold); display: grid; place-items: center; }
.cred .ico svg { width: 22px; height: 22px; stroke: var(--petrol); fill: none; stroke-width: 1.6; }
.cred h3 { font-size: 17px; margin-bottom: 5px; }
.cred p { font-size: 14.5px; color: var(--ink-soft); }
.creds-visual { position: relative; }
.creds-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
  background: var(--cream);
}
.creds-frame .ph { width: 100%; height: 100%; }
.creds-frame .creds-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; display: flex; align-items: center; gap: 18px;
  padding: 24px 0; font-family: var(--font-head); font-size: 18px; font-weight: 500; color: var(--ink);
}
.faq-q .q-ico { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-gold); display: grid; place-items: center; flex-shrink: 0; transition: background .3s, transform .4s var(--ease); position: relative; }
.faq-q .q-ico::before, .faq-q .q-ico::after { content: ""; position: absolute; background: var(--gold-deep); transition: transform .35s var(--ease), background .3s; }
.faq-q .q-ico::before { width: 11px; height: 1.6px; }
.faq-q .q-ico::after { width: 1.6px; height: 11px; }
.faq-item.open .q-ico { background: var(--gold); }
.faq-item.open .q-ico::before, .faq-item.open .q-ico::after { background: var(--charcoal); }
.faq-item.open .q-ico::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a-inner { padding: 0 46px 26px 0; color: var(--ink-soft); font-size: 15.5px; }
.faq-aside { position: sticky; top: 110px; background: var(--charcoal); color: #fff; border-radius: var(--r-lg); padding: 38px 34px; }
.faq-aside .eyebrow { color: var(--gold-2); margin-bottom: 16px; }
.faq-aside .eyebrow::before { background: var(--gold-2); }
.faq-aside h3 { color: #fff; font-size: 24px; margin-bottom: 14px; }
.faq-aside p { color: rgba(255,255,255,.74); font-size: 15px; margin-bottom: 24px; font-weight: 300; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact { background: var(--paper); color: var(--ink); position: relative; overflow: hidden; }
.contact .hero-mark { opacity: .05; filter: invert(1) brightness(.6); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 80px); align-items: start; position: relative; z-index: 2; }
.contact h2 { color: var(--ink); font-size: clamp(30px, 4vw, 48px); margin-bottom: 20px; }
.contact-lead { color: var(--ink-soft); font-size: 18px; font-weight: 300; margin-bottom: 32px; max-width: 46ch; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  align-items: center;
}
.cinfo {
  display: flex; gap: 14px; align-items: center;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  min-width: 0;
}
.cinfo strong { white-space: nowrap; }
@media (max-width: 720px) {
  .contact-info { grid-template-columns: 1fr; gap: 18px; }
}
.cinfo .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--petrol); border: 1px solid rgba(198,162,95,.30); display: grid; place-items: center; flex-shrink: 0; }
.cinfo .ico svg { width: 20px; height: 20px; stroke: var(--gold-2); fill: none; stroke-width: 1.6; }
.cinfo span { font-size: 12.5px; color: var(--ink-mute); display: block; font-family: var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
.cinfo strong { font-family: var(--font-body); font-weight: 600; font-size: 16px; color: var(--ink); }
.contact-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 38px 34px;
  box-shadow: var(--shadow-md);
}
.contact-card h3 { color: var(--ink); font-size: 20px; margin-bottom: 6px; }
.contact-card > p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 24px; }
.hours { display: flex; flex-direction: column; gap: 10px; }
.hour-row { display: flex; justify-content: space-between; font-size: 14.5px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.hour-row span { color: var(--ink-mute); }
.hour-row b { font-family: var(--font-head); font-weight: 500; color: var(--ink); }
.modality-list { display: flex; flex-direction: column; gap: 18px; }
.modality-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(194,148,55,.04);
  transition: border-color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.modality-thumb {
  flex: 0 0 64px;
  width: 64px; height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--cream);
}
.modality-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modality-body { flex: 1; min-width: 0; }
.modality-item:hover {
  border-color: rgba(194,148,55,.45);
  background: rgba(194,148,55,.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(194,148,55,.12);
}
.modality-title {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600;
  font-size: 13px; letter-spacing: .12em;
  color: var(--gold-deep);
  margin: 0 0 8px;
}
.modality-title svg { color: var(--gold-deep); flex: 0 0 16px; }
.modality-desc {
  font-size: 13.5px; line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
.modality-desc b { color: var(--ink); font-weight: 600; }
.modality-desc em { color: var(--ink-mute); font-size: 12.5px; }
.contact .eyebrow.on-dark { color: var(--gold-deep); }
.contact .btn-ghost.on-dark { color: var(--ink); border-color: rgba(20,24,27,.20); }
.contact .btn-ghost.on-dark:hover { border-color: var(--gold); color: var(--gold-deep); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #0f1316; color: rgba(255,255,255,.7); padding-top: clamp(28px, 3vw, 40px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(20px, 3.4vw, 44px); padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand img { height: 42px; margin-bottom: 10px; }
.footer-brand .fb-name { font-family: var(--font-head); font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.footer-brand p { font-size: 13px; max-width: 34ch; line-height: 1.5; }
.footer-brand .fb-reg { font-size: 11.5px; color: var(--gold-2); margin-top: 8px; letter-spacing: .04em; }
.footer-col h4 { font-family: var(--font-head); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 10px; }
.footer-col a { display: block; font-size: 13.5px; padding: 4px 0; color: rgba(255,255,255,.7); transition: color .25s, padding-left .25s; }
.footer-col a:hover { color: var(--gold-2); padding-left: 5px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .3s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.socials a svg { width: 16px; height: 16px; fill: #fff; transition: fill .3s; }
.socials a:hover svg { fill: var(--charcoal); }
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding-block: 14px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 11.5px;
  color: rgba(255,255,255,.45);
}
.footer-legal { max-width: 60ch; line-height: 1.5; }
.footer-credit {
  text-align: center;
  font-size: 11.5px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.45);
  font-family: var(--font-head);
  white-space: nowrap;
}
.footer-credit a { color: var(--gold-2); font-weight: 600; transition: color .25s; }
.footer-credit a:hover { color: var(--gold); }
.footer-bottom > p:last-child { text-align: right; }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--charcoal); color: var(--gold-2);
  border: 1px solid rgba(198,162,95,.4);
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(20,24,27,.28);
  opacity: 0; pointer-events: none;
  transform: translateY(14px) scale(.9);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .25s, color .25s, box-shadow .35s;
}
.scroll-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.scroll-top:hover { background: var(--gold); color: var(--charcoal); box-shadow: 0 12px 30px rgba(198,162,95,.4); }
.scroll-top svg { width: 22px; height: 22px; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) {
  /* Trim less-critical nav links to keep header on one row at medium widths */
  .nav-links a[href$="#diferencial"],
  .nav-links a[href$="#proposito"],
  .nav-links a[href$="#faq"] { display: none; }
  .nav-links { gap: 14px; }
}
@media (max-width: 1280px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .cards-grid .tcard:nth-child(4),
  .cards-grid .tcard:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 1080px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step .ln { display: none; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc, .svc.feat { grid-column: span 1 !important; }
  .testi-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .nav { gap: 14px; }
  .nav-links a { font-size: 13px; }
  .header-socials a { width: 26px; height: 26px; }
  .header-socials svg { width: 13px; height: 13px; }
}
@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .brand-tagline { display: none; }
  /* push social-bar below fixed header on mobile so it's visible */
  .social-bar { margin-top: 76px; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 24px; padding-bottom: 32px; }
  .hero-copy { order: 1; }
  .hero-visual {
    order: 2;
    width: 100%;
    max-width: 440px;
    margin: 28px auto 0;
    opacity: 1 !important;
    transform: none !important;
    display: block !important;
  }
  .hero-chip { display: none !important; }
  .hero-frame {
    aspect-ratio: 4/5;
    width: 100%;
    min-height: 360px;
    background: var(--charcoal-2);
  }
  .hero-slideshow { width: 100%; height: 100%; }
  /* Mobile: keep slideshow animation, but ensure first slide is visible immediately as fallback */
  .hero-slide.is-1 { opacity: 1; }
  .about-grid, .creds-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual, .creds-visual { max-width: 440px; }
  .faq-aside { position: static; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards-grid, .steps, .svc-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .contact-actions .btn { flex: 1; }
  .about-stats { gap: 24px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom > p:last-child { text-align: center; }
  .footer-legal { max-width: none; }
}

/* ============================================================
   RESPONSIVE · refinamientos extra
   ============================================================ */
@media (max-width: 1080px) {
  .hero-inner { gap: 28px; }
  .hero h1 { font-size: clamp(30px, 5.4vw, 46px); }
  .svc-arrow { width: 40px; height: 40px; }
  .svc-arrow svg { width: 18px; height: 18px; }
}

@media (max-width: 920px) {
  /* Header / logo */
  .brand img { height: 64px; }
  .header.scrolled .brand img { height: 54px; }
  .nav { height: 88px; gap: 14px; }
  .header.scrolled .nav { height: 76px; }

  /* Hero */
  .hero { padding-top: 0; }
  .hero h1 { font-size: clamp(28px, 7vw, 42px); line-height: 1.08; }
  .hero-sub { font-size: 15.5px; margin-bottom: 24px; }
  .hero-visual { max-width: 380px; margin: 0 auto; }

  /* About */
  .about-mono { width: 102px; height: 102px; right: -18px; bottom: -18px; }
  .about-mono img { width: 86px; }
  .about-stats { gap: 22px; }

  /* Brand strip */
  .brand-item { font-size: 11px; letter-spacing: .2em; }
  .brand-row { gap: 32px; padding-right: 32px; }

  /* Propósito */
  .purpose::after { width: clamp(220px, 50vw, 360px); opacity: .05; }

  /* EKG divider */
  .ekg-divider { margin: -22px 0; }
  .ekg-divider svg { height: 44px; }
  .ekg-divider::before, .ekg-divider::after { width: 10px; height: 10px; top: 22px; }

  /* Method quote */
  .method-quote { font-size: 15px; padding-inline: 10px; }

  /* Objective */
  .objective-card { padding: 30px 24px 26px; }
  .objective-ico { width: 44px; height: 44px; }
  .objective-ico svg { width: 36px; height: 36px; }

  /* Detail pages */
  .detail-hero { padding: clamp(60px, 11vw, 90px) 0 clamp(20px, 4vw, 36px); }
  .detail-hero h1 { font-size: clamp(22px, 5vw, 32px); }
  .detail-hero-sub { font-size: 14px; }

  /* Areas filter */
  .areas-toolbar { padding: 12px; gap: 12px; }
  .areas-chips { gap: 6px; }
  .areas-chips .chip { font-size: 12.5px; padding: 7px 14px; }

  /* Footer */
  .footer-top { grid-template-columns: 1.4fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  /* Tipografía base más compacta */
  .s-title { font-size: clamp(22px, 7vw, 30px); }
  .s-lead { font-size: 15px; line-height: 1.5; }
  .section { padding-block: clamp(28px, 7vw, 44px); }

  /* Header / logo */
  .brand img { height: 56px; }
  .header.scrolled .brand img { height: 48px; }
  .nav { height: 76px; }
  .header.scrolled .nav { height: 66px; }

  /* Hero */
  .hero h1 { font-size: clamp(24px, 8.4vw, 34px); }
  .hero-sub { font-size: 14.5px; }
  .hero-specialty { font-size: 15px; margin: -4px 0 16px; }
  .hero-eyebrow { font-size: 11px; letter-spacing: .18em; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .hero-badges { gap: 8px; }
  .badge { font-size: 11.5px; padding: 7px 12px; }
  .hero-visual { max-width: 92%; }
  .hero-frame { aspect-ratio: 4/5; }

  /* About */
  .about-grid { gap: 32px; }
  .about-visual { max-width: 88%; margin: 0 auto; }
  .about-mono { width: 88px; height: 88px; right: -14px; bottom: -14px; }
  .about-mono img { width: 74px; }
  .about-role { font-size: 14.5px; }
  .about-quote { font-size: 16px; }
  .about-stats { grid-template-columns: 1fr; gap: 14px; }
  .about-stats { flex-direction: column; align-items: flex-start; }

  /* Propósito */
  .purpose-card { padding: 28px 22px 24px; }
  .purpose-ico { width: 40px; height: 40px; margin-bottom: 16px; }
  .purpose-ico svg { width: 20px; height: 20px; }
  .purpose-tag { font-size: 11px; }
  .purpose-card > p:not(.purpose-tag) { font-size: 14.5px; }
  .values-list li { font-size: 14px; }

  /* Brand strip */
  .brand-strip { padding-block: 14px; }
  .brand-item { font-size: 10px; letter-spacing: .18em; }
  .brand-row { gap: 26px; padding-right: 26px; }
  .brand-dot { font-size: 9px; }

  /* Métodos */
  .step { padding: 22px 20px; }
  .step h3 { font-size: 16px; }
  .step p { font-size: 13.5px; }
  .step-num b { font-size: 42px; }
  .method-quote { font-size: 14px; }

  /* Diferencial */
  .tcard { padding: 26px 22px; }
  .tcard h3 { font-size: 16.5px; }
  .tcard p { font-size: 14px; }

  /* Servicios carrusel chips/arrows */
  .svc-chip { font-size: 11.5px; padding: 7px 12px; }
  .svc-arrow { width: 36px; height: 36px; }
  .svc-arrow-prev { left: 6px; }
  .svc-arrow-next { right: 6px; }
  .svc-arrow svg { width: 16px; height: 16px; }

  /* Áreas listing */
  .areas-search { padding: 9px 14px; }
  .areas-search input { font-size: 14.5px; }
  .areas-count { font-size: 12px; }

  /* Resultados antes/después */
  .results-grid { gap: 18px; }
  .result-card { padding: 0; }
  .result-ekg { width: 44px; }

  /* Detail pages */
  .detail-hero { padding: 52px 0 24px; }
  .detail-hero h1 { font-size: clamp(20px, 6vw, 28px); }
  .detail-grid { gap: 24px; }
  .detail-body h2 { font-size: clamp(22px, 6vw, 30px); }
  .detail-body h3 { font-size: 14px; }
  .detail-lead { font-size: 15px; }
  .list-bullets li { font-size: 14.5px; }
  .back-link a { font-size: 11.5px; }

  /* EKG divider */
  .ekg-divider { margin: -16px 0; }
  .ekg-divider svg { height: 36px; }
  .ekg-divider::before, .ekg-divider::after { width: 9px; height: 9px; top: 18px; }

  /* Objective */
  .objective-card { padding: 24px 18px 22px; max-width: 100%; }
  .objective-ico { width: 38px; height: 38px; }
  .objective-ico svg { width: 30px; height: 30px; }
  .objective-text { font-size: 14.5px; }
  .objective-line { max-width: 60px; }

  /* Contact */
  .contact h2 { font-size: clamp(22px, 6vw, 30px); }
  .contact-lead { font-size: 15px; }
  .contact-card { padding: 26px 22px; }
  .contact-card h3 { font-size: 18px; }
  .contact-info { gap: 22px; }

  /* Faq */
  .faq-grid { gap: 24px; }
  .faq-aside h3 { font-size: clamp(22px, 6vw, 28px); }
  .faq-q { font-size: 15px; padding: 14px 16px; }
  .faq-a-inner { font-size: 14px; padding: 6px 16px 16px; }

  /* Footer — override cascade: 920px block sets 1.4fr 1fr, this restores 1 col */
  .footer-top { grid-template-columns: 1fr; }
  .footer { padding-top: 24px; }
  .footer-brand img { height: 38px; }
  .footer-bottom { font-size: 11px; }

  /* WhatsApp flotante */
  .scroll-top { width: 44px; height: 44px; right: 14px; bottom: 14px; }
  .scroll-top svg { width: 20px; height: 20px; }
}

@media (max-width: 420px) {
  .brand img { height: 48px; }
  .nav { height: 68px; gap: 10px; }
  .hero h1 { font-size: clamp(22px, 9vw, 30px); }
  .hero-visual { max-width: 100%; }
  .svc-arrow { width: 32px; height: 32px; }
  .svc-arrow svg { width: 14px; height: 14px; }
  .svc-chip { font-size: 11px; padding: 6px 10px; }
  .areas-chips .chip { font-size: 11.5px; padding: 6px 12px; }
  .scroll-top { width: 40px; height: 40px; right: 10px; bottom: 10px; }
  .scroll-top svg { width: 18px; height: 18px; }
}

/* ============================================================
   SEARCH OVERLAY (Wilson-style)
   ============================================================ */
.nav-search {
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer;
  margin-right: auto;
}
.nav-search::before {
  content: "";
  width: 18px; height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><path d='m20 20-3.5-3.5'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><path d='m20 20-3.5-3.5'/></svg>") center/contain no-repeat;
}
.search-overlay {
  position: fixed; inset: 0; z-index: 1000;
  visibility: hidden;
  pointer-events: none;
}
.search-overlay.is-open {
  visibility: visible;
  pointer-events: auto;
}
.search-overlay .shape-overlays {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  pointer-events: none;
}
.search-overlay-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  width: 100%; max-width: 640px;
  margin: 0 auto;
  padding: 40px clamp(20px, 4vw, 40px);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .45s var(--ease), transform .55s var(--ease);
  pointer-events: none;
}
.search-overlay.content-ready .search-overlay-inner {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.search-overlay-inner > * { width: 100%; }
.search-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 600; color: #fff;
  margin: 0 0 14px; line-height: 1.05;
}
.search-hint {
  font-family: var(--font-head);
  font-size: 13px; letter-spacing: .06em;
  color: var(--gold-2);
  text-transform: uppercase;
  margin: 0 0 32px;
}
.search-field {
  display: flex; align-items: baseline; gap: 14px;
  border-bottom: 1px solid rgba(216,189,134,.45);
  padding: 10px 4px;
  transition: border-color .3s var(--ease);
}
.search-field:focus-within { border-color: var(--gold-2); }
.search-field span {
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
  color: var(--gold-2); letter-spacing: .06em; text-transform: uppercase;
  flex-shrink: 0;
}
.search-field input {
  flex: 1; width: 100%;
  background: transparent; border: 0; outline: 0;
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(20px, 2vw, 28px); font-weight: 500;
  padding: 0;
}
.search-field input::placeholder { color: rgba(255,255,255,.35); font-style: italic; }
.search-field.no-results {
  border-color: rgba(255,120,120,.6);
  animation: searchShake .35s var(--ease);
}
@keyframes searchShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
.search-close {
  position: absolute; top: 24px; right: 24px;
  width: 42px; height: 42px;
  background: transparent; border: 1px solid rgba(255,255,255,.18);
  border-radius: 100px; color: rgba(255,255,255,.7);
  font-size: 22px; line-height: 1; cursor: pointer;
  opacity: 0;
  transition: color .25s, border-color .25s, transform .25s, opacity .35s var(--ease);
  z-index: 2;
}
.search-overlay.content-ready .search-close { opacity: 1; }
.search-close:hover { color: var(--gold-2); border-color: var(--gold-2); transform: rotate(90deg); }
mark.search-hit {
  background: rgba(216,189,134,.35);
  color: inherit;
  padding: 2px 4px; border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(216,189,134,.6);
}
mark.search-hit.is-first { animation: searchHitPulse 1.6s var(--ease); }
@keyframes searchHitPulse {
  0% { background: rgba(216,189,134,.85); }
  100% { background: rgba(216,189,134,.35); }
}
body.search-open { overflow: hidden; }

/* ============================================================
   WIZARD DE RESERVA (LatePoint-style)
   ============================================================ */
.cita-wizard-section { background: var(--paper); padding-block: clamp(40px, 6vw, 80px); }
.cita-wiz {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(20,24,27,.06);
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 540px;
  overflow: hidden;
}
.cita-wiz.has-resumen { grid-template-columns: 240px 1fr 260px; }

/* ---- LEFT SIDEBAR ---- */
.cita-wiz-aside {
  background: linear-gradient(180deg, #fbf9f4 0%, #f5f1e7 100%);
  border-right: 1px solid var(--line);
  padding: 36px 28px 28px;
  display: flex; flex-direction: column;
  text-align: center;
}
.cita-wiz-aside-icon {
  display: flex; align-items: center; justify-content: center;
  margin: 8px auto 22px;
  width: 88px; height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216,189,134,.18) 0%, rgba(216,189,134,0) 70%);
  color: var(--ink);
}
.cita-wiz-aside-title {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 10px;
}
.cita-wiz-aside-desc {
  font-family: var(--font-body);
  font-size: 14px; line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.cita-wiz-aside-help {
  margin-top: auto;
  padding-top: 32px;
}
.cita-wiz-aside-q {
  font-family: var(--font-head);
  font-size: 13px; font-weight: 700;
  color: var(--ink); margin: 0 0 4px;
}
.cita-wiz-aside-wa {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  color: var(--gold-deep); text-decoration: none;
  background: rgba(194,148,55,.08);
  border: 1px solid rgba(194,148,55,.25);
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: .01em;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.cita-wiz-aside-wa svg { flex: 0 0 16px; }
.cita-wiz-aside-wa:hover {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(194,148,55,.28);
}

/* ---- CENTER MAIN ---- */
.cita-wiz-main {
  display: flex; flex-direction: column;
  min-width: 0;
}
.cita-wiz-main-title {
  font-family: var(--font-head);
  font-size: 16px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink);
  margin: 0;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}
.cita-wiz-content {
  flex: 1;
  padding: 22px 28px;
  overflow-y: auto;
  max-height: 460px;
}
.cita-wiz-step { display: none; }
.cita-wiz-step.is-active { display: block; }

/* Step 1 — modality options */
.cita-wiz-option {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px 12px 12px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cita-wiz-option + .cita-wiz-option { margin-top: 12px; }
.cita-wiz-option:hover { border-color: var(--gold-2); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(198,162,95,.10); }
.cita-wiz-option.is-selected {
  border-color: var(--gold);
  background: rgba(216,189,134,.06);
  box-shadow: 0 6px 22px rgba(198,162,95,.18);
}
.cita-wiz-option-thumb {
  width: 64px; height: 64px;
  border-radius: 10px; overflow: hidden;
  background: var(--charcoal);
}
.cita-wiz-option-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.cita-wiz-option h4 {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 14.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); margin: 0 0 4px;
}
.cita-wiz-option h4 svg { color: var(--gold-deep); }
.cita-wiz-option p {
  font-family: var(--font-body); font-size: 13px; line-height: 1.45;
  color: var(--ink-soft); margin: 0;
}
.cita-wiz-placeholder {
  font-family: var(--font-head); font-size: 14px;
  color: var(--ink-mute); text-align: center; padding: 40px 20px;
  border: 1px dashed var(--line);
  border-radius: 10px;
}

/* Step 2 — service card (consulta + price) */
.cita-wiz-service {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 16px;
  align-items: center;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 18px 12px 12px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cita-wiz-service:hover { border-color: var(--gold-2); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(198,162,95,.10); }
.cita-wiz-service.is-selected {
  border-color: var(--gold);
  background: rgba(216,189,134,.06);
  box-shadow: 0 6px 22px rgba(198,162,95,.18);
}
.cita-wiz-service .cita-wiz-service-desc {
  font-family: var(--font-body); font-size: 13px; line-height: 1.4;
  color: var(--ink-soft); margin: 4px 0 0;
}
/* Location block (Step 2 · Presencial) */
.cita-wiz-location {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 14px 18px;
  background: rgba(29,53,87,.04);
  border: 1px solid rgba(29,53,87,.18);
  border-radius: 12px;
}
.cita-wiz-location[hidden] { display: none; }
.cita-wiz-location-ico {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(29,53,87,.10);
  color: #1d3557;
  display: grid; place-items: center;
}
.cita-wiz-location-text {
  display: flex; flex-direction: column;
  min-width: 0;
}
.cita-wiz-location-label {
  font-family: var(--font-head);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: #1d3557;
  margin-bottom: 2px;
}
.cita-wiz-location-addr {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  color: var(--ink);
}
.cita-wiz-location-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: #1d3557; color: #fff;
  font-family: var(--font-head); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 9px 14px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, transform .2s;
}
.cita-wiz-location-cta:hover { background: #142544; transform: translateY(-1px); }
@media (max-width: 600px) {
  .cita-wiz-location { grid-template-columns: auto 1fr; row-gap: 10px; }
  .cita-wiz-location-cta { grid-column: 1 / -1; justify-content: center; }
}
.cita-wiz-service-price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px; font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
@media (max-width: 480px) {
  .cita-wiz-service { grid-template-columns: 56px 1fr; }
  .cita-wiz-service-price { grid-column: 1 / -1; text-align: right; font-size: 18px; }
}

/* Step 3 — questionnaire form */
.cita-wiz-form { display: flex; flex-direction: column; gap: 12px; }
.cita-wiz-field { position: relative; }
.cita-wiz-input {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  font-family: var(--font-body); font-size: 14px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.cita-wiz-input::placeholder { color: rgba(20,24,27,.4); }
.cita-wiz-input:hover { border-color: rgba(216,189,134,.6); }
.cita-wiz-input:focus {
  outline: 0;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(216,189,134,.18);
}

/* RESUMEN — Q&A entries */
.cita-wiz-resumen-qa { margin-top: 14px; padding-top: 14px; border-top: 1px dotted var(--line); }
.cita-wiz-resumen-qa-item { margin-bottom: 10px; line-height: 1.4; }
.cita-wiz-resumen-qa-q {
  display: block;
  font-size: 12.5px; font-weight: 500;
  color: var(--gold-deep);
  margin-bottom: 2px;
}
.cita-wiz-resumen-qa-a {
  display: block;
  font-family: var(--font-body); font-size: 13px;
  color: var(--ink);
  word-break: break-word;
}
.cita-wiz-resumen-qa-a:empty::before {
  content: "·";
  color: var(--ink-mute);
}

/* Step 4 — calendar (light theme matching wizard) */
.wiz-cal { width: 100%; }
.wiz-cal-head {
  display: flex; align-items: center; justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}
.wiz-cal-nav {
  width: 28px; height: 28px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-soft);
  font-size: 18px; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s, color .2s, border-color .2s;
}
.wiz-cal-nav:hover { background: rgba(29,53,87,.08); border-color: #1d3557; color: #1d3557; }
.wiz-cal-nav:disabled { opacity: .3; cursor: not-allowed; }
.wiz-cal-title {
  font-family: var(--font-head);
  font-size: 14px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink);
}
.wiz-cal-dow {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
  text-align: center;
  font-family: var(--font-head);
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.wiz-cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
}
.wiz-cal-day {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  font-family: var(--font-head); font-size: 14px; font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.wiz-cal-day::after {
  /* underline accent for available days */
  content: "";
  position: absolute;
  bottom: 18%;
  left: 30%; right: 30%;
  height: 2px;
  background: #1d3557;
  border-radius: 2px;
  opacity: 0;
  transition: opacity .2s;
}
.wiz-cal-day.is-available::after { opacity: 1; }
.wiz-cal-day.is-empty { visibility: hidden; pointer-events: none; }
.wiz-cal-day:disabled { color: rgba(20,24,27,.25); cursor: not-allowed; }
.wiz-cal-day:disabled::after { opacity: 0; }
.wiz-cal-day:hover:not(:disabled) { background: rgba(29,53,87,.10); }
.wiz-cal-day.is-selected {
  background: #1d3557;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(29,53,87,.35);
}
.wiz-cal-day.is-selected::after { opacity: 0; }

.wiz-times { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.wiz-times-label {
  font-family: var(--font-head);
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.wiz-times-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
}
.wiz-time {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 6px;
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.wiz-time:hover { background: rgba(29,53,87,.06); border-color: #1d3557; }
.wiz-time.is-selected {
  background: #1d3557; color: #fff; border-color: #1d3557;
  box-shadow: 0 4px 14px rgba(29,53,87,.30);
}
@media (max-width: 720px) {
  .wiz-times-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .wiz-times-grid { grid-template-columns: repeat(2, 1fr); }
}

/* "Reservar por WhatsApp" variant of the next button on step 4 */
.cita-wiz[data-step="4"] .cita-wiz-next { background: #1d3557; }
.cita-wiz[data-step="4"] .cita-wiz-next:hover:not(:disabled) { background: #142544; }

/* ---- NAV (footer) ---- */
.cita-wiz-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 16px 28px;
  border-top: 1px solid var(--line);
}
.cita-wiz-back, .cita-wiz-next {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  border-radius: 8px;
  padding: 12px 18px;
  cursor: pointer;
  transition: background .25s, color .25s, transform .25s;
}
.cita-wiz-back {
  background: transparent;
  border: 0;
  color: var(--ink-soft);
  padding: 12px 14px;
}
.cita-wiz-back:hover { color: var(--ink); }
.cita-wiz-next {
  background: var(--charcoal);
  border: 0;
  color: #fff;
  margin-left: auto;
}
.cita-wiz-next:hover:not(:disabled) { background: var(--charcoal-3); transform: translateY(-1px); }
.cita-wiz-next:disabled { opacity: .35; cursor: not-allowed; }
/* Steps 1 & 2 → auto-advance on selection (Siguiente hidden) */
.cita-wiz[data-step="1"] .cita-wiz-next,
.cita-wiz[data-step="2"] .cita-wiz-next { display: none; }
/* Step 3 → discreet text link "Continuar →" instead of solid button */
.cita-wiz[data-step="3"] .cita-wiz-next {
  background: transparent;
  color: var(--ink-soft);
  padding: 12px 4px;
  font-size: 12px;
  letter-spacing: .14em;
}
.cita-wiz[data-step="3"] .cita-wiz-next:hover:not(:disabled) {
  background: transparent;
  color: var(--ink);
  transform: none;
}

/* ---- RIGHT SIDEBAR (RESUMEN) ---- */
.cita-wiz-resumen {
  background: #fbf9f4;
  border-left: 1px solid var(--line);
  padding: 22px 24px;
  font-family: var(--font-head);
}
.cita-wiz-resumen-title {
  font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px dotted var(--line);
}
.cita-wiz-resumen-body {
  font-size: 13.5px; color: var(--ink-soft);
}
.cita-wiz-resumen-item { margin-bottom: 14px; }
.cita-wiz-resumen-item h5 {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); margin: 0 0 4px;
}
.cita-wiz-resumen-when {
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  color: #1d3557;
  background: rgba(29,53,87,.08);
  border-radius: 6px;
  padding: 6px 10px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .cita-wiz { grid-template-columns: 220px 1fr; }
  .cita-wiz.has-resumen { grid-template-columns: 220px 1fr; }
  .cita-wiz-resumen { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .cita-wiz, .cita-wiz.has-resumen { grid-template-columns: 1fr; }
  .cita-wiz-aside { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 20px 22px; }
  .cita-wiz-aside-help { padding-top: 18px; }
  .cita-wiz-main-title { padding: 18px 20px; font-size: 14px; }
  .cita-wiz-content { padding: 18px 20px; max-height: none; }
  .cita-wiz-nav { padding: 14px 20px; }
  .cita-wiz-back, .cita-wiz-next { padding: 10px 14px; font-size: 12px; }
}

.s-title.cita-bigtitle {
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.1;
}
