/* ============================================================
   Clínica Dental Piedras Negras · Dra. Tokunaga
   Editorial heritage design — paper / ink / vermillion seal
   ============================================================ */

:root {
  --paper: #ffffff;
  --paper-2: #e7eff7;
  --ink: #13375e;
  --ink-soft: #405872;
  --seal: #1d5288;
  --seal-dark: #153e68;
  --gold: #9cc3e8;
  --line: rgba(19, 55, 94, 0.16);
  --line-strong: rgba(19, 55, 94, 0.5);
  --paper-on-ink: #ecf3fa;
  --max: 1180px;
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Karla", "Helvetica Neue", Arial, sans-serif;
  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.2rem);
  --step-4: clamp(2.6rem, 1.9rem + 3.6vw, 4.8rem);
  --step-5: clamp(3rem, 2rem + 5vw, 6.2rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }

::selection { background: var(--seal); color: var(--paper); }

/* ---------- type helpers ---------- */
.kicker {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--seal);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.kicker::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--seal);
  flex: none;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); margin: 0.9rem 0 1.2rem; max-width: 18ch; }
.italic { font-style: italic; }
.accent { color: var(--seal); }

.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); max-width: 56ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 1.6rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.btn svg { flex: none; }
.btn-seal {
  background: var(--seal);
  border-color: var(--seal);
  color: var(--paper);
  box-shadow: 4px 4px 0 rgba(20, 38, 74, 0.9);
}
.btn-seal:hover { background: var(--seal-dark); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(20, 38, 74, 0.9); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-paper { background: var(--paper); border-color: var(--paper); color: var(--ink); box-shadow: 4px 4px 0 rgba(0,0,0,0.35); }
.btn-paper:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 rgba(0,0,0,0.35); }

/* ---------- layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.5rem); }

section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

/* ---------- header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}
.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.logo-badge { height: 66px; width: auto; display: block; filter: drop-shadow(1px 2px 0 rgba(19, 55, 94, 0.25)); }
.logo-badge-lg { height: 74px; }
.brand .seal-mark {
  width: 44px; height: 44px; flex: none;
  background: var(--seal);
  color: var(--paper);
  border-radius: 3px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.35rem; font-style: italic;
  box-shadow: 2px 2px 0 rgba(20,38,74,0.85);
}
.brand-text { line-height: 1.15; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: block;
}
.brand-text span {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
nav.main { display: flex; align-items: center; gap: 1.6rem; }
nav.main a {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
nav.main a:hover { color: var(--seal); border-color: var(--seal); }
nav.main .nav-cta {
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 0.55rem 1rem;
  color: var(--ink);
}
nav.main .nav-cta:hover { background: var(--seal); border-color: var(--seal); color: var(--paper); }
.lang-switch {
  display: inline-flex; align-items: center; gap: 0.35rem;
  border: 1px dashed var(--line-strong) !important;
  border-radius: 2px;
  padding: 0.5rem 0.85rem !important;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  border-radius: 2px;
  width: 44px; height: 40px;
  cursor: pointer;
  place-items: center;
  color: var(--ink);
}

/* ---------- hero ---------- */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  font-size: var(--step-5);
  margin: 1.1rem 0 1.4rem;
}
.hero h1 .line-b { font-style: italic; color: var(--seal); display: block; }
.hero .lead { margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-figure { position: relative; }
.hero-frame {
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 0.7rem;
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--paper-2);
  transform: rotate(1.2deg);
}
.hero-frame .ph { border-radius: 2px; overflow: hidden; }
.hero-frame img.photo { width: 100%; height: auto; }
.hero-frame figcaption {
  padding: 0.7rem 0.3rem 0.15rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
}
.est-seal {
  position: absolute;
  top: -1.4rem;
  right: -1rem;
  width: 86px; height: 86px;
  background: var(--seal);
  color: var(--paper);
  border-radius: 50%;
  display: grid; place-items: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.15;
  transform: rotate(8deg);
  box-shadow: 3px 4px 0 rgba(20,38,74,0.85);
}
.est-seal strong { font-size: 1.25rem; display: block; }

/* ---------- marquee ---------- */
.marquee {
  background: var(--ink);
  color: var(--paper-on-ink);
  overflow: hidden;
  padding: 0.85rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  width: max-content;
  animation: marquee 36s linear infinite;
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 3rem; }
.marquee-track em { font-style: normal; color: var(--seal); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { border-bottom: 1px solid var(--line); }
.stats .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}
.stat { border-left: 1px solid var(--line-strong); padding-left: 1.4rem; }
.stat .num {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}
.stat .num sup { font-size: 0.45em; color: var(--seal); }
.stat p { margin-top: 0.6rem; color: var(--ink-soft); max-width: 24ch; }

