/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #f6f1ea;   /* crema cálida */
  --bg-2:      #ede4d6;   /* arena */
  --paper:     #fffdf9;
  --ink:       #1f1c19;
  --ink-soft:  #3a352f;
  --ink-mute:  #6f675d;
  --gold:      #a9834b;   /* dorado de la marca */
  --gold-2:    #c9a76e;
  --gold-soft: #e6d3b0;
  --wa:        #25d366;
  --line:      rgba(31, 28, 25, 0.12);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

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

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 22px;
  --nav-h: 76px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; line-height: 1.05; letter-spacing: -0.01em; }
ol, ul { list-style: none; padding: 0; }
::selection { background: var(--gold); color: var(--paper); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: min(1200px, 100% - var(--gutter) * 2); margin-inline: auto; }
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--ink); color: var(--paper); border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   4. Typography
   ============================================================= */
em { font-style: italic; color: var(--gold); }
.kicker, .eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.kicker .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 0 rgba(169,131,75,.5); animation: pulse 2.4s var(--ease-soft) infinite;
}
.section-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  margin-top: 1rem;
}
.lead { font-size: 1.08rem; color: var(--ink-mute); margin-top: 1.2rem; max-width: 52ch; }

/* =============================================================
   5. Components
   ============================================================= */
.n { font-family: var(--sans); font-weight: 400; font-size: .82em; }
.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .35s var(--ease-out), color .35s var(--ease-out);
}
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1rem; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(169,131,75,.7);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(169,131,75,.85); }
.btn-line { border: 1px solid var(--gold); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.nav.is-solid {
  background: rgba(246,241,234,.88);
  box-shadow: 0 1px 0 var(--line);
}
@supports (backdrop-filter: blur(10px)) {
  .nav.is-solid { background: rgba(246,241,234,.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: .7rem; }
.logo-mark { width: 44px; height: 33px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: .28em; color: var(--ink); }
.logo-sub { display: none; font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-top: .3rem; }
.nav-links { display: none; gap: 2rem; font-size: .92rem; font-weight: 500; }
.nav-links a { position: relative; padding-block: .3rem; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; padding: .65rem 1.2rem; font-size: .88rem; }
.nav-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; }
.nav-toggle span { width: 24px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease-out); }
.nav.is-open .nav-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav.is-open .nav-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.nav.is-open { background: var(--bg); }
.nav.is-open .nav-links {
  display: flex; flex-direction: column; gap: 0;
  position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: var(--bg); padding: .5rem var(--gutter) 1.5rem; box-shadow: 0 20px 30px -20px rgba(0,0,0,.2);
}
.nav.is-open .nav-links a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.5rem; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: flex; align-items: center; gap: .6rem;
  height: 58px; padding: 0 17px; border-radius: 999px;
  background: var(--wa); color: #fff; font-weight: 600;
  box-shadow: 0 14px 30px -10px rgba(37,211,102,.6);
  transition: transform .35s var(--ease-out);
}
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 2px solid var(--wa); animation: ring 2.6s var(--ease-soft) infinite;
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
.wa-float-label { display: none; }

/* =============================================================
   6. Sections
   ============================================================= */
.section { padding-block: clamp(4.5rem, 10vw, 8rem); position: relative; }
.section-head { max-width: 640px; }

/* Hero */
.hero { position: relative; padding-top: calc(var(--nav-h) + 2.5rem); padding-bottom: 4rem; }
.hero-glow {
  position: absolute; inset: -10% -20% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(201,167,110,.35), transparent 70%);
  filter: blur(40px); pointer-events: none; z-index: 0;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 3rem; align-items: center; }
.hero-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.2rem, 4.4vw, 3.7rem);
  line-height: 1.08; margin-top: 1.4rem; max-width: 19ch;
}
.hero-sub { font-size: .98rem; line-height: 1.75; color: var(--ink-mute); margin-top: 1.4rem; max-width: 50ch; }
.hero-sub-quote {
  margin-top: .9rem; padding-left: 1rem; border-left: 2px solid var(--gold);
  font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.4; color: var(--ink);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--sans); font-size: 1.7rem; font-weight: 300; color: var(--ink); line-height: 1; }
