/* =========================================================================
   Clínica Dental Lazcano - hoja de estilos compartida
   Aesthetic (honest label): native CSS, "Linear-clean / healthtech" language.
   No official design system used. Icons via Phosphor (allowed library, CDN).
   Dials: VARIANCE 5 / MOTION 4 / DENSITY 3.
   Single accent (teal) locked across the whole site. One radius (8px) everywhere.
   ========================================================================= */

/* ---------- Design tokens (light) ---------- */
:root {
  /* neutrals: cool, off-white base, off-black text (no pure #fff / #000) */
  --bg: #f6f8fa;
  --surface: #ffffff;
  --surface-2: #f0f4f6;
  --text: #14181d;
  --text-muted: #51606b;        /* >= 4.5:1 on --bg */
  --border: #e1e7eb;
  --border-strong: #cdd6db;

  /* single locked accent: deep clinical teal */
  --accent: #0c6b5c;            /* button bg, white text passes AA */
  --accent-ink: #094f44;        /* hover / pressed */
  --accent-text: #0a5648;       /* accent-colored text on light bg, AA */
  --accent-soft: #e7f1ee;       /* tinted cell backgrounds */
  --accent-soft-2: #d9eae5;

  --star: #c9911f;              /* rating gold, used only for stars */

  --radius: 8px;                /* ONE radius system, everywhere */
  --maxw: 1180px;
  --shadow: 0 1px 2px rgba(20,24,29,.04), 0 8px 24px rgba(20,24,29,.06);

  --ease: cubic-bezier(.16,1,.3,1);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  color-scheme: light dark;
}

/* ---------- Design tokens (dark) ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1417;
    --surface: #141c20;
    --surface-2: #182227;
    --text: #e7edef;
    --text-muted: #9fb0b6;       /* AA on --bg */
    --border: #233037;
    --border-strong: #2f3f47;

    --accent: #2ba897;           /* lighter teal for dark contrast */
    --accent-ink: #43c2b0;
    --accent-text: #5fcebd;      /* AA on dark bg */
    --accent-soft: rgba(43,168,151,.13);
    --accent-soft-2: rgba(43,168,151,.20);

    --star: #e0b34a;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.4);
  }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 650; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.num { font-variant-numeric: tabular-nums; }       /* precise figures */

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.eyebrow-free-heading { max-width: 22ch; }
.lede { color: var(--text-muted); font-size: 1.075rem; max-width: 62ch; }
.section-head { max-width: 56ch; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.section-head p { margin-top: 14px; color: var(--text-muted); max-width: 60ch; }

/* ---------- Buttons (one radius, AA contrast verified) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: .98rem;
  padding: 12px 20px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  white-space: nowrap;                 /* CTA never wraps */
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease);
}
.btn i { font-size: 1.15em; }
.btn-primary { background: var(--accent); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-primary { color: #07110f; } }
.btn-primary:hover { background: var(--accent-ink); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0) scale(.985); }

.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--accent-text); color: var(--accent-text); transform: translateY(-1px); }
.btn-secondary:active { transform: translateY(0) scale(.985); }

.btn-whatsapp { background: #1f8a4c; color: #fff; }     /* WhatsApp = separate "contact" intent */
@media (prefers-color-scheme: dark) { .btn-whatsapp { background: #2aa45b; color: #07110f; } }
.btn-whatsapp:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-whatsapp:active { transform: translateY(0) scale(.985); }

.btn-ghost { background: transparent; color: var(--accent-text); padding-left: 0; padding-right: 0; }
.btn-ghost:hover { gap: 12px; }

/* ---------- Header / nav (single line, <= 72px) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { height: 68px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; font-size: 1.05rem; }
.brand .mark {
  display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: var(--radius); background: var(--accent); color: #fff; font-size: 1.05rem;
}
@media (prefers-color-scheme: dark) { .brand .mark { color: #07110f; } }
.nav-spacer { flex: 1; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 12px; border-radius: var(--radius); color: var(--text-muted);
  font-size: .94rem; font-weight: 500; transition: color .15s, background-color .15s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--accent-text); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Demo toggle */
.demo-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-size: .85rem; font-weight: 600;
  padding: 7px 12px; border-radius: var(--radius); cursor: pointer;
  background: var(--surface); color: var(--text-muted); border: 1px solid var(--border-strong);
  transition: color .15s, border-color .15s, background-color .15s;
}
.demo-toggle .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border-strong); transition: background-color .15s;
}
.demo-toggle:hover { color: var(--text); }
:root.demo-on .demo-toggle { color: var(--accent-text); border-color: var(--accent-text); background: var(--accent-soft); }
:root.demo-on .demo-toggle .dot { background: var(--accent); }

