/* Clear Your Solar - styles */
:root {
  --navy: #0B2545;
  --navy-2: #1E5FA8;
  --teal: #0E7C86;
  --teal-2: #14A3A3;
  --sun: #D4A72C;
  --sun-2: #E3BD4F;
  --ink: #1b2733;
  --muted: #5b6b7b;
  --line: #dfe6ed;
  --bg: #F1F3F5;
  --tint: #E7EBEF;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 37, 69, .08);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Placeholder highlight: anything needing real info */
.placeholder { background: #fff3a3; color: #6b4a00; outline: 1px dashed #d4a400; padding: 0 .3em; border-radius: 4px; font-weight: 600; text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-weight: 700; text-decoration: none; border-radius: 999px; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:focus-visible { outline: 3px solid var(--sun-2); outline-offset: 2px; }
.btn-primary { background: var(--sun); color: var(--navy); box-shadow: 0 6px 18px rgba(245, 165, 36, .35); }
.btn-primary:hover { background: var(--sun-2); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-sm { padding: .55em 1.1em; font-size: .92rem; }
.btn-lg { padding: .9em 1.6em; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-size: 1.15rem; font-weight: 600; white-space: nowrap; }
.brand strong { font-weight: 800; color: var(--teal); }
.brand-mark { width: 52px; height: 52px; flex: none; display: block; border-radius: 50%; }
.brand-light .brand-mark { width: 64px; height: 64px; box-shadow: 0 0 0 3px rgba(255,255,255,.12); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--teal); }

/* Eyebrow */
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--teal); margin-bottom: .8em; }
.eyebrow-light { color: var(--sun-2); }