.hero-facts span { font-size: .82rem; color: var(--ink-mute); margin-top: .35rem; max-width: 16ch; }

.hero-figure { position: relative; justify-self: center; width: min(460px, 100%); }
.hero-arch {
  position: relative; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
  box-shadow: 0 40px 80px -40px rgba(80,58,25,.45);
}
.hero-arch::after {
  content: ""; position: absolute; inset: 10px; border-radius: inherit;
  border: 1px solid rgba(255,255,255,.55); pointer-events: none;
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.hero-badge {
  position: absolute; left: -6%; bottom: 8%;
  display: flex; flex-direction: column;
  padding: 1rem 1.3rem; border-radius: 16px;
  background: rgba(255,253,249,.94); border: 1px solid var(--gold-soft);
  box-shadow: 0 20px 40px -20px rgba(80,58,25,.4);
}
.hero-badge-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); }
.hero-badge-role { font-size: .78rem; color: var(--gold); letter-spacing: .04em; }
.hero-seal {
  position: absolute; right: -6%; top: 4%; width: 146px; height: 146px;
  border-radius: 50%; background: var(--paper);
  box-shadow: 0 0 0 1px var(--gold-soft), 0 0 0 6px rgba(255,253,249,.7), 0 22px 40px -16px rgba(80,58,25,.5);
  transition: transform .6s var(--ease-out);
}
.hero-seal:hover { transform: rotate(-8deg) scale(1.05); }
.hero-seal-ring { width: 100%; height: 100%; animation: spin 30s linear infinite; }
.hero-seal text { font-family: var(--sans); font-size: 9.6px; font-weight: 600; fill: var(--gold); }
.hero-seal-medal {
  position: absolute; inset: 0; margin: auto; width: 82px; height: 82px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 30% 25%, #f3e2bd 0%, transparent 45%),
    linear-gradient(145deg, #d9bb83 0%, #a9834b 48%, #7d5e2f 100%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35), inset 0 0 0 5px rgba(125,94,47,.35), 0 6px 14px -6px rgba(80,58,25,.7);
  overflow: hidden; color: #fffaf0;
}
.hero-seal-medal::after {
  content: ""; position: absolute; inset: -40%;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.65) 50%, transparent 60%);
  transform: translateX(-70%); animation: shine 4.5s var(--ease-soft) infinite;
}
.seal-dra { font-family: var(--serif); font-style: italic; font-size: .9rem; line-height: 1; margin-bottom: -4px; text-shadow: 0 1px 1px rgba(80,58,25,.4); }
.seal-m { font-family: var(--serif); font-weight: 600; font-size: 2.7rem; line-height: 1; text-shadow: 0 2px 2px rgba(80,58,25,.45); }
.seal-line { width: 26px; height: 1px; margin-top: 2px; background: rgba(255,250,240,.8); }
@keyframes shine { 0%, 55% { transform: translateX(-70%); } 85%, 100% { transform: translateX(70%); } }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--paper); padding-block: 1.1rem; }
.marquee-track { display: flex; width: max-content; gap: 2rem; align-items: center; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-style: italic; color: var(--ink); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--gold); font-size: .9rem; }

/* Pregunta */
.question-grid { display: grid; gap: 3rem; align-items: center; }
.question-figure { position: relative; width: min(460px, 100%); justify-self: center; }
.question-figure { padding: 12px; border: 1px solid var(--gold); border-radius: calc(var(--radius) + 12px); }
.question-frame { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); box-shadow: 0 40px 70px -45px rgba(80,58,25,.5); }
.question-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s var(--ease-out); }
.question-figure:hover .question-frame img { transform: scale(1.04); }
.stat-badges {
  position: absolute; left: 50%; bottom: -1.6rem; transform: translateX(-50%);
  display: flex; align-items: stretch; white-space: nowrap;
  border-radius: 16px; background: rgba(255,253,249,.97); border: 1px solid var(--gold-soft);
  box-shadow: 0 24px 44px -20px rgba(80,58,25,.5);
}
.stat { display: flex; align-items: center; gap: .65rem; padding: .85rem 1.2rem; font-size: .8rem; font-weight: 600; line-height: 1.25; color: var(--ink); }
.stat + .stat { border-left: 1px solid var(--gold-soft); }
.stat strong { font-family: var(--sans); font-size: 1.5rem; font-weight: 300; color: var(--gold); line-height: 1; }

