/* Nova Contractors Manhattan */

@font-face {
    font-family: "Archivo";
    src: url("fonts/archivo-v25-latin.woff2") format("woff2");
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --ink: #101317;
    --ink-2: #1a1f25;
    --ink-3: #262c33;
    --text: #1d2227;
    --muted: #58616b;
    --line: #e2e5e9;
    --line-dark: #2c333b;
    --bg: #ffffff;
    --bg-alt: #f4f4f1;
    --brand: #fdc716;
    --brand-strong: #eab600;
    --brand-ink: #7a5d00;
    --on-dark: #f3f4f6;
    --on-dark-muted: #b8bfc8;
    --danger: #b42318;
    --radius: 6px;
    --radius-lg: 10px;
    --shadow: 0 1px 2px rgb(16 19 23 / 0.06), 0 10px 30px rgb(16 19 23 / 0.07);
    --container: 1200px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --section: clamp(3.5rem, 2.5rem + 5vw, 6.5rem);
    --header-h: 72px;
    --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --stripe: repeating-linear-gradient(-45deg, var(--brand) 0 14px, var(--ink) 14px 28px);
}

/* ---------- Base ---------- */

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

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

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
svg,
picture {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.5em;
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

h1,
.h1 {
    font-size: clamp(2.125rem, 1.35rem + 3.3vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.025em;
}

h2,
.h2 {
    font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.625rem);
    letter-spacing: -0.02em;
}

h3,
.h3 {
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

p {
    margin: 0 0 1em;
}

a {
    color: inherit;
    text-decoration-color: var(--brand-strong);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

a:hover {
    text-decoration-color: currentColor;
}

:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
    box-shadow: 0 0 0 5px var(--brand);
}

main:focus {
    outline: none;
}

address {
    font-style: normal;
}

.icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 100;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    background: var(--brand);
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* ---------- Layout ---------- */

.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: var(--section);
}

.section--alt {
    background: var(--bg-alt);
}

.section--dark {
    background: var(--ink);
    color: var(--on-dark);
}

.section__head {
    max-width: 46rem;
    margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.section__head > :last-child {
    margin-bottom: 0;
}

.section__head--center {
    margin-inline: auto;
    text-align: center;
}

.section__head--split {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 2rem;
    max-width: none;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 0.9rem;
    color: var(--brand-ink);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.3;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 1.75rem;
    height: 3px;
    background: var(--brand);
}

.section--dark .eyebrow,
.hero .eyebrow,
.page-header .eyebrow,
.aside-card .eyebrow,
.cta-band .eyebrow {
    color: var(--brand);
}

.lead {
    color: var(--muted);
    font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
    line-height: 1.6;
}

.section--dark .lead {
    color: var(--on-dark-muted);
}

.content-layout {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .content-layout {
        grid-template-columns: minmax(0, 1fr) 21rem;
        align-items: start;
    }
}

/* ---------- Buttons & links ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.75rem 1.35rem;
    border: 2px solid transparent;
    border-radius: var(--radius);
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn .icon {
    width: 1.15em;
    height: 1.15em;
}

.btn--primary {
    background: var(--brand);
    color: var(--ink);
}

.btn--primary:hover {
    background: var(--brand-strong);
}

.btn--dark {
    background: var(--ink);
    color: #fff;
}

.btn--dark:hover {
    background: var(--ink-3);
}

.btn--outline {
    border-color: currentColor;
    background: transparent;
    color: inherit;
}

.btn--outline:hover {
    background: color-mix(in srgb, currentColor 10%, transparent);
}

.btn--block {
    width: 100%;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    text-decoration: none;
}

.link-arrow .icon {
    width: 1.1em;
    height: 1.1em;
    transition: transform 0.15s;
}

a.link-arrow:hover .icon,
.post-card:hover .link-arrow .icon {
    transform: translateX(3px);
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--ink);
    color: var(--on-dark);
    border-bottom: 1px solid var(--line-dark);
}

.site-header__bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    flex: none;
    margin-right: auto;
}

.brand img {
    width: auto;
    height: 44px;
}

.nav-list {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-list > li {
    border-bottom: 1px solid var(--line-dark);
}

.nav-list > li > a {
    display: block;
    padding: 0.9rem 0;
    color: var(--on-dark);
    font-weight: 600;
    text-decoration: none;
}

.nav-list > li > a:hover,
.nav-list > li > a.is-active {
    color: var(--brand);
}

/* Dropdowns: the label links to the hub page, the chevron button toggles the menu. */
.has-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.has-sub > a {
    flex: 1;
}

.sub-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    background: transparent;
    color: var(--on-dark);
    cursor: pointer;
}

.sub-toggle .icon {
    width: 18px;
    height: 18px;
    transition: transform 0.2s;
}

.has-sub.is-open > .sub-toggle .icon {
    transform: rotate(180deg);
}

.sub-menu {
    display: none;
    flex-basis: 100%;
    margin: 0;
    padding: 0 0 0.75rem;
    list-style: none;
}

.has-sub.is-open > .sub-menu {
    display: block;
}

.sub-menu a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.5rem 0;
    color: var(--on-dark-muted);
    font-weight: 500;
    text-decoration: none;
}