/* Mobile nav */
.nav-burger { display: none; background: none; border: 1px solid var(--border-strong);
  border-radius: var(--radius); padding: 8px 10px; cursor: pointer; color: var(--text); font-size: 1.25rem; }
@media (max-width: 1024px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-burger { display: inline-flex; }
  .nav.is-open + .mobile-menu { display: block; }
}
.mobile-menu { display: none; border-bottom: 1px solid var(--border); background: var(--surface); }
.mobile-menu .container { padding-top: 12px; padding-bottom: 16px; }
.mobile-menu a { display: block; padding: 12px 4px; color: var(--text); border-bottom: 1px solid var(--border); font-weight: 500; }
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 14px; }

/* ---------- Demo notes (shown only when :root.demo-on) ---------- */
.demo-note { display: none; }
:root.demo-on .demo-note {
  display: block;
  margin: 0 0 28px;
  padding: 14px 16px 14px 18px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft-2);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  font-size: .9rem; color: var(--text);
}
.demo-note strong { color: var(--accent-text); display: inline-flex; align-items: center; gap: 6px; }
.demo-note p { margin-top: 6px; color: var(--text-muted); }
.demo-banner { display: none; }
:root.demo-on .demo-banner {
  display: flex; align-items: center; gap: 10px;
  background: var(--accent-soft); border-bottom: 1px solid var(--accent-soft-2);
  color: var(--accent-text); font-size: .88rem; font-weight: 500;
}
.demo-banner .container { padding-top: 10px; padding-bottom: 10px; display: flex; align-items: center; gap: 10px; }

/* =========================================================================
   HERO (asymmetric split)
   ========================================================================= */
.hero { padding: clamp(40px, 6vw, 72px) 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.03em; }
.hero .lede { margin-top: 20px; }
.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-figure {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow); aspect-ratio: 4 / 3.4;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-mini {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 14px; display: flex; align-items: center; gap: 10px; font-size: .9rem;
}
.hero-mini i { color: var(--accent-text); font-size: 1.3rem; }

/* page hero (short, interior pages) */
.page-hero { padding: clamp(40px, 6vw, 64px) 0 8px; }
.page-hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); max-width: 18ch; }
.page-hero .lede { margin-top: 18px; }

/* =========================================================================
   Trust metrics bar (no cards, hairline + space, tabular figures)
   ========================================================================= */
.metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.metric { padding: 28px 8px; }
.metric + .metric { border-left: 1px solid var(--border); padding-left: 28px; }
.metric .figure { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: -.03em; }
.metric .label { margin-top: 4px; color: var(--text-muted); font-size: .95rem; }

/* =========================================================================
   Bento services (rhythm, not 3 equal cards; exact cell count)
   ========================================================================= */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento-cell {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); padding: 24px; display: flex; flex-direction: column;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.bento-cell:hover { transform: translateY(-2px); border-color: var(--accent-text); }
.bento-cell .ico { font-size: 1.7rem; color: var(--accent-text); margin-bottom: 14px; }
.bento-cell h3 { font-size: 1.2rem; }
.bento-cell p { margin-top: 8px; color: var(--text-muted); font-size: .95rem; }
.bento-cell .from { margin-top: auto; padding-top: 16px; font-weight: 600; color: var(--text); }
.bento-cell .from span { color: var(--text-muted); font-weight: 500; font-size: .9rem; }
/* feature cell spans 3 cols and carries a tinted background (visual variety) */
.cell-feature { grid-column: span 3; grid-row: span 2; background: var(--accent-soft); border-color: var(--accent-soft-2); }
.cell-feature h3 { font-size: 1.5rem; }
.cell-feature .ico { font-size: 2.1rem; }
.cell-a { grid-column: span 3; }
.cell-b { grid-column: span 3; }
.cell-wide { grid-column: span 6; background: var(--surface-2); }
.cell-wide { flex-direction: row; align-items: center; gap: 18px; }
.cell-wide .ico { margin-bottom: 0; }

/* =========================================================================
   Testimonials (sample content; <=3 lines; real typographic quotes)
   ========================================================================= */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 22px; }