.doctor-badge {
  display: flex; gap: 1rem; align-items: center; margin: 0 0 1.6rem; padding: 1rem 1.2rem; max-width: 54ch;
  border-radius: 16px; background: var(--paper); border: 1px solid var(--gold-soft);
  box-shadow: 0 20px 40px -30px rgba(80,58,25,.5);
}
.doctor-badge svg { flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: linear-gradient(145deg, #d9bb83, #a9834b); fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.doctor-badge strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.doctor-badge span { font-size: .88rem; color: var(--ink-mute); }
.reasons { margin-top: 2.2rem; display: grid; gap: 0; }
.reasons li { display: flex; gap: 1.4rem; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.reasons li:last-child { border-bottom: 1px solid var(--line); }
.reasons .num { font-family: var(--sans); font-size: 1rem; font-weight: 500; padding-top: .35rem; color: var(--gold); line-height: 1.2; min-width: 2ch; }
.reasons h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }
.reasons p { color: var(--ink-mute); margin-top: .3rem; font-size: .96rem; }

/* Especialidades */
.services { background: var(--paper); }
.services-grid { display: grid; gap: 1.1rem; margin-top: 3rem; }
.service {
  position: relative; padding: 2rem 1.7rem; border-radius: var(--radius);
  background: var(--bg); border: 1px solid transparent;
  transition: transform .5s var(--ease-out), border-color .5s var(--ease-out), box-shadow .5s var(--ease-out), background .5s var(--ease-out);
}
.service:hover { transform: translateY(-6px); border-color: var(--gold-soft); background: #fff; box-shadow: 0 30px 50px -30px rgba(169,131,75,.55); }
.service-ico { width: 46px; height: 46px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease-out); }
.service:hover .service-ico { transform: rotate(-8deg) scale(1.08); }
.service h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; margin-top: 1.3rem; }
.service p { color: var(--ink-mute); font-size: .94rem; margin-top: .5rem; }

.service-featured {
  background: var(--ink); color: rgba(246,241,234,.78);
  padding: 2.4rem 2rem;
  box-shadow: 0 40px 60px -35px rgba(31,28,25,.6);
}
.service-featured::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(60% 50% at 85% 10%, rgba(201,167,110,.3), transparent 70%);
}
.service-featured:hover { background: var(--ink); border-color: var(--gold-2); }
.service-featured h3 { color: var(--bg); font-size: clamp(1.9rem, 3vw, 2.5rem); }
.service-featured p { color: rgba(246,241,234,.75); font-size: 1rem; max-width: 46ch; }
.service-featured .service-ico { stroke: var(--gold-2); }
.service-featured .btn { margin-top: 1.6rem; position: relative; }
.service-badge {
  position: absolute; top: 1.4rem; right: 1.4rem;
  font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: .4rem .8rem; border-radius: 999px; background: var(--gold); color: #fff;
}
.service-points { margin-top: 1.2rem; display: grid; gap: .5rem; position: relative; }
.service-points li { display: flex; gap: .6rem; align-items: baseline; font-size: .95rem; color: var(--bg); }
.service-points li::before { content: "✦"; color: var(--gold-2); font-size: .75rem; }
.service-cta { display: flex; flex-direction: column; justify-content: center; background: transparent; border: 1px dashed var(--gold); }
.service-cta h3 { margin-top: 0; }
.service-link { margin-top: 1rem; font-weight: 600; font-size: .9rem; color: var(--gold); }

