/* ========================================
   GOOGLE FONTS
======================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap");


/* ========================================
   SITE VARIABLES
======================================== */

:root {
    --color-navy: #071d35;
    --color-navy-light: #102e4e;
    --color-orange: #ef5a24;
    --color-orange-dark: #ef5a24;

    --color-white: #ffffff;
    --color-text: #303943;
    --color-light-gray: #f4f6f8;
    --color-border: #dce2e8;

    --font-heading: "Manrope", sans-serif;
    --font-body: "Inter", sans-serif;

    --container-width: 1240px;
    --container-padding: 24px;

    --transition: 180ms ease;
}


/* ========================================
   BASIC RESET
======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;

    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;

    color: var(--color-text);
    background-color: var(--color-white);

    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    color: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
}


/* ========================================
   REUSABLE CONTAINER
======================================== */

.container {
    width: min(
        calc(100% - (var(--container-padding) * 2)),
        var(--container-width)
    );

    margin-inline: auto;
}


/* ========================================
   REUSABLE BUTTONS
======================================== */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 13px 24px;

    border: 2px solid transparent;
    border-radius: 4px;

    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;

    cursor: pointer;
    transition:
        background-color var(--transition),
        border-color var(--transition),
        color var(--transition),
        transform var(--transition);
}

.button:hover {
    transform: translateY(-2px);
}

.button--orange {
    color: var(--color-white);
    background-color: var(--color-orange);
    border-color: var(--color-orange);
}

.button--orange:hover {
    background-color: var(--color-orange-dark);
    border-color: var(--color-orange-dark);
}

.button--outline {
    color: var(--color-white);
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.75);
}

.button--outline:hover {
    color: var(--color-navy);
    background-color: var(--color-white);
    border-color: var(--color-white);
}


/* ========================================
   ACCESSIBILITY
======================================== */

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(245, 130, 32, 0.65);
    outline-offset: 4px;
}


/* ========================================
   SMALL SCREEN FOUNDATION
======================================== */

@media (max-width: 600px) {
    :root {
        --container-padding: 18px;
    }

    .button {
        min-height: 48px;
        padding-inline: 19px;
    }
}

/* ========================================
   TOP ANNOUNCEMENT BAR
======================================== */

.top-bar {
    color: var(--color-white);
    background-color: var(--color-orange);
}

.top-bar__inner {
    min-height: 38px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
}

.top-bar p {
    margin: 0;
}

.top-bar a {
    font-weight: 700;
    transition: opacity var(--transition);
}

.top-bar a:hover {
    opacity: 0.75;
}


/* Mobile top bar */

@media (max-width: 600px) {
    .top-bar__inner {
        min-height: 34px;
        justify-content: center;

        font-size: 0.72rem;
        text-align: center;
    }

    .top-bar p {
        display: none;
    }
}
/* ========================================
   TRANSPARENT HEADER OVER HERO
======================================== */

.site-header {
    position: absolute;
    top: 38px;
    left: 0;
    z-index: 100;

    width: 100%;
    color: var(--color-white);
    background-color: transparent;

    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.site-header__inner {
    min-height: 88px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}


/* Logo */

.site-logo {
    flex-shrink: 0;
}

.site-logo img {
    width: 150px;
    height: auto;
}


/* Navigation */

.main-navigation {
    margin-left: auto;
}

.main-navigation__list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-navigation a {
    position: relative;

    padding-block: 32px;

    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-white);

    transition: opacity var(--transition);
}

.main-navigation a:hover {
    opacity: 0.72;
}


/* Header actions */

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    font-family: var(--font-heading);
    line-height: 1.25;
}

.header-phone__label {
    font-size: 0.68rem;
    font-weight: 600;
    opacity: 0.75;
}

.header-phone__number {
    font-size: 0.94rem;
    font-weight: 800;
}


/* Hide mobile button on desktop */

.menu-toggle {
    display: none;
}

/* ========================================
   COMPACT HERO
======================================== */

.hero {
    position: relative;
    height: 700px;
    overflow: hidden;

    color: var(--color-white);
    background-color: var(--color-navy);
}


/* Video background */

.hero__background {
    position: absolute;
    inset: 0;
    z-index: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* Dark overlay */

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        90deg,
        rgba(5, 17, 29, 0.82) 0%,
        rgba(5, 17, 29, 0.52) 48%,
        rgba(5, 17, 29, 0.12) 100%
    );
}


/* Hero content */

.hero__inner {
    position: relative;
    z-index: 2;

    height: 100%;

    display: flex;
    align-items: center;

    /* Leaves room for the transparent header */
    padding-top: 88px;
    padding-bottom: 28px;
}

.hero__content {
    width: min(680px, 100%);
}

.eyebrow {
    margin-bottom: 10px;

    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 16px;

    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero__description {
    max-width: 620px;
    margin-bottom: 22px;

    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


/* Hide statistics for now */

.hero__stats {
    display: none;
}
/* ========================================
   FINANCING PROMO SECTION
======================================== */

.financing-section {
    padding: 54px 0;
    background-color: var(--color-white);
}

.financing-banner {
    position: relative;
    min-height: 380px;
    overflow: hidden;

    display: flex;
    align-items: center;

    border-radius: 14px;
    background-color: var(--color-navy);
}


/* Background roofing image */

.financing-banner__background {
    position: absolute;
    inset: 0;
    z-index: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* Dark gradient over the photo */

.financing-banner__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(5, 20, 36, 0.96) 0%,
            rgba(5, 20, 36, 0.88) 42%,
            rgba(5, 20, 36, 0.42) 72%,
            rgba(5, 20, 36, 0.18) 100%
        );
}


/* Orange curved decoration */

.financing-banner__accent {
    position: absolute;
    right: -8%;
    bottom: -165px;
    z-index: 2;

    width: 72%;
    height: 245px;

    border-radius: 50% 50% 0 0;
    background-color: var(--color-orange);

    transform: rotate(-4deg);
}


/* Written content */

.financing-banner__content {
    position: relative;
    z-index: 4;

    width: min(570px, 55%);
    padding: 52px 0 52px 56px;

    color: var(--color-white);
}

.financing-banner__content h2 {
    margin-bottom: 16px;

    font-size: clamp(2rem, 3.5vw, 3.35rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.financing-banner__content p {
    max-width: 490px;
    margin-bottom: 24px;

    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.86);
}

.financing-banner__content strong {
    color: var(--color-white);
}


/* Floating phone image */

.financing-banner__phone {
    position: absolute;
    right: 7%;
    bottom: -55px;
    z-index: 3;

    width: min(310px, 29%);
    max-height: 420px;

    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.3));

    transform: rotate(4deg);
}


/* ========================================
   FINANCING PROMO — TABLET
======================================== */

@media (max-width: 900px) {
    .financing-banner {
        min-height: 360px;
    }

    .financing-banner__content {
        width: 64%;
        padding: 44px 0 44px 38px;
    }

    .financing-banner__phone {
        right: 2%;
        width: 31%;
    }
}


/* ========================================
   FINANCING PROMO — MOBILE
======================================== */

@media (max-width: 650px) {
    .financing-section {
        padding: 32px 0;
    }

    .financing-banner {
        min-height: 570px;
        align-items: flex-start;

        border-radius: 10px;
    }

    .financing-banner__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(5, 20, 36, 0.97) 0%,
                rgba(5, 20, 36, 0.84) 58%,
                rgba(5, 20, 36, 0.35) 100%
            );
    }

    .financing-banner__content {
        width: 100%;
        padding: 36px 26px 250px;
    }

    .financing-banner__content h2 {
        font-size: 2rem;
    }

    .financing-banner__content p {
        font-size: 0.92rem;
    }

    .financing-banner__accent {
        right: -30%;
        bottom: -120px;

        width: 145%;
        height: 245px;
    }

    .financing-banner__phone {
        right: 50%;
        bottom: -65px;

        width: 215px;
        max-height: 300px;

        transform: translateX(50%) rotate(3deg);
    }
}

/* ========================================
   MOLD REMOVAL SECTION
======================================== */

.mold-section {
    padding: 76px 0 88px;
    background-color: var(--color-light-gray);
}

.mold-section__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    align-items: center;
    gap: clamp(48px, 7vw, 90px);
}


/* Mold image */

.mold-section__image-wrapper {
    position: relative;
    min-height: 430px;
}

.mold-section__image {
    position: absolute;
    inset: 0;
    z-index: 2;

    width: 100%;
    height: 100%;

    border-radius: 12px;
    object-fit: cover;
    object-position: center;

    box-shadow: 0 22px 50px rgba(7, 29, 53, 0.16);
}


/* Orange offset block behind the image */

.mold-section__image-accent {
    position: absolute;
    right: -18px;
    bottom: -18px;
    z-index: 1;

    width: 68%;
    height: 72%;

    border-radius: 12px;
    background-color: var(--color-orange);
}


/* Written content */

.mold-section__content {
    max-width: 570px;
}

.mold-section__eyebrow {
    margin-bottom: 10px;

    font-family: var(--font-heading);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: var(--color-orange);
}

.mold-section__content h2 {
    margin-bottom: 20px;

    font-size: clamp(2.1rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.045em;

    color: var(--color-navy);
}

.mold-section__content p:not(.mold-section__eyebrow) {
    margin-bottom: 15px;

    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text);
}

