/* ══════════════════════════════════════════════
   DESIGN SYSTEM — Dra. Mercedes Sidders
   Framework: F.R.A.M.E. v2.0 (Carriere adaptation)
   Style guide: Erode + General Sans
   ══════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  /* Paleta Verde Seco */
  --forest:    #2A3B32;
  --charcoal:  #444444;
  --mint:      #A87654;
  --cream:     #FCFBF9;
  --white:     #FFFFFF;

  /* Derivados de uso */
  --forest-90: rgba(42,59,50,0.90);
  --mint-12:   rgba(168,118,84,0.12);
  --mint-20:   rgba(168,118,84,0.20);
  --charcoal-50: rgba(68,68,68,0.50);
  --charcoal-20: rgba(68,68,68,0.20);

  /* Tipografía */
  --font-main:    'General Sans', system-ui, sans-serif;
  --font-accent:  'Erode', Georgia, serif;

  /* Escala tipo */
  --text-hero:    clamp(38px, 5.5vw, 72px);
  --text-h2:      clamp(28px, 3.8vw, 50px);
  --text-h3:      clamp(20px, 2vw, 28px);
  --text-body:    clamp(15px, 1.1vw, 17px);
  --text-sm:      13px;
  --text-label:   12px;

  /* Layout */
  --max-w:        1200px;
  --pad-x:        clamp(20px, 4.5vw, 60px);
  --section-py:   clamp(64px, 9vh, 112px);
  --radius-card:  12px;
  --radius-pill:  40px;
  --radius-btn:   6px;

  /* Utils legacy */
  --container-prose: 720px;
  --space-2: .5rem; --space-4: 1rem; --space-6: 1.5rem; --space-8: 2rem; --space-12: 3rem;
}