/* Tipos de consulta */
.modes-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-top: 2.4rem; }
.modes { display: grid; gap: .8rem; margin-top: 1rem; }
.mode {
  display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.3rem; border-radius: 16px;
  border: 1px solid var(--gold-soft); background: linear-gradient(135deg, #fff, var(--paper));
}
.mode svg { flex: none; width: 42px; height: 42px; padding: 9px; border-radius: 50%; background: var(--gold); fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mode h4 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); line-height: 1.1; }
.mode p { color: var(--ink-mute); font-size: .9rem; }

/* Valoración */
.evaluation-grid { display: grid; gap: 3rem; align-items: center; }
.steps { margin-top: 2.2rem; display: grid; gap: 1rem; }
.steps li {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.2rem 1.3rem; border-radius: 16px; background: var(--paper); border: 1px solid var(--line);
  transition: border-color .4s var(--ease-out), transform .4s var(--ease-out);
}
.steps li:hover { border-color: var(--gold-soft); transform: translateX(6px); }
.step-n {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold); font-family: var(--sans); font-size: 1rem; font-weight: 500;
}
.steps h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.steps p { color: var(--ink-mute); font-size: .93rem; }
.evaluation-figure { position: relative; }
.evaluation-figure img { border-radius: var(--radius); width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 40px 70px -45px rgba(80,58,25,.5); }
.evaluation-figure figcaption {
  position: absolute; right: 1rem; bottom: -1.4rem; max-width: 80%;
  padding: .9rem 1.2rem; border-radius: 14px; background: var(--ink); color: var(--bg);
  font-family: var(--serif); font-style: italic; font-size: 1.15rem;
}