.mold-section__content .button {
    margin-top: 12px;
}


/* ========================================
   MOLD SECTION — TABLET
======================================== */

@media (max-width: 900px) {
    .mold-section {
        padding: 60px 0 70px;
    }

    .mold-section__inner {
        gap: 42px;
    }

    .mold-section__image-wrapper {
        min-height: 370px;
    }

    .mold-section__image-accent {
        right: -12px;
        bottom: -12px;
    }
}


/* ========================================
   MOLD SECTION — MOBILE
======================================== */

@media (max-width: 700px) {
    .mold-section {
        padding: 48px 0 58px;
    }

    .mold-section__inner {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .mold-section__image-wrapper {
        min-height: 320px;
        margin-right: 10px;
    }

    .mold-section__image-accent {
        right: -10px;
        bottom: -10px;
    }

    .mold-section__content h2 {
        font-size: 2.15rem;
    }

    .mold-section__content p:not(.mold-section__eyebrow) {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}
/* ========================================
   GOOGLE REVIEWS
======================================== */

.reviews-section {
    padding: 76px 0 88px;
    background-color: var(--color-white);
}

.reviews-card {
    min-height: 450px;
    overflow: hidden;

    display: grid;
    grid-template-columns: minmax(280px, 34%) 1fr;

    border: 1px solid rgba(7, 29, 53, 0.1);
    border-radius: 16px;
    background-color: var(--color-white);

    box-shadow: 0 22px 55px rgba(7, 29, 53, 0.1);
}


/* Review sidebar */

.reviews-sidebar {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding: 52px 46px;
    color: var(--color-white);
    background-color: var(--color-navy);
}

.reviews-sidebar::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: 0;

    width: 105px;
    height: 105px;

    background-color: var(--color-orange);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.reviews-sidebar__eyebrow {
    margin-bottom: 22px;

    font-family: var(--font-heading);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: var(--color-orange);
}

.reviews-sidebar__logo {
    width: 112px;
    height: auto;
    margin-bottom: 12px;
}

.reviews-sidebar__stars {
    margin-bottom: 20px;

    font-size: 1.3rem;
    line-height: 1;
    letter-spacing: 0.1em;
    color: #fbbc04;
}

.reviews-sidebar h2 {
    max-width: 320px;
    margin-bottom: 14px;

    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.reviews-sidebar > p:not(.reviews-sidebar__eyebrow) {
    max-width: 310px;
    margin-bottom: 28px;

    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.74);
}


/* Location filters */

.reviews-locations {
    position: relative;
    z-index: 2;

    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.reviews-location {
    padding: 10px 15px;

    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;

    font-family: var(--font-heading);
    font-size: 0.76rem;
    font-weight: 700;

    color: var(--color-white);
    background: transparent;
    cursor: pointer;

    transition:
        color var(--transition),
        border-color var(--transition),
        background-color var(--transition);
}

.reviews-location:hover,
.reviews-location.is-active {
    color: var(--color-white);
    border-color: var(--color-orange);
    background-color: var(--color-orange);
}


/* Carousel */

.reviews-carousel {
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 54px clamp(36px, 6vw, 82px) 38px;
}

.reviews-carousel__viewport {
    position: relative;
    min-height: 285px;
}

.review {
    opacity: 0;
    transform: translateY(8px);

    transition:
        opacity 450ms ease,
        transform 450ms ease;
}

.review.is-active {
    opacity: 1;
    transform: translateY(0);
}

.review[hidden] {
    display: none;
}

.review__stars {
    margin-bottom: 22px;

    font-size: 1.15rem;
    line-height: 1;
    letter-spacing: 0.1em;
    color: #fbbc04;
}

.review blockquote {
    max-width: 790px;
    margin: 0 0 30px;

    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.25vw, 1.85rem);
    font-weight: 600;
    line-height: 1.48;
    letter-spacing: -0.025em;

    color: var(--color-navy);
}

.review footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review footer strong {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--color-navy);
}

.review footer span {
    font-size: 0.8rem;
    color: var(--color-text-light);
}


/* Carousel controls */

.reviews-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding-top: 22px;
    border-top: 1px solid rgba(7, 29, 53, 0.1);
}

.review-arrow {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(7, 29, 53, 0.15);
    border-radius: 50%;

    font-size: 1.1rem;
    color: var(--color-navy);
    background-color: transparent;
    cursor: pointer;

    transition:
        color var(--transition),
        border-color var(--transition),
        background-color var(--transition);
}

.review-arrow:hover {
    color: var(--color-white);
    border-color: var(--color-orange);
    background-color: var(--color-orange);
}

.review-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.review-dot {
    width: 8px;
    height: 8px;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background-color: rgba(7, 29, 53, 0.22);
    cursor: pointer;

    transition:
        width var(--transition),
        border-radius var(--transition),
        background-color var(--transition);
}

.review-dot.is-active {
    width: 24px;
    border-radius: 999px;
    background-color: var(--color-orange);
}


/* ========================================
   GOOGLE REVIEWS — TABLET
======================================== */

@media (max-width: 900px) {
    .reviews-card {
        grid-template-columns: minmax(245px, 36%) 1fr;
    }

    .reviews-sidebar {
        padding: 42px 30px;
    }

    .reviews-carousel {
        padding-inline: 38px;
    }

    .reviews-carousel__viewport {
        min-height: 320px;
    }
}


/* ========================================
   GOOGLE REVIEWS — MOBILE
======================================== */

@media (max-width: 700px) {
    .reviews-section {
        padding: 42px 0 54px;
    }

    .reviews-section .reviews-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        min-height: 0;

        overflow: hidden;
        border-radius: 12px;
    }

    .reviews-section .reviews-sidebar,
    .reviews-section .reviews-carousel {
        width: 100%;
        min-width: 0;
    }

    .reviews-section .reviews-sidebar {
        padding: 34px 24px 38px;
    }

    .reviews-sidebar::after {
        width: 70px;
        height: 70px;
    }

    .reviews-sidebar__logo {
        width: 96px;
    }

    .reviews-sidebar h2 {
        max-width: none;
        font-size: 1.85rem;
        line-height: 1.1;
    }

    .reviews-sidebar > p:not(.reviews-sidebar__eyebrow) {
        max-width: none;
        margin-bottom: 20px;

        font-size: 0.95rem;
        line-height: 1.6;
    }

    .reviews-section .reviews-carousel {
        padding: 34px 24px 26px;
    }

    .reviews-carousel__viewport {
        min-height: 350px;
    }

    .review blockquote {
        font-size: 1.15rem;
        line-height: 1.5;
    }

    .reviews-carousel__controls {
        gap: 12px;
        padding-top: 18px;
    }

    .review-arrow {
        width: 44px;
        height: 44px;
    }
}

/* ========================================
   REVIEWS — COMPACT SIZE OVERRIDES
======================================== */

.reviews-section {
    padding: 48px 0 58px;
}

.reviews-card {
    min-height: 360px;
    grid-template-columns: minmax(250px, 32%) 1fr;
}

.reviews-sidebar {
    padding: 38px 34px;
}

.reviews-sidebar__eyebrow {
    margin-bottom: 16px;
}

.reviews-sidebar__logo {
    width: 92px;
    margin-bottom: 8px;
}

.reviews-sidebar__stars {
    margin-bottom: 14px;
    font-size: 1.1rem;
}

.reviews-sidebar h2 {
    margin-bottom: 10px;
    font-size: clamp(1.65rem, 2.5vw, 2.15rem);
}

.reviews-sidebar > p:not(.reviews-sidebar__eyebrow) {
    margin-bottom: 20px;
    font-size: 0.82rem;
    line-height: 1.55;
}

.reviews-location {
    padding: 8px 13px;
    font-size: 0.72rem;
}

.reviews-carousel {
    padding: 38px clamp(30px, 5vw, 64px) 28px;
}

.reviews-carousel__viewport {
    min-height: 230px;
}

.review__stars {
    margin-bottom: 16px;
    font-size: 1rem;
}

.review blockquote {
    margin-bottom: 22px;
    font-size: clamp(1.15rem, 1.75vw, 1.5rem);
    line-height: 1.45;
}

.reviews-carousel__controls {
    padding-top: 16px;
}

.review-arrow {
    width: 36px;
    height: 36px;
}

/* ========================================
   HERO SKELETON LOADING SCREEN
======================================== */

.hero {
    position: relative;
}

.hero-skeleton {
    position: absolute;
    inset: 0;
    z-index: 50;

    display: flex;
    align-items: center;

    padding: clamp(30px, 8vw, 120px);
    background-color: var(--color-navy, #071d35);

    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transition:
        opacity 450ms ease,
        visibility 450ms ease;
}

.hero-skeleton.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hero-skeleton__content {
    width: min(620px, 80%);
}

.hero-skeleton__line {
    display: block;
    overflow: hidden;

    margin-bottom: 16px;
    border-radius: 7px;

    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.08) 25%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.08) 75%
    );

    background-size: 200% 100%;
    animation: hero-skeleton-shimmer 1.4s ease-in-out infinite;
}

.hero-skeleton__eyebrow {
    width: 145px;
    height: 13px;
    margin-bottom: 24px;
}

.hero-skeleton__title {
    width: 100%;
    height: clamp(38px, 5vw, 58px);
}

