
/* Layout: one calm column, 1080px max. Form sits high on the page so a flyer scan leads straight to it. */
:root {
  --bg: #FBFAF7;
  --surface: #FFFFFF;
  --ink: #1C2433;
  --muted: #545C6B;
  --line: #E3E0D8;
  --navy: #1F3A68;
  --navy-ink: #FFFFFF;
  --gold: #9A6F1C;
  --gold-soft: #F4ECDA;
  --ok: #1E6B45;
  --focus: #2F6FD6;
  --display: "Lora", Georgia, "Times New Roman", serif;
  --body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12161E; --surface: #1A202B; --ink: #ECEEF2; --muted: #A8AFBC; --line: #2C3442;
    --navy: #8FB0E6; --navy-ink: #10151F; --gold: #E1B95A; --gold-soft: #2A2416; --ok: #6BCB95; --focus: #8FB0E6;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #12161E; --surface: #1A202B; --ink: #ECEEF2; --muted: #A8AFBC; --line: #2C3442;
  --navy: #8FB0E6; --navy-ink: #10151F; --gold: #E1B95A; --gold-soft: #2A2416; --ok: #6BCB95; --focus: #8FB0E6;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); line-height: 1.2; text-wrap: balance; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0; }
a { color: var(--navy); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.muted { color: var(--muted); }

/* Language: English shows by default; Spanish when <html data-lang="es"> */
.es { display: none; }
[data-lang="es"] .es { display: revert; }
[data-lang="es"] .en { display: none; }

/* Header */
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; flex-wrap: wrap; }
.brand { display: flex; flex-direction: column; line-height: 1.2; }
.brand strong { font-family: var(--display); font-size: 1.25rem; }
.brand span { font-size: 0.8rem; color: var(--muted); }
.head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button { font: inherit; font-size: 0.85rem; font-weight: 600; padding: 6px 12px; border: 0; background: transparent; color: var(--muted); cursor: pointer; min-height: 36px; }
.lang button[aria-pressed="true"] { background: var(--navy); color: var(--navy-ink); }
.phone-link { font-weight: 700; text-decoration: none; white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 600; font-size: 1rem; padding: 12px 20px; min-height: 48px; border-radius: 8px; border: 2px solid var(--navy); text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--navy); color: var(--navy-ink); }
.btn-ghost { background: transparent; color: var(--navy); }

/* Hero */
.hero { padding-block: 48px 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.hero-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.hero-copy p.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.95rem; color: var(--muted); }
.trust span::before { content: "✓ "; color: var(--ok); font-weight: 700; }

