/* J&Y Cool Solutions LLC — landing styles
   Palette drawn from the business card: royal-to-sky blue field, flame orange emblem. */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("public/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("public/fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("public/fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap; src: url("public/fonts/barlow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("public/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("public/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
    color-scheme: light;
    --bg: #f4f7fb;
    --surface: #ffffff;
    --surface-2: #e8f0fa;
    --ink: #0b1b33;
    --ink-2: #3a4b66;
    --line: #d3ddea;
    --brand: #0b4fb3;
    --brand-ink: #0b4fb3;
    --brand-soft: #dceafc;
    --sky: #2fa8f5;
    --flame: #f26a1b;
    --flame-hover: #ff7d33;
    --on-flame: #0b1b33;
    --navy: #0a2350;
    --on-navy: #ffffff;
    --field-1: #3db2f7;
    --field-2: #1572dc;
    --field-3: #0b4fb3;
    --field-4: #07368a;
    --on-field: #ffffff;
    --on-field-2: #eaf3ff;
    --focus: #f26a1b;
    --error: #b42318;
    --success-bg: #e3f6ea;
    --success-ink: #0d5c2b;
    --error-bg: #fdecea;
    --shadow-1: 0 1px 2px rgba(11, 27, 51, 0.06), 0 4px 12px rgba(11, 27, 51, 0.06);
    --shadow-2: 0 12px 32px -8px rgba(0, 0, 0, 0.3);

    --font-text: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-display: "Barlow Condensed", "Barlow", system-ui, sans-serif;

    --radius-s: 8px;
    --radius-m: 14px;
    --radius-l: 22px;

    --space-1: 0.5rem;
    --space-2: 0.75rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 2rem;
    --space-6: 3rem;
    --space-7: clamp(3.5rem, 7vw, 6rem);

    --wrap: 1200px;
    --header-h: 72px;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;
        --bg: #06101f;
        --surface: #0b192e;
        --surface-2: #0f213c;
        --ink: #eaf1fb;
        --ink-2: #a9b9d1;
        --line: #1c3150;
        --brand: #3d93f5;
        --brand-ink: #7cbcff;
        --brand-soft: #132c50;
        --navy: #030b18;
        --field-1: #1a6fc4;
        --field-2: #0f58b8;
        --field-3: #0a3e8f;
        --field-4: #061c45;
        --error: #ff8a80;
        --success-bg: #0f2e1d;
        --success-ink: #9be7b5;
        --error-bg: #3a1411;
        --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
        --shadow-2: 0 16px 40px -10px rgba(0, 0, 0, 0.7);
    }
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #06101f;
    --surface: #0b192e;
    --surface-2: #0f213c;
    --ink: #eaf1fb;
    --ink-2: #a9b9d1;
    --line: #1c3150;
    --brand: #3d93f5;
    --brand-ink: #7cbcff;
    --brand-soft: #132c50;
    --navy: #030b18;
    --field-1: #1a6fc4;
    --field-2: #0f58b8;
    --field-3: #0a3e8f;
    --field-4: #061c45;
    --error: #ff8a80;
    --success-bg: #0f2e1d;
    --success-ink: #9be7b5;
    --error-bg: #3a1411;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-2: 0 16px 40px -10px rgba(0, 0, 0, 0.7);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-text);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-ink); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { line-height: 1.1; text-wrap: balance; }
p { text-wrap: pretty; }

::selection { background: var(--flame); color: var(--on-flame); }

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

.icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    padding: 0.75rem 1rem;
    background: var(--flame);
    color: var(--on-flame);
    font-weight: 700;
    border-radius: var(--radius-s);
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55em;
    min-height: 48px;
    padding: 0.7rem 1.25rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.1;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 0.55rem 1rem; font-size: 0.95rem; }
.btn--lg { min-height: 56px; padding: 0.9rem 1.6rem; font-size: 1.125rem; }
.btn--block { width: 100%; }

.btn--call { background: var(--flame); color: var(--on-flame); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.4); }
.btn--call:hover { background: var(--flame-hover); }

