:root {
    --navy: #1a3041;
    --navy-deep: #10202c;
    --ink: #24384a;
    --muted: #5d6e7e;
    --red: #d82224;
    --red-dark: #b21b1d;
    --blue: #2c6bed;
    --blue-dark: #1d56c4;
    --line: #e3ddd2;
    --paper: #f4f0e8;
    --card: #fffcf7;
    --white: #ffffff;
    --shadow: 0 18px 40px rgba(16, 32, 44, 0.08);
    --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
    --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
    --wrap: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
}

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

a { color: inherit; }

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 520;
    letter-spacing: -0.02em;
    line-height: 1.12;
    color: var(--navy);
    margin: 0 0 0.6rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
h3 { font-size: 1.45rem; }

p { margin: 0 0 1rem; }

.wrap {
    width: min(var(--wrap), calc(100% - 2.4rem));
    margin-inline: auto;
}

.narrow { width: min(760px, calc(100% - 2.4rem)); }

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

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--white);
    color: var(--navy);
    padding: 0.6rem 0.9rem;
    z-index: 20;
}

.skip:focus { top: 1rem; }

:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}

.kicker {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 0.7rem;
}

.kicker-light { color: #ffb4b0; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.7rem 1.25rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-red { background: var(--red); color: white; }
.btn-red:hover { background: var(--red-dark); }

.btn-blue { background: var(--blue); color: white; }
.btn-blue:hover { background: var(--blue-dark); }

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

.btn-ghost {
    background: rgba(255, 252, 247, 0.78);
    color: var(--navy);
    border-color: rgba(26, 48, 65, 0.18);
    backdrop-filter: blur(8px);
}

.text-link {
    color: var(--navy);
    font-weight: 600;
    text-underline-offset: 0.22em;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--navy);
    color: white;
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand img {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    object-fit: cover;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.2rem 1.05rem;
}

.site-nav > a,
.drop > a {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    font-size: 0.96rem;
    font-weight: 500;
}

.site-nav > a:hover,
.drop > a:hover,
.site-nav > a[aria-current="page"],
.drop > a[aria-current="page"] {
    color: white;
}

.nav-quote { margin-left: 0.4rem; }

.drop { position: relative; }

.drop::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 0.9rem;
}

.drop-panel {
    position: absolute;
    top: calc(100% + 0.8rem);
    left: 50%;
    transform: translateX(-40%);
    min-width: 210px;
    padding: 0.45rem;
    background: var(--card);
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: none;
}

.drop-panel a {
    display: block;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    color: var(--navy);
    text-decoration: none;
    font-size: 0.95rem;
}

.drop-panel a:hover { background: var(--paper); }

.drop:hover .drop-panel,
.drop:focus-within .drop-panel { display: block; }

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    padding: 12px 10px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: white;
    border-radius: 2px;
}

.hero {
    min-height: 78vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 4.5rem 1.25rem 5.5rem;
    background-color: #efeae2;
    background-image: url("/assets/images/hero.jpg");
    background-image: image-set(
        url("/assets/images/hero.avif") type("image/avif"),
        url("/assets/images/hero.jpg") type("image/jpeg")
    );
    background-repeat: no-repeat;
    background-position: center 68%;
    background-size: cover;
}

.hero-copy { width: min(980px, 100%); }

.hero-place {
    margin: 0 0 0.8rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #3e5568;
}

.hero h1 {
    font-family: var(--sans);
    font-weight: 700;
    font-size: clamp(2.7rem, 7vw, 5.5rem);
    letter-spacing: 0.045em;
    text-transform: uppercase;
    line-height: 0.95;
    color: #17283a;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero-tag {
    margin: 0.85rem 0 1.5rem;
    color: #31485c;
    font-size: clamp(1rem, 2vw, 1.25rem);
    letter-spacing: 0.08em;
}