.sub-menu a:hover,
.sub-menu a[aria-current="page"] {
    color: var(--brand);
}

.sub-menu__icon {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: var(--radius);
    background: var(--ink-3);
    color: var(--brand);
}

.sub-menu__icon .icon {
    width: 16px;
    height: 16px;
}

.sub-menu__all a {
    color: var(--on-dark);
    font-weight: 700;
}

.sub-menu__all .icon {
    width: 1rem;
    height: 1rem;
}

.nav-panel .btn {
    width: 100%;
    margin-top: 1.25rem;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 48px;
    min-height: 48px;
    border-radius: var(--radius);
    background: var(--brand);
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}

.header-phone span {
    display: none;
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.nav-toggle .icon {
    width: 24px;
    height: 24px;
}

.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-open {
    display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
    display: block;
}

@media (max-width: 1023px) {
    .nav-panel {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        max-height: calc(100dvh - var(--header-h));
        overflow-y: auto;
        padding: 0.25rem var(--gutter) 1.5rem;
        background: var(--ink);
        border-bottom: 1px solid var(--line-dark);
        box-shadow: 0 16px 32px rgb(0 0 0 / 0.35);
    }

    .js .nav-panel:not(.is-open) {
        display: none;
    }

    .no-js .site-header__bar {
        flex-wrap: wrap;
    }

    .no-js .nav-panel {
        position: static;
        flex-basis: 100%;
        order: 5;
        box-shadow: none;
        border: 0;
        padding-inline: 0;
    }

    .no-js .nav-toggle,
    .no-js .sub-toggle {
        display: none;
    }

    .no-js .sub-menu {
        display: block;
    }
}

@media (min-width: 640px) {
    .header-phone {
        padding: 0 1rem;
    }

    .header-phone span {
        display: inline;
    }
}

@media (min-width: 1024px) {
    .brand img {
        height: 52px;
    }

    .nav-toggle {
        display: none;
    }

    .nav-panel {
        display: flex;
        align-items: center;
        gap: 1.75rem;
    }

    .nav-list {
        flex-direction: row;
        gap: 1.75rem;
    }

    .nav-list > li {
        position: relative;
        border: 0;
    }

    .nav-list > li > a {
        position: relative;
        padding: 0.5rem 0;
    }

    .has-sub {
        flex-wrap: nowrap;
        gap: 0.1rem;
    }

    .sub-toggle {
        width: 26px;
        height: 34px;
    }

    .sub-menu {
        position: absolute;
        top: 100%;
        left: -0.75rem;
        z-index: 60;
        min-width: 18rem;
        margin-top: 0.85rem;
        padding: 0.5rem;
        border: 1px solid var(--line);
        border-radius: var(--radius-lg);
        background: #fff;
        box-shadow: 0 18px 40px rgb(0 0 0 / 0.28);
    }

    /* Bridges the gap between the label and the panel so hover isn't lost. */
    .sub-menu::before {
        content: "";
        position: absolute;
        right: 0;
        bottom: 100%;
        left: 0;
        height: 0.85rem;
    }

    .sub-menu a {
        padding: 0.55rem 0.7rem;
        border-radius: var(--radius);
        color: var(--text);
        font-size: 0.9375rem;
        font-weight: 600;
        white-space: nowrap;
    }

    .sub-menu a:hover,
    .sub-menu a[aria-current="page"] {
        background: var(--bg-alt);
        color: var(--text);
    }

    .sub-menu__icon {
        background: var(--ink);
    }

    .sub-menu__all {
        margin-top: 0.35rem;
        padding-top: 0.35rem;
        border-top: 1px solid var(--line);
    }

    .sub-menu__all a {
        color: var(--brand-ink);
    }

    .nav-list > li > a.is-active::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 2px;
        background: var(--brand);
    }

    .nav-panel .btn {
        width: auto;
        margin: 0;
    }

    .header-phone {
        background: transparent;
        color: var(--on-dark);
        border: 1px solid var(--line-dark);
    }

    .header-phone:hover {
        border-color: var(--brand);
    }

    .header-phone .icon {
        color: var(--brand);
    }
}

