:root {
    --navy: #0b2a4a;
    --navy-mid: #123a63;
    --navy-deep: #071c33;
    --sky: #3da9e0;
    --sky-deep: #2b8fc4;
    --sky-soft: #e7f4fb;
    --white: #ffffff;
    --ink: #16324f;
    --muted: #5a7388;
    --line: #d5e4ee;
    --shadow: 0 10px 30px rgba(11, 42, 74, 0.08);
    --radius: 14px;
    --max: 1120px;
    --header: 84px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, .brand-name, .btn {
    font-family: Outfit, "Source Sans 3", sans-serif;
}

h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 0.6em; }

a { color: var(--sky-deep); }
a:hover { color: var(--navy); }

.container {
    width: min(var(--max), calc(100% - 2rem));
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    background: var(--navy);
    color: var(--white);
    padding: 0.5rem 0.8rem;
    z-index: 100;
}

.skip-link:focus { top: 0.75rem; color: var(--white); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 0;
    border-radius: 999px;
    padding: 0.75rem 1.15rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    line-height: 1;
}

.btn-primary {
    background: var(--sky);
    color: var(--white);
}

.btn-primary:hover { background: var(--sky-deep); color: var(--white); }

.btn-ghost {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--sky);
}

.btn-ghost:hover { background: var(--sky-soft); color: var(--navy); }

.btn-on-dark {
    background: var(--white);
    color: var(--navy);
}

.btn-on-dark:hover { background: var(--sky-soft); color: var(--navy); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    min-height: var(--header);
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--navy);
    flex-shrink: 0;
}

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 700; font-size: 1.05rem; }
.brand-sub { font-size: 0.78rem; color: var(--muted); }

.site-nav {
    display: flex;
    gap: 1.1rem;
    margin-left: auto;
}

.site-nav a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
}

.site-nav a:hover { color: var(--sky-deep); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 8px;
}

.nav-toggle-bar,
.nav-toggle-bar:before,
.nav-toggle-bar:after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--navy);
    position: relative;
    margin: 0 auto;
}

.nav-toggle-bar:before,
.nav-toggle-bar:after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle-bar:before { top: -6px; }
.nav-toggle-bar:after { top: 6px; }

.hero {
    background:
        linear-gradient(115deg, rgba(7, 28, 51, 0.92), rgba(18, 58, 99, 0.78)),
        radial-gradient(circle at 80% 20%, #3da9e0 0, transparent 40%),
        var(--navy);
    color: var(--white);
    padding: 4.5rem 0 4rem;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.2rem);
    max-width: 18ch;
    margin-bottom: 0.35em;
    text-wrap: balance;
}

.hero-company {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: #e8f4fb;
}

.hero .lede {
    font-size: 1.2rem;
    max-width: 38rem;
    color: #e8f4fb;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.6rem;
}

.hero-phone {
    color: var(--white);
    border-color: var(--white);
}

.hero-phone:hover {
    color: var(--navy);
    border-color: var(--white);
}

.page-hero {
    background: linear-gradient(120deg, var(--navy), var(--navy-mid));
    color: var(--white);
    padding: 3rem 0 2.5rem;
}

.page-hero-has-image {
    background:
        linear-gradient(115deg, rgba(7, 28, 51, 0.88), rgba(18, 58, 99, 0.62)),
        var(--hero-image) center / cover no-repeat,
        linear-gradient(120deg, var(--navy), var(--navy-mid));
}

.page-hero h1,
.page-hero .lead,
.page-hero .eyebrow { color: var(--white); }

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--sky);
    margin: 0 0 0.5rem;
}

.lead { font-size: 1.15rem; max-width: 42rem; }