.btn--ghost { background: transparent; color: var(--on-field); border-color: rgba(255, 255, 255, 0.7); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.btn--ghost-solid { background: var(--surface); color: var(--ink); border-color: var(--line); }

.btn--ink { background: var(--navy); color: var(--on-navy); }
.btn--ink:hover { background: #000; }
.btn--ink-outline { background: transparent; color: var(--on-flame); border-color: var(--on-flame); }
.btn--ink-outline:hover { background: rgba(11, 27, 51, 0.08); }

.btn[disabled] { opacity: 0.6; cursor: progress; }

.chip-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 40px;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.18s ease;
}
.chip-btn:hover { background: rgba(255, 255, 255, 0.12); }
.chip-btn--icon { width: 40px; padding: 0; justify-content: center; }
.chip-btn .icon { width: 1.1rem; height: 1.1rem; }
.icon--sun { display: none; }
:root[data-theme="dark"] .icon--sun { display: block; }
:root[data-theme="dark"] .icon--moon { display: none; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .icon--sun { display: block; }
    :root:not([data-theme="light"]) .icon--moon { display: none; }
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    min-height: 44px;
}

/* ---------- Live indicator (the one authored motion) ---------- */
.live-dot {
    position: relative;
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3ddc84;
    flex: none;
}
.live-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #3ddc84;
    animation: live 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
@keyframes live {
    0% { transform: scale(1); opacity: 0.9; }
    70%, 100% { transform: scale(2.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .live-dot::after { animation: none; transform: scale(1.8); opacity: 0.35; }
    .btn, body { transition: none; }
}

/* ---------- Utility strip ---------- */
.utility {
    background: var(--navy);
    color: #dbe7f7;
    font-size: 0.875rem;
}
.utility__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 48px;
}
.utility__status { display: flex; align-items: center; gap: 0.6rem; min-width: 0; white-space: nowrap; overflow: hidden; }
.utility__status > span:not(.live-dot) { overflow: hidden; text-overflow: ellipsis; }
.utility__controls { flex: none; display: flex; align-items: center; gap: 0.5rem; }
@media (max-width: 560px) {
    .utility__sep, .utility__area, .utility__more { display: none; }
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}
.site-header__row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: var(--header-h);
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--ink);
    text-decoration: none;
    margin-right: auto;
}
.brand__logo { width: 48px; height: 48px; border-radius: 50%; }
.brand__name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    line-height: 1;
}
.brand__llc { color: var(--brand-ink); }
.site-nav { display: flex; gap: 0.25rem; }
.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 0.75rem;
    color: var(--ink-2);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-s);
}
.site-nav a:hover { color: var(--ink); background: var(--surface-2); }
@media (max-width: 960px) {
    .site-nav { display: none; }
}
@media (max-width: 520px) {
    .site-header .btn--call span { display: none; }
    .site-header .btn--call { width: 44px; padding: 0; }
    .brand__name { font-size: 1.2rem; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    color: var(--on-field);
    background:
        radial-gradient(ellipse 60% 70% at 78% 42%, var(--field-1) 0%, transparent 70%),
        radial-gradient(ellipse 90% 90% at 70% 40%, var(--field-2) 0%, var(--field-3) 55%, var(--field-4) 100%);
}
.hero__lattice {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='0.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(6 6) scale(.5)' opacity='.5'%3E%3Cpath d='m10 20-1.25-2.5L6 18M10 4 8.75 6.5 6 6m8 14 1.25-2.5L18 18M14 4l1.25 2.5L18 6m-1 15-3-6h-4m7-12-3 6 1.5 3M2 12h6.5L10 9m10 1-1.5 2 1.5 2m2-2h-6.5L14 15M4 10l1.5 2L4 14m3 7 3-6-1.5-3M7 3l3 6h4'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 120px 120px;
    opacity: 0.18;
    -webkit-mask-image: linear-gradient(100deg, transparent 20%, #000 75%);
    mask-image: linear-gradient(100deg, transparent 20%, #000 75%);
    pointer-events: none;
}
.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
    padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero__title {
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(2.75rem, 6.4vw, 5.25rem);
    line-height: 0.95;
    letter-spacing: -0.005em;
}
.hero__title span { display: block; }
.hero__title-strong { color: #ffb547; }
.hero__lede {
    margin-top: var(--space-4);
    max-width: 36rem;
    font-size: clamp(1.125rem, 1.6vw, 1.3rem);
    color: var(--on-field-2);
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-5);
}
.hero__alt { margin-top: var(--space-3); color: var(--on-field-2); }
.hero__alt a { color: #fff; font-weight: 700; }
.hero__proof {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 0.6rem 1.75rem;
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    font-weight: 600;
}
.hero__proof li { display: flex; align-items: center; gap: 0.5rem; }
.hero__proof .icon { color: #ffb070; }

.hero__media {
    position: relative;
    justify-self: end;
    width: 100%;
    max-width: 460px;
}
.hero__media img {
    width: 100%;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-2);
    border: 4px solid rgba(255, 255, 255, 0.9);
}
.sample-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: rgba(3, 11, 24, 0.72);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.hero__chip {
    position: absolute;
    left: -1.5rem;
    bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 1.1rem;
    background: var(--surface);
    color: var(--ink);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-2);
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero__chip:hover { transform: translateY(-2px); }
.hero__chip-text { display: flex; flex-direction: column; line-height: 1.25; }
.hero__chip-text strong { font-size: 1.05rem; }
.hero__chip-text span { color: var(--ink-2); font-size: 0.9rem; }

@media (max-width: 860px) {
    .hero {
        background:
            radial-gradient(ellipse 90% 45% at 70% 88%, var(--field-1) 0%, transparent 70%),
            linear-gradient(180deg, var(--field-4) 0%, var(--field-3) 45%, var(--field-2) 100%);
    }
    .hero__grid { grid-template-columns: 1fr; }
    .hero__media { justify-self: stretch; max-width: none; }
    .hero__media img { aspect-ratio: 4 / 3; }
    .hero__chip { left: 1rem; bottom: 1rem; }
}
@media (max-width: 520px) {
    .hero__grid { padding-block: 2rem 2.5rem; }
    .hero__lede { margin-top: 1rem; }
    .hero__actions { margin-top: 1.5rem; }
    .hero__proof { margin-top: 1.25rem; padding-top: 1rem; gap: 0.4rem; }
    .hero__actions .btn { width: 100%; }
    .hero__proof { grid-template-columns: 1fr; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space-7); }
.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    line-height: 1;
    letter-spacing: 0;
}
.section-lede {
    margin-top: var(--space-3);
    max-width: 38rem;
    color: var(--ink-2);
    font-size: 1.125rem;
}
.section-head { margin-bottom: var(--space-5); }
.section-head--center { text-align: center; }
.section-head--center .section-lede { margin-inline: auto; }

/* Services */
.services { background: var(--surface); }
.services__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}
.services__head { position: sticky; top: calc(var(--header-h) + 2rem); margin-bottom: 0; }
.services__head .text-link { margin-top: var(--space-3); }
.service-list { border-top: 1px solid var(--line); }
.service {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    padding-block: 1.6rem;
    border-bottom: 1px solid var(--line);
}
.service__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand-ink);
}
.service__icon .icon { width: 26px; height: 26px; }
.service__title {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
}
.service p { color: var(--ink-2); max-width: 44ch; }
@media (max-width: 860px) {
    .services__grid { grid-template-columns: 1fr; }
    .services__head { position: static; }
}