/* Form card */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.form-card h2 { font-size: 1.4rem; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, fieldset legend { font-size: 0.92rem; font-weight: 600; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input[type="text"], input[type="tel"], input[type="email"], textarea { font: inherit; font-size: 1rem; padding: 10px 12px; min-height: 46px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); width: 100%; }
textarea { min-height: 84px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span.face { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.92rem; background: var(--bg); }
.chip input:checked + span.face { border-color: var(--navy); background: var(--navy); color: var(--navy-ink); }
.chip input:focus-visible + span.face { outline: 3px solid var(--focus); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; }
.form-msg { font-size: 0.95rem; padding: 12px 14px; border-radius: 8px; }
.form-msg.ok { background: var(--gold-soft); color: var(--ink); border: 1px solid var(--line); }
.form-msg.err { border: 1px solid #B3261E; color: var(--ink); }

/* Sections */
section.band { padding-block: 56px; border-top: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 46em; margin-bottom: 28px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.two-col > * { min-width: 0; }
ol.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: s; }
ol.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
ol.steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--navy); color: var(--navy); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; }
ol.steps strong { display: block; }
ul.check { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
ul.check li { padding-left: 26px; position: relative; }
ul.check li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border: 2px solid var(--gold); border-radius: 3px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }

/* Programs */
.programs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.program { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.program .tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.program .big { font-family: var(--display); font-size: 1.35rem; font-weight: 600; color: var(--navy); }
.program ul { margin: 0; padding-left: 18px; font-size: 0.95rem; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.program a { font-size: 0.9rem; }
.note { font-size: 0.88rem; color: var(--muted); margin-top: 18px; max-width: 60em; }

/* Owners callout */
.callouts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.callout { border-left: 0; background: var(--gold-soft); border-radius: 10px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-item { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.contact-item .val { font-weight: 700; font-size: 1.1rem; user-select: all; word-break: break-word; }

footer.site { border-top: 1px solid var(--line); padding-block: 28px 40px; font-size: 0.85rem; color: var(--muted); }
footer.site .wrap { display: flex; flex-direction: column; gap: 8px; }

@media (max-width: 860px) {
  .hero .wrap, .two-col, .callouts { grid-template-columns: 1fr; }
  .programs, .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .programs, .contact-grid, .row2 { grid-template-columns: 1fr; }
  .hero { padding-block: 28px; }
  section.band { padding-block: 40px; }
}

/* Reviews */
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 10px; margin: 0; }
.review blockquote { margin: 0; font-size: 1.02rem; }
.review figcaption { font-size: 0.9rem; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 0.1em; font-size: 1.05rem; }
.rating-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 18px; }
/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.area { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 600; }
/* About photo */
.about-photo { width: 100%; height: auto; max-width: 340px; justify-self: center; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Nav tabs */
.site-nav { border-top: 1px solid var(--line); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.site-nav ul::-webkit-scrollbar { display: none; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.95rem; white-space: nowrap; border-bottom: 3px solid transparent; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold); }
.brand { text-decoration: none; color: var(--ink); }

/* Page header band */
.page-head { padding-block: 48px 32px; }
.page-head .wrap { display: flex; flex-direction: column; gap: 14px; max-width: 1080px; }
.page-head p.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }

/* Hero avatar */
.hello { display: flex; align-items: center; gap: 12px; }
.hello img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-soft); }

/* Cards that link to tabs */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--navy); transform: translateY(-2px); }
.card .go { margin-top: auto; color: var(--navy); font-weight: 600; font-size: 0.95rem; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.feature p { color: var(--muted); font-size: 0.97rem; }
.num { font-family: var(--display); font-size: 1.6rem; color: var(--gold); font-weight: 700; line-height: 1; }

/* Facts list */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts strong { display: block; font-size: 0.8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }

/* Banner photo */
.banner { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 35%; border-radius: 14px; border: 1px solid var(--line); }

/* FAQ */
details.faq { border-bottom: 1px solid var(--line); padding: 14px 0; }
details.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style-position: outside; }
details.faq p { margin-top: 10px; color: var(--muted); max-width: 46em; }

/* CTA band */
.cta { background: var(--navy); color: var(--navy-ink); border-radius: 14px; padding: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.cta h2 { color: var(--navy-ink); }
.cta .btn { background: var(--navy-ink); color: var(--navy); border-color: var(--navy-ink); }
.cta p { opacity: .9; }

/* Calculators */
.calc { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.calc .inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.calc label { font-size: 0.88rem; font-weight: 600; display: flex; flex-direction: column; gap: 6px; }
.calc input, .calc select { font: inherit; font-size: 1rem; padding: 9px 11px; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); width: 100%; }
.calc .result { background: var(--gold-soft); border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.calc .big-out { font-family: var(--display); font-size: 2.2rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.calc table { width: 100%; border-collapse: collapse; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.calc td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.calc td:last-child { text-align: right; font-weight: 600; }
.tool-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.stack { display: flex; flex-direction: column; gap: 40px; }

.features.two { grid-template-columns: 1fr 1fr; }
.reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .reviews { grid-template-columns: 1fr 1fr; } .cards { grid-template-columns: 1fr 1fr; } .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .reviews, .cards, .features, .features.two, .facts { grid-template-columns: 1fr; } .calc .inputs { grid-template-columns: 1fr 1fr; } .page-head { padding-block: 32px 20px; } }