@media (min-width: 1024px) and (hover: hover) {
    .has-sub:hover:not(.is-dismissed) > .sub-menu {
        display: block;
    }

    .has-sub:hover:not(.is-dismissed) > .sub-toggle .icon {
        transform: rotate(180deg);
    }
}

/* Icon-only phone button where the full nav leaves no room for the number. */
@media (min-width: 1024px) and (max-width: 1279px) {
    .header-phone {
        padding: 0;
    }

    .header-phone span {
        display: none;
    }
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    padding-block: 5rem 2.75rem;
    background: var(--ink);
    color: #fff;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgb(16 19 23 / 0.45) 0%, rgb(16 19 23 / 0.84) 45%, rgb(16 19 23 / 0.95) 100%);
}

.hero__content {
    max-width: 42rem;
}

.hero h1 {
    margin-bottom: 1.1rem;
}

.hero h1 .accent {
    color: var(--brand);
}

.hero .lead {
    color: #d8dce1;
    max-width: 38rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
    margin: 2.25rem 0 0;
    padding: 1.5rem 0 0;
    border-top: 1px solid rgb(255 255 255 / 0.18);
    list-style: none;
}

.proof strong {
    display: block;
    color: var(--brand);
    font-size: 1.625rem;
    font-weight: 800;
    line-height: 1.1;
}

.proof span {
    color: #c9ced5;
    font-size: 0.875rem;
    line-height: 1.35;
}

@media (max-width: 479px) {
    .hero__actions .btn {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .hero {
        align-items: center;
        min-height: clamp(560px, 80vh, 760px);
        padding-block: 5rem;
    }

    .hero::after {
        background: linear-gradient(90deg, rgb(16 19 23 / 0.94) 0%, rgb(16 19 23 / 0.8) 48%, rgb(16 19 23 / 0.25) 100%);
    }

    .proof {
        grid-template-columns: repeat(4, auto);
        justify-content: start;
        gap: 2.5rem;
    }
}

/* ---------- Page header (inner pages) ---------- */

.page-header {
    padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem);
    background: var(--ink);
    color: #fff;
}

.page-header h1 {
    max-width: 26ch;
    margin: 0;
    font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
}

.page-header .lead {
    max-width: 44rem;
    margin: 1rem 0 0;
    color: var(--on-dark-muted);
}

.page-header__meta {
    margin: 1rem 0 0;
    color: var(--on-dark-muted);
    font-size: 0.9375rem;
}

.page-header__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

@media (max-width: 479px) {
    .page-header__actions .btn {
        width: 100%;
    }
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0 0 1.25rem;
    padding: 0;
    color: var(--on-dark-muted);
    font-size: 0.875rem;
    list-style: none;
}

.breadcrumb li + li::before {
    content: "/";
    margin-right: 0.35rem;
    opacity: 0.6;
}