/* Emergency band */
.emergency { background: var(--flame); color: var(--on-flame); }
.emergency__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
    padding-block: clamp(2rem, 4vw, 2.75rem);
}
.emergency__copy { display: flex; align-items: center; gap: 1.1rem; }
.emergency__icon { width: 44px; height: 44px; stroke-width: 1.75; }
.emergency__title {
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    line-height: 1;
}
.emergency__copy p { font-weight: 500; margin-top: 0.25rem; }
.emergency__phones { display: flex; gap: var(--space-2); flex-wrap: wrap; }
@media (max-width: 520px) {
    .emergency__phones, .emergency__phones .btn { width: 100%; }
}

/* How it works */
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
    counter-reset: none;
    position: relative;
}
.steps::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 12%;
    right: 12%;
    border-top: 2px dashed var(--line);
}
.step { position: relative; text-align: center; padding-inline: 0.5rem; }
.step__n {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-3);
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.6rem;
    box-shadow: 0 0 0 8px var(--bg);
}
.step__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.4rem; }
.step p { color: var(--ink-2); max-width: 30ch; margin-inline: auto; }
@media (max-width: 760px) {
    .steps { grid-template-columns: 1fr; gap: var(--space-4); }
    .steps::before { top: 28px; bottom: 28px; left: 28px; right: auto; border-top: 0; border-left: 2px dashed var(--line); }
    .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 1rem; text-align: left; padding: 0; }
    .step__n { grid-row: span 2; margin: 0; }
    .step p { margin: 0; }
}