/* Doctora */
.doctor { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.doctor-grid { display: grid; gap: 3rem; align-items: center; }
.doctor-figure {
  position: relative; width: min(460px, 100%); justify-self: center;
  padding: 12px; border: 1px solid var(--gold); border-radius: calc(var(--radius) + 12px);
}
.doctor-figure img { position: relative; border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; box-shadow: 0 40px 70px -45px rgba(80,58,25,.55); }
.doctor-role { color: var(--gold); font-weight: 600; font-size: .92rem; margin: .8rem 0 1.4rem; }
.doctor-copy > p:not(.eyebrow):not(.doctor-role) { color: var(--ink-mute); margin-bottom: 1rem; max-width: 54ch; }
.doctor-quote {
  margin: 1.8rem 0 2rem; padding-left: 1.4rem; border-left: 2px solid var(--gold);
  font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; color: var(--ink);
}

/* Congresos */
.congress { background: var(--paper); }
.congress-grid { display: grid; gap: 3rem; align-items: center; }
.congress-count { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.congress-count strong { font-family: var(--sans); font-size: 3rem; font-weight: 300; color: var(--gold); line-height: 1; }
.congress-count span { font-size: .88rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.congress-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.congress-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); box-shadow: 0 40px 70px -45px rgba(80,58,25,.55); }
.congress-photo:nth-child(2) { transform: translateY(2.5rem); }
.js .congress-photo.reveal:nth-child(2) { transform: translateY(calc(2.5rem + 26px)); }
.js .congress-photo.reveal.is-visible:nth-child(2), .reveal-all .congress-photo:nth-child(2) { transform: translateY(2.5rem); }
.congress-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.congress-photo:hover img { transform: scale(1.05); }
.congress-photo figcaption {
  display: none; position: absolute; left: .7rem; right: .7rem; bottom: .7rem;
  padding: .6rem .8rem; border-radius: 12px; text-align: center;
  background: rgba(31,28,25,.78); color: var(--bg); font-size: .74rem; font-weight: 600; letter-spacing: .02em;
}
@supports (backdrop-filter: blur(6px)) {
  .congress-photo figcaption { background: rgba(31,28,25,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
}

/* FAQ */
.faq-grid { display: grid; gap: 2.5rem; }
.faq-list { display: grid; gap: .8rem; }
.faq details { border-radius: 16px; background: var(--paper); border: 1px solid var(--line); transition: border-color .4s var(--ease-out); }
.faq details[open] { border-color: var(--gold-soft); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.25rem 3.4rem 1.25rem 1.4rem; position: relative;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold);
  display: grid; place-items: center; font-family: var(--sans); font-size: 1.1rem; font-weight: 400;
  transition: transform .4s var(--ease-out), background .4s var(--ease-out), color .4s var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--gold); color: #fff; }
.faq details p { padding: 0 1.4rem .8rem; color: var(--ink-mute); }
.faq details > :last-child { padding-bottom: 1.4rem; }
.faq details ul { padding: 0 1.4rem .9rem; display: grid; gap: .45rem; }
.faq details li { display: flex; gap: .7rem; align-items: baseline; color: var(--ink-soft); font-size: .96rem; }
.faq details li::before { content: "✦"; color: var(--gold); font-size: .7rem; flex: none; }

/* CTA */
.cta { padding-block: clamp(4.5rem, 10vw, 7.5rem); background: var(--ink); color: var(--bg); position: relative; overflow: clip; }
.cta::before {
  content: ""; position: absolute; inset: -40% -10% auto -10%; height: 120%;
  background: radial-gradient(40% 50% at 50% 30%, rgba(201,167,110,.28), transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-mark { width: 64px; height: 48px; fill: none; stroke: var(--gold-2); stroke-width: 1.6; stroke-linecap: round; }
.cta-title { color: var(--bg); font-family: var(--serif); font-weight: 500; font-size: clamp(2.3rem, 5vw, 4rem); margin-top: 1.5rem; max-width: 18ch; }
.cta-title em { color: var(--gold-2); }
.cta-sub { color: rgba(246,241,234,.75); margin-top: 1rem; font-size: 1.08rem; }
.cta-phones { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.5rem; }
.phone-card {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.6rem 1rem 1.2rem; border-radius: 18px;
  border: 1px solid rgba(201,167,110,.45); background: rgba(255,255,255,.04);
  transition: background .4s var(--ease-out), transform .4s var(--ease-out), border-color .4s var(--ease-out);
}
.phone-card .ico { width: 2.4rem; height: 2.4rem; padding: .5rem; border-radius: 50%; background: var(--wa); color: #fff; }
.phone-card span { display: flex; flex-direction: column; text-align: left; font-family: var(--sans); font-size: 1.45rem; font-weight: 500; line-height: 1.1; color: var(--bg); }
.phone-card small { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; }
.phone-card:hover { background: rgba(255,255,255,.09); border-color: var(--gold-2); transform: translateY(-3px); }

/* Ubicación */
.location { background: var(--bg); }
.place-card {
  margin-top: 2.6rem; display: grid; border-radius: 28px; overflow: hidden;
  background: var(--paper); border: 1px solid var(--gold-soft);
  box-shadow: 0 40px 70px -50px rgba(80,58,25,.5);
}
.place-brand {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 3rem 2rem; color: var(--bg);
  background:
    radial-gradient(70% 60% at 30% 20%, rgba(217,187,131,.45), transparent 70%),
    linear-gradient(150deg, #2a241e 0%, #1a1714 100%);
}
.place-brand::after {
  content: ""; position: absolute; inset: 14px; border-radius: 20px; border: 1px solid rgba(201,167,110,.4); pointer-events: none;
}
.place-mark { width: 92px; height: 69px; fill: none; stroke: var(--gold-2); stroke-width: 1.5; stroke-linecap: round; }
.place-small { position: relative; font-family: var(--serif); font-size: 1rem; font-weight: 600; letter-spacing: .42em; margin-left: .42em; color: var(--gold-2); }
.place-doctor {
  position: relative; margin-top: 1.1rem;
  font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 4.4vw, 3.4rem); line-height: 1.02;
  background: linear-gradient(120deg, #f6e7c4 0%, #e0c08a 45%, #fff4dc 60%, #c9a76e 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.35));
}
.place-doctor em { color: transparent; font-style: italic; }
.place-rule { position: relative; width: 56px; height: 1px; margin: 1.3rem 0 1rem; background: var(--gold-2); }
.place-sub { position: relative; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(246,241,234,.72); line-height: 1.9; }
.place-info { padding: 2.4rem 2rem; display: flex; flex-direction: column; justify-content: center; gap: 1.8rem; }
.place-list { display: grid; gap: 1.2rem; }
.place-list li { display: flex; gap: 1rem; align-items: flex-start; }
.place-list svg { flex: none; width: 42px; height: 42px; padding: 10px; border-radius: 50%; border: 1px solid var(--gold-soft); fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.place-list strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.place-list span { color: var(--ink-mute); font-size: .95rem; }
.place-info .btn { align-self: flex-start; }

.map {
  position: relative; display: block; margin-top: 1.4rem; height: clamp(280px, 42vw, 440px);
  border-radius: 28px; overflow: hidden; border: 1px solid var(--gold-soft);
  box-shadow: 0 40px 70px -50px rgba(80,58,25,.5); background: var(--bg-2);
}
.map iframe { width: 100%; height: 100%; border: 0; pointer-events: none; filter: saturate(.85) sepia(.12); transition: filter .6s var(--ease-out), transform 1s var(--ease-out); }
.map:hover iframe { filter: none; transform: scale(1.02); }
.map-chip {
  position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap;
  padding: .8rem 1.3rem; border-radius: 999px; background: var(--ink); color: var(--bg);
  font-weight: 600; font-size: .9rem; box-shadow: 0 14px 30px -12px rgba(0,0,0,.5);
  transition: transform .4s var(--ease-out), background .4s var(--ease-out);
}
.map-chip svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.map:hover .map-chip { transform: translateX(-50%) translateY(-3px); background: var(--gold); }

/* Footer */
.footer { background: #171512; color: rgba(246,241,234,.7); padding-block: 3rem 6rem; font-size: .9rem; }
.footer-inner { display: grid; gap: 2rem; }
.footer .logo-name { color: var(--bg); }
.footer-brand p { margin-top: .6rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem 1.8rem; }
.footer-links a:hover { color: var(--gold-2); }
.footer-copy { font-size: .8rem; color: rgba(246,241,234,.45); border-top: 1px solid rgba(246,241,234,.1); padding-top: 1.5rem; }

/* =============================================================
   7. Effects
   ============================================================= */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-visible, .reveal-all .reveal { opacity: 1; transform: none; }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(169,131,75,.5); } 70% { box-shadow: 0 0 0 10px rgba(169,131,75,0); } 100% { box-shadow: 0 0 0 0 rgba(169,131,75,0); } }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-featured { grid-column: 1 / -1; }
  .modes { grid-template-columns: 1fr 1fr; }
  .wa-float-label { display: inline; }
  .logo-sub { display: block; }
  .congress-photo figcaption { display: block; }
  .wa-float { padding: 0 22px 0 18px; }
}
@media (min-width: 720px) {
  .hero-figure { width: min(480px, 100%); }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 3.5rem); padding-bottom: 6rem; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
  .question-grid { grid-template-columns: .85fr 1fr; gap: 5rem; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .service-featured { grid-column: span 2; grid-row: span 2; padding: 2.8rem 2.6rem; display: flex; flex-direction: column; justify-content: center; }
  .service-featured .btn { align-self: flex-start; }
  .evaluation-grid { grid-template-columns: 1fr .9fr; gap: 5rem; }
  .doctor-grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: start; }
  .place-card { grid-template-columns: .9fr 1.1fr; }
  .congress-grid { grid-template-columns: .85fr 1.15fr; gap: 5rem; }
  .congress { padding-bottom: clamp(6.5rem, 12vw, 10rem); }
  .place-brand { padding: 4rem 2rem; }
  .place-info { padding: 3rem 3.2rem; }
  .faq .section-head { position: sticky; top: calc(var(--nav-h) + 2rem); }
  .footer-inner { grid-template-columns: 1fr auto; align-items: end; }
  .footer-copy { grid-column: 1 / -1; }
  .footer { padding-bottom: 3rem; }
}

/* =============================================================
   9. Reduced motion (solo lo intrusivo)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation-duration: 90s; }
  .wa-float::before, .kicker .dot { animation: none; }
}