/* ── RESET ── */
*, *::before, *::after { 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-main);
  background: var(--cream);
  color: var(--forest);
  font-size: var(--text-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
strong { font-weight: 600; }
h1, h2, h3, h4 { font-family: var(--font-accent); line-height: 1.1; margin-bottom: 1rem; font-weight: 700; }

/* ── ACCESIBILIDAD ── */
.skip { position:absolute; left:-9999px; top:0; background:var(--forest); color:var(--cream); padding:10px 18px; z-index:200; font-size:14px; }
.skip:focus { left:0; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

/* ── UTILITY ── */
.label {
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 14px;
  display: block;
}
.serif { font-family: var(--font-accent); font-style: italic; font-weight: 500; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.prose { max-width: var(--container-prose); margin-left: auto; margin-right: auto; padding: 0 var(--pad-x); }

/* ── BUTTONS (standalone, like reference) ── */
.btn-primary {
  display: inline-block;
  background: var(--mint);
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 13px 28px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #8E6346; transform: translateY(-1px); color: var(--white); }

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--forest);
  color: var(--forest);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--forest); color: var(--cream); }

.btn-primary-light {
  display: inline-block;
  background: var(--mint);
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 32px;
  border-radius: var(--radius-btn);
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary-light:hover { background: #8E6346; transform: translateY(-1px); color: var(--white); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════
   ANNOUNCEMENT BAR
   ══════════════════════════ */
.announcement-bar {
  background: var(--forest);
  color: var(--cream);
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ══════════════════════════
   HEADER / NAVBAR
   ══════════════════════════ */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252,251,249,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--charcoal-20);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 16px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo {
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo .logo-serif { font-family: var(--font-accent); font-style: italic; font-weight: 500; color: var(--mint); }
nav ul { display: flex; gap: clamp(16px, 2.5vw, 36px); align-items: center; }
nav a { font-size: 14px; font-weight: 500; color: var(--charcoal); transition: color 0.2s; }
nav a:hover { color: var(--forest); }
.nav-cta { margin-left: 8px; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > button { background: none; border: none; font: inherit; font-weight: 500; font-size: 14px;
  color: var(--charcoal); cursor: pointer; padding: 4px 0; display: inline-flex; align-items: center; gap: 4px; }
.nav-dropdown > button::after { content: "▾"; font-size: .7em; }
.nav-dropdown-menu { position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid var(--charcoal-20);
  border-radius: var(--radius-card); box-shadow: 0 8px 24px rgba(42,59,50,.12); padding: 8px; min-width: 220px; display: none; z-index: 110; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 8px 12px; border-radius: 4px; color: var(--forest); }
.nav-dropdown-menu a:hover { background: var(--cream); color: var(--mint); }

@media (max-width: 680px) {
  nav ul .hide-mobile { display: none; }
}

/* ══════════════════════════
   HERO
   ══════════════════════════ */
.hero {
  max-width: var(--max-w); margin: 0 auto;
  padding: clamp(48px, 8vh, 100px) var(--pad-x) clamp(40px, 6vh, 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-end;
  min-height: clamp(400px, 60vh, 620px);
}
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-photo { order: -1; max-height: 320px; object-fit: cover; border-radius: var(--radius-card); }
}
.hero-content { display: flex; flex-direction: column; justify-content: flex-end; }
.hero-eyebrow {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-50);
  margin-bottom: 16px;
}
.hero h1 {
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--charcoal);
  max-width: 44ch;
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-photo-wrap {
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
}
.hero-photo {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  background: var(--charcoal-20);
  aspect-ratio: 3/4;
}

/* ══════════════════════════
   DARK BAND — MÉTRICAS
   ══════════════════════════ */
.metrics-band {
  background: var(--forest);
  padding: clamp(40px, 6vh, 64px) 0;
}
.metrics-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 768px) { .metrics-inner { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (max-width: 480px) { .metrics-inner { grid-template-columns: 1fr; gap: 32px; } }
.metric { text-align: center; }
.metric-value {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  display: flex; align-items: baseline; justify-content: center; gap: 4px;
}
.metric-value .mint-accent { color: var(--mint); }
.metric-label {
  font-size: 13px;
  color: rgba(252,251,249,0.60);
  margin-top: 6px;
  line-height: 1.4;
}

/* ══════════════════════════
   CONDICIONES / TARJETAS
   ══════════════════════════ */
.conditions {
  max-width: var(--max-w); margin: 0 auto;
  padding: var(--section-py) var(--pad-x);
}
.conditions-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(40px, 6vh, 64px);
}
@media (max-width: 640px) { .conditions-header { grid-template-columns: 1fr; } }
.conditions h2 {
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.conditions-desc { font-size: var(--text-body); color: var(--charcoal); max-width: 44ch; }

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.condition-card {
  border: 1px solid var(--charcoal-20);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}
.condition-card:hover {
  border-color: var(--mint);
  box-shadow: 0 4px 24px var(--mint-12);
}
.condition-img {
  width: 100%; aspect-ratio: 4/3;
  background: linear-gradient(135deg, #E8EBE9 0%, #D6DDD9 100%);
}
.condition-name {
  padding: 16px 18px 18px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-accent);
  color: var(--forest);
}
.condition-text { padding: 0 18px 16px; font-size: 14px; color: var(--charcoal); line-height: 1.5; }
.condition-cta { padding: 0 18px 18px; display: block; }

/* ══════════════════════════
   CÓMO TRABAJO (2 col)
   ══════════════════════════ */
.surgery {
  background: var(--white);
  padding: var(--section-py) 0;
}
.surgery-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 720px) { .surgery-inner { grid-template-columns: 1fr; } }
.surgery-photo {
  aspect-ratio: 4/3;
  background: var(--charcoal-20);
  border-radius: var(--radius-card);
  overflow: hidden;
  object-fit: cover;
  width: 100%;
}
.surgery h2 {
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.surgery-features { display: flex; flex-direction: column; gap: 16px; }
.surgery-feature {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: flex-start;
}
.feature-dot {
  width: 8px; height: 8px;
  background: var(--mint);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.feature-title { font-weight: 600; font-size: 15px; margin-bottom: 3px; color: var(--forest); }
.feature-desc { font-size: 14px; color: var(--charcoal); line-height: 1.5; }

/* ══════════════════════════
   FILOSOFÍA / SOBRE LA DRA
   ══════════════════════════ */
.philosophy {
  max-width: var(--max-w); margin: 0 auto;
  padding: var(--section-py) var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 720px) { .philosophy { grid-template-columns: 1fr; } }
.philosophy h2 {
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.philosophy-body { font-size: var(--text-body); color: var(--charcoal); line-height: 1.7; margin-bottom: 28px; }
.philosophy-photo {
  aspect-ratio: 3/4;
  background: var(--charcoal-20);
  border-radius: var(--radius-card);
  object-fit: cover;
  width: 100%;
}

/* ══════════════════════════
   PULL-QUOTE / TESTIMONIAL
   ══════════════════════════ */
.testimonial {
  background: var(--forest);
  padding: clamp(48px, 7vh, 80px) 0;
}
.testimonial-inner {
  max-width: 740px; margin: 0 auto;
  padding: 0 var(--pad-x);
  text-align: center;
}
.quote-mark {
  font-size: 56px;
  line-height: 1;
  color: var(--mint);
  font-family: Georgia, serif;
  margin-bottom: 8px;
}
.quote-text {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  font-family: var(--font-accent);
  font-style: italic;
}
.quote-author {
  font-size: 14px;
  font-weight: 700;
  color: var(--mint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.quote-role {
  font-size: 13px;
  color: rgba(252,251,249,0.55);
  margin-top: 2px;
}

/* ══════════════════════════
   SEDES / LOCATIONS
   ══════════════════════════ */
.locations {
  max-width: var(--max-w); margin: 0 auto;
  padding: var(--section-py) var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 720px) { .locations { grid-template-columns: 1fr; } }
.locations h2 {
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.location-list { display: flex; flex-direction: column; gap: 0; }
.location-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--charcoal-20);
  cursor: pointer;
  transition: color 0.2s;
}
.location-item:first-child { border-top: 1px solid var(--charcoal-20); }
.location-item:hover .location-name { color: var(--mint); }
.location-name { font-weight: 600; font-size: 16px; }
.location-desc { font-size: 14px; margin-top: 4px; color: var(--charcoal); }
.location-arrow { color: var(--mint); font-size: 18px; }
.location-map {
  background: linear-gradient(145deg, #E0EDE7 0%, #C8D8D2 100%);
  border-radius: var(--radius-card);
  aspect-ratio: 4/3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--charcoal-20);
}
.location-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 20px 22px;
  box-shadow: 0 4px 20px rgba(29,45,39,0.10);
  font-size: 14px;
  color: var(--charcoal);
  max-width: 260px;
  text-align: left;
}
.location-card strong { display: block; color: var(--forest); font-size: 15px; margin-bottom: 6px; }

/* ══════════════════════════
   CTA PRE-FOOTER
   ══════════════════════════ */
.cta-band {
  background: var(--forest);
  padding: clamp(56px, 9vh, 96px) 0;
}
.cta-band-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 28px;
}
.cta-band-text {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  color: var(--cream);
  max-width: 20ch;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.cta-band-text .serif { color: rgba(252,251,249,0.65); }

/* ══════════════════════════
   FOOTER — FIRMA XXL
   ══════════════════════════ */
footer {
  background: #0D0D0D;
  padding: clamp(48px, 8vh, 80px) 0 0;
  color: var(--cream);
}
.footer-top {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--pad-x) clamp(40px, 6vh, 60px);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(32px, 5vw, 60px);
}
@media (max-width: 680px) { .footer-top { grid-template-columns: 1fr; } }
.footer-desc { font-size: 15px; color: rgba(252,251,249,0.55); max-width: 38ch; line-height: 1.65; }
.footer-col h4 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(252,251,249,0.35);
  margin-bottom: 14px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: rgba(252,251,249,0.65); transition: color 0.2s; }
.footer-col a:hover { color: var(--mint); }

.footer-legal {
  max-width: var(--max-w); margin: 0 auto;
  padding: 24px var(--pad-x);
  border-top: 1px solid rgba(252,251,249,0.08);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: 12px; color: rgba(252,251,249,0.30);
}

/* LA FIRMA: nombre XXL que ocupa todo el ancho */
.footer-name-xxl {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(252,251,249,0.08);
  padding: 20px var(--pad-x) 0;
}
.footer-name-xxl span {
  display: block;
  font-size: clamp(60px, 12vw, 160px);
  font-weight: 700;
  color: rgba(252,251,249,0.08);
  letter-spacing: -0.04em;
  line-height: 0.9;
  white-space: nowrap;
  transform-origin: left bottom;
}

/* ══════════════════════════
   MOBILE STICKY CTA
   ══════════════════════════ */
.mobile-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 99;
  background: var(--forest);
  padding: 12px 20px;
  border-top: 1px solid rgba(168,118,84,0.3);
}
@media (max-width: 640px) { .mobile-cta { display: flex; gap: 10px; } }
.mobile-cta .btn-primary { flex: 1; text-align: center; }
.mobile-cta .btn-wa {
  display: inline-block;
  background: #25D366;
  color: white;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 18px;
  border-radius: var(--radius-btn);
  white-space: nowrap;
}

/* ══════════════════════════
   COMPONENTES HEREDADOS (Páginas interiores)
   ══════════════════════════ */
.section { padding: var(--section-py) 0; }
.page-hero { background: var(--cream); padding: clamp(56px, 8vh, 80px) 0 clamp(40px, 6vh, 64px); border-bottom: 1px solid var(--charcoal-20); }
.page-hero h1 { max-width: 22ch; font-size: var(--text-hero); }
.page-hero .lead { font-size: var(--text-h3); color: var(--charcoal); max-width: 44ch; }
.split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 768px) { .split { grid-template-columns: 1fr 1fr; } }
.split-photo img { border-radius: var(--radius-card); }

.article-body h2 { margin-top: var(--space-12); font-size: var(--text-h2); }
.article-body h3 { margin-top: var(--space-8); font-size: var(--text-h3); }
.article-body img { border-radius: var(--radius-card); margin: var(--space-8) auto; }
.article-meta { color: var(--charcoal); font-size: var(--text-sm); margin-bottom: var(--space-8); border-bottom: 1px solid var(--charcoal-20); padding-bottom: 16px; }
.article-footer-bio { display: flex; gap: var(--space-6); align-items: center; background: var(--white); border: 1px solid var(--charcoal-20); border-radius: var(--radius-card); padding: 24px; margin-top: var(--space-12); }
.article-footer-bio img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.article-footer-bio p { font-size: 14px; color: var(--charcoal); margin: 0; }
.article-footer-bio .bio-name { font-family: var(--font-accent); font-weight: 600; font-size: 18px; color: var(--forest); margin-bottom: 4px; }

.recipe-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.recipe-meta span { background: var(--cream); border: 1px solid var(--charcoal-20); color: var(--forest); font-size: 13px; font-weight: 500; padding: 4px 12px; border-radius: var(--radius-pill); }
.recipe-section { background: var(--white); border: 1px solid var(--charcoal-20); border-radius: var(--radius-card); padding: 32px; margin-bottom: 32px; }
.recipe-section h2 { font-size: var(--text-h3); margin-top: 0; }

.form-card { background: var(--white); border: 1px solid var(--charcoal-20); border-radius: var(--radius-card); padding: 32px; max-width: 600px; }
.form-field { margin-bottom: 24px; }
.form-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.form-field input, .form-field textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--charcoal-20); border-radius: 4px; font: inherit; background: var(--cream); }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--mint); border-color: var(--mint); }
.form-note { font-size: 13px; color: var(--charcoal); }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.breadcrumb { font-size: 13px; color: var(--charcoal-50); margin-bottom: 16px; }
.breadcrumb a { color: var(--charcoal); }
.breadcrumb span { margin: 0 8px; }