/* Why */
.why { background: var(--surface-2); }
.why__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}
.why__badge {
    display: grid;
    justify-items: center;
    gap: var(--space-4);
}
.why__badge img {
    width: min(100%, 200px);
    border-radius: 50%;
    box-shadow: var(--shadow-2);
}
.license > span:first-child { white-space: nowrap; }
.license {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--ink-2);
}
.placeholder {
    display: inline-block;
    white-space: nowrap;
    padding: 0.05rem 0.45rem;
    border: 1.5px dashed currentColor;
    border-radius: 6px;
    font-variant-numeric: tabular-nums;
    color: var(--ink);
}
.pending {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    background: var(--flame);
    color: var(--on-flame);
}
.why__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5) var(--space-5);
    margin-top: var(--space-5);
}
.why__list li { display: flex; gap: 0.9rem; }
.why__list .icon { width: 28px; height: 28px; color: var(--brand-ink); margin-top: 0.1rem; }
.why__list h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.3rem; }
.why__list p { color: var(--ink-2); }
@media (max-width: 860px) {
    .why__grid { grid-template-columns: 1fr; }
    .why__badge { justify-items: start; grid-template-columns: auto 1fr; align-items: center; }
    .why__badge img { width: 120px; }
}
@media (max-width: 600px) {
    .why__list { grid-template-columns: 1fr; }
}

/* Area */
.area__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-5);
    align-items: center;
}
.counties { display: grid; gap: var(--space-3); }
.county {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
}
.county .icon { width: 30px; height: 30px; color: var(--flame); }
.county span { display: flex; flex-direction: column; }
.county strong {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.5rem;
    line-height: 1.1;
}
.county a { font-weight: 600; }
@media (max-width: 760px) {
    .area__row { grid-template-columns: 1fr; }
}

/* Estimate */
.estimate { background: var(--surface); border-top: 1px solid var(--line); }
.estimate__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}
.contact-list { display: grid; gap: 0.35rem; margin-top: var(--space-5); }
.contact-list li { display: flex; align-items: center; gap: 0.75rem; min-height: 44px; font-weight: 600; }
.contact-list .icon { color: var(--brand-ink); }
.contact-list a { color: var(--ink); overflow-wrap: anywhere; }

.estimate-form {
    padding: clamp(1.25rem, 3vw, 2.25rem);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-3); }
.field { margin-bottom: var(--space-4); }
.field label { display: block; margin-bottom: 0.4rem; font-weight: 600; }
.req { color: var(--error); }
.opt { color: var(--ink-2); font-weight: 400; }
.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 50px;
    padding: 0.7rem 0.9rem;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-s);
    background: var(--surface);
    color: var(--ink);
    font-size: 1rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-2); opacity: 0.85; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft), 0 0 0 5px var(--brand);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { margin-top: 0.35rem; color: var(--error); font-size: 0.925rem; font-weight: 600; }
.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7a92' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    padding-right: 2.5rem;
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status {
    margin-bottom: var(--space-4);
    padding: 0.9rem 1rem;
    border-radius: var(--radius-s);
    font-weight: 600;
}
.form-status[data-state="success"] { background: var(--success-bg); color: var(--success-ink); }
.form-status[data-state="error"] { background: var(--error-bg); color: var(--error); }
.form-note { margin-top: var(--space-2); font-size: 0.9rem; color: var(--ink-2); text-align: center; }
@media (max-width: 860px) {
    .estimate__grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .field-row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy);
    color: #c9d6ea;
    padding-block: var(--space-6);
    font-size: 0.95rem;
}
.site-footer a { color: #fff; }
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: var(--space-5);
    align-items: start;
}
.site-footer__brand { display: flex; gap: 1rem; align-items: center; }
.site-footer__brand img { border-radius: 50%; }
.site-footer__name {
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.35rem;
    color: #fff;
}
.site-footer .placeholder { color: #fff; }
.site-footer__links { display: grid; gap: 0.2rem; }
.site-footer__links a { display: inline-flex; align-items: center; min-height: 40px; }
@media (max-width: 760px) {
    .site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 760px) {
    .callbar {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 60;
        display: grid;
        grid-template-columns: 1.3fr 1fr;
        gap: 0.5rem;
        padding: 0.6rem clamp(1rem, 4vw, 2rem) calc(0.6rem + env(safe-area-inset-bottom));
        background: var(--surface);
        border-top: 1px solid var(--line);
        box-shadow: 0 -6px 20px -10px rgba(0, 0, 0, 0.35);
    }
    .callbar .btn { width: 100%; }
    body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* ---------- Thank-you page ---------- */
.thanks {
    min-height: 70vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding-block: var(--space-7);
}
.thanks .section-lede { margin-inline: auto; }
.thanks .hero__actions { justify-content: center; }
.thanks .btn--ghost { color: var(--ink); border-color: var(--line); }

/* Focus ring stays visible on the flame band */
.emergency :focus-visible { outline-color: var(--on-flame); }
.btn--ghost-solid:hover { border-color: var(--ink-2); }