.hero-skeleton__title--short {
    width: 68%;
}

.hero-skeleton__text {
    width: 78%;
    height: 17px;
    margin-top: 26px;
}

.hero-skeleton__button {
    width: 175px;
    height: 48px;
    margin-top: 28px;
}

@keyframes hero-skeleton-shimmer {
    from {
        background-position: 200% 0;
    }

    to {
        background-position: -200% 0;
    }
}

@media (max-width: 700px) {
    .hero-skeleton {
        padding: 28px 22px;
    }

    .hero-skeleton__content {
        width: 100%;
    }

    .hero-skeleton__title {
        height: 38px;
    }

    .hero-skeleton__text {
        width: 90%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-skeleton__line {
        animation: none;
    }
}

/* ========================================
   SAN JOSE LOCAL CONTENT
======================================== */

.local-content-section {
    padding: 72px 0 88px;
    overflow: hidden;
    background-color: var(--color-white, #ffffff);
}

.local-content-section h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.local-content-section p {
    margin: 0;
}

.local-content-section .section-eyebrow {
    margin-bottom: 14px;

    font-family: var(--font-heading);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: var(--color-orange, #f26a21);
}


/* ========================================
   LOCAL EXPERTISE
======================================== */

.local-expertise {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: stretch;
    gap: clamp(40px, 6vw, 82px);

    margin-bottom: 64px;
}

.local-expertise__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
}

.local-expertise__content h2 {
    max-width: 680px;
    margin-bottom: 26px;

    font-size: clamp(2rem, 3.5vw, 3.35rem);
    color: var(--color-navy, #071d35);
}

.local-expertise__content > p:not(.section-eyebrow) {
    max-width: 720px;

    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--color-text, #475569);
}

.local-expertise__content > p:not(.section-eyebrow) + p {
    margin-top: 17px;
}

.local-expertise__image {
    position: relative;
    min-height: 470px;
    overflow: hidden;

    border-radius: 16px;
    background-color: #dfe5e9;

    box-shadow: 0 20px 50px rgba(7, 29, 53, 0.14);
}

.local-expertise__image::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;

    width: 82px;
    height: 82px;

    background-color: var(--color-orange, #f26a21);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.local-expertise__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

    transition: transform 600ms ease;
}

.local-expertise__image:hover img {
    transform: scale(1.025);
}


/* ========================================
   ROOF CONDITION
======================================== */

.roof-condition {
    position: relative;
    isolation: isolate;

    display: grid;
    grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(40px, 7vw, 100px);

    margin-bottom: 40px;
    padding: clamp(42px, 6vw, 70px);

    border-radius: 16px;
    color: var(--color-white, #ffffff);
    background-color: var(--color-navy, #071d35);

    box-shadow: 0 20px 50px rgba(7, 29, 53, 0.14);
}

.roof-condition::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;

    width: 120px;
    height: 120px;

    background-color: var(--color-orange, #f26a21);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.roof-condition__heading h2 {
    max-width: 440px;

    font-size: clamp(1.9rem, 3vw, 2.8rem);
    color: var(--color-white, #ffffff);
}

.roof-condition__content {
    padding-left: clamp(0px, 3vw, 42px);
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.roof-condition__content p {
    max-width: 760px;

    font-size: 0.97rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
}

.roof-condition__content p + p {
    margin-top: 20px;
}


/* ========================================
   RECENT PROJECTS
======================================== */

.recent-projects {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    column-gap: clamp(40px, 7vw, 96px);
    row-gap: 26px;

    padding: clamp(38px, 5vw, 58px);

    border: 1px solid rgba(7, 29, 53, 0.1);
    border-radius: 16px;
    background-color: #f7f8fa;
}

.recent-projects__heading h2 {
    margin-bottom: 18px;

    font-size: clamp(1.8rem, 2.8vw, 2.55rem);
    color: var(--color-navy, #071d35);
}

.recent-projects__heading > p:not(.section-eyebrow) {
    max-width: 470px;

    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--color-text, #475569);
}

.recent-projects__list {
    display: flex;
    flex-direction: column;
}

.recent-project {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: start;
    gap: 20px;

    padding: 23px 0;
    border-bottom: 1px solid rgba(7, 29, 53, 0.11);
}

.recent-project:first-child {
    padding-top: 5px;
}

.recent-project__number {
    font-family: var(--font-heading);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;

    color: var(--color-orange, #f26a21);
}

.recent-project__number::after {
    content: "";

    width: 32px;
    height: 2px;
    display: block;
    margin-top: 10px;

    background-color: var(--color-orange, #f26a21);
}

.recent-project p {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 600;
    line-height: 1.55;

    color: var(--color-navy, #071d35);
}

.recent-projects__closing {
    grid-column: 1 / -1;

    padding-top: 24px;
    border-top: 1px solid rgba(7, 29, 53, 0.1);

    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--color-text, #475569);
}


/* ========================================
   SAN JOSE CONTENT — TABLET
======================================== */

@media (max-width: 900px) {
    .local-content-section {
        padding: 58px 0 68px;
    }

    .local-expertise {
        grid-template-columns: 1fr 0.8fr;
        gap: 38px;
        margin-bottom: 48px;
    }

    .local-expertise__image {
        min-height: 520px;
    }

    .roof-condition {
        gap: 40px;
    }

    .recent-projects {
        column-gap: 40px;
    }
}


/* ========================================
   SAN JOSE CONTENT — MOBILE
======================================== */

@media (max-width: 700px) {
    .local-content-section {
        padding: 46px 0 56px;
    }

    .local-expertise {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 38px;
    }

    .local-expertise__content {
        padding: 0;
    }

    .local-expertise__content h2 {
        margin-bottom: 20px;
        font-size: 2.05rem;
    }

    .local-expertise__content > p:not(.section-eyebrow) {
        font-size: 0.93rem;
        line-height: 1.7;
    }

    .local-expertise__image {
        min-height: 300px;
        border-radius: 12px;
    }

    .local-expertise__image::before {
        width: 62px;
        height: 62px;
    }

    .roof-condition {
        grid-template-columns: 1fr;
        gap: 28px;

        margin-bottom: 28px;
        padding: 36px 26px 44px;

        border-radius: 12px;
    }

    .roof-condition::after {
        width: 76px;
        height: 76px;
    }

    .roof-condition__heading h2 {
        font-size: 2rem;
    }

    .roof-condition__content {
        padding-top: 26px;
        padding-left: 0;

        border-top: 1px solid rgba(255, 255, 255, 0.18);
        border-left: 0;
    }

    .roof-condition__content p {
        font-size: 0.92rem;
        line-height: 1.7;
    }

    .recent-projects {
        grid-template-columns: 1fr;
        gap: 26px;

        padding: 34px 24px;
        border-radius: 12px;
    }

    .recent-projects__heading h2 {
        font-size: 1.95rem;
    }

    .recent-project {
        grid-template-columns: 40px 1fr;
        gap: 14px;
    }

    .recent-projects__closing {
        grid-column: auto;
    }
}

/* MOBILE HEADER FIX */
.nav-home {
    display: none;
}

@media (max-width: 900px) {
    .site-header {
        position: absolute;
        width: 100%;
    }

    .site-header__inner {
        min-height: 76px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 10px 18px;
    }

    .site-logo {
        flex-shrink: 0;
    }

    .site-logo img {
        width: auto;
        max-width: 150px;
        max-height: 58px;
        object-fit: contain;
    }

    .header-actions {
        display: flex;
        margin-left: auto;
    }

    .header-estimate-button {
        display: none;
    }

    .menu-toggle {
        width: 48px;
        height: 48px;
        display: grid;
        place-content: center;
        flex-shrink: 0;
        margin-left: auto;
        padding: 10px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 26px;
        height: 2px;
        display: block;
        margin: 3px 0;
        border-radius: 999px;
        background-color: #ffffff;
        transition: transform 180ms ease, opacity 180ms ease;
    }

    .menu-toggle.is-open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 100;

        display: grid;
        gap: 0;

        padding: 8px 20px 18px;
        background: #ffffff;
        color: #071d35;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);

        transition:
            opacity 180ms ease,
            visibility 180ms ease,
            transform 180ms ease;
    }

    .main-navigation.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-navigation__list {
        display: grid;
        gap: 0;
    }

    .main-navigation__list > li:first-child {
        display: none;
    }

    .main-navigation a {
        width: 100%;
        display: block;
        padding: 16px 4px;
        border-bottom: 1px solid rgba(7, 29, 53, 0.12);
        font-size: 1rem;
        color: #071d35;
    }
}

/* ========================================
   ROOFING SERVICE CARDS
======================================== */

.roofing-services-section {
    padding: 80px 0 90px;
    background: #f7f8fa;
}

.roofing-services__heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.roofing-services__heading .section-eyebrow {
    margin: 0 0 12px;

    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: var(--color-orange, #f26a21);
}

.roofing-services__heading h2 {
    margin: 0;

    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;

    color: var(--color-navy, #071d35);
}


/* Card grid */

.roofing-services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 22px;
}


/* Individual card */

.service-card {
    position: relative;
    min-width: 0;
    overflow: hidden;

    padding: 34px 30px 28px;

    border: 1px solid rgba(7, 29, 53, 0.1);
    border-radius: 16px;
    background: #ffffff;

    box-shadow: 0 14px 36px rgba(7, 29, 53, 0.08);

    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(242, 106, 33, 0.35);
    box-shadow: 0 20px 46px rgba(7, 29, 53, 0.13);
}

.service-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: var(--color-orange, #f26a21);
}


/* Featured center card */

.service-card--featured {
    background: var(--color-navy, #071d35);
    border-color: var(--color-navy, #071d35);
    color: #ffffff;
}

.service-card--featured:hover {
    border-color: var(--color-orange, #f26a21);
}

.service-card--featured::before {
    height: 6px;
}


/* Number */

.service-card__number {
    margin-bottom: 30px;

    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;

    color: var(--color-orange, #f26a21);
}

.service-card__number::after {
    content: "";

    display: inline-block;
    width: 34px;
    height: 2px;
    margin-left: 10px;
    vertical-align: middle;

    background: currentColor;
}


/* Card text */

.service-card__label {
    margin: 0 0 13px;

    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.11em;
    text-transform: uppercase;

    color: var(--color-orange, #f26a21);
}

.service-card h3 {
    min-height: 3.7em;
    margin: 0 0 18px;

    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;

    color: var(--color-navy, #071d35);
}

.service-card__summary {
    min-height: 5em;
    margin: 0 0 28px;

    font-size: 0.95rem;
    line-height: 1.7;

    color: var(--color-text, #475569);
}

.service-card--featured h3 {
    color: #ffffff;
}

.service-card--featured .service-card__summary {
    color: rgba(255, 255, 255, 0.76);
}


/* Expandable content */

.service-card__details {
    border-top: 1px solid rgba(7, 29, 53, 0.12);
}

.service-card--featured .service-card__details {
    border-color: rgba(255, 255, 255, 0.16);
}

.service-card__details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    min-height: 58px;
    padding: 10px 0;

    list-style: none;
    cursor: pointer;

    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;

    color: var(--color-navy, #071d35);
}

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

.service-card--featured .service-card__details summary {
    color: #ffffff;
}

.service-card__close-text {
    display: none;
}


/* Plus icon */

.service-card__plus {
    position: relative;

    width: 36px;
    height: 36px;
    flex: 0 0 36px;

    border-radius: 50%;
    background: rgba(242, 106, 33, 0.12);
}

.service-card__plus::before,
.service-card__plus::after {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;

    width: 14px;
    height: 2px;

    border-radius: 2px;
    background: var(--color-orange, #f26a21);

    transform: translate(-50%, -50%);
    transition: transform 180ms ease;
}

.service-card__plus::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.service-card__details[open] .service-card__plus::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.service-card__details[open] .service-card__open-text {
    display: none;
}

.service-card__details[open] .service-card__close-text {
    display: inline;
}


/* Expanded paragraphs */

.service-card__content {
    padding: 4px 0 10px;
}

.service-card__content p {
    margin: 0;

    font-size: 0.91rem;
    line-height: 1.72;

    color: var(--color-text, #475569);
}

.service-card__content p + p {
    margin-top: 18px;
}

.service-card--featured .service-card__content p {
    color: rgba(255, 255, 255, 0.76);
}


/* Keyboard accessibility */

.service-card__details summary:focus-visible {
    outline: 3px solid rgba(242, 106, 33, 0.45);
    outline-offset: 4px;
    border-radius: 4px;
}


/* ========================================
   ROOFING SERVICE CARDS — TABLET
======================================== */

@media (max-width: 1000px) {
    .roofing-services-section {
        padding: 66px 0 74px;
    }

    .roofing-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card:last-child {
        grid-column: 1 / -1;
    }

    .service-card h3,
    .service-card__summary {
        min-height: 0;
    }
}


/* ========================================
   ROOFING SERVICE CARDS — MOBILE
======================================== */

@media (max-width: 700px) {
    .roofing-services-section {
        padding: 50px 0 58px;
    }

    .roofing-services__heading {
        margin-bottom: 30px;
    }

    .roofing-services__heading h2 {
        font-size: 2.05rem;
    }

    .roofing-services__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .service-card,
    .service-card:last-child {
        grid-column: auto;
        padding: 30px 24px 22px;
        border-radius: 12px;
    }

    .service-card:hover {
        transform: none;
    }

    .service-card__number {
        margin-bottom: 24px;
    }

    .service-card h3 {
        min-height: 0;
        font-size: 1.55rem;
    }

    .service-card__summary {
        min-height: 0;
        margin-bottom: 24px;
        font-size: 0.96rem;
    }

    .service-card__details summary {
        min-height: 62px;
        font-size: 0.8rem;
    }

    .service-card__plus {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .service-card__content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}


/* ========================================
   SERVICE AREAS
======================================== */

.service-areas-section {
    padding: 80px 0 88px;
    background: #f7f8fa;
}


/* Heading */

.service-areas__heading {
    max-width: 680px;
    margin: 0 0 34px;
}

.service-areas__eyebrow {
    margin: 0 0 11px;

    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: var(--color-orange, #f26a21);
}

.service-areas__heading h2 {
    margin: 0 0 13px;

    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;

    color: var(--color-navy, #071d35);
}

.service-areas__intro {
    max-width: 600px;
    margin: 0;

    font-size: 1rem;
    line-height: 1.65;

    color: var(--color-text, #475569);
}


/* Four equal cards */

.service-areas__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;

    width: 100%;
    margin: 0;
}

.service-area-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 440px;
    padding: 27px 22px 24px;

    overflow: hidden;

    border: 1px solid rgba(7, 29, 53, 0.1);
    border-radius: 12px;
    background: #ffffff;

    box-shadow: 0 8px 24px rgba(7, 29, 53, 0.055);

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.service-area-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 22px;

    width: 36px;
    height: 3px;

    background: var(--color-orange, #f26a21);
}

.service-area-card:hover {
    transform: translateY(-3px);
    border-color: rgba(242, 106, 33, 0.3);
    box-shadow: 0 13px 30px rgba(7, 29, 53, 0.09);
}


/* County name */

.service-area-card h3 {
    min-height: 48px;
    margin: 0 0 17px;

    font-family: var(--font-heading);
    font-size: 1.34rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;

    color: var(--color-navy, #071d35);
}


/* City list */

.service-area-card__cities {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;

    width: 100%;
    margin: 0;
    padding: 0;

    list-style: none;
}

.service-area-card__cities li {
    min-width: 0;
    border-top: 1px solid rgba(7, 29, 53, 0.085);
}

.service-area-card__cities a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    min-height: 34px;
    padding: 7px 1px;

    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;

    color: var(--color-navy, #071d35);

    transition:
        color 160ms ease,
        padding-left 160ms ease;
}

.service-area-card__arrow {
    flex: 0 0 auto;

    font-size: 0.95rem;
    color: var(--color-orange, #f26a21);

    transition: transform 160ms ease;
}

.service-area-card__cities a:hover {
    padding-left: 5px;
    color: var(--color-orange, #f26a21);
}

.service-area-card__cities a:hover .service-area-card__arrow {
    transform: translateX(3px);
}

.service-area-card__cities a:focus-visible {
    outline: 3px solid rgba(242, 106, 33, 0.38);
    outline-offset: 2px;
    border-radius: 3px;
}


/* ========================================
   SERVICE AREAS — TABLET
======================================== */

@media (max-width: 1000px) {
    .service-areas-section {
        padding: 68px 0 74px;
    }

    .service-areas__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .service-area-card {
        min-height: 420px;
        padding: 28px 25px 24px;
    }

    .service-area-card::before {
        left: 25px;
    }

    .service-area-card h3 {
        min-height: 0;
    }

    .service-area-card__cities a {
        min-height: 38px;
        font-size: 0.9rem;
    }
}


/* ========================================
   SERVICE AREAS — MOBILE
======================================== */

@media (max-width: 700px) {
    .service-areas-section {
        padding: 52px 0 58px;
    }

    .service-areas__heading {
        margin-bottom: 26px;
    }

    .service-areas__heading h2 {
        font-size: 2rem;
    }

    .service-areas__intro {
        font-size: 0.95rem;
    }

    .service-areas__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .service-area-card {
        min-height: 0;
        padding: 27px 22px 21px;
    }

    .service-area-card::before {
        left: 22px;
    }

    .service-area-card:hover {
        transform: none;
    }

    .service-area-card h3 {
        min-height: 0;
        margin-bottom: 17px;
        font-size: 1.4rem;
    }

    .service-area-card__cities a {
        min-height: 44px;
        padding: 9px 1px;
        font-size: 0.94rem;
    }
}

/* ========================================
   ABOUT + WHY CHOOSE US
======================================== */

.roofing-about-section {
    padding: 64px 0;
    overflow: hidden;
    background: #ffffff;
}


/* Main area */

.roofing-about__main {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: clamp(40px, 5vw, 70px);
}

.roofing-about__visual,
.roofing-about__content {
    min-width: 0;
}

.roofing-about__heading {
    margin-bottom: 24px;
}

.roofing-about__heading h2 {
    max-width: 470px;
    margin: 0 0 20px;

    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.75rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.05em;

    color: var(--color-navy, #071d35);
}


/* Quote button */

.roofing-about__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 13px 21px;

    border: 2px solid var(--color-orange, #f26a21);
    border-radius: 5px;
    background: var(--color-orange, #f26a21);

    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;

    color: #ffffff;

    box-shadow: 0 8px 20px rgba(242, 106, 33, 0.18);

    transition:
        transform 180ms ease,
        background-color 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;
}

.roofing-about__button:hover {
    transform: translateY(-2px);
    background: transparent;
    color: var(--color-orange, #f26a21);
    box-shadow: none;
}

.roofing-about__button:focus-visible {
    outline: 3px solid rgba(242, 106, 33, 0.38);
    outline-offset: 4px;
}


/* Main image */

.roofing-about__image {
    display: block;
    width: 100%;
    margin: 0;
    overflow: hidden;

    border-radius: 12px;
    background: #e9edf1;
    box-shadow: 0 15px 36px rgba(7, 29, 53, 0.12);
}

.roofing-about__image--main {
    aspect-ratio: 16 / 10;
    max-height: 390px;
}

.roofing-about__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* About copy */

.roofing-about__content p {
    margin: 0 0 18px;

    font-size: 0.98rem;
    line-height: 1.65;

    color: var(--color-text, #475569);
}

.roofing-about__content p:first-child {
    font-size: 1.04rem;
    color: var(--color-navy, #071d35);
}

.roofing-about__content p:last-child {
    margin-bottom: 0;
}


/* ========================================
   WHY CHOOSE US
======================================== */

.roofing-about__reasons {
    display: grid;
    grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);

    margin-top: 58px;
    overflow: hidden;

    border-radius: 14px;
    background: var(--color-navy, #071d35);

    box-shadow: 0 18px 44px rgba(7, 29, 53, 0.15);
}


/* Supporting image */

.roofing-about__reasons-image {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    background: #dce2e8;
}

.roofing-about__reasons-image::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;
    background: linear-gradient(
        90deg,
        transparent 70%,
        rgba(7, 29, 53, 0.28) 100%
    );
}

.roofing-about__reasons-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Reasons content */

.roofing-about__reasons-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;
    padding: 38px clamp(30px, 4vw, 52px);
}

.roofing-about__reasons-content h3 {
    max-width: 580px;
    margin: 0 0 24px;

    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;

    color: #ffffff;
}


/* Reason list */

.roofing-about__reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;

    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.roofing-about__reason {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    gap: 10px;

    min-width: 0;
    padding: 15px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.roofing-about__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 21px;
    height: 21px;
    margin-top: 1px;

    border-radius: 50%;
    background: var(--color-orange, #f26a21);

    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;

    color: #ffffff;
}

.roofing-about__reason p {
    margin: 0;

    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.5;

    color: rgba(255, 255, 255, 0.86);
}


/* Closing statement */

.roofing-about__closing {
    margin-top: 22px;
    padding: 17px 19px 17px 22px;

    border-left: 4px solid var(--color-orange, #f26a21);
    border-radius: 0 7px 7px 0;
    background: rgba(255, 255, 255, 0.07);
}

.roofing-about__closing p {
    margin: 0;

    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.55;

    color: #ffffff;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 1000px) {
    .roofing-about-section {
        padding: 56px 0;
    }

    .roofing-about__main {
        gap: 36px;
    }

    .roofing-about__reasons {
        grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
        margin-top: 50px;
    }

    .roofing-about__reasons-image {
        min-height: 470px;
    }

    .roofing-about__reasons-content {
        padding: 32px 28px;
    }

    .roofing-about__reasons-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 700px) {
    .roofing-about-section {
        padding: 44px 0;
    }

    .roofing-about__main {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .roofing-about__heading {
        margin-bottom: 20px;
    }

    .roofing-about__heading h2 {
        margin-bottom: 18px;
        font-size: clamp(2.15rem, 10vw, 2.8rem);
    }

    .roofing-about__image--main {
        max-height: none;
    }

    .roofing-about__content p,
    .roofing-about__content p:first-child {
        margin-bottom: 17px;
        font-size: 0.96rem;
        line-height: 1.65;
    }

    .roofing-about__content p:last-child {
        margin-bottom: 0;
    }

    .roofing-about__reasons {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 40px;
        border-radius: 12px;
    }

    .roofing-about__reasons-image {
        min-height: 0;
        aspect-ratio: 16 / 8;
    }

    .roofing-about__reasons-image::after {
        background: linear-gradient(
            180deg,
            transparent 68%,
            rgba(7, 29, 53, 0.35) 100%
        );
    }

    .roofing-about__reasons-content {
        padding: 27px 21px 24px;
    }

    .roofing-about__reasons-content h3 {
        margin-bottom: 20px;
        font-size: 1.75rem;
    }

    .roofing-about__reason {
        padding: 14px 0;
    }

    .roofing-about__closing {
        margin-top: 20px;
    }
}

/* ========================================
   FREQUENTLY ASKED QUESTIONS
======================================== */

.roofing-faq {
    padding: 64px 0;
    background: #f5f5f3;
}


/* Heading */

.roofing-faq__header {
    margin-bottom: 30px;
    text-align: center;
}

.roofing-faq__eyebrow {
    margin: 0 0 8px;

    color: var(--color-orange, #f26a21);

    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.roofing-faq__header h2 {
    margin: 0;

    color: var(--color-navy, #071d35);

    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
}


/* FAQ list */

.roofing-faq__list {
    display: grid;
    gap: 10px;

    width: min(100%, 960px);
    margin: 0 auto;
}

.roofing-faq__item {
    overflow: hidden;

    border: 1px solid #e2e2df;
    border-radius: 8px;
    background: #ffffff;

    transition:
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.roofing-faq__item[open] {
    border-color: var(--color-orange, #f26a21);
    box-shadow: 0 7px 20px rgba(7, 29, 53, 0.07);
}


/* Question */

.roofing-faq__question {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px;
    align-items: center;
    gap: 18px;

    padding: 16px 20px;

    color: var(--color-navy, #071d35);

    font-size: 0.98rem;
    font-weight: 750;
    line-height: 1.35;

    cursor: pointer;
    list-style: none;
}

.roofing-faq__question::-webkit-details-marker {
    display: none;
}

.roofing-faq__question::marker {
    display: none;
}

.roofing-faq__question:hover {
    color: var(--color-orange, #f26a21);
}


/* Plus and minus icon */

.roofing-faq__icon {
    position: relative;

    display: block;
    width: 24px;
    height: 24px;

    border-radius: 50%;
    background: var(--color-orange, #f26a21);
}

.roofing-faq__icon::before,
.roofing-faq__icon::after {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;

    width: 10px;
    height: 2px;

    border-radius: 2px;
    background: #ffffff;

    transform: translate(-50%, -50%);
    transition: transform 180ms ease;
}

.roofing-faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.roofing-faq__item[open] .roofing-faq__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}


/* Answer */

.roofing-faq__answer {
    padding: 0 62px 17px 20px;
}

.roofing-faq__answer p {
    margin: 0;

    color: var(--color-text, #475569);

    font-size: 0.94rem;
    line-height: 1.65;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 700px) {
    .roofing-faq {
        padding: 44px 0;
    }

    .roofing-faq__header {
        margin-bottom: 24px;
        text-align: left;
    }

    .roofing-faq__header h2 {
        font-size: clamp(2rem, 10vw, 2.65rem);
    }

    .roofing-faq__list {
        gap: 8px;
    }

    .roofing-faq__question {
        grid-template-columns: minmax(0, 1fr) 22px;
        gap: 14px;

        padding: 15px 16px;

        font-size: 0.94rem;
    }

    .roofing-faq__icon {
        width: 22px;
        height: 22px;
    }

    .roofing-faq__answer {
        padding: 0 16px 16px;
    }

    .roofing-faq__answer p {
        font-size: 0.91rem;
        line-height: 1.6;
    }
}

/* ========================================
   CERTIFICATIONS + TRUST BADGES
======================================== */

.roofing-badges {
    padding: 64px 0;
    background: #ffffff;
}


/* Heading */

.roofing-badges__header {
    max-width: 650px;
    margin: 0 auto 34px;
    text-align: center;
}

.roofing-badges__eyebrow {
    margin: 0 0 8px;

    color: var(--color-orange, #f26a21);

    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.roofing-badges__header h2 {
    margin: 0 0 12px;

    color: var(--color-navy, #071d35);

    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.roofing-badges__intro {
    margin: 0;

    color: var(--color-text, #475569);

    font-size: 0.98rem;
    line-height: 1.65;
}


/* Badge grid */

.roofing-badges__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.roofing-badges__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    min-width: 0;
    min-height: 215px;
    padding: 24px 16px 18px;

    border: 1px solid #e4e7ea;
    border-radius: 10px;
    background: #f8f9fa;

    text-align: center;

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.roofing-badges__item:hover {
    transform: translateY(-4px);

    border-color: rgba(242, 106, 33, 0.5);
    box-shadow: 0 12px 28px rgba(7, 29, 53, 0.09);
}


/* Badge images */

.roofing-badges__item img {
    display: block;

    width: 100%;
    height: 135px;

    object-fit: contain;
}

.roofing-badges__item--certificate img {
    width: 88%;
}


/* Badge labels */

.roofing-badges__item p {
    margin: 0;

    color: var(--color-navy, #071d35);

    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1.35;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 1000px) {
    .roofing-badges {
        padding: 56px 0;
    }

    .roofing-badges__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .roofing-badges__item {
        min-height: 205px;
    }

    .roofing-badges__item:nth-child(4) {
        grid-column: 1 / 2;
    }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 700px) {
    .roofing-badges {
        padding: 44px 0;
    }

    .roofing-badges__header {
        margin-bottom: 26px;
        text-align: left;
    }

    .roofing-badges__header h2 {
        font-size: clamp(2rem, 10vw, 2.65rem);
    }

    .roofing-badges__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .roofing-badges__item {
        min-height: 175px;
        padding: 18px 12px 15px;
    }

    .roofing-badges__item:nth-child(4) {
        grid-column: auto;
    }

    .roofing-badges__item:last-child {
        grid-column: 1 / -1;
    }

    .roofing-badges__item img {
        height: 105px;
    }

    .roofing-badges__item:last-child img {
        width: min(65%, 190px);
    }

    .roofing-badges__item p {
        font-size: 0.76rem;
    }
}

/* ========================================
   SAN JOSE ROOFING SERVICES
======================================== */

.roofing-services {
    padding: 56px 0;
    background: #f5f5f3;
}


/* Heading */

.roofing-services__header {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
}

.roofing-services__eyebrow {
    margin: 0 0 7px;

    color: var(--color-orange, #f26a21);

    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.roofing-services__header h2 {
    margin: 0;

    color: var(--color-navy, #071d35);

    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
}


/* Five-card layout */

.roofing-services__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px;

    width: 100%;
}


/* Card */

.roofing-services__card,
.roofing-services__card:nth-child(4),
.roofing-services__card:nth-child(5) {
    position: relative;

    display: flex;
    flex-direction: column;
    grid-column: auto;

    min-width: 0;
    height: 350px;
    overflow: hidden;

    border-radius: 8px;
    background: var(--color-navy, #071d35);

    box-shadow: 0 9px 22px rgba(7, 29, 53, 0.15);

    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.roofing-services__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(7, 29, 53, 0.2);
}


/* Image */

.roofing-services__image {
    position: absolute;
    inset: 0 0 auto;
    z-index: 0;

    width: 100%;
    height: 235px;
    overflow: hidden;

    background: #d5dbe1;
}

.roofing-services__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 350ms ease;
}

.roofing-services__card:hover .roofing-services__image img {
    transform: scale(1.035);
}


/* Image-to-blue gradient */

.roofing-services__image::after {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 1;

    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(7, 29, 53, 0) 35%,
        rgba(7, 29, 53, 0.12) 52%,
        rgba(7, 29, 53, 0.72) 78%,
        var(--color-navy, #071d35) 100%
    );
}


/* Content */

.roofing-services__content {
    position: relative;
    z-index: 2;

    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;

    width: 100%;
    margin-top: 175px;
    padding: 16px 16px 16px;

    text-align: left;
}

.roofing-services__content h3 {
    margin: 0 0 7px;

    color: #ffffff;

    font-family: var(--font-heading);
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.01em;
}

.roofing-services__content p {
    margin: 0 0 12px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 0.69rem;
    line-height: 1.4;
}


/* Orange button — rectangular, no outline */

.roofing-services__button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 36px;
    margin-top: auto;
    padding: 10px 12px;

    border: 0;
    border-radius: 4px;
    background: var(--color-orange, #f26a21);

    color: #ffffff;

    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.07em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        background-color 180ms ease,
        transform 180ms ease;
}

.roofing-services__button:hover {
    transform: translateY(-2px);
    background: #d9521d;
    color: #ffffff;
}

.roofing-services__button:focus-visible {
    outline: 3px solid rgba(242, 106, 33, 0.35);
    outline-offset: 2px;
}


/* Tablet */

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


/* Mobile */

@media (max-width: 700px) {
    .roofing-services {
        padding: 44px 0;
    }

    .roofing-services__header {
        margin-bottom: 24px;
        text-align: left;
    }

    .roofing-services__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .roofing-services__card,
    .roofing-services__card:nth-child(4),
    .roofing-services__card:nth-child(5) {
        width: 100%;
        height: 365px;
    }

    .roofing-services__image {
        height: 250px;
    }

    .roofing-services__content {
        margin-top: 185px;
        padding: 17px;
    }

    .roofing-services__content h3 {
        font-size: 1.05rem;
    }

    .roofing-services__content p {
        font-size: 0.78rem;
    }

    .roofing-services__button {
        min-height: 38px;
    }
}

/* ========================================
   FREE QUOTE CTA
======================================== */

.quote-cta {
    padding: 48px 0;
    background: #f5f5f3;
}


/* CTA box */

.quote-cta__box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;

    padding: 42px 48px;

    border-radius: 10px;
    background:
        linear-gradient(
            115deg,
            var(--color-navy, #071d35) 0%,
            #0b2947 100%
        );

    box-shadow: 0 14px 34px rgba(7, 29, 53, 0.16);
}


/* Text content */

.quote-cta__content {
    max-width: 720px;
}

.quote-cta__eyebrow {
    margin: 0 0 8px;

    color: var(--color-orange, #f26a21);

    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.quote-cta__content h2 {
    margin: 0 0 12px;

    color: #ffffff;

    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.65rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.quote-cta__description {
    max-width: 650px;
    margin: 0;

    color: rgba(255, 255, 255, 0.76);

    font-size: 0.92rem;
    line-height: 1.65;
}


/* Button area */

.quote-cta__action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;

    min-width: 220px;
}

.quote-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    width: 100%;
    min-height: 52px;
    padding: 15px 22px;

    border: 0;
    border-radius: 5px;
    background: var(--color-orange, #f26a21);

    color: #ffffff;

    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.07em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);

    transition:
        background-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.quote-cta__button span {
    font-size: 1.15rem;
    line-height: 0;
    transition: transform 180ms ease;
}

.quote-cta__button:hover {
    transform: translateY(-2px);

    background: #d9521d;
    color: #ffffff;

    box-shadow: 0 11px 24px rgba(0, 0, 0, 0.22);
}

.quote-cta__button:hover span {
    transform: translateX(4px);
}

.quote-cta__button:focus-visible {
    outline: 3px solid rgba(242, 106, 33, 0.4);
    outline-offset: 3px;
}

.quote-cta__note {
    margin: 0;

    color: rgba(255, 255, 255, 0.58);

    font-size: 0.7rem;
    line-height: 1.3;
    text-align: center;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {
    .quote-cta__box {
        grid-template-columns: 1fr;
        gap: 26px;

        padding: 38px;
    }

    .quote-cta__action {
        align-items: flex-start;
        min-width: 0;
    }

    .quote-cta__button {
        width: auto;
        min-width: 220px;
    }

    .quote-cta__note {
        width: 220px;
    }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {
    .quote-cta {
        padding: 36px 0;
    }

    .quote-cta__box {
        gap: 24px;
        padding: 30px 22px;

        border-radius: 8px;
    }

    .quote-cta__content h2 {
        font-size: clamp(1.7rem, 8vw, 2.2rem);
    }

    .quote-cta__description {
        font-size: 0.86rem;
    }

    .quote-cta__action {
        width: 100%;
    }

    .quote-cta__button {
        width: 100%;
        min-width: 0;
    }

    .quote-cta__note {
        width: 100%;
    }
}
/* ========================================
   SITE FOOTER
======================================== */

.site-footer {
    padding: 72px 0 0;

    background:
        radial-gradient(
            circle at 15% 0%,
            rgba(242, 106, 33, 0.1),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #071d35 0%,
            #0a2948 100%
        );

    color: #ffffff;
}


/* ========================================
   MAIN LAYOUT
======================================== */

.site-footer__grid {
    display: grid;
    grid-template-columns:
        minmax(220px, 0.85fr)
        minmax(480px, 1.8fr)
        minmax(210px, 0.85fr);
    gap: 54px;

    padding-bottom: 58px;
}


/* ========================================
   COMPANY INFORMATION
======================================== */

.site-footer__company {
    min-width: 0;
}

.site-footer__logo {
    display: inline-block;
    margin-bottom: 24px;
}

.site-footer__logo img {
    display: block;

    width: auto;
    max-width: 220px;
    height: auto;
}

.site-footer__description {
    max-width: 360px;
    margin: 0 0 26px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 0.84rem;
    line-height: 1.75;
}


/* Quote button */

.site-footer__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 14px 22px;

    border: 0;
    border-radius: 4px;
    background: var(--color-orange, #f26a21);

    color: #ffffff;

    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.07em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);

    transition:
        transform 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.site-footer__button:hover {
    transform: translateY(-2px);

    background: #d9521d;
    color: #ffffff;

    box-shadow: 0 11px 24px rgba(0, 0, 0, 0.24);
}


/* ========================================
   COLUMN HEADINGS
======================================== */

.site-footer h2 {
    position: relative;

    margin: 0 0 22px;
    padding-bottom: 12px;

    color: #ffffff;

    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.site-footer h2::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: 0;

    width: 34px;
    height: 3px;

    border-radius: 2px;
    background: var(--color-orange, #f26a21);
}


/* ========================================
   LOCATION LAYOUT
======================================== */

.site-footer__locations {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 42px;

    min-width: 0;
}

.site-footer__location {
    min-width: 0;
}

.site-footer__location h3 {
    margin: 0 0 13px;

    color: #ffffff;

    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.45;
}


/* Clickable address */

.site-footer__location address {
    margin: 0 0 16px;

    font-style: normal;
}

.site-footer__location address a {
    display: inline-block;

    color: rgba(255, 255, 255, 0.72);

    font-size: 0.8rem;
    line-height: 1.65;
    text-decoration: none;

    transition:
        color 180ms ease,
        transform 180ms ease;
}

.site-footer__location address a:hover {
    transform: translateX(3px);
    color: var(--color-orange, #f26a21);
}


/* Phone, website and license */

.site-footer__details {
    margin: 0 0 20px;
    padding: 0;

    list-style: none;
}

.site-footer__details li {
    margin-bottom: 7px;

    color: rgba(255, 255, 255, 0.67);

    font-size: 0.77rem;
    line-height: 1.5;
}

.site-footer__details strong {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
}

.site-footer__details a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;

    transition: color 180ms ease;
}

.site-footer__details a:hover {
    color: var(--color-orange, #f26a21);
}


/* Business hours */

.site-footer__hours {
    padding-top: 15px;

    border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.site-footer__hours p {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;

    margin: 0 0 8px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 0.73rem;
    line-height: 1.45;
}

.site-footer__hours p:last-child {
    margin-bottom: 0;
}

.site-footer__hours strong {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 700;
}

.site-footer__hours span {
    flex-shrink: 0;
    text-align: right;
}


/* ========================================
   SOCIAL MEDIA
======================================== */

.site-footer__socials {
    grid-column: 1 / -1;

    padding-top: 24px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__socials h2 {
    margin-bottom: 17px;
}

.site-footer__social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 11px;
}

.site-footer__social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.07);

    text-decoration: none;

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease;
}

.site-footer__social-links a:hover {
    transform: translateY(-3px);

    border-color: var(--color-orange, #f26a21);
    background: var(--color-orange, #f26a21);
}

.site-footer__social-links img {
    display: block;

    width: 20px;
    height: 20px;

    object-fit: contain;
    filter: brightness(0) invert(1);
}


/* ========================================
   RECENT BLOGS
======================================== */

.site-footer__blogs {
    min-width: 0;
}

.site-footer__blog-list {
    margin: 0;
    padding: 0;

    list-style: none;
}

.site-footer__blog-list li {
    margin: 0;
    padding: 0 0 18px;
}

.site-footer__blog-list li + li {
    padding-top: 18px;

    border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.site-footer__blog-list li > a:first-child {
    display: block;
    margin-bottom: 7px;

    color: rgba(255, 255, 255, 0.87);

    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;

    transition: color 180ms ease;
}

.site-footer__blog-list li > a:first-child:hover {
    color: var(--color-orange, #f26a21);
}


/* Generated Read More links */

.site-footer__read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: var(--color-orange, #f26a21);

    font-size: 0.67rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.07em;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        color 180ms ease,
        gap 180ms ease;
}

.site-footer__read-more:hover {
    gap: 10px;
    color: #ffffff;
}


/* Empty/loading blog message */

.site-footer__blog-message {
    margin: 0;

    color: rgba(255, 255, 255, 0.65);

    font-size: 0.8rem;
    line-height: 1.6;
}

.site-footer__blog-message a {
    color: var(--color-orange, #f26a21);
    text-decoration: none;
}


/* ========================================
   COPYRIGHT
======================================== */

.site-footer__bottom {
    display: flex;
    align-items: center;

    min-height: 70px;
    padding: 20px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.5);

    font-size: 0.7rem;
    line-height: 1.5;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;

    width: 100%;
    min-height: 70px;
    padding: 20px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__bottom-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 22px;
}

.site-footer__bottom-left p {
    margin: 0;

    color: rgba(255, 255, 255, 0.55);

    font-size: 0.72rem;
    line-height: 1.5;
}

.site-footer__bottom-left > a {
    color: var(--color-orange, #f26a21);

    font-size: 0.72rem;
    text-decoration: none;
}

.site-footer__bottom-left > a:hover {
    color: #ffffff;
}

.site-footer__bottom-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 18px 42px;
}

.site-footer__bottom-nav a {
    color: rgba(255, 255, 255, 0.82);

    font-size: 0.78rem;
    text-decoration: none;

    transition: color 180ms ease;
}

.site-footer__bottom-nav a:hover {
    color: var(--color-orange, #f26a21);
}

@media (max-width: 900px) {
    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .site-footer__bottom-nav {
        justify-content: flex-start;
        gap: 12px 26px;
    }
}
/* ========================================
   ACCESSIBILITY
======================================== */

.site-footer a:focus-visible {
    outline: 3px solid rgba(242, 106, 33, 0.5);
    outline-offset: 3px;
}


/* ========================================
   SMALL DESKTOP / TABLET
======================================== */

@media (max-width: 1100px) {
    .site-footer__grid {
        grid-template-columns: minmax(210px, 0.8fr) minmax(0, 1.7fr);
        gap: 48px;
    }

    .site-footer__blogs {
        grid-column: 1 / -1;

        display: grid;
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 35px;

        padding-top: 38px;

        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .site-footer__blogs h2 {
        margin: 0;
    }

    .site-footer__blog-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }

    .site-footer__blog-list li,
    .site-footer__blog-list li + li {
        padding: 0 0 0 20px;

        border-top: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.11);
    }
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 800px) {
    .site-footer {
        padding-top: 56px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .site-footer__company {
        max-width: 520px;
    }

    .site-footer__blogs {
        grid-column: auto;
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .site-footer__blog-list {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .site-footer__blog-list li,
    .site-footer__blog-list li + li {
        padding: 17px 0;

        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.11);
    }

    .site-footer__blog-list li:first-child {
        padding-top: 0;
        border-top: 0;
    }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 580px) {
    .site-footer {
        padding-top: 46px;
    }

    .site-footer__grid {
        gap: 40px;
        padding-bottom: 42px;
    }

    .site-footer__logo img {
        max-width: 190px;
    }

    .site-footer__description {
        font-size: 0.82rem;
    }

    .site-footer__locations {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .site-footer__socials {
        grid-column: auto;
    }

    .site-footer__hours {
        max-width: 310px;
    }

    .site-footer__social-links a {
        width: 44px;
        height: 44px;
    }

    .site-footer__bottom {
        min-height: 0;
        padding: 22px 0;
    }
}

/* ========================================
   BLOG PAGE
   Add this to the bottom of style.css
======================================== */


/* ========================================
   PAGE FOUNDATION
======================================== */

body {
    min-height: 100vh;
}

.blog-page {
    padding: 76px 0 96px;

    background:
        linear-gradient(
            180deg,
            #f5f7f9 0%,
            #ffffff 260px
        );

    color: #172233;
}


/* ========================================
   BLOG HERO
======================================== */

.blog-hero {
    position: relative;
    overflow: hidden;

    padding: 58px 0 68px;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(242, 106, 33, 0.18),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #071d35 0%,
            #0b3155 100%
        );

    color: #ffffff;
}

.blog-hero::after {
    content: "";

    position: absolute;
    right: -130px;
    bottom: -190px;

    width: 430px;
    height: 430px;

    border: 70px solid rgba(255, 255, 255, 0.025);
    border-radius: 50%;

    pointer-events: none;
}

.blog-hero .container {
    position: relative;
    z-index: 1;
}


/* Breadcrumbs */

.blog-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;

    margin-bottom: 34px;

    color: rgba(255, 255, 255, 0.57);

    font-size: 0.72rem;
    line-height: 1.5;
}

.blog-breadcrumbs a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;

    transition: color 180ms ease;
}

.blog-breadcrumbs a:hover {
    color: var(--color-orange, #f26a21);
}


/* Hero category */

.blog-hero__category {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin: 0 0 17px;

    color: var(--color-orange, #f26a21);

    font-size: 0.73rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.blog-hero__category::before {
    content: "";

    width: 28px;
    height: 3px;

    border-radius: 3px;
    background: currentColor;
}


/* Hero title */

.blog-hero h1 {
    max-width: 880px;
    margin: 0 0 20px;

    color: #ffffff;

    font-family: var(--font-heading, inherit);
    font-size: clamp(2.25rem, 5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.blog-hero__description {
    max-width: 720px;
    margin: 0;

    color: rgba(255, 255, 255, 0.72);

    font-size: clamp(1rem, 1.7vw, 1.18rem);
    line-height: 1.75;
}


/* Date and reading time */

.blog-hero__details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;

    margin-top: 28px;

    color: rgba(255, 255, 255, 0.59);

    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.5;
}


/* ========================================
   ARTICLE AND SIDEBAR LAYOUT
======================================== */

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
    align-items: start;
    gap: clamp(38px, 6vw, 78px);
}

.blog-article {
    min-width: 0;
}


/* ========================================
   FEATURED IMAGE
======================================== */

.blog-article__featured-image {
    position: relative;
    overflow: hidden;

    margin: 0 0 46px;

    border-radius: 8px;
    background: #dce3e8;

    box-shadow: 0 18px 45px rgba(7, 29, 53, 0.13);
}

.blog-article__featured-image::after {
    content: "";

    position: absolute;
    inset: 0;

    border: 1px solid rgba(7, 29, 53, 0.08);
    border-radius: inherit;

    pointer-events: none;
}

.blog-article__featured-image img {
    display: block;

    width: 100%;
    aspect-ratio: 16 / 8.5;

    object-fit: cover;
}


/* ========================================
   ARTICLE TYPOGRAPHY
======================================== */

.blog-article__content {
    max-width: 790px;
}

.blog-article__content p {
    margin: 0 0 24px;

    color: #485567;

    font-size: 1rem;
    line-height: 1.88;
}

.blog-article__content .blog-article__introduction {
    margin-bottom: 40px;
    padding-left: 24px;

    border-left: 4px solid var(--color-orange, #f26a21);

    color: #26364a;

    font-size: clamp(1.08rem, 2vw, 1.28rem);
    font-weight: 600;
    line-height: 1.75;
}

.blog-article__content h2 {
    position: relative;

    margin: 48px 0 19px;
    padding-bottom: 13px;

    color: #071d35;

    font-family: var(--font-heading, inherit);
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.blog-article__content h2::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: 0;

    width: 38px;
    height: 3px;

    border-radius: 3px;
    background: var(--color-orange, #f26a21);
}

.blog-article__content h3 {
    margin: 34px 0 15px;

    color: #0a2948;

    font-family: var(--font-heading, inherit);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.35;
}


/* Article lists */

.blog-article__content ul,
.blog-article__content ol {
    margin: 8px 0 30px;
    padding-left: 0;

    list-style: none;
    counter-reset: blog-list;
}

.blog-article__content li {
    position: relative;

    margin-bottom: 13px;
    padding-left: 30px;

    color: #485567;

    font-size: 0.98rem;
    line-height: 1.7;
}

.blog-article__content ul li::before {
    content: "";

    position: absolute;
    top: 0.68em;
    left: 5px;

    width: 8px;
    height: 8px;

    border-radius: 50%;
    background: var(--color-orange, #f26a21);

    box-shadow: 0 0 0 5px rgba(242, 106, 33, 0.12);
}

.blog-article__content ol li {
    counter-increment: blog-list;
}

.blog-article__content ol li::before {
    content: counter(blog-list);

    position: absolute;
    top: 0.08em;
    left: 0;

    color: var(--color-orange, #f26a21);

    font-weight: 800;
}


/* Links inside article */

.blog-article__content > p a,
.blog-article__content li a {
    color: #d9521d;
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}


/* ========================================
   ARTICLE IMAGES
======================================== */

.blog-article__image {
    margin: 44px 0;
}

.blog-article__image img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 7px;

    box-shadow: 0 14px 35px rgba(7, 29, 53, 0.11);
}

.blog-article__image figcaption {
    margin-top: 12px;

    color: #758092;

    font-size: 0.75rem;
    font-style: italic;
    line-height: 1.6;
}


/* ========================================
   ARTICLE CALLOUT
======================================== */

.blog-callout {
    position: relative;
    overflow: hidden;

    margin: 52px 0;
    padding: 38px 40px;

    border-left: 5px solid var(--color-orange, #f26a21);
    border-radius: 7px;
    background:
        linear-gradient(
            135deg,
            #071d35 0%,
            #0c355b 100%
        );

    box-shadow: 0 18px 40px rgba(7, 29, 53, 0.16);
}

.blog-callout::after {
    content: "";

    position: absolute;
    right: -50px;
    bottom: -70px;

    width: 180px;
    height: 180px;

    border: 34px solid rgba(255, 255, 255, 0.035);
    border-radius: 50%;

    pointer-events: none;
}

.blog-callout h2 {
    position: relative;
    z-index: 1;

    margin: 0 0 13px;
    padding: 0;

    color: #ffffff;

    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.blog-callout h2::after {
    display: none;
}

.blog-callout p {
    position: relative;
    z-index: 1;

    max-width: 560px;
    margin-bottom: 23px;

    color: rgba(255, 255, 255, 0.72);
}

.blog-callout__button {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 14px 22px;

    border-radius: 4px;
    background: var(--color-orange, #f26a21);

    color: #ffffff;

    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.07em;
    text-decoration: none;
    text-transform: uppercase;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);

    transition:
        transform 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.blog-callout__button:hover {
    transform: translateY(-2px);

    background: #d9521d;
    color: #ffffff;

    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.24);
}


/* ========================================
   ARTICLE CLOSING
======================================== */

.blog-article__closing {
    margin-top: 52px;
    padding-top: 30px;

    border-top: 1px solid #dce2e8;
}

.blog-article__closing p {
    margin: 0;

    color: #26364a;

    font-weight: 700;
}


/* ========================================
   CONTINUE READING SIDEBAR
======================================== */

.blog-sidebar {
    min-width: 0;
}

.blog-sidebar__inner {
    position: sticky;
    top: 30px;

    padding: 30px;

    border: 1px solid #e0e5e9;
    border-top: 5px solid var(--color-orange, #f26a21);
    border-radius: 7px;
    background: #ffffff;

    box-shadow: 0 15px 40px rgba(7, 29, 53, 0.09);
}

.blog-sidebar__eyebrow {
    margin: 0 0 8px;

    color: var(--color-orange, #f26a21);

    font-size: 0.67rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.blog-sidebar__inner > h2 {
    margin: 0 0 24px;

    color: #071d35;

    font-family: var(--font-heading, inherit);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}


/* Automatically generated blog list */

.blog-sidebar__list {
    margin: 0 0 24px;
    padding: 0;

    list-style: none;
}

.blog-sidebar__list li {
    margin: 0;
    padding: 18px 0;

    border-top: 1px solid #e5e9ed;
}

.blog-sidebar__list li:first-child {
    padding-top: 0;
    border-top: 0;
}

.blog-sidebar__list li:last-child {
    padding-bottom: 0;
}

.blog-sidebar__list li > a:first-child {
    display: block;

    color: #172b42;

    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.5;
    text-decoration: none;

    transition:
        color 180ms ease,
        transform 180ms ease;
}

.blog-sidebar__list li > a:first-child:hover {
    transform: translateX(3px);
    color: var(--color-orange, #f26a21);
}


/* Optional generated Read More link */

.blog-sidebar__list .site-footer__read-more,
.blog-sidebar__list .blog-sidebar__read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-top: 9px;

    color: var(--color-orange, #f26a21);

    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-decoration: none;
    text-transform: uppercase;
}


/* View all blogs */

.blog-sidebar__all-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    margin-top: 25px;
    padding-top: 20px;

    border-top: 1px solid #e0e5e9;

    color: #071d35;

    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;

    transition: color 180ms ease;
}

.blog-sidebar__all-link span {
    color: var(--color-orange, #f26a21);
    font-size: 1.2rem;

    transition: transform 180ms ease;
}

.blog-sidebar__all-link:hover {
    color: var(--color-orange, #f26a21);
}

.blog-sidebar__all-link:hover span {
    transform: translateX(4px);
}


/* Loading or unavailable message */

.blog-sidebar__list .blog-sidebar__message,
.blog-sidebar__list .site-footer__blog-message {
    color: #697587;

    font-size: 0.82rem;
    line-height: 1.6;
}


/* ========================================
   ACCESSIBILITY
======================================== */

.blog-page a:focus-visible,
.blog-hero a:focus-visible {
    outline: 3px solid rgba(242, 106, 33, 0.45);
    outline-offset: 3px;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 950px) {
    .blog-page {
        padding: 64px 0 78px;
    }

    .blog-layout {
        grid-template-columns: 1fr;
        gap: 58px;
    }

    .blog-article__content {
        max-width: none;
    }

    .blog-sidebar__inner {
        position: static;

        padding: 30px;
    }

    .blog-sidebar__list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0 24px;
    }

    .blog-sidebar__list li,
    .blog-sidebar__list li:first-child {
        padding: 0 0 0 20px;

        border-top: 0;
        border-left: 1px solid #e0e5e9;
    }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 650px) {
    .blog-hero {
        padding: 42px 0 50px;
    }

    .blog-breadcrumbs {
        margin-bottom: 26px;
    }

    .blog-hero h1 {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .blog-page {
        padding: 44px 0 62px;
    }

    .blog-article__featured-image {
        margin-bottom: 36px;
        border-radius: 5px;
    }

    .blog-article__featured-image img {
        aspect-ratio: 4 / 3;
    }

    .blog-article__content p {
        font-size: 0.96rem;
        line-height: 1.8;
    }

    .blog-article__content .blog-article__introduction {
        padding-left: 18px;

        font-size: 1.04rem;
    }

    .blog-article__content h2 {
        margin-top: 40px;
    }

    .blog-callout {
        margin: 42px 0;
        padding: 30px 25px;
    }

    .blog-sidebar__inner {
        padding: 25px;
    }

    .blog-sidebar__list {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .blog-sidebar__list li,
    .blog-sidebar__list li:first-child {
        padding: 17px 0;

        border-left: 0;
        border-top: 1px solid #e0e5e9;
    }

    .blog-sidebar__list li:first-child {
        padding-top: 0;
        border-top: 0;
    }
}

.blog-template .blog-hero--below-transparent-header {
    padding-top: 175px;
}

@media (max-width: 650px) {
    .blog-template .blog-hero--below-transparent-header {
        padding-top: 135px;
    }
}