/* Hero */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(900px 500px at 85% -10%, rgba(245,165,36,.18), transparent 60%),
  radial-gradient(700px 500px at -10% 110%, rgba(15,118,110,.12), transparent 60%),
  linear-gradient(180deg, #f7fafb, #ffffff); padding: 80px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 .accent { color: var(--teal); display: block; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--navy); font-weight: 500; font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--teal); }

.hero-art { position: relative; min-height: 380px; display: flex; align-items: center; justify-content: center; }
.sun { position: absolute; width: 260px; height: 260px; border-radius: 50%; top: -10px; right: -20px;
  background: radial-gradient(circle at 40% 40%, #ffd57a, var(--sun) 60%, #e98d0b);
  box-shadow: 0 0 0 26px rgba(245,165,36,.12), 0 0 0 56px rgba(245,165,36,.06); }
.card-doc { position: relative; width: 100%; max-width: 340px; background: #fff; border-radius: 18px; padding: 24px; box-shadow: 0 24px 60px rgba(15,47,79,.18); border: 1px solid var(--line); transform: rotate(-2deg); }
.doc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.doc-title { font-weight: 800; color: var(--navy); }
.doc-tag { font-size: .72rem; font-weight: 700; background: #e6f4f1; color: var(--teal); padding: 4px 10px; border-radius: 999px; }
.doc-line { height: 9px; border-radius: 6px; background: #e9eef3; margin-bottom: 10px; }
.w90 { width: 90%; } .w75 { width: 75%; } .w85 { width: 85%; } .w60 { width: 60%; }
.doc-row { display: flex; justify-content: space-between; font-size: .9rem; padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); }
.doc-row:first-of-type { margin-top: 14px; }
.strike { text-decoration: line-through; text-decoration-color: #d64545; text-decoration-thickness: 2px; color: var(--navy); font-weight: 700; }
.doc-stamp { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-weight: 700; font-size: .9rem; border: 2px solid var(--teal); border-radius: 10px; padding: 6px 12px; }
.doc-stamp svg { width: 20px; height: 20px; }

/* Sections */
.section { padding: 88px 0; }
.section-slim { padding: 56px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }

.cards { display: grid; gap: 22px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #fff4e0; color: #c97a00; margin-bottom: 16px; }
.icon svg { width: 26px; height: 26px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: none; position: relative; }
.step { background: #fff; border-radius: var(--radius); padding: 30px 24px 26px; border: 1px solid var(--line); position: relative; }
.step p { color: var(--muted); font-size: .97rem; margin: 0; }
.step-num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 18px; box-shadow: 0 0 0 6px #e3ecf4; }
.step:last-child .step-num { background: var(--sun); color: var(--navy); box-shadow: 0 0 0 6px #fdebc8; }

/* Timeline */
.timeline-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.muted { color: var(--muted); }
.timeline { position: relative; padding-left: 8px; }
.tl-item { display: flex; gap: 18px; position: relative; padding-bottom: 26px; }
.tl-item::before { content: ""; position: absolute; left: 9px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.tl-item:nth-last-child(2)::before { display: none; }
.tl-dot { flex: 0 0 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--teal); margin-top: 3px; }
.tl-dot-sun { border-color: var(--sun); background: #fff4e0; }
.tl-item strong { color: var(--navy); }
.tl-item p { margin: 2px 0 0; color: var(--muted); font-size: .97rem; }
.tl-note { font-size: .85rem; color: var(--muted); font-style: italic; margin: 6px 0 0 38px; }

/* Qualify */
.section-dark { background: linear-gradient(135deg, var(--navy), #0e4a5c); color: #dbe7f0; }
.section-dark h2 { color: #fff; }
.qualify-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.qualify-grid .btn { margin-top: 10px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding: 16px 18px 16px 54px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; color: #fff; }
.checklist li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.5' fill='none' stroke='%230f2f4f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Stories placeholder */
.placeholder-box { text-align: center; border: 2px dashed var(--line); border-radius: var(--radius); padding: 40px 24px; max-width: 760px; margin: 0 auto; }
.placeholder-box h2 { font-size: 1.5rem; }
.placeholder-box p:last-child { color: var(--muted); margin: 0; }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--navy); padding: 18px 32px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 500; color: var(--teal); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-copy p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.lead-form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; }
label { font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--muted); }
input, select, textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fbfcfd; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,118,110,.15); background: #fff; }
textarea { resize: vertical; }
.consent { font-size: .8rem; color: var(--muted); line-height: 1.5; }
.form-status { margin: 12px 0 0; font-weight: 600; font-size: .92rem; min-height: 1px; }
.form-status.ok { color: var(--teal); }
.form-status.error { color: #b42318; }

/* Footer */
.site-footer { background: #0b2238; color: #b8c7d6; padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand-light { color: #fff; }
.brand-light strong { color: var(--sun-2); }
.footer-tag { margin-top: 14px; max-width: 26em; }
.site-footer h4 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #b8c7d6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer a.placeholder { color: #6b4a00; }
.disclaimer { padding-top: 24px; font-size: .82rem; color: #8ea2b6; }
.disclaimer strong { color: #c9d6e2; }
.copyright { margin: 0; }

/* Responsive */
@media (max-width: 1020px) {
  .cards-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 18px; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .hero { padding: 48px 0 60px; }
  .hero-grid, .timeline-grid, .qualify-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { min-height: 320px; }
  .sun { width: 200px; height: 200px; right: 0; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .cards-4, .steps, .form-grid { grid-template-columns: 1fr; }
  .form-grid { gap: 0; }
  .header-inner { height: 62px; gap: 12px; }
  .brand { font-size: 1rem; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-light .brand-mark { width: 56px; height: 56px; }
  .hero-actions .btn { width: 100%; }
  .lead-form { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .sun { width: 160px; height: 160px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Form control consistency */
input, select { height: 48px; }
select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background: #fbfcfd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%235b6b7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center/16px no-repeat; }

/* Compact problem cards on phones */
@media (max-width: 560px) {
  .cards-4 .card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 20px; }
  .cards-4 .card .icon { width: 44px; height: 44px; margin: 0; grid-row: span 2; }
  .cards-4 .card h3 { margin: 0 0 .35em; align-self: center; }
  .hero-art { min-height: 280px; }
  .step { padding: 24px 20px; }
}

/* Booking form: address row, appointment cards, consent */
.form-grid-addr { grid-template-columns: 1.4fr 1fr .7fr; }
fieldset.appt { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.appt legend { font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: 8px; padding: 0; }
.appt-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.appt-card { position: relative; margin: 0; cursor: pointer; }
.appt-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.appt-body { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fbfcfd; height: 100%; transition: border-color .15s, background .15s, box-shadow .15s; }
.appt-body svg { width: 26px; height: 26px; color: var(--teal); margin-bottom: 6px; }
.appt-body strong { color: var(--navy); font-size: 1rem; }
.appt-body small { color: var(--muted); font-weight: 400; font-size: .85rem; line-height: 1.4; }
.appt-card:hover .appt-body { border-color: #b8c7d6; }
.appt-card input:checked + .appt-body { border-color: var(--teal); background: #eef8f6; box-shadow: 0 0 0 3px rgba(15,118,110,.15); }
.appt-card input:focus-visible + .appt-body { outline: 3px solid var(--sun-2); outline-offset: 2px; }
.consent-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .8rem; color: var(--muted); line-height: 1.5; margin: 4px 0 18px; cursor: pointer; }
.consent-check input { width: 18px; height: 18px; flex: 0 0 18px; margin: 2px 0 0; accent-color: var(--teal); padding: 0; }
.form-alt { text-align: center; margin: 14px 0 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 560px) {
  .form-grid-addr { grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .form-grid-addr .form-row:first-child { grid-column: 1 / -1; }
}

/* ===== Landing page rework ===== */
.hero { padding: 72px 0 80px; }
.hero-grid { grid-template-columns: 1.2fr .8fr; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.hero h1 .accent { display: inline; }
.hero-actions { margin: 26px 0 12px; }
.fine-print { font-size: .85rem; color: var(--muted); max-width: 34em; margin: 0; }

.hero-panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: 0 24px 60px rgba(15,47,79,.14); position: relative; }
.hero-panel::before { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; top: -50px; right: -40px; z-index: -1;
  background: radial-gradient(circle at 40% 40%, #ffd57a, var(--sun) 60%, #e98d0b); box-shadow: 0 0 0 20px rgba(245,165,36,.12); }
.panel-title { font-weight: 800; color: var(--navy); font-size: 1.1rem; margin-bottom: 14px; }
.panel-opt { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; text-decoration: none; margin-bottom: 10px; background: #fbfcfd; transition: border-color .15s; }
.panel-opt:hover { border-color: var(--teal); }
.panel-opt strong { display: block; color: var(--navy); }
.panel-opt small { color: var(--muted); font-size: .88rem; }
.panel-note { font-size: .82rem; color: var(--muted); margin: 8px 0 0; line-height: 1.5; }

.q-icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #e6f4f1; color: var(--teal); }
.q-icon svg { width: 24px; height: 24px; }

.section-head { margin-bottom: 36px; }
.qualify-list { list-style: none; padding: 0; margin: 0 auto 36px; max-width: 900px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.qualify-list li { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font-weight: 600; color: var(--navy); box-shadow: var(--shadow); }
.qualify-list .q-icon { background: #fff4e0; color: #c97a00; }
.center { text-align: center; }

.section-slim .section-head { margin-bottom: 24px; }
.faq-wrap { max-width: 760px; }

.sticky-cta { display: none; }
@media (max-width: 860px) {
  .hero-panel { max-width: 460px; }
  .sticky-cta { display: flex; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 60; box-shadow: 0 10px 28px rgba(15,47,79,.3); transition: opacity .2s, transform .2s; }
  .sticky-cta.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }
  .site-footer { padding-bottom: 96px; }
}
@media (max-width: 640px) {
  .qualify-list { grid-template-columns: 1fr; gap: 10px; }
  .qualify-list li { padding: 12px 14px; }
  .q-icon { flex-basis: 40px; width: 40px; height: 40px; }
}
@media (max-width: 560px) {
  .hero { padding: 40px 0 52px; }
  .hero-panel { padding: 20px; }
  .hero-panel::before { width: 100px; height: 100px; top: -36px; right: -20px; }
  .header-inner .btn-sm { padding: .5em .9em; font-size: .85rem; }
}

/* Fixes: re-apply single-column hero on small screens; keep footer spacing when .container padding is reset */
.hero-grid { isolation: isolate; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 560px) {
  .site-footer .footer-grid { padding-bottom: 32px; }
  .site-footer .disclaimer { padding-top: 22px; }
}


/* ===== Clear Your Solar: blue/teal palette + photo hero ===== */
:root { --blue: #1E5FA8; --blue-dark: #174C87; --gold: #D4A72C; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(30, 95, 168, .28); }
.btn-primary:hover { background: var(--blue-dark); }
.btn:focus-visible { outline-color: var(--gold); }
.brand strong { color: var(--teal); }
.brand-light strong { color: #5FCFCF; }
.q-icon { background: #E3F4F5; color: var(--teal); }
.qualify-list .q-icon { background: #E8F0FA; color: var(--blue); }
.qualify-list li { border-left: 3px solid var(--teal-2); }
.appt-card input:checked + .appt-body { border-color: var(--teal); background: #EAF7F8; box-shadow: 0 0 0 3px rgba(20,163,163,.18); }
.appt-card input:focus-visible + .appt-body { outline-color: var(--gold); }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,95,168,.15); }
.consent-check input { accent-color: var(--blue); }
.faq summary::after { color: var(--blue); }
.site-footer { background: var(--navy); }
.section-head h2::after { content: ""; display: block; width: 44px; height: 3px; border-radius: 3px; background: var(--gold); margin: 14px auto 0; }
.contact-copy h2::after { content: ""; display: block; width: 44px; height: 3px; border-radius: 3px; background: var(--gold); margin-top: 14px; }

/* Photo hero */
.hero.hero-photo {
  background-color: var(--navy);
  background-image:
    linear-gradient(90deg, rgba(11,37,69,.94) 0%, rgba(11,37,69,.86) 30%, rgba(11,37,69,.45) 50%, rgba(11,37,69,0) 66%),
    url("assets/hero.jpg");
  background-image:
    linear-gradient(90deg, rgba(11,37,69,.94) 0%, rgba(11,37,69,.86) 30%, rgba(11,37,69,.45) 50%, rgba(11,37,69,0) 66%),
    image-set(url("assets/hero.webp") type("image/webp"), url("assets/hero.jpg") type("image/jpeg"));
  background-size: 100% 100%, cover;
  background-position: 0 0, 72% 45%;
  background-repeat: no-repeat;
  padding: 0; min-height: 600px; display: flex; align-items: center;
}
.hero-photo .hero-grid { grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 80px; }
.hero-photo .hero-copy { max-width: 540px; }
.hero-photo .eyebrow { color: var(--gold); }
.hero-photo h1 { color: #fff; text-shadow: 0 2px 18px rgba(11,37,69,.35); }
.hero-photo h1 .accent { color: #6FD6D6; }
.hero-photo .lead { color: #E3ECF5; }
.hero-photo .fine-print { color: #C8D6E4; }
.hero-photo .btn-primary { background: var(--teal); box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.hero-photo .btn-primary:hover { background: #0B6971; }

@media (max-width: 860px) {
  /* Mobile: text sits on solid deep blue; the photo shows below it with the family in view,
     faded in from the top so there's no hard edge. */
  .hero.hero-photo {
    --ph: 300px;
    background-color: var(--navy);
    background-image:
      linear-gradient(180deg, rgba(11,37,69,1) 0%, rgba(11,37,69,.55) 38%, rgba(11,37,69,0) 70%),
      url("assets/hero.jpg");
    background-image:
      linear-gradient(180deg, rgba(11,37,69,1) 0%, rgba(11,37,69,.55) 38%, rgba(11,37,69,0) 70%),
      image-set(url("assets/hero.webp") type("image/webp"), url("assets/hero.jpg") type("image/jpeg"));
    background-size: 100% var(--ph), auto var(--ph);
    background-position: 0 100%, 76% 100%;
    min-height: 0; display: block;
  }
  .hero-photo .hero-grid { padding-top: 44px; padding-bottom: calc(var(--ph) - 30px); }
}

/* ===== Legal pages (privacy.html) ===== */
.legal-wrap { max-width: 820px; }
.legal-hero { background: var(--tint); padding: 64px 0 44px; }
.legal-hero h1 { margin-bottom: .3em; }
.legal-hero h1::after { content: ""; display: block; width: 44px; height: 3px; border-radius: 3px; background: var(--gold); margin-top: 14px; }
.legal-meta { color: var(--muted); font-size: .95rem; }
.legal-section { padding: 48px 0 80px; }
.legal-body { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 40px 44px; box-shadow: var(--shadow); }
.legal-body h2 { font-size: 1.35rem; margin-top: 2em; scroll-margin-top: 90px; }
.legal-body h3 { font-size: 1.02rem; margin-top: 1.4em; }
.legal-body ul { padding-left: 1.3em; margin: 0 0 1em; }
.legal-body li { margin-bottom: .45em; }
.legal-body p, .legal-body li { color: #334252; }
.legal-toc { background: #F6F8FA; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 8px; }
.legal-toc-title { font-weight: 700; color: var(--navy); margin-bottom: .4em; }
.legal-toc ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 32px; font-size: .95rem; }
.legal-toc li { margin-bottom: .3em; break-inside: avoid; }
.legal-toc a { color: var(--blue); text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal-callout { background: #EAF7F8; border-left: 3px solid var(--teal-2); border-radius: 8px; padding: 12px 16px; }
.legal-contact { font-style: normal; line-height: 1.8; }
.site-footer a[aria-current="page"] { color: #fff; }
@media (max-width: 560px) {
  .legal-hero { padding: 40px 0 28px; }
  .legal-section { padding: 28px 0 56px; }
  .legal-body { padding: 24px 20px; }
  .legal-toc ol { columns: 1; }
}

/* Quick call/text buttons above the lead form */
.quick-contact { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: .5rem; }
.quick-contact .btn { width: 100%; text-align: center; justify-content: center; }
.quick-contact-note { text-align: center; font-size: .92rem; margin: 0 0 1.1rem; color: inherit; opacity: .85; }