.stars { color: var(--star); font-size: 1rem; letter-spacing: 1px; display: flex; gap: 1px; }
.review blockquote { margin: 12px 0 16px; font-size: 1rem; }
.review .who { display: flex; align-items: center; gap: 10px; }
.review .avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft);
  color: var(--accent-text); display: grid; place-items: center; font-weight: 700; font-size: .9rem;
}
.review .who .name { font-weight: 600; font-size: .92rem; }
.review .who .role { color: var(--text-muted); font-size: .82rem; }
.reviews-source { margin-top: 18px; color: var(--text-muted); font-size: .85rem; }

/* =========================================================================
   CTA band (closing)
   ========================================================================= */
.cta-band {
  background: var(--accent); border-radius: var(--radius); padding: 44px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  color: #fff;
}
@media (prefers-color-scheme: dark) { .cta-band { color: #07110f; } }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 20ch; }
.cta-band p { margin-top: 8px; opacity: .9; max-width: 46ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-secondary { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); }
.cta-band .btn-secondary:hover { background: rgba(255,255,255,.24); color: #fff; }
.cta-band .btn-light { background: #fff; color: var(--accent-ink); }
.cta-band .btn-light:hover { background: #f0f0f0; transform: translateY(-1px); }

/* =========================================================================
   Price clusters (grouped chunks, NOT a hairline spec table)
   ========================================================================= */
.price-clusters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.cluster { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.cluster h3 { padding: 18px 20px; font-size: 1.15rem; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.cluster .row { padding: 16px 20px; }
.cluster .row + .row { border-top: 1px solid var(--border); }
.cluster .row .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cluster .row .name { font-weight: 600; }
.cluster .row .price { font-weight: 700; color: var(--accent-text); white-space: nowrap; }
.cluster .row .mode { margin-top: 4px; color: var(--text-muted); font-size: .85rem; }
.price-note { margin-top: 20px; color: var(--text-muted); font-size: .9rem; max-width: 70ch; }

/* specialized services (2-col feature list, not 3 equal cards) */
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--border); }
.svc-item { display: flex; gap: 16px; padding: 24px; border-bottom: 1px solid var(--border); }
.svc-item:nth-child(odd) { border-right: 1px solid var(--border); }
.svc-item .ico { font-size: 1.5rem; color: var(--accent-text); flex: none; margin-top: 2px; }
.svc-item h4 { font-size: 1.08rem; }
.svc-item p { margin-top: 6px; color: var(--text-muted); font-size: .94rem; }

/* =========================================================================
   About page
   ========================================================================= */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about-portrait {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  background: var(--surface-2); box-shadow: var(--shadow); aspect-ratio: 4 / 5;
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-prose p { color: var(--text-muted); margin-top: 14px; max-width: 60ch; }
.about-prose p:first-child { margin-top: 0; color: var(--text); }

/* "cómo trabajo" - asymmetric numbered list, not 3 equal cards */
.approach { display: grid; gap: 0; border-top: 1px solid var(--border); }
.approach-item { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--border); align-items: start; }
.approach-item .n { font-size: 1.5rem; font-weight: 700; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.approach-item .ico { font-size: 1.5rem; color: var(--accent-text); }
.approach-item h3 { font-size: 1.2rem; }
.approach-item p { margin-top: 8px; color: var(--text-muted); max-width: 58ch; }
.approach-head { display: flex; align-items: center; gap: 12px; }

/* chips for treatments (long list as pills) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  padding: 8px 14px; font-size: .92rem; background: var(--surface); color: var(--text);
}

/* education grid */
.edu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.edu-item { display: flex; gap: 16px; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; background: var(--surface); }
.edu-item .ico { font-size: 1.5rem; color: var(--accent-text); flex: none; }
.edu-item .degree { font-weight: 600; }
.edu-item .inst { color: var(--text-muted); font-size: .92rem; margin-top: 2px; }
.edu-item .year { color: var(--text-muted); font-size: .85rem; margin-top: 6px; font-variant-numeric: tabular-nums; }

/* =========================================================================
   Contact page
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: start; }
.form-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 28px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }     /* label ABOVE input */
.field label { font-weight: 600; font-size: .92rem; }
.field .help { color: var(--text-muted); font-size: .82rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  padding: 11px 13px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); opacity: .85; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent-text);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .error { color: #c0362c; font-size: .82rem; display: none; }
@media (prefers-color-scheme: dark) { .field .error { color: #f08a80; } }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0362c; }
.field.invalid .error { display: block; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius);
  background: var(--accent-soft); border: 1px solid var(--accent-soft-2); color: var(--accent-text); font-weight: 500; }
.form-status.show { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.info-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 24px; }
.info-card + .info-card { margin-top: 16px; }
.info-card h3 { font-size: 1.1rem; margin-bottom: 14px; }
.info-row { display: flex; gap: 12px; padding: 10px 0; align-items: flex-start; }
.info-row i { color: var(--accent-text); font-size: 1.25rem; margin-top: 2px; flex: none; }
.info-row .k { font-size: .82rem; color: var(--text-muted); }
.info-row .v { font-weight: 500; }
.hours-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); }
.hours-row:last-child { border-bottom: 0; }
.hours-row .day { color: var(--text-muted); }
.hours-row .time { font-variant-numeric: tabular-nums; font-weight: 500; }

/* =========================================================================
   Citia: callout de agendado (Contacto) y nota de panel
   ========================================================================= */
.citia-callout {
  display: flex; gap: 18px; align-items: flex-start;
  border: 1px solid var(--accent-soft-2); background: var(--accent-soft);
  border-radius: var(--radius); padding: 22px 24px; margin-bottom: 24px;
}
.citia-callout .ico { font-size: 1.9rem; color: var(--accent-text); flex: none; margin-top: 2px; }
.citia-callout h3 { font-size: 1.2rem; }
.citia-callout p { margin-top: 6px; color: var(--text-muted); max-width: 60ch; }
.citia-callout .hint { margin-top: 10px; font-size: .9rem; color: var(--accent-text); font-weight: 600; }

.svc-link { margin-top: 6px; }
.svc-link a { color: var(--accent-text); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.svc-link a:hover { gap: 10px; }

.section-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Forzar el acento del widget Citia a la paleta clínica del sitio SIN tocar citia.js.
   El widget fija --citia-accent inline (desde la config del backend: rojo de marrte).
   Una declaración !important en hoja de estilos gana sobre el inline normal del bot.
   Se usa el teal fijo (no var(--accent)) porque el panel del bot siempre es claro:
   así el texto blanco sobre el acento mantiene contraste AA también en modo oscuro. */
.citia-widget-root { --citia-accent: #0c6b5c !important; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding: 48px 0 32px; }
.footer-grid h4 { font-size: .8rem; text-transform: none; color: var(--text-muted); margin-bottom: 14px; font-weight: 600; }
.footer-grid a { display: block; padding: 5px 0; color: var(--text-muted); font-size: .94rem; }
.footer-grid a:hover { color: var(--accent-text); }
.footer-brand p { color: var(--text-muted); font-size: .94rem; margin-top: 12px; max-width: 38ch; }
.footer-bottom { border-top: 1px solid var(--border); padding: 18px 0; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 12px; color: var(--text-muted); font-size: .85rem; }

/* =========================================================================
   Media frames (fotos reales en Servicios y Contacto) + mapa embebido
   ========================================================================= */
.media-frame {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--surface-2);
}
.media-frame img,
.media-frame iframe { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; }
.media-16x9 { aspect-ratio: 16 / 9; }
.media-3x2  { aspect-ratio: 3 / 2; }
.media-4x3  { aspect-ratio: 4 / 3; }
.locate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }

/* =========================================================================
   Scroll reveal (MOTION 4) - opacity + transform only, gated by reduced-motion
   ========================================================================= */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-figure { aspect-ratio: 16 / 10; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 28px; }
  .locate-grid { grid-template-columns: 1fr; }
  .price-clusters { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .cell-feature, .cell-a, .cell-b, .cell-wide { grid-column: span 6; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .section { padding: 52px 0; }
  .metrics { grid-template-columns: 1fr; }
  .metric + .metric { border-left: 0; border-top: 1px solid var(--border); padding-left: 8px; }
  .bento { grid-template-columns: 1fr; }
  .cell-feature, .cell-a, .cell-b, .cell-wide { grid-column: auto; }
  .cell-wide { flex-direction: column; align-items: flex-start; }
  .svc-list { grid-template-columns: 1fr; }
  .svc-item:nth-child(odd) { border-right: 0; }
  .edu-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 28px; }
  .approach-item { grid-template-columns: 1fr; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important;
      transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