.note-box { background: var(--white); border-left: 4px solid var(--mint); border-radius: 4px; padding: 20px 24px; font-size: 15px; color: var(--charcoal); margin: 32px 0; box-shadow: 0 4px 12px rgba(42,59,50,0.05); }

/* Utilities */
p { margin-bottom: 1.2rem; }
.text-center { text-align: center; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.muted { color: var(--charcoal); }
.card-link { font-weight: 600; font-size: 14px; text-decoration: none; color: var(--mint); display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; }
.card-link::after { content: "→"; }
.card-link:hover { text-decoration: underline; }

.card-grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }

.card { background: var(--white); border: 1px solid var(--charcoal-20); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; padding: 24px; }
.card h3 { font-size: var(--text-h3); margin-bottom: 12px; }
.card p { font-size: var(--text-body); color: var(--charcoal); line-height: 1.6; }
.card-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.card-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-media.aspect-auto img { aspect-ratio: auto; }

/* .btn alias for interior pages that still use class="btn btn-primary" */
.btn { display: inline-block; font-family: var(--font-main); font-weight: 700; font-size: 14px; padding: 13px 28px; border-radius: var(--radius-btn); border: none; cursor: pointer; transition: background 0.2s, transform 0.15s; text-align: center; }

/* Section subtle */
.section-subtle { background: var(--cream); }