.breadcrumb a {
    color: var(--on-dark);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb [aria-current] {
    color: var(--brand);
}

/* ---------- Services ---------- */

.split {
    display: grid;
    gap: clamp(2rem, 4vw, 4rem);
}

.split__media img {
    width: 100%;
    border-radius: var(--radius-lg);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

@media (max-width: 959px) {
    .split__media {
        order: 2;
    }
}

@media (min-width: 960px) {
    .split {
        grid-template-columns: 5fr 7fr;
        align-items: start;
    }

    .split__media {
        position: sticky;
        top: calc(var(--header-h) + 2rem);
    }

    .split__media img {
        aspect-ratio: 500 / 671;
    }
}

.card-grid {
    display: grid;
    gap: 1rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) {
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.service-card {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-top: 3px solid var(--brand);
    border-radius: var(--radius-lg);
    background: #fff;
}

.service-card h3,
.service-card__title {
    margin-bottom: 0.4rem;
    font-size: 1.125rem;
}

.service-card--link {
    position: relative;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card--link:hover {
    border-color: #c8cdd3;
    border-top-color: var(--brand);
    box-shadow: var(--shadow);
}

.service-card--link .service-card__title a {
    text-decoration: none;
}

.service-card--link .link-arrow {
    margin-top: auto;
    padding-top: 1rem;
    font-size: 0.9375rem;
}

.service-card--link:hover .link-arrow .icon {
    transform: translateX(3px);
}

@media (min-width: 1024px) {
    .card-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.975rem;
}

.service-card--cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.service-card--cta p {
    margin-bottom: 1.25rem;
    color: var(--on-dark-muted);
}

.service-card--cta .btn {
    margin-top: auto;
}

.icon-badge {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--brand);
}

.icon-badge .icon {
    width: 22px;
    height: 22px;
}

/* ---------- Process ---------- */

.steps {
    display: grid;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 900px) {
    .steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.step {
    padding: 1.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
}

.step__num {
    display: block;
    margin-bottom: 1.25rem;
    color: var(--ink);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.step__num::after {
    content: "";
    display: block;
    width: 2.5rem;
    height: 4px;
    margin-top: 0.85rem;
    background: var(--brand);
}

.step p {
    margin: 0;
    color: var(--muted);
}

/* ---------- CTA band ---------- */

.cta-band {
    position: relative;
    padding-block: clamp(3rem, 2.5rem + 3vw, 4.5rem);
    background: var(--ink);
    color: #fff;
}

.cta-band::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 6px;
    background: var(--stripe);
}

.cta-band__inner {
    display: grid;
    gap: 1.5rem;
}

.cta-band h2 {
    margin-bottom: 0.4rem;
}

.cta-band p {
    margin: 0;
    color: var(--on-dark-muted);
    max-width: 40rem;
}

.cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (min-width: 900px) {
    .cta-band__inner {
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 3rem;
    }
}

/* ---------- Gallery ---------- */

.gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gallery img {
    width: 100%;
    border-radius: var(--radius);
    aspect-ratio: 48 / 43;
    object-fit: cover;
    background: var(--bg-alt);
}

@media (min-width: 768px) {
    .gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 1100px) {
    .gallery {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ---------- Reviews ---------- */

.reviews {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .reviews {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .reviews {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.review {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 1.75rem;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    background: var(--ink-2);
}

.review > .icon {
    width: 28px;
    height: 28px;
    margin-bottom: 1rem;
    color: var(--brand);
}

.review blockquote {
    margin: 0 0 1.5rem;
    color: #e4e7eb;
    line-height: 1.7;
}

.review blockquote p {
    margin: 0;
}

.review figcaption {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: auto;
}

.review strong {
    display: block;
    color: #fff;
}

.review span {
    color: var(--on-dark-muted);
    font-size: 0.875rem;
}

.avatar {
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--ink);
    font-weight: 800;
}

.review--cta {
    justify-content: center;
    align-items: flex-start;
    border-color: var(--brand);
    background: transparent;
}

.review--cta h3 {
    color: #fff;
}

.review--cta p {
    color: var(--on-dark-muted);
}

/* ---------- Blog cards ---------- */

.post-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 700px) {
    .post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .post-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.post-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.post-card:hover {
    border-color: #c8cdd3;
    box-shadow: var(--shadow);
}

.post-card__media,
.article-media {
    aspect-ratio: 16 / 9;
    background-color: var(--bg-alt);
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px;
}

.post-card__media img,
.article-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.4rem 1.5rem 1.6rem;
}

.post-card time {
    margin-bottom: 0.5rem;
    color: var(--muted);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.post-card__title {
    margin-bottom: 0.6rem;
    font-size: 1.2rem;
    line-height: 1.3;
}

.post-card__title a {
    text-decoration: none;
}

.post-card p {
    color: var(--muted);
    font-size: 0.975rem;
}

.post-card .link-arrow {
    margin-top: auto;
}

.stretched::after {
    content: "";
    position: absolute;
    inset: 0;
}

.empty-state {
    max-width: 38rem;
    margin-inline: auto;
    padding: 2.5rem;
    border: 1px dashed #c8cdd3;
    border-radius: var(--radius-lg);
    text-align: center;
}

/* ---------- FAQ ---------- */

.faq-layout {
    display: grid;
    gap: 2rem;
}

@media (min-width: 960px) {
    .faq-layout {
        grid-template-columns: 4fr 7fr;
        gap: 4rem;
    }

    .faq-layout > :first-child {
        position: sticky;
        top: calc(var(--header-h) + 2rem);
        align-self: start;
    }
}

.faq {
    border-top: 1px solid #d5d9de;
}

.faq details {
    border-bottom: 1px solid #d5d9de;
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary .icon {
    transition: transform 0.2s;
}

.faq details[open] summary .icon {
    transform: rotate(180deg);
}

.faq__answer {
    padding: 0 2.5rem 1.4rem 0;
    color: var(--muted);
}

.faq__answer p {
    margin: 0;
}

/* ---------- Estimate & forms ---------- */

.estimate {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 960px) {
    .estimate {
        grid-template-columns: 5fr 7fr;
        gap: 4rem;
        align-items: start;
    }
}

.form-card {
    padding: clamp(1.25rem, 1rem + 2vw, 2.25rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    gap: 1.1rem 1.25rem;
}

@media (min-width: 640px) {
    .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.field--full {
    grid-column: 1 / -1;
}

.field label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.9375rem;
    font-weight: 600;
}

.input {
    width: 100%;
    min-height: 48px;
    padding: 0.7rem 0.85rem;
    border: 1px solid #b9bfc6;
    border-radius: var(--radius);
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 1rem;
}

.input:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgb(253 199 22 / 0.6);
}

.input[aria-invalid="true"] {
    border-color: var(--danger);
}

textarea.input {
    min-height: 130px;
    resize: vertical;
}

select.input {
    padding-right: 2.5rem;
    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='%231d2227' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-position: right 0.8rem center;
    background-repeat: no-repeat;
}

.field-error {
    display: block;
    margin-top: 0.35rem;
    color: var(--danger);
    font-size: 0.875rem;
    font-weight: 600;
}

.check {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.9375rem;
    font-weight: 400 !important;
}

.check input {
    width: 20px;
    height: 20px;
    margin: 0.2rem 0 0;
    flex: none;
    accent-color: var(--ink);
}

.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-note {
    margin: 0.9rem 0 0;
    color: var(--muted);
    font-size: 0.875rem;
}

.form-note a {
    overflow-wrap: anywhere;
}

.alert {
    margin-bottom: 1.25rem;
    padding: 0.9rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
}

.alert--success {
    border: 1px solid #abefc6;
    background: #ecfdf3;
    color: #05603a;
}

.alert--error {
    border: 1px solid #fecdca;
    background: #fef3f2;
    color: var(--danger);
}

.checklist {
    display: grid;
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
}

.checklist li {
    display: flex;
    gap: 0.7rem;
}

.checklist .icon {
    width: 22px;
    height: 22px;
    margin-top: 0.15rem;
    padding: 3px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--ink);
    stroke-width: 3;
}

.contact-list {
    display: grid;
    gap: 1.1rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.contact-list .icon-badge {
    margin: 0;
}

.contact-list small {
    display: block;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-list a,
.contact-list span {
    font-weight: 600;
    overflow-wrap: anywhere;
}

/* ---------- Content pages ---------- */

.prose {
    max-width: 46rem;
}

.prose > :first-child {
    margin-top: 0;
}

.prose h2 {
    margin-top: 2.5rem;
    font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem);
}

.prose h3 {
    margin-top: 1.75rem;
}

.prose ul,
.prose ol {
    padding-left: 1.25rem;
}

.prose li {
    margin-bottom: 0.45rem;
}

.prose img {
    margin-block: 1.5rem;
    border-radius: var(--radius);
}

.prose table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.prose td,
.prose th {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--line);
}

.prose .checklist {
    padding: 0;
}

/* CMS articles wrap text in inline font-weight spans; let headings keep their weight. */
.prose span[style*="font-weight"] {
    font-weight: inherit !important;
}

.prose a {
    overflow-wrap: anywhere;
}

.intro {
    color: var(--text);
    font-size: 1.1875rem;
    font-weight: 500;
}

.aside-card {
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    background: var(--ink);
    color: #fff;
}

.aside-card p {
    color: var(--on-dark-muted);
}

.aside-card .btn + .btn {
    margin-top: 0.75rem;
}

@media (min-width: 1024px) {
    .aside-card {
        position: sticky;
        top: calc(var(--header-h) + 1.5rem);
    }
}

.aside-stack {
    display: grid;
    align-content: start;
    gap: 1.5rem;
}

.aside-stack .aside-card {
    position: static;
}

@media (min-width: 1024px) {
    .aside-stack {
        position: sticky;
        top: calc(var(--header-h) + 1.5rem);
    }
}

.aside-links {
    padding: 1.5rem 1.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.aside-links h2 {
    margin-bottom: 0.5rem;
    color: var(--muted);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.aside-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.aside-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
    text-decoration: none;
}

.aside-links li:last-child a {
    border-bottom: 0;
}

.aside-links a:hover {
    color: var(--brand-ink);
}

.aside-links .icon {
    width: 1rem;
    height: 1rem;
    color: var(--muted);
}

.pill-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.25rem 0 0;
    padding: 0 !important;
    list-style: none;
}

.pill-links li {
    margin: 0;
}

.pill-links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid #cdd2d8;
    border-radius: 999px;
    background: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s;
}

.pill-links a:hover {
    border-color: var(--ink);
}

.prose .step-list {
    display: grid;
    gap: 0.9rem;
    margin: 1.25rem 0 1.5rem;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.prose .step-list li {
    position: relative;
    margin: 0;
    padding-left: 2.75rem;
    counter-increment: step;
}

.prose .step-list li::before {
    content: counter(step);
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    background: var(--ink);
    color: var(--brand);
    font-size: 0.875rem;
    font-weight: 800;
}

.article-media {
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.tag-list li {
    padding: 0.4rem 0.8rem;
    border: 1px solid #cdd2d8;
    border-radius: 999px;
    background: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
}

.area {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 960px) {
    .area {
        grid-template-columns: 5fr 7fr;
        gap: 4rem;
    }
}

.map-facade {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 1rem;
    min-height: 360px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background-color: #fff;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px;
}

.map-facade.is-loaded {
    display: block;
}

.map-facade iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

.map-facade.is-loaded a {
    display: none;
}

.link-cards {
    display: grid;
    gap: 1rem;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) {
    .link-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.link-cards a {
    display: block;
    height: 100%;
    padding: 1.4rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: border-color 0.2s;
}

.link-cards a:hover {
    border-color: var(--ink);
}

.link-cards strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.link-cards span {
    color: var(--muted);
}

/* ---------- Trust & E-E-A-T ---------- */

.trust-bar {
    padding-block: 2rem;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: 1.25rem 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.trust-badge__seal {
    display: grid;
    flex: none;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 2px solid var(--brand);
    border-radius: 50%;
    background: var(--ink);
    color: var(--brand);
    box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4px rgb(253 199 22 / 0.45);
}

.trust-badge__seal .icon {
    width: 24px;
    height: 24px;
}

.trust-badge strong {
    display: block;
    font-size: 1rem;
    line-height: 1.3;
}

.trust-badge small {
    display: block;
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.4;
}

.prose .trust-badges,
.prose .source-list {
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.prose .trust-badges li,
.prose .source-list li {
    margin: 0;
}

.source-list {
    display: grid;
    gap: 0.6rem;
}

.source-list li {
    padding: 0.8rem 1rem;
    border: 1px solid var(--line);
    border-left: 3px solid var(--brand);
    border-radius: var(--radius);
}

.source-list a {
    font-weight: 600;
}

.source-list span {
    display: block;
    color: var(--muted);
    font-size: 0.875rem;
}

.credential-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.credential-list li {
    display: grid;
    gap: 0.25rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
}

.credential-list span {
    color: var(--muted);
    font-size: 0.9375rem;
}

/* ---------- Footer ---------- */

.site-footer {
    position: relative;
    padding-top: clamp(3rem, 2.5rem + 3vw, 5rem);
    background: var(--ink);
    color: var(--on-dark-muted);
    font-size: 0.975rem;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 6px;
    background: var(--stripe);
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.2fr 0.7fr 1fr 0.85fr 1.45fr;
        gap: 2rem;
    }
}

.footer-brand img {
    width: auto;
    height: 52px;
    margin-bottom: 1.25rem;
}

.footer-title {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer a {
    color: var(--on-dark);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--brand);
    text-decoration: underline;
}

.site-footer .footer-title a {
    color: #fff;
}

.footer-address {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.footer-address a {
    overflow-wrap: break-word;
}

.site-footer .btn--primary,
.site-footer .btn--primary:hover {
    color: var(--ink);
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem 2rem;
    margin-top: 3rem;
    padding-block: 1.5rem;
    border-top: 1px solid var(--line-dark);
    font-size: 0.875rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ---------- Mobile call bar ---------- */

.mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgb(255 255 255 / 0.97);
    box-shadow: 0 -6px 18px rgb(16 19 23 / 0.08);
}

body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
}

@media (min-width: 768px) {
    .mobile-cta {
        display: none;
    }

    body {
        padding-bottom: 0;
    }
}