/* ---------- services grid ---------- */
.services-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2.6rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}
.svc-card {
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  padding: 1.6rem 1.5rem 1.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 230px;
  position: relative;
  background: var(--paper);
  transition: background 0.2s ease;
}
.svc-card:hover { background: #f2f7ff; }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.svc-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--seal);
}
.svc-card svg.icon { width: 44px; height: 44px; color: var(--ink); opacity: 0.85; }
.svc-card h3 { font-size: 1.45rem; }
.svc-card p { font-size: 0.94rem; color: var(--ink-soft); flex: 1; }
.svc-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--seal);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.svc-link::after { content: "⟶"; transition: transform 0.18s ease; }
.svc-card:hover .svc-link::after { transform: translateX(5px); }
.svc-fill { grid-column: span 2; background: var(--paper-2); }
.svc-fill svg { width: 30px; height: 30px; color: var(--seal); }
.svc-fill h3 { max-width: 22ch; }

/* ---------- cases (before/after) ---------- */
.cases { border-top: 1px solid var(--line); }
.cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 2.6rem;
}
.case-card {
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--paper);
  padding: 0.7rem;
  box-shadow: 8px 8px 0 var(--paper-2);
}
.case-card .ba { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.ba-half { position: relative; border-radius: 2px; overflow: hidden; }
.ba-half img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ba-tag {
  position: absolute;
  left: 0.6rem; bottom: 0.6rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}
.ba-tag.ba-after { background: var(--seal); }
.case-card figcaption { padding: 0.9rem 0.4rem 0.3rem; }
.case-card h3 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.case-card figcaption p { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- service photo ---------- */
.svc-photo {
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--paper);
  padding: 0.7rem;
  box-shadow: 10px 10px 0 var(--paper-2);
  transform: rotate(1deg);
}
.svc-photo img { width: 100%; border-radius: 2px; display: block; }

/* ---------- story / timeline ---------- */
.story { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.story-copy p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.story-copy p:first-of-type { color: var(--ink); }
.timeline { border-left: 1px solid var(--line-strong); padding-left: 1.8rem; display: flex; flex-direction: column; gap: 1.7rem; align-self: center; }
.timeline li { position: relative; }
.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1.8rem - 5px);
  top: 0.85rem;
  width: 9px; height: 9px;
  background: var(--seal);
  border-radius: 50%;
}
.timeline .year { font-family: var(--font-display); font-size: 1.6rem; font-style: italic; color: var(--ink); display: block; }
.timeline p { color: var(--ink-soft); font-size: 0.96rem; max-width: 42ch; }

/* ---------- doctor ---------- */
.doctor .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.doctor-figure .hero-frame { transform: rotate(-1.4deg); }
.doctor-copy p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.credentials { margin-top: 1.6rem; border-top: 1px solid var(--line-strong); }
.credentials li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
  font-weight: 500;
}
.credentials li::before { content: "—"; color: var(--seal); flex: none; }

/* ---------- trust ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--line-strong);
  margin-top: 2.4rem;
}
.trust-item { padding: 1.6rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; }
.trust-item .t-num { font-family: var(--font-display); font-style: italic; color: var(--seal); font-size: 1.1rem; padding-top: 0.15rem; }
.trust-item h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.trust-item p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- border band ---------- */
.border-band { background: var(--ink); color: var(--paper-on-ink); position: relative; overflow: hidden; }
.border-band::after {
  content: "USA ⇄ MX";
  position: absolute;
  right: -1rem; bottom: -2.2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(4rem, 10vw, 8rem);
  color: rgba(238, 244, 253, 0.07);
  white-space: nowrap;
  pointer-events: none;
}
.border-band .kicker { color: var(--gold); }
.border-band .kicker::before { background: var(--gold); }
.border-band h2 { color: var(--paper); }
.border-band p { max-width: 62ch; color: rgba(238, 244, 253, 0.85); margin-bottom: 2rem; }