/* ══════════════════════════
   TABLE (medicina funcional vs convencional)
   ══════════════════════════ */
table { width: 100%; border-collapse: collapse; margin: 32px 0; font-size: 14px; background: var(--white); border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--charcoal-20); }
thead { background: var(--forest); color: var(--cream); }
thead th { padding: 14px 16px; text-align: left; font-weight: 700; font-size: 13px; letter-spacing: 0.02em; }
tbody th { padding: 12px 16px; font-weight: 600; color: var(--forest); background: rgba(42,59,50,0.04); text-align: left; font-size: 14px; white-space: nowrap; }
tbody td { padding: 12px 16px; color: var(--charcoal); line-height: 1.5; border-bottom: 1px solid var(--charcoal-20); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: none; }

/* ══════════════════════════
   ACCORDION / FAQ
   ══════════════════════════ */
.accordion, .faq { display: flex; flex-direction: column; gap: 0; margin: 24px 0; }
.accordion details, .faq details { border-bottom: 1px solid var(--charcoal-20); }
.accordion details:first-child, .faq details:first-child { border-top: 1px solid var(--charcoal-20); }
.accordion summary, .faq summary {
  padding: 18px 0;
  font-weight: 600;
  font-size: 16px;
  color: var(--forest);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.accordion summary::after, .faq summary::after { content: "+"; font-size: 20px; color: var(--mint); font-weight: 400; transition: transform 0.2s; }
.accordion details[open] summary::after, .faq details[open] summary::after { content: "−"; }
.accordion summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.accordion-body, .faq-body { padding: 0 0 18px; color: var(--charcoal); font-size: var(--text-body); line-height: 1.6; }

/* Article body lists */
.article-body ul, .article-body ol { margin: 16px 0; padding-left: 24px; }
.article-body li { margin-bottom: 10px; line-height: 1.6; color: var(--charcoal); }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body a { color: var(--mint); text-decoration: underline; }
.article-body a:hover { color: var(--forest); }

/* CTA band used inside interior pages (with .container child) */
.cta-band .container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.cta-band .container h2 { font-size: var(--text-h2); color: var(--cream); margin-bottom: 16px; }
.cta-band .container p { color: rgba(252,251,249,0.7); margin-bottom: 24px; max-width: 50ch; }
.lc-detail { margin-top: 4px; color: var(--charcoal-50); font-size: 13px; }