.trust-strip {
    background: var(--sky-soft);
    border-bottom: 1px solid var(--line);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem 1.25rem;
    padding: 1.35rem 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.trust-icon img {
    width: 22px;
    height: 22px;
}

.trust-copy {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
    white-space: normal;
    overflow-wrap: break-word;
}

.trust-label {
    font-weight: 700;
    color: var(--navy);
}

.trust-copy span:not(.trust-label) {
    color: var(--muted);
    font-size: 0.92rem;
}

.section { padding: 4rem 0; }
.section-alt { background: #f6fbfe; }
.section h2 { font-size: 2rem; }
.section-more { margin-top: 1.4rem; }
.service-cta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.service-grid,
.why-grid,
.area-grid {
    display: grid;
    gap: 1rem;
}

.service-grid { grid-template-columns: repeat(3, 1fr); }
.why-grid { grid-template-columns: repeat(3, 1fr); }
.area-grid { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem 1.3rem;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    display: block;
}

a.card:hover {
    border-color: var(--sky);
    transform: translateY(-2px);
}

.card h3 { margin-bottom: 0.4rem; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }

.card-tile {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 0 0.85rem;
    background: var(--sky-soft);
}

.card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--sky-soft);
    color: var(--navy);
    display: grid;
    place-items: center;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.area-chip {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.7rem 1rem;
    text-align: center;
    font-weight: 600;
    color: var(--navy);
}

.estimate-band {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 0;
}

.estimate-band h2 { color: var(--white); }
.estimate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.estimate-copy p { color: #d7e8f4; }
.estimate-phone { font-size: 1.2rem; font-weight: 700; }
.estimate-phone a { color: var(--white); }

.estimate-form-card {
    background: var(--white);
    color: var(--ink);
    border-radius: var(--radius);
    padding: 1.4rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.form-field { margin-bottom: 0.9rem; }

.form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--navy);
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.7rem 0.8rem;
    font: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: 2px solid var(--sky);
    border-color: var(--sky);
}

[data-validate-for] { color: #b42318; font-size: 0.85rem; }

.form-success {
    background: var(--sky-soft);
    border: 1px solid var(--sky);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
}

.site-footer {
    background: var(--navy-deep);
    color: #d5e4ee;
    padding: 3rem 0 1.2rem;
}

.site-footer h2 {
    color: var(--white);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.site-footer a { color: var(--white); }
.footer-brand { color: var(--white); font-weight: 700; font-size: 1.1rem; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 1.5rem;
}

.footer-areas { list-style: none; padding: 0; margin: 0; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: 0.9rem;
}

.map-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    min-height: 280px;
}

.map-wrap iframe {
    width: 100%;
    height: 320px;
    border: 0;
}

.prose { max-width: 46rem; }
.prose p { font-size: 1.05rem; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 960px) {
    .service-grid,
    .why-grid,
    .trust-grid,
    .estimate-grid,
    .contact-grid,
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .area-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .nav-toggle { display: inline-block; }
    .site-nav,
    .header-actions { display: none; }
    .site-header.is-open .site-nav,
    .site-header.is-open .header-actions {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .header-inner { flex-wrap: wrap; padding: 0.6rem 0; }
    .site-nav { margin-left: 0; padding-bottom: 0.5rem; }
    .header-actions { padding-bottom: 1rem; }
    .service-grid,
    .why-grid,
    .estimate-grid,
    .contact-grid,
    .footer-grid,
    .form-row,
    .area-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .trust-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
    .hero { padding: 3rem 0; }
}

/* Coming soon page */
html.coming-soon-root,
body.coming-soon {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body.coming-soon {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100svh;
    min-height: 100dvh;
    background:
        radial-gradient(circle at 50% 0%, rgba(61, 169, 224, 0.16), transparent 42%),
        linear-gradient(180deg, var(--sky-soft) 0%, #f7fbfe 55%, var(--white) 100%);
    color: var(--ink);
}

.coming-soon-shell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 100svh;
    min-height: 100dvh;
    margin: 0;
    padding-block: 2rem;
    padding-inline: max(1.25rem, env(safe-area-inset-left, 0px)) max(1.25rem, env(safe-area-inset-right, 0px));
    text-align: center;
    background-image:
        linear-gradient(rgba(18, 58, 99, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 58, 99, 0.045) 1px, transparent 1px);
    background-size: 28px 28px;
}

.coming-soon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    width: min(38rem, 100%);
    max-width: 100%;
    min-width: 0;
    margin-inline: auto;
    padding: 0;
    text-align: center;
}

.coming-soon-logo {
    display: block;
    width: 88px;
    height: 88px;
    margin-inline: auto;
    margin-block: 0 1.35rem;
    object-fit: contain;
}

.coming-soon h1 {
    width: 100%;
    margin: 0 0 0.35em;
    font-size: clamp(1.85rem, 6vw, 2.6rem);
    color: var(--navy);
    letter-spacing: -0.02em;
    text-align: center;
}

.coming-soon-line {
    margin: 0 0 1.6rem;
    font-size: clamp(1.15rem, 3.6vw, 1.35rem);
    color: var(--ink);
}

.coming-soon-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    min-width: 44px;
    padding: 0.9rem 1.45rem;
    border-radius: 999px;
    background: var(--sky);
    color: var(--white);
    font-family: Outfit, "Source Sans 3", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    line-height: 1;
}

.coming-soon-phone:hover,
.coming-soon-phone:focus-visible {
    background: var(--sky-deep);
    color: var(--white);
}

.coming-soon-license,
.coming-soon-hours {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.coming-soon-license {
    margin-top: 1rem;
}

.coming-soon-hours {
    margin-top: 0.25rem;
}