.hero-tag::after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin: 1rem auto 0;
    background: linear-gradient(90deg, var(--red), #f0b4b0 70%, transparent);
    border-radius: 4px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.trust {
    background: var(--navy-deep);
    color: white;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-row p {
    margin: 0;
    padding: 1.15rem 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-row p:first-child { border-left: 0; }

.trust-row strong,
.trust-row span { display: block; }

.trust-row strong {
    font-weight: 600;
    font-size: 0.98rem;
}

.trust-row span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.9rem;
    font-weight: 300;
}

.band { padding: 5.2rem 0; }
.band-plain { background: #ebe6dc; }
.band-tight { padding-top: 1.5rem; }

.story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.story-photos {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 0.8rem;
    align-items: end;
}

.story-photos img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 18px;
}

.story-photos img:last-child { height: 300px; margin-bottom: 2rem; }

.section-head { margin-bottom: 2rem; max-width: 640px; }

.split-head {
    max-width: none;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1.5rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.service-grid article,
.quotes blockquote,
.promise-list article,
.form-card,
.aside-card,
.cabinet-note {
    background: var(--card);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.service-grid article { padding: 1.5rem 1.4rem 1.6rem; }

.num {
    font-family: var(--sans);
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--red);
    margin: 0 0 0.8rem;
}

.mosaic {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: 280px 280px;
    gap: 0.8rem;
}

.mosaic-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    text-decoration: none;
    min-height: 0;
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.mosaic-item:hover img { transform: scale(1.04); }

.mosaic-item span {
    position: absolute;
    left: 0.8rem;
    bottom: 0.8rem;
    background: rgba(16, 32, 44, 0.78);
    color: white;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
}

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

.quotes blockquote { margin: 0; padding: 1.7rem 1.6rem 1.4rem; }

.quotes blockquote p {
    font-family: var(--serif);
    font-size: 1.35rem;
    line-height: 1.35;
    color: var(--navy);
}

.quotes footer {
    color: var(--muted);
    font-size: 0.95rem;
}

.quotes footer span {
    display: block;
    font-size: 0.85rem;
}

.promise {
    background: var(--navy);
    color: white;
    padding: 4.2rem 0;
}

.promise h2,
.promise p { color: white; }

.promise p { color: rgba(255, 255, 255, 0.8); max-width: 62ch; }

.promise-inner,
.closer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.closer { padding: 4.5rem 0 5rem; text-align: center; }

.closer-inner { display: block; }

.closer p {
    max-width: 46ch;
    margin-inline: auto;
    color: var(--muted);
}

.page-intro { padding: 3.4rem 0 1rem; }

.lede {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 46ch;
}

.intro-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }

.about-layout,
.area-layout,
.contact-layout,
.service-block {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: start;
}

.service-block-flip { grid-template-columns: 0.9fr 1.1fr; }
.service-block-flip .service-copy { order: 2; }

.prose ul { padding-left: 1.1rem; margin: 0 0 1rem; }
.prose li { margin: 0.35rem 0; }

.aside-card,
.cabinet-note,
.form-card,
.contact-aside { padding: 1.5rem; }

.aside-card img {
    width: 148px;
    height: 148px;
    border-radius: 18px;
    margin-bottom: 1rem;
}

.aside-card dl { margin: 0; }
.aside-card dl div { padding: 0.7rem 0; border-top: 1px solid var(--line); }
.aside-card dt {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}
.aside-card dd { margin: 0.15rem 0 0; font-weight: 600; color: var(--navy); }
.aside-card a { color: var(--navy); }

.service-photo img {
    width: 100%;
    height: 100%;
    max-height: 560px;
    object-fit: cover;
    border-radius: 18px;
}

.cabinet-note { align-self: center; }

.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    counter-reset: step;
}

.steps li {
    background: var(--card);
    border-radius: 18px;
    padding: 1.3rem 1.15rem 1.4rem;
    box-shadow: var(--shadow);
}

.steps li::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: block;
    color: var(--red);
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 0.7rem;
}

.map-frame {
    background: var(--card);
    border-radius: 18px;
    overflow: hidden;
    min-height: 460px;
    box-shadow: var(--shadow);
}

.map-frame iframe {
    width: 100%;
    height: 460px;
    border: 0;
}

.area-phone {
    font-family: var(--serif);
    font-size: 2rem;
    margin: 0.4rem 0 1rem;
}

.area-phone a { color: var(--navy); text-decoration: none; }

.warranty-hero {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.days {
    margin: 0;
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--muted);
}

.days span {
    display: block;
    font-size: clamp(5rem, 10vw, 7.5rem);
    line-height: 0.85;
    color: var(--red);
}

.promise-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.promise-list article { padding: 1.2rem; }

.warranty-cta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-top: 1.6rem;
}

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }

.filters button {
    border: 1px solid var(--line);
    background: transparent;
    color: var(--navy);
    border-radius: 999px;
    min-height: 40px;
    padding: 0.35rem 0.9rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.filters button.is-on {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.card {
    margin: 0;
    background: var(--card);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.shot {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #ddd;
    cursor: zoom-in;
}

.shot img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card figcaption { padding: 0.95rem 1rem 1.15rem; }
.card h2 { font-size: 1.3rem; }

.cat {
    margin: 0 0 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
}

.lightbox {
    width: min(960px, calc(100% - 2rem));
    border: 0;
    border-radius: 18px;
    padding: 0.8rem;
    background: var(--navy-deep);
    color: white;
}

.lightbox::backdrop { background: rgba(10, 16, 24, 0.78); }

.lightbox img {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    background: #0c141c;
    border-radius: 12px;
}

.lightbox p { margin: 0.8rem 0.3rem 0.3rem; }

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: 0;
    border-radius: 999px;
    background: white;
    color: var(--navy);
    font: inherit;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
}

.contact-aside h2 { margin-bottom: 1rem; }

.contact-aside p { margin-bottom: 0.9rem; }

.contact-aside span {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-aside a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.15rem;
}

.fine { color: var(--muted); font-size: 0.92rem; }

.form-card form { display: grid; gap: 0.85rem; }

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

label {
    display: grid;
    gap: 0.35rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--navy);
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #d9d2c6;
    background: white;
    border-radius: 12px;
    padding: 0.8rem 0.85rem;
    font: inherit;
    color: var(--ink);
}

textarea { resize: vertical; min-height: 140px; }

.hp-field {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.captcha {
    display: grid;
    gap: 0.65rem;
}

.captcha-image {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.captcha-image img {
    width: 220px;
    height: 74px;
    border-radius: 12px;
    border: 1px solid #d9d2c6;
    background: #f4f0e8;
}

.captcha-refresh {
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--navy);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    cursor: pointer;
}

.notice {
    border-radius: 14px;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
}

.notice h2 { font-family: var(--sans); font-size: 1.15rem; }

.notice-ok { background: #e7f5ec; }
.notice-bad { background: #fdecec; }
.notice ul { margin: 0.3rem 0 0; padding-left: 1.1rem; }

.site-footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 5.5rem;
}

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

.site-footer h2 {
    font-family: var(--sans);
    color: white;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-footer a { color: white; text-decoration: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.35rem 0; }

.brand-footer img { width: 84px; height: 84px; margin-bottom: 0.8rem; }

.footer-base {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.mobile-call { display: none; }

@media (max-width: 980px) {
    .nav-toggle { display: block; }

    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 84px;
        background: var(--navy-deep);
        padding: 0.6rem 1.2rem 1.2rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
    }

    .site-nav.is-open { display: flex; }

    .site-nav > a,
    .drop > a { padding: 0.7rem 0; }

    .drop-panel {
        position: static;
        transform: none;
        display: block;
        background: transparent;
        box-shadow: none;
        padding: 0 0 0.4rem 0.8rem;
        min-width: 0;
    }

    .drop-panel a { color: rgba(255, 255, 255, 0.8); padding: 0.4rem 0; }
    .drop-panel a:hover { background: transparent; color: white; }

    .nav-quote { margin: 0.6rem 0 0; }

    .trust-row,
    .service-grid,
    .quotes,
    .steps,
    .promise-list,
    .gallery,
    .footer-grid { grid-template-columns: 1fr 1fr; }

    .story,
    .about-layout,
    .area-layout,
    .contact-layout,
    .service-block,
    .service-block-flip,
    .warranty-hero,
    .promise-inner { grid-template-columns: 1fr; }

    .service-block-flip .service-copy { order: 0; }

    .mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 220px 220px;
    }
}

@media (max-width: 680px) {
    .trust-row,
    .service-grid,
    .quotes,
    .steps,
    .promise-list,
    .gallery,
    .footer-grid,
    .field-row,
    .mosaic { grid-template-columns: 1fr; }

    .trust-row p { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
    .trust-row p:first-child { border-top: 0; }

    .mosaic { grid-template-columns: 1fr; grid-template-rows: none; }
    .mosaic-item { height: 230px; }

    .story-photos { grid-template-columns: 1fr; }
    .story-photos img,
    .story-photos img:last-child { height: 240px; margin: 0; }

    .split-head,
    .footer-base,
    .warranty-cta { display: block; }

    .split-head .btn,
    .warranty-cta .text-link { margin-top: 0.8rem; }

    .hero {
        min-height: 62vh;
        background-position: center 72%;
        padding: 3.2rem 1.25rem 2.4rem;
    }

    body { padding-bottom: 64px; }

    .mobile-call {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        left: 0.7rem;
        right: 0.7rem;
        bottom: 0.7rem;
        z-index: 25;
        min-height: 50px;
        border-radius: 999px;
        background: var(--red);
        color: white;
        text-decoration: none;
        font-weight: 700;
        box-shadow: 0 10px 24px rgba(216, 34, 36, 0.35);
    }

    .site-footer { padding-bottom: 6.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn,
    .mosaic-item img { transition: none; }
}
