/* ===========================================================================
   Brazhome Cleaning Services — Design System
   Direction approved 2026-07-14 (navy + teal, glass, Poppins, dark mode).
   Single source of truth for every page. Mobile-first.
   =========================================================================== */

:root {
  /* Navy — structure & frame */
  --navy-50:#F4F6FB; --navy-100:#E7EBF3; --navy-200:#C9D3E4; --navy-300:#A2B1CB;
  --navy-400:#6F809F; --navy-500:#47597B; --navy-600:#324563; --navy-700:#24344F;
  --navy-800:#1B2941; --navy-900:#16233D; --navy-950:#0C1424;
  /* Teal — action & brand energy */
  --teal-50:#E6FBF6; --teal-100:#C6F5EC; --teal-200:#93EBDD; --teal-300:#5ADECB;
  --teal-400:#35D3C0; --teal-500:#12A88F; --teal-600:#0C7A68; --teal-700:#0A6153;
  --teal-800:#094D43; --teal-900:#073C35;
  --gold:#96660F; --star:#F2C14E;

  --shadow-1:0 1px 2px rgba(16,35,61,.06);
  --shadow-2:0 4px 12px rgba(16,35,61,.08),0 2px 4px rgba(16,35,61,.05);
  --shadow-3:0 14px 34px rgba(16,35,61,.14),0 4px 8px rgba(16,35,61,.06);

  --grad-hero:radial-gradient(120% 120% at 85% 10%,rgba(18,168,143,.22),transparent 55%),linear-gradient(150deg,#0C1424 0%,#16233D 52%,#123249 100%);
  --grad-brand:linear-gradient(100deg,#0C7A68,#12A88F);
  --glass-sheen:linear-gradient(180deg,rgba(255,255,255,.14),transparent 40%);

  --bg:var(--navy-50); --surface:#fff; --surface-2:var(--navy-50);
  --text:var(--navy-900); --muted:var(--navy-500); --border:#E4E7EC;
  --action:var(--teal-600); --action-hover:var(--teal-700);

  --radius-sm:10px; --radius:14px; --radius-lg:20px; --radius-xl:28px;
  --maxw:1120px;
  --display:"Poppins",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

[data-theme="dark"] {
  --bg:var(--navy-950); --surface:#152039; --surface-2:#111c33;
  --text:#EAF0FA; --muted:var(--navy-300); --border:#24344F;
  --action:var(--teal-400); --action-hover:var(--teal-300);
  --grad-brand:linear-gradient(100deg,#35D3C0,#5ADECB);
  --shadow-2:0 4px 12px rgba(0,0,0,.3),0 2px 4px rgba(0,0,0,.24);
  --shadow-3:0 16px 40px rgba(0,0,0,.42),0 4px 10px rgba(0,0,0,.3);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:var(--navy-950); --surface:#152039; --surface-2:#111c33;
    --text:#EAF0FA; --muted:var(--navy-300); --border:#24344F;
    --action:var(--teal-400); --action-hover:var(--teal-300);
    --grad-brand:linear-gradient(100deg,#35D3C0,#5ADECB);
    --shadow-2:0 4px 12px rgba(0,0,0,.3),0 2px 4px rgba(0,0,0,.24);
    --shadow-3:0 16px 40px rgba(0,0,0,.42),0 4px 10px rgba(0,0,0,.3);
  }
}

* { box-sizing:border-box; margin:0; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body {
  font-family:var(--sans); background:var(--bg); color:var(--text);
  line-height:1.6; -webkit-font-smoothing:antialiased;
  font-variant-numeric:tabular-nums; overflow-x:hidden;
}
img { max-width:100%; display:block; }
a { color:var(--action); text-decoration:none; }
h1,h2,h3 { font-family:var(--display); letter-spacing:-.02em; line-height:1.12; }
.wrap { max-width:var(--maxw); margin:0 auto; padding:0 20px; }
.section { padding:56px 0; }
.section-sm { padding:36px 0; }
.center { text-align:center; }
.eyebrow {
  display:inline-flex; gap:8px; align-items:center; font-size:12.5px; font-weight:700;
  letter-spacing:.06em; text-transform:uppercase; color:var(--action);
}
.lead { color:var(--muted); font-size:1.075rem; max-width:60ch; }
.muted { color:var(--muted); }

/* ---------- Header ---------- */
header.site {
  position:sticky; top:0; z-index:20;
  background:color-mix(in srgb,var(--bg) 88%,transparent);
  backdrop-filter:blur(10px); border-bottom:1px solid var(--border);
}
.nav { display:flex; align-items:center; justify-content:space-between; height:64px; gap:16px; }
.brand { display:flex; align-items:center; gap:10px; font-family:var(--display); font-weight:800; color:var(--text); font-size:1.02rem; letter-spacing:.01em; }
.brand .logo { width:34px; height:34px; flex:none; }
.brand b { color:var(--action); font-weight:800; }
.nav-links { display:none; gap:26px; font-size:14px; font-weight:600; }
.nav-links a { color:var(--muted); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color:var(--text); }
.nav-cta { display:flex; gap:10px; align-items:center; }
.phone-link { display:none; color:var(--muted); font-weight:700; font-size:14px; }
.phone-link:hover { color:var(--action); }
.toggle, .burger {
  background:transparent; border:1px solid var(--border); color:var(--muted);
  border-radius:10px; width:44px; height:44px; cursor:pointer; font-size:16px;
  display:inline-grid; place-items:center;
}
.burger { display:inline-grid; }
.mobile-menu {
  display:none; flex-direction:column; gap:4px; padding:10px 20px 18px;
  border-bottom:1px solid var(--border); background:var(--bg);
}
.mobile-menu.open { display:flex; }
.mobile-menu a { color:var(--text); font-weight:600; padding:12px 8px; border-radius:10px; font-size:1rem; }
.mobile-menu a:hover { background:var(--surface-2); }

/* ---------- Buttons ---------- */
.btn {
  border:0; border-radius:12px; padding:12px 20px; font-weight:700; font-size:14.5px;
  cursor:pointer; text-decoration:none; display:inline-flex; align-items:center; gap:8px;
  min-height:46px; justify-content:center; font-family:var(--sans); transition:transform .12s, filter .12s;
}
.btn:active { transform:translateY(1px); }
.btn-primary { background:var(--grad-brand); color:#fff; box-shadow:var(--shadow-2); }
.btn-primary:hover { filter:saturate(1.06) brightness(1.04); }
.btn-ghost { background:transparent; color:var(--text); border:1px solid var(--border); }
.btn-ghost:hover { border-color:var(--action); color:var(--action); }
.btn-lg { padding:15px 26px; font-size:16px; min-height:52px; border-radius:14px; }
.btn-block { width:100%; }
.btn-white { background:#fff; color:var(--navy-900); }

/* ---------- Hero ---------- */
.hero { background:var(--grad-hero); color:#EAF0FA; border-radius:0 0 28px 28px; position:relative; overflow:hidden; }
.hero .wrap { padding:44px 20px 54px; }
.hero .eyebrow { color:#8FF0E1; background:rgba(53,211,192,.14); border:1px solid rgba(53,211,192,.3); padding:6px 12px; border-radius:999px; letter-spacing:.02em; text-transform:none; }
.hero h1 { font-size:34px; margin:18px 0 14px; font-weight:800; max-width:17ch; }
.hero .sub { color:#C9D3E4; font-size:16px; line-height:1.55; max-width:48ch; }
.cta-row { display:flex; flex-wrap:wrap; gap:12px; margin:26px 0 22px; }
.pills { display:flex; flex-wrap:wrap; gap:10px; }
.pill { display:inline-flex; align-items:center; gap:7px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); color:#DCE4F2; font-size:13px; font-weight:600; padding:8px 13px; border-radius:999px; }
.pill .star { color:var(--star); }

/* Glass estimate card */
.est { margin-top:28px; background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.04)); border:1px solid rgba(255,255,255,.16); backdrop-filter:blur(14px); border-radius:18px; padding:18px; box-shadow:var(--shadow-3); position:relative; }
.est::before { content:""; position:absolute; inset:0; border-radius:18px; background:var(--glass-sheen); pointer-events:none; }
.est-h { display:flex; justify-content:space-between; align-items:center; color:#8FF0E1; font-size:12.5px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
.est-price { font-size:30px; font-weight:800; margin:8px 0 2px; font-family:var(--display); }
.est-price small { font-size:15px; font-weight:600; color:#C9D3E4; }
.est-meta { color:#C9D3E4; font-size:13.5px; }
.est-chip { margin-top:14px; display:inline-flex; gap:8px; align-items:center; background:rgba(53,211,192,.16); color:#B8F5EA; border-radius:10px; padding:8px 12px; font-size:13px; font-weight:600; }

/* ---------- Trust bar ---------- */
.trustbar { border-bottom:1px solid var(--border); }
.trustbar .row { display:flex; flex-wrap:wrap; gap:18px 32px; justify-content:center; padding:20px 0; color:var(--muted); font-weight:600; font-size:14px; }
.trustbar .row span { display:inline-flex; align-items:center; gap:8px; }

/* ---------- Section heads ---------- */
.section-head { max-width:640px; margin:0 auto 34px; text-align:center; }
.section-head h2 { font-size:28px; margin:12px 0 10px; }
.section-head p { color:var(--muted); }

/* ---------- Cards / grids ---------- */
.grid { display:grid; gap:18px; }
.grid-2 { grid-template-columns:1fr; }
.grid-3 { grid-template-columns:1fr; }
.card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:24px; box-shadow:var(--shadow-2); }
.card h3 { font-size:19px; margin-bottom:8px; }
.card p { color:var(--muted); font-size:15px; }
.card .ico { width:52px; height:52px; border-radius:14px; display:grid; place-items:center; background:var(--teal-50); color:var(--teal-700); margin-bottom:16px; font-size:24px; }
[data-theme="dark"] .card .ico { background:rgba(53,211,192,.12); color:var(--teal-300); }
.card .list { margin-top:14px; padding-left:0; list-style:none; }
.card .list li { color:var(--muted); font-size:14.5px; padding:6px 0 6px 26px; position:relative; }
.card .list li::before { content:"✓"; position:absolute; left:0; color:var(--action); font-weight:800; }
.card.feature { border-top:3px solid var(--action); }

/* ---------- Service Areas ---------- */
.areas { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.area-chip { background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:14px 16px; font-weight:600; font-size:14.5px; display:flex; align-items:center; gap:10px; box-shadow:var(--shadow-1); }
.area-chip .pin { color:var(--action); }

/* ---------- Reviews ---------- */
.review { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:24px; box-shadow:var(--shadow-2); }
.review .stars { color:var(--star); font-size:16px; letter-spacing:2px; margin-bottom:12px; }
.review p { font-size:15.5px; line-height:1.6; }
.review .who { margin-top:16px; display:flex; align-items:center; gap:12px; }
.review .avatar { width:42px; height:42px; border-radius:50%; background:var(--grad-brand); color:#fff; display:grid; place-items:center; font-weight:800; font-family:var(--display); }
.review .who b { display:block; font-size:14.5px; }
.review .who span { color:var(--muted); font-size:13px; }

/* ---------- Steps ---------- */
.steps { counter-reset:step; display:grid; gap:18px; }
.step { display:flex; gap:16px; align-items:flex-start; }
.step .n { counter-increment:step; flex:none; width:44px; height:44px; border-radius:12px; background:var(--grad-brand); color:#fff; font-family:var(--display); font-weight:800; display:grid; place-items:center; box-shadow:var(--shadow-2); }
.step .n::before { content:counter(step); }
.step h3 { font-size:17px; margin-bottom:4px; }
.step p { color:var(--muted); font-size:14.5px; }

/* ---------- FAQ ---------- */
.faq details { border:1px solid var(--border); border-radius:14px; background:var(--surface); margin-bottom:12px; padding:2px 18px; box-shadow:var(--shadow-1); }
.faq summary { cursor:pointer; font-weight:700; padding:16px 0; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px; font-size:15.5px; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; color:var(--action); font-size:22px; font-weight:400; }
.faq details[open] summary::after { content:"–"; }
.faq details p { color:var(--muted); padding:0 0 18px; font-size:14.5px; }

/* ---------- CTA band ---------- */
.cta-band { background:var(--grad-hero); color:#EAF0FA; border-radius:var(--radius-xl); padding:44px 28px; text-align:center; position:relative; overflow:hidden; box-shadow:var(--shadow-3); }
.cta-band h2 { font-size:27px; margin-bottom:10px; }
.cta-band p { color:#C9D3E4; max-width:44ch; margin:0 auto 22px; }

/* ---------- Forms ---------- */
.form-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:26px; box-shadow:var(--shadow-3); }
.field { margin-bottom:16px; }
.field label { display:block; font-weight:600; font-size:14px; margin-bottom:7px; }
.field label .req { color:#d1495b; }
.field input, .field select, .field textarea {
  width:100%; font-family:var(--sans); font-size:15px; color:var(--text);
  background:var(--bg); border:1px solid var(--border); border-radius:12px;
  padding:12px 14px; min-height:48px; transition:border-color .12s, box-shadow .12s;
}
.field textarea { min-height:110px; resize:vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline:none; border-color:var(--action); box-shadow:0 0 0 3px rgba(18,168,143,.18);
}
.field-row { display:grid; grid-template-columns:1fr; gap:0; }
.consent { display:flex; gap:10px; align-items:flex-start; font-size:13px; color:var(--muted); line-height:1.5; margin:6px 0 18px; }
.consent input { width:18px; height:18px; margin-top:2px; flex:none; }
.consent a { font-weight:600; }
.form-note { font-size:12.5px; color:var(--muted); margin-top:14px; text-align:center; }
.form-status { display:none; border-radius:12px; padding:14px 16px; font-size:14.5px; font-weight:600; margin-bottom:18px; }
.form-status.ok { display:block; background:var(--teal-50); color:var(--teal-800); border:1px solid var(--teal-200); }
.form-status.err { display:block; background:#fdecef; color:#a3283d; border:1px solid #f6c9d2; }
[data-theme="dark"] .form-status.ok { background:rgba(53,211,192,.12); color:var(--teal-200); }

/* ---------- Legal pages ---------- */
.legal { max-width:820px; }
.legal h1 { font-size:32px; color:var(--text); margin:10px 0 6px; }
.legal h2 { font-size:20px; margin:34px 0 10px; }
.legal p, .legal li { font-size:15.5px; }
.legal ul { padding-left:22px; }
.legal .updated { color:var(--muted); font-size:.92rem; }
.legal .callout { background:var(--teal-50); border-left:4px solid var(--action); padding:14px 18px; border-radius:10px; margin:18px 0; }
[data-theme="dark"] .legal .callout { background:rgba(18,168,143,.1); }

/* ---------- Footer ---------- */
footer.site { background:var(--surface-2); border-top:1px solid var(--border); margin-top:20px; }
footer.site .cols { display:grid; grid-template-columns:1fr; gap:28px; padding:44px 0 30px; }
footer.site .brand { margin-bottom:12px; }
footer.site p, footer.site a { color:var(--muted); font-size:14px; }
footer.site h4 { font-size:13px; text-transform:uppercase; letter-spacing:.06em; color:var(--text); margin-bottom:12px; }
footer.site .fcol a { display:block; padding:5px 0; }
footer.site .fcol a:hover { color:var(--action); }
footer.site .bottom { border-top:1px solid var(--border); padding:18px 0; display:flex; flex-wrap:wrap; gap:10px 20px; justify-content:space-between; align-items:center; }
footer.site .bottom p { font-size:13px; }
footer.site .bottom .legal-links a { margin-left:16px; font-size:13px; }

/* ---------- Utilities ---------- */
.hide { display:none !important; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ---------- Responsive ---------- */
/* Very small screens: free up header room so the menu button never overflows.
   The CTA still lives in the hamburger menu and every hero. */
@media (max-width:599px) {
  .nav-cta > .btn-primary { display:none; }
  .brand { font-size:.92rem; }
  .nav { gap:10px; }
}
@media (min-width:720px) {
  .grid-2 { grid-template-columns:1fr 1fr; }
  .grid-3 { grid-template-columns:repeat(3,1fr); }
  .areas { grid-template-columns:repeat(3,1fr); }
  .field-row { grid-template-columns:1fr 1fr; gap:16px; }
  footer.site .cols { grid-template-columns:1.6fr 1fr 1fr 1fr; }
}
@media (min-width:860px) {
  .nav-links, .phone-link { display:flex; }
  .burger { display:none; }
  .hero .wrap { padding:66px 20px 74px; display:grid; grid-template-columns:1.22fr .92fr; gap:44px; align-items:center; }
  .hero h1 { font-size:52px; }
  .section { padding:76px 0; }
  .section-head h2 { font-size:34px; }
  .est { margin-top:0; }
  .areas { grid-template-columns:repeat(4,1fr); }
}
@media (prefers-reduced-motion:reduce) { * { scroll-behavior:auto; transition:none !important; } }