/* ---------- contact ---------- */
.contact .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); }
.contact-list { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 1.3rem; }
.contact-item { border-left: 2px solid var(--seal); padding-left: 1.1rem; }
.contact-item .label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft);
  display: block; margin-bottom: 0.15rem;
}
.contact-item a.big {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-decoration: none;
}
.contact-item a.big:hover { color: var(--seal); }
.socials { display: flex; gap: 0.8rem; margin-top: 0.4rem; }
.socials a {
  width: 44px; height: 44px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  display: grid; place-items: center;
  transition: background 0.15s, color 0.15s;
}
.socials a:hover { background: var(--seal); border-color: var(--seal); color: var(--paper); }
.map-frame {
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 0.6rem;
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--paper-2);
}
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; filter: saturate(0.9); }
.map-frame .map-caption { padding: 0.6rem 0.3rem 0.1rem; font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- footer ---------- */
footer.site {
  background: var(--ink);
  color: var(--paper-on-ink);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.8rem;
}
footer.site .cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(238, 244, 253, 0.18);
}
footer.site .brand-text strong { color: var(--paper); }
footer.site .brand-text span { color: rgba(238,244,253,0.6); }
footer.site .f-tag { margin-top: 1rem; font-family: var(--font-display); font-style: italic; color: rgba(238,244,253,0.7); }
footer.site h4 {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
footer.site ul li { margin-bottom: 0.5rem; }
footer.site a { color: rgba(238,244,253,0.85); text-decoration: none; font-size: 0.94rem; }
footer.site a:hover { color: var(--paper); text-decoration: underline; }
footer.site .legal {
  padding-top: 1.6rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem;
  font-size: 0.8rem;
  color: rgba(238,244,253,0.55);
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 1.3rem; bottom: 1.3rem;
  z-index: 80;
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none;
}
.wa-float .wa-label {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.55rem 0.9rem;
  border-radius: 2px;
  box-shadow: 3px 3px 0 rgba(20,38,74,0.35);
}
.wa-float .wa-btn {
  width: 60px; height: 60px;
  background: #23a455;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 3px 4px 0 rgba(20,38,74,0.55);
  transition: transform 0.18s ease;
}
.wa-float:hover .wa-btn { transform: scale(1.07); }

/* ---------- service page ---------- */
.crumb {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none;
  margin-bottom: 1.6rem;
}
.crumb:hover { color: var(--seal); }
.svc-hero { padding-bottom: clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden; }
.svc-hero .big-num {
  position: absolute;
  right: 0; top: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(7rem, 20vw, 15rem);
  line-height: 1;
  color: rgba(191, 63, 38, 0.09);
  pointer-events: none;
}
.svc-hero h1 { font-size: var(--step-4); max-width: 14ch; margin: 0.9rem 0 1.2rem; }
.svc-hero .lead { max-width: 60ch; }
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--paper-2);
  margin-top: 2.4rem;
}
.fact { padding: 1.2rem 1.3rem; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact .label {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--seal);
  display: block; margin-bottom: 0.3rem;
}
.fact .val { font-family: var(--font-display); font-size: 1.05rem; }
.svc-what { padding-top: 0; }
.svc-what .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.svc-what p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.svc-what p:first-of-type { color: var(--ink); font-size: var(--step-1); line-height: 1.5; }
.svc-illustration {
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--paper-2);
  padding: 2.5rem;
  display: grid; place-items: center;
  box-shadow: 10px 10px 0 var(--paper-2);
}
.svc-illustration svg { width: min(200px, 50%); height: auto; color: var(--ink); }
.steps { background: var(--ink); color: var(--paper-on-ink); }
.steps h2 { color: var(--paper); }
.steps .kicker { color: var(--gold); }
.steps .kicker::before { background: var(--gold); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.4rem; }
.step {
  border-top: 1px solid rgba(238,244,253,0.3);
  padding-top: 1.1rem;
}
.step .s-num { font-family: var(--font-display); font-style: italic; font-size: 1.9rem; color: var(--gold); display: block; margin-bottom: 0.5rem; }
.step h3 { color: var(--paper); font-size: 1.2rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.92rem; color: rgba(238,244,253,0.78); }
.benefits-faq .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.benefit-list { margin-top: 1.6rem; border-top: 1px solid var(--line-strong); }
.benefit-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  display: flex; gap: 0.9rem; align-items: baseline;
  font-weight: 500;
}
.benefit-list li::before { content: "◆"; color: var(--seal); font-size: 0.7rem; flex: none; }
.faq-list { margin-top: 1.6rem; }
details.faq { border-top: 1px solid var(--line-strong); }
details.faq:last-child { border-bottom: 1px solid var(--line-strong); }
details.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--seal);
  transition: transform 0.2s ease;
  flex: none;
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { padding: 0 0 1.2rem; color: var(--ink-soft); max-width: 62ch; }
.svc-cta { background: var(--seal); color: var(--paper); text-align: center; }
.svc-cta h2 { color: var(--paper); margin-inline: auto; }
.svc-cta p { max-width: 52ch; margin: 0 auto 2rem; color: rgba(255,255,255,0.9); }
.related { padding-top: 0; }
.related h2 { font-size: var(--step-2); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.6rem; }
.related-card {
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 1.3rem 1.4rem;
  text-decoration: none;
  display: flex; flex-direction: column; gap: 0.5rem;
  background: var(--paper);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.related-card:hover { background: #f2f7ff; transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--paper-2); }
.related-card h3 { font-size: 1.25rem; }

/* ---------- reveal (solo si JS marca html.js) ---------- */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { max-width: 480px; }
  .est-seal { right: 0.5rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-fill { grid-column: span 1; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .story .wrap, .doctor .wrap, .contact .wrap, .svc-what .wrap, .benefits-faq .wrap { grid-template-columns: 1fr; }
  .doctor-figure { max-width: 420px; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .brand, .nav-toggle { position: relative; z-index: 57; }
  nav.main {
    position: fixed;
    inset: 0;
    background: var(--paper);
    padding-top: 90px;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    display: none;
    z-index: 55;
  }
  nav.main.open { display: flex; }
  nav.main a { font-size: 1.05rem; }
  .nav-toggle { display: grid; }
  .logo-badge { height: 54px; }
  .stats .wrap { grid-template-columns: 1fr; gap: 1.6rem; }
  .services-grid { grid-template-columns: 1fr; }
  .svc-card { min-height: 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
  .wa-float .wa-label { display: none; }
  footer.site .cols { grid-template-columns: 1fr; }
}
