/* =====================================================
   ROOFING INDUSTRY HERO SECTION
===================================================== */

.cv-roofing-hero {
    --cv-navy: #132855;
    --cv-dark-navy: #0D1C45;
    --cv-gold: #C9A25B;
    --cv-oak: #B88558;
    --cv-ivory: #F8F7F4;
    --cv-beige: #E7E1D8;
    --cv-charcoal: #1E1E1E;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 145px 0 125px;
    background:
        radial-gradient(
            circle at 82% 32%,
            rgba(201, 162, 91, 0.24),
            transparent 29%
        ),
        radial-gradient(
            circle at 12% 85%,
            rgba(19, 40, 85, 0.09),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            var(--cv-ivory) 48%,
            #f1ece4 100%
        );
}

.cv-roofing-container {
    position: relative;
    z-index: 5;
    width: min(1420px, calc(100% - 80px));
    margin: 0 auto;
}

.cv-roofing-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.05fr);
    align-items: center;
    gap: 85px;
}

/* =====================================================
   BACKGROUND DECORATION
===================================================== */

.cv-roofing-grid {
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: 0.42;
    pointer-events: none;
    background-image:
        linear-gradient(
            rgba(19, 40, 85, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(19, 40, 85, 0.045) 1px,
            transparent 1px
        );
    background-size: 58px 58px;
    mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.9),
        transparent 95%
    );
}

.cv-roofing-glow {
    position: absolute;
    z-index: -2;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
}

.cv-roofing-glow-one {
    width: 520px;
    height: 520px;
    top: -210px;
    right: -120px;
    border: 1px solid rgba(201, 162, 91, 0.23);
    box-shadow:
        0 0 0 55px rgba(201, 162, 91, 0.045),
        0 0 0 115px rgba(201, 162, 91, 0.025);
}

.cv-roofing-glow-two {
    width: 240px;
    height: 240px;
    left: -100px;
    bottom: -75px;
    background: rgba(19, 40, 85, 0.08);
    filter: blur(30px);
}

/* =====================================================
   LEFT CONTENT
===================================================== */

.cv-roofing-content {
    position: relative;
    z-index: 4;
}

.cv-roofing-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
    color: var(--cv-oak);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.cv-roofing-eyebrow-line {
    display: block;
    width: 48px;
    height: 2px;
    flex: 0 0 48px;
    background: linear-gradient(
        90deg,
        var(--cv-gold),
        var(--cv-oak)
    );
}

.cv-roofing-eyebrow b {
    margin: 0 7px;
    color: var(--cv-navy);
    font-weight: 700;
}

.cv-roofing-title {
    max-width: 780px;
    margin: 0;
    color: var(--cv-navy);
    font-size: clamp(52px, 4.05vw, 82px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -3.2px;
}

.cv-roofing-title span {
    display: inline-block;
    color: var(--cv-oak);
    background: linear-gradient(
        90deg,
        var(--cv-oak),
        var(--cv-gold)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cv-roofing-description {
    max-width: 710px;
    margin: 30px 0 0;
    color: #4f5b6e;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.75;
}

/* =====================================================
   BUTTONS
===================================================== */

.cv-roofing-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 38px;
}

.cv-roofing-btn {
    min-height: 66px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 10px 14px 10px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease;
}

.cv-roofing-btn:hover {
    transform: translateY(-4px);
}

.cv-roofing-btn-primary {
    color: #ffffff;
    border: 1px solid var(--cv-navy);
    background:
        linear-gradient(
            135deg,
            var(--cv-navy),
            var(--cv-dark-navy)
        );
    box-shadow:
        0 18px 36px rgba(13, 28, 69, 0.2);
}

.cv-roofing-btn-primary:hover {
    color: #ffffff;
    box-shadow:
        0 23px 45px rgba(13, 28, 69, 0.29);
}

.cv-roofing-btn-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--cv-gold),
            var(--cv-oak)
        );
    transition: transform 0.35s ease;
}

.cv-roofing-btn-primary:hover .cv-roofing-btn-icon {
    transform: rotate(-35deg);
}

.cv-roofing-btn-outline {
    padding-right: 27px;
    color: var(--cv-navy);
    border: 1px solid rgba(19, 40, 85, 0.33);
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(12px);
}

.cv-roofing-btn-outline i {
    color: var(--cv-oak);
    transition: transform 0.35s ease;
}

.cv-roofing-btn-outline:hover {
    color: #ffffff;
    border-color: var(--cv-oak);
    background: var(--cv-oak);
    box-shadow:
        0 18px 35px rgba(184, 133, 88, 0.2);
}

.cv-roofing-btn-outline:hover i {
    color: #ffffff;
    transform: translateX(5px);
}

/* =====================================================
   BADGES
===================================================== */

.cv-roofing-badges {
    margin-top: 40px;
}

.cv-roofing-badge {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 8px 17px 8px 9px;
    border: 1px solid rgba(19, 40, 85, 0.13);
    border-radius: 14px;
    color: var(--cv-navy);
    background: rgba(255, 255, 255, 0.5);
    box-shadow:
        0 12px 28px rgba(19, 40, 85, 0.055);
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 600;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.cv-roofing-badge:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 162, 91, 0.65);
    box-shadow:
        0 16px 35px rgba(19, 40, 85, 0.1);
}

.cv-roofing-badge-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--cv-gold);
    background: var(--cv-navy);
    font-size: 14px;
}

/* =====================================================
   RIGHT VISUAL
===================================================== */

.cv-roofing-visual {
    position: relative;
    z-index: 3;
    min-width: 0;
    padding: 30px 20px 40px;
}

.cv-roofing-visual-frame {
    position: relative;
    z-index: 3;
    overflow: hidden;
    padding: 18px;
    border: 1px solid rgba(201, 162, 91, 0.38);
    border-radius: 28px;
    background:
        linear-gradient(
            145deg,
            rgba(19, 40, 85, 0.98),
            rgba(13, 28, 69, 1)
        );
    box-shadow:
        0 38px 80px rgba(13, 28, 69, 0.27),
        0 10px 25px rgba(13, 28, 69, 0.18);
}

.cv-roofing-visual-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(201, 162, 91, 0.19),
            transparent 28%
        );
}

.cv-roofing-frame-top,
.cv-roofing-frame-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cv-roofing-frame-top {
    padding: 5px 5px 17px;
    font-size: 11px;
}

.cv-roofing-frame-bottom {
    padding: 17px 5px 4px;
    font-size: 10px;
}

.cv-roofing-frame-number {
    color: var(--cv-gold);
    font-weight: 700;
}

.cv-roofing-frame-label {
    text-align: right;
}

.cv-roofing-image-wrap {
    position: relative;
    overflow: hidden;
    height: 515px;
    border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            #243c6d,
            var(--cv-dark-navy)
        );
}

.cv-roofing-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition:
        transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
        filter 0.8s ease;
}

.cv-roofing-visual-frame:hover .cv-roofing-image {
    transform: scale(1.045);
}

.cv-roofing-image-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            to top,
            rgba(13, 28, 69, 0.93) 0%,
            rgba(13, 28, 69, 0.18) 46%,
            rgba(13, 28, 69, 0.08) 100%
        );
}

.cv-roofing-image-caption {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 26px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #ffffff;
}

.cv-roofing-image-caption span {
    color: var(--cv-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cv-roofing-image-caption strong {
    max-width: 450px;
    font-size: 24px;
    line-height: 1.3;
}

/* =====================================================
   FLOATING CARDS
===================================================== */

.cv-roofing-floating-card {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 205px;
    padding: 15px 18px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow:
        0 20px 45px rgba(13, 28, 69, 0.18);
    backdrop-filter: blur(18px);
    animation: cvRoofingFloat 4.5s ease-in-out infinite;
}

.cv-roofing-card-one {
    top: 3px;
    right: -15px;
}

.cv-roofing-card-two {
    left: -22px;
    bottom: 12px;
    animation-delay: -2.2s;
}

.cv-roofing-floating-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--cv-gold),
            var(--cv-oak)
        );
}

.cv-roofing-floating-card div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cv-roofing-floating-card small {
    color: #738096;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cv-roofing-floating-card strong {
    color: var(--cv-navy);
    font-size: 14px;
    font-weight: 700;
}

.cv-roofing-status-dot {
    position: relative;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: #57a875;
    box-shadow: 0 0 0 5px rgba(87, 168, 117, 0.14);
}

.cv-roofing-status-dot::after {
    content: "";
    position: absolute;
    inset: -7px;
    border: 1px solid rgba(87, 168, 117, 0.35);
    border-radius: 50%;
    animation: cvRoofingPulse 2s infinite;
}

/* =====================================================
   ORBIT DECORATIONS
===================================================== */

.cv-roofing-orbit {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(201, 162, 91, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.cv-roofing-orbit-one {
    width: 520px;
    height: 520px;
    top: -45px;
    right: -55px;
}

.cv-roofing-orbit-two {
    width: 640px;
    height: 640px;
    top: -105px;
    right: -115px;
    border-color: rgba(19, 40, 85, 0.08);
}

/* =====================================================
   BOTTOM SHAPE
===================================================== */

.cv-roofing-bottom-shape {
    position: absolute;
    z-index: 1;
    left: -3%;
    right: -3%;
    bottom: -110px;
    height: 155px;
    border-top: 5px solid var(--cv-gold);
    border-radius: 50% 50% 0 0;
    background:
        linear-gradient(
            135deg,
            var(--cv-dark-navy),
            var(--cv-navy)
        );
}

/* =====================================================
   ANIMATIONS
===================================================== */

@keyframes cvRoofingFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes cvRoofingPulse {
    0% {
        transform: scale(0.7);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1250px) {

    .cv-roofing-hero {
        padding: 130px 0 115px;
    }

    .cv-roofing-container {
        width: min(100% - 50px, 1180px);
    }

    .cv-roofing-layout {
        grid-template-columns: minmax(0, 1fr) minmax(430px, 0.95fr);
        gap: 50px;
    }

    .cv-roofing-title {
        font-size: clamp(48px, 5vw, 68px);
    }

    .cv-roofing-description {
        font-size: 18px;
    }

    .cv-roofing-image-wrap {
        height: 465px;
    }
}

@media (max-width: 991px) {

    .cv-roofing-hero {
        padding: 115px 0 120px;
    }

    .cv-roofing-container {
        width: min(100% - 40px, 760px);
    }

    .cv-roofing-layout {
        grid-template-columns: 1fr;
        gap: 65px;
    }

    .cv-roofing-content {
        text-align: center;
    }

    .cv-roofing-eyebrow,
    .cv-roofing-buttons,
    .cv-roofing-badges {
        justify-content: center;
    }

    .cv-roofing-title,
    .cv-roofing-description {
        margin-left: auto;
        margin-right: auto;
    }

    .cv-roofing-title {
        font-size: clamp(48px, 7vw, 68px);
    }

    .cv-roofing-visual {
        max-width: 720px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {

    .cv-roofing-hero {
        padding: 100px 0 105px;
    }

    .cv-roofing-container {
        width: min(100% - 28px, 620px);
    }

    .cv-roofing-eyebrow {
        align-items: flex-start;
        font-size: 11px;
        letter-spacing: 2px;
    }

    .cv-roofing-eyebrow-line {
        width: 30px;
        flex-basis: 30px;
        margin-top: 7px;
    }

    .cv-roofing-title {
        font-size: clamp(39px, 11vw, 54px);
        line-height: 1.08;
        letter-spacing: -2px;
    }

    .cv-roofing-title br {
        display: none;
    }

    .cv-roofing-description {
        margin-top: 23px;
        font-size: 17px;
        line-height: 1.7;
    }

    .cv-roofing-buttons {
        flex-direction: column;
        align-items: stretch;
        margin-top: 30px;
    }

    .cv-roofing-btn {
        width: 100%;
    }

    .cv-roofing-badges {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 32px;
    }

    .cv-roofing-badge {
        justify-content: flex-start;
    }

    .cv-roofing-visual {
        padding: 20px 0 45px;
    }

    .cv-roofing-visual-frame {
        padding: 11px;
        border-radius: 20px;
    }

    .cv-roofing-image-wrap {
        height: 390px;
        border-radius: 14px;
    }

    .cv-roofing-frame-top,
    .cv-roofing-frame-bottom {
        letter-spacing: 1.2px;
    }

    .cv-roofing-floating-card {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: calc(100% - 30px);
        min-width: 0;
        margin: -18px auto 0;
    }

    .cv-roofing-card-one {
        display: none;
    }

    .cv-roofing-card-two {
        animation-delay: 0s;
    }

    .cv-roofing-image-caption {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .cv-roofing-image-caption strong {
        font-size: 20px;
    }

    .cv-roofing-orbit {
        display: none;
    }
}

@media (max-width: 480px) {

    .cv-roofing-hero {
        padding-top: 90px;
    }

    .cv-roofing-title {
        font-size: 39px;
    }

    .cv-roofing-description {
        font-size: 16px;
    }

    .cv-roofing-btn {
        min-height: 61px;
        padding-left: 20px;
        font-size: 15px;
    }

    .cv-roofing-image-wrap {
        height: 330px;
    }

    .cv-roofing-frame-label {
        display: none;
    }

    .cv-roofing-frame-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {

    .cv-roofing-floating-card,
    .cv-roofing-status-dot::after {
        animation: none;
    }

    .cv-roofing-image,
    .cv-roofing-btn,
    .cv-roofing-badge {
        transition: none;
    }
}

/* =====================================================
   INDUSTRY STATS SECTION
===================================================== */

.cv-industry-stats {
    --cv-stat-navy: #132855;
    --cv-stat-dark-navy: #0D1C45;
    --cv-stat-gold: #C9A25B;
    --cv-stat-oak: #B88558;
    --cv-stat-ivory: #F8F7F4;
    --cv-stat-beige: #E7E1D8;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 0;
    background:
        linear-gradient(
            135deg,
            var(--cv-stat-dark-navy),
            var(--cv-stat-navy)
        );
}

.cv-industry-stats-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 10% 50%,
            rgba(201, 162, 91, 0.13),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 50%,
            rgba(201, 162, 91, 0.1),
            transparent 26%
        );
}

.cv-industry-stats-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.16;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px
        );
    background-size: 54px 54px;
}

.cv-industry-stats-container {
    width: min(1450px, calc(100% - 60px));
    margin: 0 auto;
}

.cv-industry-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.cv-industry-stat-card {
    position: relative;
    min-height: 270px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 42px 24px;
    text-align: center;
    transition:
        background 0.4s ease,
        transform 0.4s ease;
}

.cv-industry-stat-card:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.cv-industry-stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 3px;
    transform: translateX(-50%);
    background:
        linear-gradient(
            90deg,
            var(--cv-stat-oak),
            var(--cv-stat-gold)
        );
    transition: width 0.45s ease;
}

.cv-industry-stat-card::after {
    content: "";
    position: absolute;
    inset: 16px;
    z-index: -1;
    border: 1px solid transparent;
    border-radius: 22px;
    transition:
        border-color 0.4s ease,
        background 0.4s ease,
        box-shadow 0.4s ease;
}

.cv-industry-stat-card:hover {
    transform: translateY(-5px);
}

.cv-industry-stat-card:hover::before {
    width: 72px;
}

.cv-industry-stat-card:hover::after {
    border-color: rgba(201, 162, 91, 0.22);
    background: rgba(255, 255, 255, 0.035);
    box-shadow:
        inset 0 0 35px rgba(201, 162, 91, 0.04);
}

/* Icon */

.cv-industry-stat-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border: 1px solid rgba(201, 162, 91, 0.45);
    border-radius: 17px;
    color: var(--cv-stat-gold);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.09),
            rgba(255, 255, 255, 0.025)
        );
    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    font-size: 21px;
    transform: rotate(-4deg);
    transition:
        transform 0.4s ease,
        color 0.4s ease,
        background 0.4s ease;
}

.cv-industry-stat-card:hover .cv-industry-stat-icon {
    transform: rotate(0deg) translateY(-3px);
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--cv-stat-gold),
            var(--cv-stat-oak)
        );
}

/* Number */

.cv-industry-stat-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    color: #ffffff;
    font-size: clamp(42px, 3vw, 62px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px;
}

.cv-industry-counter {
    display: inline-block;
}

.cv-industry-stat-suffix,
.cv-industry-stat-word {
    color: var(--cv-stat-gold);
}

.cv-industry-stat-suffix {
    font-size: 0.72em;
}

.cv-industry-stat-word {
    font-size: 0.72em;
    letter-spacing: -1px;
}

/* Label */

.cv-industry-stat-label {
    margin-top: 21px;
    color: rgba(231, 225, 216, 0.62);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 2.6px;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1050px) {

    .cv-industry-stats-container {
        width: min(100% - 40px, 900px);
    }

    .cv-industry-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cv-industry-stat-card:nth-child(2) {
        border-right: 0;
    }

    .cv-industry-stat-card:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }
}

@media (max-width: 600px) {

    .cv-industry-stats-container {
        width: min(100% - 28px, 520px);
    }

    .cv-industry-stats-grid {
        grid-template-columns: 1fr;
    }

    .cv-industry-stat-card {
        min-height: 235px;
    }

    .cv-industry-stat-card:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .cv-industry-stat-number {
        font-size: 48px;
    }
}

/* =====================================================
   ROOFING INDUSTRY OVERVIEW SECTION
===================================================== */

.cv-roofing-overview {
    --cv-overview-navy: #132855;
    --cv-overview-dark-navy: #0D1C45;
    --cv-overview-gold: #C9A25B;
    --cv-overview-oak: #B88558;
    --cv-overview-ivory: #F8F7F4;
    --cv-overview-beige: #E7E1D8;
    --cv-overview-charcoal: #1E1E1E;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 125px 0;
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            var(--cv-overview-ivory) 58%,
            #f0ebe3 100%
        );
}

.cv-roofing-overview-container {
    position: relative;
    z-index: 3;
    width: min(1420px, calc(100% - 80px));
    margin: 0 auto;
}

.cv-roofing-overview-layout {
    display: grid;
    grid-template-columns: minmax(430px, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 95px;
}

/* =====================================================
   BACKGROUND DECORATION
===================================================== */

.cv-roofing-overview-grid {
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: 0.38;
    pointer-events: none;
    background-image:
        linear-gradient(
            rgba(19, 40, 85, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(19, 40, 85, 0.045) 1px,
            transparent 1px
        );
    background-size: 60px 60px;
}

.cv-roofing-overview-glow {
    position: absolute;
    z-index: -2;
    width: 580px;
    height: 580px;
    left: -270px;
    top: 50%;
    border-radius: 50%;
    transform: translateY(-50%);
    background:
        radial-gradient(
            circle,
            rgba(201, 162, 91, 0.2),
            rgba(201, 162, 91, 0.05) 46%,
            transparent 70%
        );
}

/* =====================================================
   LEFT IMAGE
===================================================== */

.cv-roofing-overview-visual {
    position: relative;
    min-width: 0;
    padding: 24px 0 34px 26px;
}

.cv-roofing-overview-image-frame {
    position: relative;
    z-index: 2;
    min-height: 680px;
    overflow: hidden;
    border-radius: 30px;
    background: var(--cv-overview-dark-navy);
    box-shadow:
        0 35px 75px rgba(13, 28, 69, 0.2),
        0 10px 25px rgba(13, 28, 69, 0.12);
}

.cv-roofing-overview-image-frame::before {
    content: "";
    position: absolute;
    z-index: 5;
    inset: 18px;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
}

.cv-roofing-overview-image {
    width: 100%;
    height: 680px;
    display: block;
    object-fit: cover;
    transition:
        transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
        filter 0.9s ease;
}

.cv-roofing-overview-image-frame:hover
.cv-roofing-overview-image {
    transform: scale(1.055);
}

.cv-roofing-overview-image-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            to top,
            rgba(13, 28, 69, 0.94) 0%,
            rgba(13, 28, 69, 0.3) 44%,
            rgba(13, 28, 69, 0.1) 100%
        );
}

.cv-roofing-overview-image-number {
    position: absolute;
    z-index: 6;
    top: 36px;
    left: 36px;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(13, 28, 69, 0.48);
    backdrop-filter: blur(14px);
}

.cv-roofing-overview-image-number span {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
}

.cv-roofing-overview-image-label {
    position: absolute;
    z-index: 6;
    top: 48px;
    right: 38px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cv-roofing-overview-image-label::before {
    content: "";
    display: inline-block;
    width: 34px;
    height: 1px;
    margin-right: 12px;
    vertical-align: middle;
    background: var(--cv-overview-gold);
}

/* =====================================================
   FLOATING IMAGE CARDS
===================================================== */

.cv-roofing-overview-search-card,
.cv-roofing-overview-map-card {
    position: absolute;
    z-index: 7;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 17px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow:
        0 18px 40px rgba(13, 28, 69, 0.22);
    backdrop-filter: blur(16px);
    animation: cvOverviewFloat 4.8s ease-in-out infinite;
}

.cv-roofing-overview-search-card {
    left: 40px;
    bottom: 128px;
    min-width: 280px;
}

.cv-roofing-overview-map-card {
    right: 34px;
    bottom: 38px;
    min-width: 260px;
    animation-delay: -2.4s;
}

.cv-roofing-overview-search-icon,
.cv-roofing-overview-map-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--cv-overview-gold),
            var(--cv-overview-oak)
        );
}

.cv-roofing-overview-search-card div,
.cv-roofing-overview-map-card div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cv-roofing-overview-search-card span,
.cv-roofing-overview-map-card span {
    color: #788397;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.cv-roofing-overview-search-card strong,
.cv-roofing-overview-map-card strong {
    color: var(--cv-overview-navy);
    font-size: 13px;
    line-height: 1.35;
}

.cv-roofing-overview-visual-line {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 68%;
    height: 68%;
    border-top: 2px solid var(--cv-overview-gold);
    border-left: 2px solid var(--cv-overview-gold);
    border-radius: 34px 0 0 0;
}

/* =====================================================
   RIGHT CONTENT
===================================================== */

.cv-roofing-overview-content {
    position: relative;
    min-width: 0;
}

.cv-roofing-overview-eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 24px;
    color: #737e8f;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.cv-roofing-overview-eyebrow-number {
    color: var(--cv-overview-oak);
}

.cv-roofing-overview-eyebrow-divider {
    color: var(--cv-overview-gold);
}

.cv-roofing-overview-title {
    max-width: 760px;
    margin: 0 0 35px;
    color: var(--cv-overview-navy);
    font-size: clamp(38px, 3.8vw, 45px);
    font-weight: 700;
    line-height: 1.13;
    letter-spacing: -2px;
}

/* =====================================================
   DEFINITION CARD
===================================================== */

.cv-roofing-overview-definition {
    position: relative;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 37px;
    padding: 27px 30px;
    overflow: hidden;
    border: 1px solid rgba(19, 40, 85, 0.12);
    border-radius: 20px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.92),
            rgba(231, 225, 216, 0.55)
        );
    box-shadow:
        0 20px 45px rgba(19, 40, 85, 0.08);
}

.cv-roofing-overview-definition::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background:
        linear-gradient(
            to bottom,
            var(--cv-overview-gold),
            var(--cv-overview-oak)
        );
}

.cv-roofing-overview-definition::after {
    content: "";
    position: absolute;
    right: -45px;
    top: -45px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(201, 162, 91, 0.22);
    border-radius: 50%;
}

.cv-roofing-overview-definition-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: var(--cv-overview-gold);
    background:
        linear-gradient(
            135deg,
            var(--cv-overview-navy),
            var(--cv-overview-dark-navy)
        );
    box-shadow:
        0 13px 25px rgba(13, 28, 69, 0.2);
}

.cv-roofing-overview-definition p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: var(--cv-overview-charcoal);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.7;
}

/* =====================================================
   EDITORIAL TEXT ITEMS
===================================================== */

.cv-roofing-overview-text {
    display: flex;
    flex-direction: column;
}

.cv-roofing-overview-text-item {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 20px;
    padding: 24px 0;
}

.cv-roofing-overview-text-item:not(:last-child) {
    border-bottom: 1px solid rgba(19, 40, 85, 0.12);
}

.cv-roofing-overview-text-number {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    border: 1px solid rgba(201, 162, 91, 0.48);
    border-radius: 10px;
    color: var(--cv-overview-oak);
    background: rgba(255, 255, 255, 0.55);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    transition:
        color 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease;
}

.cv-roofing-overview-text-item:hover
.cv-roofing-overview-text-number {
    color: #ffffff;
    background: var(--cv-overview-navy);
    transform: translateY(-3px);
}

.cv-roofing-overview-text-item p {
    margin: 0;
    color: #596578;
    font-size: 16px;
    line-height: 1.75;
}

/* =====================================================
   ANIMATION
===================================================== */

@keyframes cvOverviewFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1200px) {

    .cv-roofing-overview-container {
        width: min(100% - 50px, 1160px);
    }

    .cv-roofing-overview-layout {
        grid-template-columns: minmax(390px, 0.85fr) minmax(0, 1.15fr);
        gap: 60px;
    }

    .cv-roofing-overview-image-frame,
    .cv-roofing-overview-image {
        min-height: 620px;
        height: 620px;
    }

    .cv-roofing-overview-title {
        font-size: 46px;
    }
}

@media (max-width: 991px) {

    .cv-roofing-overview {
        padding: 105px 0;
    }

    .cv-roofing-overview-container {
        width: min(100% - 40px, 780px);
    }

    .cv-roofing-overview-layout {
        grid-template-columns: 1fr;
        gap: 65px;
    }

    .cv-roofing-overview-visual {
        max-width: 700px;
        width: 100%;
        margin: 0 auto;
    }

    .cv-roofing-overview-content {
        max-width: 760px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {

    .cv-roofing-overview {
        padding: 85px 0;
    }

    .cv-roofing-overview-container {
        width: min(100% - 28px, 620px);
    }

    .cv-roofing-overview-visual {
        padding: 14px 0 24px 12px;
    }

    .cv-roofing-overview-image-frame {
        min-height: 510px;
        height: 510px;
        border-radius: 22px;
    }

    .cv-roofing-overview-image {
        height: 510px;
    }

    .cv-roofing-overview-image-frame::before {
        inset: 11px;
        border-radius: 15px;
    }

    .cv-roofing-overview-image-number {
        top: 25px;
        left: 25px;
        width: 48px;
        height: 48px;
    }

    .cv-roofing-overview-image-label {
        top: 37px;
        right: 25px;
    }

    .cv-roofing-overview-search-card {
        left: 24px;
        right: 24px;
        bottom: 105px;
        min-width: 0;
    }

    .cv-roofing-overview-map-card {
        left: 24px;
        right: 24px;
        bottom: 27px;
        min-width: 0;
    }

    .cv-roofing-overview-title {
        margin-bottom: 27px;
        font-size: clamp(35px, 9vw, 46px);
        letter-spacing: -1.5px;
    }

    .cv-roofing-overview-definition {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .cv-roofing-overview-definition p {
        font-size: 16px;
    }

    .cv-roofing-overview-text-item {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 14px;
    }

    .cv-roofing-overview-text-item p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {

    .cv-roofing-overview-image-frame,
    .cv-roofing-overview-image {
        min-height: 470px;
        height: 470px;
    }

    .cv-roofing-overview-image-label {
        display: none;
    }

    .cv-roofing-overview-search-card,
    .cv-roofing-overview-map-card {
        padding: 12px;
    }

    .cv-roofing-overview-search-icon,
    .cv-roofing-overview-map-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .cv-roofing-overview-search-card strong,
    .cv-roofing-overview-map-card strong {
        font-size: 12px;
    }

    .cv-roofing-overview-eyebrow {
        flex-wrap: wrap;
        font-size: 10px;
        letter-spacing: 1.8px;
    }

    .cv-roofing-overview-title {
        font-size: 35px;
    }

    .cv-roofing-overview-definition-icon {
        width: 48px;
        height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .cv-roofing-overview-search-card,
    .cv-roofing-overview-map-card {
        animation: none;
    }

    .cv-roofing-overview-image,
    .cv-roofing-overview-text-number {
        transition: none;
    }
}

/* =====================================================
   WHY A SPECIALIZED ROOFING SEO PARTNER - DARK
===================================================== */

.cv-roofing-partner-dark {
    --cv-partner-navy: #132855;
    --cv-partner-dark-navy: #0D1C45;
    --cv-partner-gold: #C9A25B;
    --cv-partner-oak: #B88558;
    --cv-partner-ivory: #F8F7F4;
    --cv-partner-beige: #E7E1D8;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 125px 0;
    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(201, 162, 91, 0.14),
            transparent 27%
        ),
        radial-gradient(
            circle at 8% 88%,
            rgba(184, 133, 88, 0.1),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #08142f 0%,
            var(--cv-partner-dark-navy) 48%,
            #071127 100%
        );
}

.cv-roofing-partner-dark-container {
    position: relative;
    z-index: 3;
    width: min(1420px, calc(100% - 80px));
    margin: 0 auto;
}

/* Background decoration */

.cv-roofing-partner-dark-grid {
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: 0.6;
    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        );

    background-size: 58px 58px;

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.75) 70%,
            rgba(0, 0, 0, 0.25)
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.75) 70%,
            rgba(0, 0, 0, 0.25)
        );
}

.cv-roofing-partner-dark-glow {
    position: absolute;
    z-index: -2;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(5px);
}

.cv-roofing-partner-dark-glow-one {
    width: 520px;
    height: 520px;
    right: -220px;
    top: -220px;
    border: 1px solid rgba(201, 162, 91, 0.2);
    box-shadow:
        0 0 0 70px rgba(201, 162, 91, 0.025),
        0 0 0 140px rgba(201, 162, 91, 0.015);
}

.cv-roofing-partner-dark-glow-two {
    width: 360px;
    height: 360px;
    left: -180px;
    bottom: -180px;
    background:
        radial-gradient(
            circle,
            rgba(201, 162, 91, 0.12),
            transparent 68%
        );
}

/* Header */

.cv-roofing-partner-dark-header {
    max-width: 880px;
    margin-bottom: 72px;
}

.cv-roofing-partner-dark-eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
    margin-bottom: 24px;
    color: rgba(231, 225, 216, 0.52);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.cv-roofing-partner-dark-line {
    width: 46px;
    height: 2px;
    background:
        linear-gradient(
            90deg,
            var(--cv-partner-gold),
            var(--cv-partner-oak)
        );
}

.cv-roofing-partner-dark-header h2 {
    max-width: 850px;
    margin: 0;
    color: var(--cv-partner-ivory);
    font-size: clamp(42px, 4.5vw, 55px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -2.8px;
}

.cv-roofing-partner-dark-header p {
    max-width: 770px;
    margin: 27px 0 0;
    color: rgba(231, 225, 216, 0.68);
    font-size: 17px;
    line-height: 1.75;
}

/* List */

.cv-roofing-partner-dark-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cv-roofing-partner-dark-row {
    display: grid;
    grid-template-columns:
        minmax(0, 0.94fr)
        110px
        minmax(0, 1.06fr);
    align-items: stretch;
}

/* Problem card */

.cv-roofing-partner-dark-problem {
    position: relative;
    overflow: hidden;
    min-height: 118px;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 27px 30px;
    border: 1px solid rgba(231, 225, 216, 0.13);
    border-radius: 18px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.025)
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 20px 45px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(14px);
    transition:
        transform 0.38s ease,
        border-color 0.38s ease,
        background 0.38s ease;
}

.cv-roofing-partner-dark-problem::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            110deg,
            transparent 38%,
            rgba(201, 162, 91, 0.11),
            transparent 68%
        );
    transform: translateX(-110%);
    transition: transform 0.75s ease;
}

.cv-roofing-partner-dark-row:hover
.cv-roofing-partner-dark-problem {
    transform: translateX(7px);
    border-color: rgba(201, 162, 91, 0.48);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.095),
            rgba(201, 162, 91, 0.045)
        );
}

.cv-roofing-partner-dark-row:hover
.cv-roofing-partner-dark-problem::before {
    transform: translateX(110%);
}

.cv-roofing-partner-dark-number {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 162, 91, 0.55);
    border-radius: 50%;
    color: var(--cv-partner-gold);
    background: rgba(201, 162, 91, 0.05);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    transition:
        color 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease;
}

.cv-roofing-partner-dark-row:hover
.cv-roofing-partner-dark-number {
    color: var(--cv-partner-dark-navy);
    background:
        linear-gradient(
            135deg,
            var(--cv-partner-gold),
            var(--cv-partner-oak)
        );
    transform: rotate(-8deg);
}

.cv-roofing-partner-dark-problem strong {
    position: relative;
    z-index: 2;
    color: var(--cv-partner-ivory);
    font-size: 16px;
    line-height: 1.5;
}

/* Connector */

.cv-roofing-partner-dark-connector {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cv-roofing-partner-dark-connector span {
    width: 28px;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            rgba(201, 162, 91, 0.2),
            rgba(201, 162, 91, 0.58)
        );
    transition:
        width 0.35s ease,
        background 0.35s ease;
}

.cv-roofing-partner-dark-connector i {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 162, 91, 0.45);
    border-radius: 50%;
    color: var(--cv-partner-gold);
    background: rgba(201, 162, 91, 0.06);
    font-size: 12px;
    transition:
        color 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease;
}

.cv-roofing-partner-dark-row:hover
.cv-roofing-partner-dark-connector i {
    color: var(--cv-partner-dark-navy);
    background: var(--cv-partner-gold);
    transform: translateX(5px);
}

/* Solution card */

.cv-roofing-partner-dark-solution {
    position: relative;
    overflow: hidden;
    min-height: 118px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    padding: 25px 29px;
    border: 1px solid rgba(201, 162, 91, 0.32);
    border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            rgba(19, 40, 85, 0.96),
            rgba(8, 20, 47, 0.98)
        );
    box-shadow:
        0 23px 50px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition:
        transform 0.38s ease,
        border-color 0.38s ease,
        box-shadow 0.38s ease;
}

.cv-roofing-partner-dark-solution::before {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 175px;
    height: 175px;
    border: 1px solid rgba(201, 162, 91, 0.14);
    border-radius: 50%;
}

.cv-roofing-partner-dark-solution::after {
    content: "";
    position: absolute;
    right: -25px;
    bottom: -85px;
    width: 220px;
    height: 180px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(201, 162, 91, 0.1),
            transparent 68%
        );
}

.cv-roofing-partner-dark-row:hover
.cv-roofing-partner-dark-solution {
    transform: translateX(-7px);
    border-color: rgba(201, 162, 91, 0.58);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.28);
}

.cv-roofing-partner-dark-icon {
    position: relative;
    z-index: 2;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 162, 91, 0.45);
    border-radius: 16px;
    color: var(--cv-partner-gold);
    background: rgba(201, 162, 91, 0.07);
    font-size: 18px;
    transition:
        color 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease;
}

.cv-roofing-partner-dark-row:hover
.cv-roofing-partner-dark-icon {
    color: var(--cv-partner-dark-navy);
    background:
        linear-gradient(
            135deg,
            var(--cv-partner-gold),
            var(--cv-partner-oak)
        );
    transform: rotate(-6deg) scale(1.05);
}

.cv-roofing-partner-dark-solution > div:last-child {
    position: relative;
    z-index: 2;
}

.cv-roofing-partner-dark-solution strong {
    display: block;
    margin-bottom: 7px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.4;
}

.cv-roofing-partner-dark-solution p {
    margin: 0;
    color: rgba(231, 225, 216, 0.68);
    font-size: 14px;
    line-height: 1.65;
}

/* Responsive */

@media (max-width: 1150px) {

    .cv-roofing-partner-dark-container {
        width: min(100% - 50px, 1120px);
    }

    .cv-roofing-partner-dark-row {
        grid-template-columns:
            minmax(0, 0.95fr)
            72px
            minmax(0, 1.05fr);
    }

    .cv-roofing-partner-dark-connector span {
        width: 15px;
    }
}

@media (max-width: 900px) {

    .cv-roofing-partner-dark {
        padding: 105px 0;
    }

    .cv-roofing-partner-dark-container {
        width: min(100% - 40px, 760px);
    }

    .cv-roofing-partner-dark-header {
        margin-bottom: 55px;
    }

    .cv-roofing-partner-dark-row {
        grid-template-columns: 1fr;
    }

    .cv-roofing-partner-dark-connector {
        min-height: 56px;
        flex-direction: column;
    }

    .cv-roofing-partner-dark-connector span {
        width: 1px;
        height: 12px;
    }

    .cv-roofing-partner-dark-connector i {
        transform: rotate(90deg);
    }

    .cv-roofing-partner-dark-row:hover
    .cv-roofing-partner-dark-connector i {
        transform: rotate(90deg) translateX(5px);
    }

    .cv-roofing-partner-dark-row:hover
    .cv-roofing-partner-dark-problem,
    .cv-roofing-partner-dark-row:hover
    .cv-roofing-partner-dark-solution {
        transform: translateY(-3px);
    }
}

@media (max-width: 600px) {

    .cv-roofing-partner-dark {
        padding: 85px 0;
    }

    .cv-roofing-partner-dark-container {
        width: min(100% - 28px, 540px);
    }

    .cv-roofing-partner-dark-header h2 {
        font-size: clamp(36px, 10vw, 46px);
        letter-spacing: -1.7px;
    }

    .cv-roofing-partner-dark-header p {
        font-size: 16px;
    }

    .cv-roofing-partner-dark-problem {
        min-height: auto;
        gap: 16px;
        padding: 22px 20px;
    }

    .cv-roofing-partner-dark-number {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
    }

    .cv-roofing-partner-dark-problem strong {
        font-size: 15px;
    }

    .cv-roofing-partner-dark-solution {
        min-height: auto;
        grid-template-columns: 49px minmax(0, 1fr);
        gap: 15px;
        padding: 22px 20px;
    }

    .cv-roofing-partner-dark-icon {
        width: 49px;
        height: 49px;
    }

    .cv-roofing-partner-dark-solution strong {
        font-size: 15px;
    }

    .cv-roofing-partner-dark-solution p {
        font-size: 13px;
    }
}

@media (max-width: 420px) {

    .cv-roofing-partner-dark-eyebrow {
        font-size: 9px;
        letter-spacing: 1.7px;
    }

    .cv-roofing-partner-dark-line {
        width: 28px;
    }

    .cv-roofing-partner-dark-problem {
        align-items: flex-start;
    }

    .cv-roofing-partner-dark-solution {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    .cv-roofing-partner-dark-problem,
    .cv-roofing-partner-dark-number,
    .cv-roofing-partner-dark-connector i,
    .cv-roofing-partner-dark-solution,
    .cv-roofing-partner-dark-icon {
        transition: none;
    }
}

/* =====================================================
   ROOFING SEO SERVICES SECTION
===================================================== */

.cv-roofing-services {
    --cv-services-navy: #132855;
    --cv-services-dark-navy: #0D1C45;
    --cv-services-gold: #C9A25B;
    --cv-services-oak: #B88558;
    --cv-services-ivory: #F8F7F4;
    --cv-services-beige: #E7E1D8;
    --cv-services-charcoal: #1E1E1E;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 125px 0;
    background:
        radial-gradient(
            circle at 90% 12%,
            rgba(201, 162, 91, 0.18),
            transparent 25%
        ),
        radial-gradient(
            circle at 5% 90%,
            rgba(19, 40, 85, 0.08),
            transparent 27%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            var(--cv-services-ivory) 55%,
            #f1ede6 100%
        );
}

.cv-roofing-services-container {
    position: relative;
    z-index: 3;
    width: min(1420px, calc(100% - 80px));
    margin: 0 auto;
}

/* =====================================================
   BACKGROUND DECORATION
===================================================== */

.cv-roofing-services-grid-bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: 0.48;
    pointer-events: none;
    background-image:
        linear-gradient(
            rgba(19, 40, 85, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(19, 40, 85, 0.045) 1px,
            transparent 1px
        );
    background-size: 58px 58px;

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.9),
            rgba(0, 0, 0, 0.35)
        );

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.9),
            rgba(0, 0, 0, 0.35)
        );
}

.cv-roofing-services-glow {
    position: absolute;
    z-index: -2;
    border-radius: 50%;
    pointer-events: none;
}

.cv-roofing-services-glow-one {
    width: 520px;
    height: 520px;
    top: -270px;
    right: -180px;
    border: 1px solid rgba(201, 162, 91, 0.24);
    box-shadow:
        0 0 0 65px rgba(201, 162, 91, 0.035),
        0 0 0 130px rgba(201, 162, 91, 0.02);
}

.cv-roofing-services-glow-two {
    width: 390px;
    height: 390px;
    left: -190px;
    bottom: -190px;
    background:
        radial-gradient(
            circle,
            rgba(19, 40, 85, 0.11),
            transparent 68%
        );
}

/* =====================================================
   HEADER
===================================================== */

.cv-roofing-services-header {
    margin-bottom: 68px;
}

.cv-roofing-services-eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
    margin-bottom: 24px;
    color: #717d90;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.cv-roofing-services-line {
    width: 47px;
    height: 2px;
    background:
        linear-gradient(
            90deg,
            var(--cv-services-gold),
            var(--cv-services-oak)
        );
}

.cv-roofing-services-heading-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(300px, 0.75fr);
    align-items: end;
    gap: 80px;
}

.cv-roofing-services-heading-layout h2 {
    max-width: 850px;
    margin: 0;
    color: var(--cv-services-navy);
    font-size: clamp(43px, 4.6vw, 55px);
    font-weight: 700;
    line-height: 1.07;
    letter-spacing: -3px;
}

.cv-roofing-services-heading-layout p {
    max-width: 500px;
    margin: 0 0 7px;
    padding-left: 28px;
    border-left: 3px solid var(--cv-services-gold);
    color: #596578;
    font-size: 17px;
    line-height: 1.75;
}

/* =====================================================
   BENTO LAYOUT
===================================================== */

.cv-roofing-services-bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 20px;
}

.cv-roofing-service-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 310px;
    display: flex;
    flex-direction: column;
    padding: 29px;
    border: 1px solid rgba(19, 40, 85, 0.13);
    border-radius: 24px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.96),
            rgba(248, 247, 244, 0.82)
        );
    box-shadow:
        0 18px 45px rgba(19, 40, 85, 0.075),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

.cv-roofing-service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(201, 162, 91, 0.19),
            transparent 34%
        );
    transition: opacity 0.4s ease;
}

.cv-roofing-service-card::after {
    content: "";
    position: absolute;
    left: 29px;
    right: 29px;
    bottom: 0;
    height: 3px;
    transform: scaleX(0);
    transform-origin: left;
    background:
        linear-gradient(
            90deg,
            var(--cv-services-gold),
            var(--cv-services-oak)
        );
    transition: transform 0.45s ease;
}

.cv-roofing-service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 162, 91, 0.58);
    box-shadow:
        0 28px 60px rgba(19, 40, 85, 0.13);
}

.cv-roofing-service-card:hover::before {
    opacity: 1;
}

.cv-roofing-service-card:hover::after {
    transform: scaleX(1);
}

/* Bento positions */

.cv-roofing-service-featured {
    grid-column: span 5;
    grid-row: span 2;
    min-height: 640px;
    color: #ffffff;
    border-color: rgba(201, 162, 91, 0.34);
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(201, 162, 91, 0.2),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            var(--cv-services-navy),
            var(--cv-services-dark-navy)
        );
    box-shadow:
        0 28px 65px rgba(13, 28, 69, 0.22);
}

.cv-roofing-service-guest,
.cv-roofing-service-local,
.cv-roofing-service-technical,
.cv-roofing-service-ai {
    grid-column: span 3;
}

.cv-roofing-service-content-writing {
    grid-column: span 4;
}

.cv-roofing-service-pr {
    grid-column: span 8;
    min-height: 300px;
}

/* =====================================================
   CARD TOP
===================================================== */

.cv-roofing-service-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 47px;
}

.cv-roofing-service-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 162, 91, 0.43);
    border-radius: 15px;
    color: var(--cv-services-gold);
    background:
        linear-gradient(
            145deg,
            rgba(19, 40, 85, 0.08),
            rgba(201, 162, 91, 0.07)
        );
    font-size: 18px;
    transition:
        color 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease;
}

.cv-roofing-service-card:hover
.cv-roofing-service-icon {
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--cv-services-gold),
            var(--cv-services-oak)
        );
    transform: rotate(-6deg) scale(1.05);
}

.cv-roofing-service-number {
    color: rgba(19, 40, 85, 0.35);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.cv-roofing-service-featured
.cv-roofing-service-number {
    color: rgba(255, 255, 255, 0.4);
}

.cv-roofing-service-featured
.cv-roofing-service-icon {
    color: var(--cv-services-gold);
    background: rgba(255, 255, 255, 0.06);
}

/* =====================================================
   CARD CONTENT
===================================================== */

.cv-roofing-service-content {
    position: relative;
    z-index: 2;
}

.cv-roofing-service-content h3 {
    margin: 0 0 14px;
    color: var(--cv-services-navy);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
}

.cv-roofing-service-content p {
    margin: 0;
    color: #596578;
    font-size: 14px;
    line-height: 1.75;
}

.cv-roofing-service-featured
.cv-roofing-service-content {
    margin-top: auto;
    margin-bottom: 80px;
}

.cv-roofing-service-featured
.cv-roofing-service-content h3 {
    max-width: 400px;
    color: #ffffff;
    font-size: clamp(31px, 3vw, 45px);
    line-height: 1.13;
    letter-spacing: -1.5px;
}

.cv-roofing-service-featured
.cv-roofing-service-content p {
    max-width: 470px;
    color: rgba(231, 225, 216, 0.72);
    font-size: 16px;
}

/* =====================================================
   SERVICE TAG
===================================================== */

.cv-roofing-service-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: auto;
    padding-top: 30px;
    color: var(--cv-services-oak);
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 2px;
}

.cv-roofing-service-tag::before {
    content: "";
    width: 25px;
    height: 1px;
    background: currentColor;
}

.cv-roofing-service-featured
.cv-roofing-service-tag {
    position: absolute;
    left: 29px;
    bottom: 31px;
    color: var(--cv-services-gold);
}

/* =====================================================
   FEATURED WATERMARK
===================================================== */

.cv-roofing-service-watermark {
    position: absolute;
    z-index: -1;
    top: 95px;
    right: -45px;
    color: rgba(255, 255, 255, 0.035);
    font-size: 250px;
    transform: rotate(-25deg);
}

/* =====================================================
   DIGITAL PR WIDE CARD
===================================================== */

.cv-roofing-service-pr {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    color: #ffffff;
    border-color: rgba(201, 162, 91, 0.38);
    background:
        radial-gradient(
            circle at 90% 50%,
            rgba(201, 162, 91, 0.23),
            transparent 28%
        ),
        linear-gradient(
            120deg,
            var(--cv-services-navy),
            var(--cv-services-dark-navy)
        );
    box-shadow:
        0 25px 55px rgba(13, 28, 69, 0.2);
}

.cv-roofing-service-pr::after {
    display: none;
}

.cv-roofing-service-pr-icon {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 17px;
}

.cv-roofing-service-pr
.cv-roofing-service-icon {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
    color: var(--cv-services-gold);
    background: rgba(255, 255, 255, 0.06);
    font-size: 22px;
}

.cv-roofing-service-pr
.cv-roofing-service-number {
    color: rgba(255, 255, 255, 0.42);
}

.cv-roofing-service-pr
.cv-roofing-service-content h3 {
    color: #ffffff;
    font-size: 29px;
    letter-spacing: -0.8px;
}

.cv-roofing-service-pr
.cv-roofing-service-content p {
    max-width: 630px;
    color: rgba(231, 225, 216, 0.72);
    font-size: 15px;
}

.cv-roofing-service-pr
.cv-roofing-service-tag {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 14px 18px;
    border: 1px solid rgba(201, 162, 91, 0.38);
    border-radius: 50px;
    color: var(--cv-services-gold);
    background: rgba(255, 255, 255, 0.04);
}

.cv-roofing-service-pr
.cv-roofing-service-tag::before {
    display: none;
}

.cv-roofing-service-pr-circle {
    position: absolute;
    right: -70px;
    top: 50%;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(201, 162, 91, 0.15);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow:
        0 0 0 45px rgba(201, 162, 91, 0.025);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1200px) {

    .cv-roofing-services-container {
        width: min(100% - 50px, 1160px);
    }

    .cv-roofing-service-featured {
        grid-column: span 6;
    }

    .cv-roofing-service-guest,
    .cv-roofing-service-local,
    .cv-roofing-service-technical,
    .cv-roofing-service-ai {
        grid-column: span 3;
    }

    .cv-roofing-service-content-writing {
        grid-column: span 6;
    }

    .cv-roofing-service-pr {
        grid-column: span 6;
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .cv-roofing-service-pr
    .cv-roofing-service-tag {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 991px) {

    .cv-roofing-services {
        padding: 105px 0;
    }

    .cv-roofing-services-container {
        width: min(100% - 40px, 780px);
    }

    .cv-roofing-services-heading-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .cv-roofing-services-heading-layout p {
        padding-left: 22px;
    }

    .cv-roofing-services-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cv-roofing-service-featured,
    .cv-roofing-service-guest,
    .cv-roofing-service-local,
    .cv-roofing-service-technical,
    .cv-roofing-service-ai,
    .cv-roofing-service-content-writing,
    .cv-roofing-service-pr {
        grid-column: span 1;
        grid-row: auto;
    }

    .cv-roofing-service-featured {
        min-height: 470px;
    }

    .cv-roofing-service-pr {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .cv-roofing-service-pr-icon {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }

    .cv-roofing-service-pr
    .cv-roofing-service-tag {
        margin-top: auto;
    }
}

@media (max-width: 650px) {

    .cv-roofing-services {
        padding: 85px 0;
    }

    .cv-roofing-services-container {
        width: min(100% - 28px, 540px);
    }

    .cv-roofing-services-header {
        margin-bottom: 48px;
    }

    .cv-roofing-services-heading-layout h2 {
        font-size: clamp(36px, 10vw, 47px);
        letter-spacing: -1.8px;
    }

    .cv-roofing-services-heading-layout p {
        font-size: 16px;
    }

    .cv-roofing-services-bento {
        grid-template-columns: 1fr;
    }

    .cv-roofing-service-card {
        min-height: 300px;
        padding: 24px;
        border-radius: 20px;
    }

    .cv-roofing-service-featured {
        min-height: 440px;
    }

    .cv-roofing-service-featured
    .cv-roofing-service-content h3 {
        font-size: 34px;
    }

    .cv-roofing-service-featured
    .cv-roofing-service-content p {
        font-size: 15px;
    }

    .cv-roofing-service-top {
        margin-bottom: 37px;
    }

    .cv-roofing-service-featured
    .cv-roofing-service-tag {
        left: 24px;
        bottom: 26px;
    }

    .cv-roofing-service-pr {
        min-height: 340px;
    }

    .cv-roofing-service-pr
    .cv-roofing-service-content h3 {
        font-size: 27px;
    }
}

@media (max-width: 420px) {

    .cv-roofing-services-eyebrow {
        font-size: 9px;
        letter-spacing: 1.7px;
    }

    .cv-roofing-services-line {
        width: 29px;
    }

    .cv-roofing-service-content h3 {
        font-size: 19px;
    }

    .cv-roofing-service-content p {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .cv-roofing-service-card,
    .cv-roofing-service-icon {
        transition: none;
    }
}

/* =====================================================
   ROOFING SEO METHODOLOGY - DARK
===================================================== */

.cv-roofing-method-dark {
    --method-navy: #132855;
    --method-dark-navy: #0D1C45;
    --method-deep-navy: #07142f;
    --method-gold: #C9A25B;
    --method-oak: #B88558;
    --method-ivory: #F8F7F4;
    --method-beige: #E7E1D8;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 125px 0;

    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(201, 162, 91, 0.16),
            transparent 26%
        ),
        radial-gradient(
            circle at 8% 88%,
            rgba(184, 133, 88, 0.1),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #071126 0%,
            var(--method-dark-navy) 48%,
            #061023 100%
        );
}

.cv-roofing-method-dark-container {
    position: relative;
    z-index: 5;
    width: min(1380px, calc(100% - 80px));
    margin: 0 auto;
}

/* =====================================================
   BACKGROUND GRID
===================================================== */

.cv-roofing-method-dark-grid {
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: 0.65;
    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.065) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.065) 1px,
            transparent 1px
        );

    background-size: 58px 58px;

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.75) 70%,
            rgba(0, 0, 0, 0.25)
        );

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.75) 70%,
            rgba(0, 0, 0, 0.25)
        );
}

.cv-roofing-method-dark-glow {
    position: absolute;
    z-index: -2;
    border-radius: 50%;
    pointer-events: none;
}

.cv-roofing-method-dark-glow-one {
    width: 570px;
    height: 570px;
    top: -280px;
    right: -230px;

    border: 1px solid rgba(201, 162, 91, 0.21);

    box-shadow:
        0 0 0 70px rgba(201, 162, 91, 0.025),
        0 0 0 140px rgba(201, 162, 91, 0.015);
}

.cv-roofing-method-dark-glow-two {
    width: 400px;
    height: 400px;
    left: -200px;
    bottom: -190px;

    background:
        radial-gradient(
            circle,
            rgba(201, 162, 91, 0.13),
            transparent 68%
        );
}

/* =====================================================
   HEADER
===================================================== */

.cv-roofing-method-dark-header {
    max-width: 850px;
    margin: 0 auto 85px;
    text-align: center;
}

.cv-roofing-method-dark-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 11px;

    margin-bottom: 24px;

    color: rgba(231, 225, 216, 0.55);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.cv-roofing-method-dark-eyebrow-line {
    width: 48px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--method-gold),
            var(--method-oak)
        );
}

.cv-roofing-method-dark-header h2 {
    margin: 0;

    color: var(--method-ivory);

    font-size: clamp(43px, 4.7vw, 52px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -3px;
}

.cv-roofing-method-dark-header p {
    max-width: 690px;
    margin: 27px auto 0;

    color: rgba(231, 225, 216, 0.68);

    font-size: 17px;
    line-height: 1.75;
}

/* =====================================================
   TIMELINE
===================================================== */

.cv-roofing-method-dark-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cv-roofing-method-dark-progress-line {
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    left: 50%;

    width: 2px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(201, 162, 91, 0.75) 7%,
            rgba(201, 162, 91, 0.32) 50%,
            rgba(201, 162, 91, 0.75) 93%,
            transparent
        );

    box-shadow:
        0 0 18px rgba(201, 162, 91, 0.22);
}

.cv-roofing-method-dark-step {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        90px
        minmax(0, 1fr);

    align-items: center;
}

.cv-roofing-method-dark-step-left
.cv-roofing-method-dark-card {
    grid-column: 1;
}

.cv-roofing-method-dark-step-left
.cv-roofing-method-dark-node {
    grid-column: 2;
}

.cv-roofing-method-dark-step-right
.cv-roofing-method-dark-node {
    grid-column: 2;
}

.cv-roofing-method-dark-step-right
.cv-roofing-method-dark-card {
    grid-column: 3;
}

/* =====================================================
   METHOD CARD
===================================================== */

.cv-roofing-method-dark-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: 180px;

    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    align-items: flex-start;
    gap: 21px;

    padding: 31px;

    border: 1px solid rgba(231, 225, 216, 0.13);
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.025)
        );

    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);

    backdrop-filter: blur(16px);

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        background 0.4s ease,
        box-shadow 0.4s ease;
}

.cv-roofing-method-dark-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    pointer-events: none;

    background:
        linear-gradient(
            110deg,
            transparent 38%,
            rgba(201, 162, 91, 0.12),
            transparent 68%
        );

    transform: translateX(-110%);
    transition: transform 0.75s ease;
}

.cv-roofing-method-dark-card::after {
    content: "";
    position: absolute;
    top: 50%;

    width: 45px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            rgba(201, 162, 91, 0.25),
            rgba(201, 162, 91, 0.8)
        );
}

.cv-roofing-method-dark-step-left
.cv-roofing-method-dark-card::after {
    right: -45px;
}

.cv-roofing-method-dark-step-right
.cv-roofing-method-dark-card::after {
    left: -45px;

    background:
        linear-gradient(
            90deg,
            rgba(201, 162, 91, 0.8),
            rgba(201, 162, 91, 0.25)
        );
}

.cv-roofing-method-dark-step:hover
.cv-roofing-method-dark-card {
    transform: translateY(-7px);

    border-color: rgba(201, 162, 91, 0.52);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.095),
            rgba(201, 162, 91, 0.05)
        );

    box-shadow:
        0 30px 65px rgba(0, 0, 0, 0.28);
}

.cv-roofing-method-dark-step:hover
.cv-roofing-method-dark-card::before {
    transform: translateX(110%);
}

/* =====================================================
   ICON
===================================================== */

.cv-roofing-method-dark-icon {
    position: relative;
    z-index: 2;

    width: 60px;
    height: 60px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(201, 162, 91, 0.45);
    border-radius: 17px;

    color: var(--method-gold);

    background:
        linear-gradient(
            145deg,
            rgba(201, 162, 91, 0.11),
            rgba(255, 255, 255, 0.035)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05);

    font-size: 19px;

    transition:
        color 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease;
}

.cv-roofing-method-dark-step:hover
.cv-roofing-method-dark-icon {
    color: var(--method-dark-navy);

    background:
        linear-gradient(
            135deg,
            var(--method-gold),
            var(--method-oak)
        );

    transform: rotate(-6deg) scale(1.05);
}

/* =====================================================
   CONTENT
===================================================== */

.cv-roofing-method-dark-content {
    position: relative;
    z-index: 2;
}

.cv-roofing-method-dark-content h3 {
    margin: 0 0 11px;

    color: #ffffff;

    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}

.cv-roofing-method-dark-content p {
    margin: 0;

    color: rgba(231, 225, 216, 0.68);

    font-size: 14px;
    line-height: 1.72;
}

/* =====================================================
   NUMBER NODE
===================================================== */

.cv-roofing-method-dark-node {
    position: relative;
    z-index: 5;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    justify-self: center;

    border: 1px solid rgba(201, 162, 91, 0.65);
    border-radius: 50%;

    color: var(--method-gold);

    background:
        linear-gradient(
            145deg,
            var(--method-navy),
            var(--method-dark-navy)
        );

    box-shadow:
        0 15px 32px rgba(0, 0, 0, 0.28),
        0 0 0 9px rgba(201, 162, 91, 0.075),
        0 0 25px rgba(201, 162, 91, 0.1);

    transition:
        color 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.cv-roofing-method-dark-node span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.cv-roofing-method-dark-step:hover
.cv-roofing-method-dark-node {
    color: var(--method-dark-navy);

    background:
        linear-gradient(
            135deg,
            var(--method-gold),
            var(--method-oak)
        );

    transform: scale(1.1);

    box-shadow:
        0 17px 35px rgba(0, 0, 0, 0.32),
        0 0 0 11px rgba(201, 162, 91, 0.1),
        0 0 30px rgba(201, 162, 91, 0.25);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1050px) {

    .cv-roofing-method-dark-container {
        width: min(100% - 50px, 980px);
    }

    .cv-roofing-method-dark-step {
        grid-template-columns:
            minmax(0, 1fr)
            76px
            minmax(0, 1fr);
    }

    .cv-roofing-method-dark-card {
        padding: 25px;
    }

    .cv-roofing-method-dark-step-left
    .cv-roofing-method-dark-card::after {
        right: -38px;
        width: 38px;
    }

    .cv-roofing-method-dark-step-right
    .cv-roofing-method-dark-card::after {
        left: -38px;
        width: 38px;
    }
}

@media (max-width: 820px) {

    .cv-roofing-method-dark {
        padding: 105px 0;
    }

    .cv-roofing-method-dark-container {
        width: min(100% - 40px, 720px);
    }

    .cv-roofing-method-dark-header {
        margin-bottom: 62px;
    }

    .cv-roofing-method-dark-progress-line {
        left: 30px;
        transform: none;
    }

    .cv-roofing-method-dark-step,
    .cv-roofing-method-dark-step-left,
    .cv-roofing-method-dark-step-right {
        display: grid;

        grid-template-columns:
            60px
            minmax(0, 1fr);

        gap: 22px;
    }

    .cv-roofing-method-dark-step-left
    .cv-roofing-method-dark-node,
    .cv-roofing-method-dark-step-right
    .cv-roofing-method-dark-node {
        grid-column: 1;
        grid-row: 1;
    }

    .cv-roofing-method-dark-step-left
    .cv-roofing-method-dark-card,
    .cv-roofing-method-dark-step-right
    .cv-roofing-method-dark-card {
        grid-column: 2;
        grid-row: 1;
    }

    .cv-roofing-method-dark-step-left
    .cv-roofing-method-dark-card::after,
    .cv-roofing-method-dark-step-right
    .cv-roofing-method-dark-card::after {
        left: -22px;
        right: auto;

        width: 22px;

        background:
            linear-gradient(
                90deg,
                rgba(201, 162, 91, 0.8),
                rgba(201, 162, 91, 0.25)
            );
    }
}

@media (max-width: 600px) {

    .cv-roofing-method-dark {
        padding: 85px 0;
    }

    .cv-roofing-method-dark-container {
        width: min(100% - 28px, 540px);
    }

    .cv-roofing-method-dark-header {
        text-align: left;
    }

    .cv-roofing-method-dark-eyebrow {
        justify-content: flex-start;

        font-size: 9px;
        letter-spacing: 1.7px;
    }

    .cv-roofing-method-dark-eyebrow-line {
        width: 30px;
    }

    .cv-roofing-method-dark-header h2 {
        font-size: clamp(36px, 10vw, 47px);
        letter-spacing: -1.8px;
    }

    .cv-roofing-method-dark-header p {
        font-size: 16px;
    }

    .cv-roofing-method-dark-timeline {
        gap: 23px;
    }

    .cv-roofing-method-dark-progress-line {
        left: 23px;
    }

    .cv-roofing-method-dark-step,
    .cv-roofing-method-dark-step-left,
    .cv-roofing-method-dark-step-right {
        grid-template-columns:
            46px
            minmax(0, 1fr);

        gap: 16px;
    }

    .cv-roofing-method-dark-node {
        width: 46px;
        height: 46px;

        box-shadow:
            0 10px 24px rgba(0, 0, 0, 0.25),
            0 0 0 6px rgba(201, 162, 91, 0.07);
    }

    .cv-roofing-method-dark-card {
        min-height: auto;

        grid-template-columns:
            48px
            minmax(0, 1fr);

        gap: 15px;

        padding: 22px 19px;

        border-radius: 18px;
    }

    .cv-roofing-method-dark-icon {
        width: 48px;
        height: 48px;
    }

    .cv-roofing-method-dark-content h3 {
        font-size: 17px;
    }

    .cv-roofing-method-dark-content p {
        font-size: 13px;
    }

    .cv-roofing-method-dark-step-left
    .cv-roofing-method-dark-card::after,
    .cv-roofing-method-dark-step-right
    .cv-roofing-method-dark-card::after {
        left: -16px;
        width: 16px;
    }
}

@media (max-width: 420px) {

    .cv-roofing-method-dark-card {
        grid-template-columns: 1fr;
    }

    .cv-roofing-method-dark-content h3 {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .cv-roofing-method-dark-card,
    .cv-roofing-method-dark-icon,
    .cv-roofing-method-dark-node {
        transition: none;
    }
}

/* =====================================================
   ROOFING KEYWORD TARGETING SECTION
===================================================== */

.cv-roofing-keywords {
    --keywords-navy: #132855;
    --keywords-dark-navy: #0D1C45;
    --keywords-gold: #C9A25B;
    --keywords-oak: #B88558;
    --keywords-ivory: #F8F7F4;
    --keywords-beige: #E7E1D8;
    --keywords-charcoal: #1E1E1E;

    position: relative;
    isolation: isolate;
    overflow: hidden;

    padding: 125px 0;

    background:
        radial-gradient(
            circle at 89% 12%,
            rgba(201, 162, 91, 0.2),
            transparent 26%
        ),
        radial-gradient(
            circle at 8% 88%,
            rgba(19, 40, 85, 0.09),
            transparent 26%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            var(--keywords-ivory) 56%,
            #f0ebe3 100%
        );
}

.cv-roofing-keywords-container {
    position: relative;
    z-index: 4;

    width: min(1420px, calc(100% - 80px));
    margin: 0 auto;
}

/* =====================================================
   BACKGROUND DECORATION
===================================================== */

.cv-roofing-keywords-grid-bg {
    position: absolute;
    inset: 0;
    z-index: -3;

    opacity: 0.52;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(19, 40, 85, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(19, 40, 85, 0.045) 1px,
            transparent 1px
        );

    background-size: 58px 58px;

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.35)
        );

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.35)
        );
}

.cv-roofing-keywords-glow {
    position: absolute;
    z-index: -2;

    border-radius: 50%;

    pointer-events: none;
}

.cv-roofing-keywords-glow-one {
    width: 560px;
    height: 560px;

    top: -290px;
    right: -220px;

    border: 1px solid rgba(201, 162, 91, 0.23);

    box-shadow:
        0 0 0 70px rgba(201, 162, 91, 0.03),
        0 0 0 140px rgba(201, 162, 91, 0.018);
}

.cv-roofing-keywords-glow-two {
    width: 410px;
    height: 410px;

    left: -205px;
    bottom: -205px;

    background:
        radial-gradient(
            circle,
            rgba(19, 40, 85, 0.12),
            transparent 68%
        );
}

/* =====================================================
   HEADER
===================================================== */

.cv-roofing-keywords-header {
    margin-bottom: 75px;
}

.cv-roofing-keywords-eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;

    margin-bottom: 24px;

    color: #747f91;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.cv-roofing-keywords-eyebrow-line {
    width: 48px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--keywords-gold),
            var(--keywords-oak)
        );
}

.cv-roofing-keywords-heading-row {
    display: grid;
    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(320px, 0.8fr);

    align-items: end;

    gap: 85px;
}

.cv-roofing-keywords-heading-row h2 {
    max-width: 900px;

    margin: 0;

    color: var(--keywords-navy);

    font-size: clamp(43px, 4.7vw, 61px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -3px;
}

.cv-roofing-keywords-heading-row p {
    max-width: 510px;

    margin: 0 0 6px;
    padding-left: 28px;

    border-left: 3px solid var(--keywords-gold);

    color: #596578;

    font-size: 17px;
    line-height: 1.75;
}

/* =====================================================
   MAIN LAYOUT
===================================================== */

.cv-roofing-keywords-layout {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);

    gap: 34px;
}

/* =====================================================
   JOURNEY RAIL
===================================================== */

.cv-roofing-keywords-rail {
    position: relative;

    display: grid;
    grid-template-rows: repeat(5, minmax(150px, auto));

    align-items: center;
    justify-items: center;
}

.cv-roofing-keywords-rail-line {
    position: absolute;
    z-index: 0;

    top: 45px;
    bottom: 45px;
    left: 50%;

    width: 2px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(201, 162, 91, 0.72) 8%,
            rgba(19, 40, 85, 0.23) 50%,
            rgba(201, 162, 91, 0.72) 92%,
            transparent
        );
}

.cv-roofing-keywords-rail-item {
    position: relative;
    z-index: 2;

    width: 48px;
    height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(201, 162, 91, 0.48);
    border-radius: 50%;

    color: var(--keywords-oak);

    background:
        linear-gradient(
            135deg,
            #ffffff,
            var(--keywords-ivory)
        );

    box-shadow:
        0 12px 28px rgba(19, 40, 85, 0.1),
        0 0 0 7px rgba(201, 162, 91, 0.06);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;

    transition:
        color 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease;
}

.cv-roofing-keywords-rail-item.active,
.cv-roofing-keywords-rail-item:hover {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--keywords-navy),
            var(--keywords-dark-navy)
        );

    transform: scale(1.08);
}

/* =====================================================
   PANELS
===================================================== */

.cv-roofing-keywords-panels {
    display: flex;
    flex-direction: column;

    gap: 20px;
}

.cv-roofing-keyword-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: 150px;

    padding: 27px 30px 30px;

    border: 1px solid rgba(19, 40, 85, 0.13);
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.95),
            rgba(248, 247, 244, 0.82)
        );

    box-shadow:
        0 18px 45px rgba(19, 40, 85, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

.cv-roofing-keyword-panel::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: -80px;
    right: -80px;

    width: 220px;
    height: 220px;

    border: 1px solid rgba(201, 162, 91, 0.13);
    border-radius: 50%;

    box-shadow:
        0 0 0 35px rgba(201, 162, 91, 0.02);
}

.cv-roofing-keyword-panel::after {
    content: "";

    position: absolute;

    left: 30px;
    bottom: 0;

    width: 0;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--keywords-gold),
            var(--keywords-oak)
        );

    transition: width 0.45s ease;
}

.cv-roofing-keyword-panel:hover {
    transform: translateX(7px);

    border-color: rgba(201, 162, 91, 0.55);

    box-shadow:
        0 26px 58px rgba(19, 40, 85, 0.12);
}

.cv-roofing-keyword-panel:hover::after {
    width: 90px;
}

/* =====================================================
   PANEL HEADER
===================================================== */

.cv-roofing-keyword-panel-head {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 21px;
}

.cv-roofing-keyword-panel-head > div {
    display: flex;
    align-items: center;

    gap: 14px;
}

.cv-roofing-keyword-panel-number {
    width: 36px;
    height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(201, 162, 91, 0.48);
    border-radius: 10px;

    color: var(--keywords-oak);

    background: rgba(201, 162, 91, 0.06);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.cv-roofing-keyword-panel-head h3 {
    margin: 0;

    color: var(--keywords-navy);

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.cv-roofing-keyword-panel-stage {
    color: #838c9b;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
}

/* =====================================================
   KEYWORD TAGS
===================================================== */

.cv-roofing-keyword-tags {
    position: relative;
    z-index: 2;

    display: flex;
    flex-wrap: wrap;

    gap: 11px;
}

.cv-roofing-keyword-tags span {
    display: inline-flex;
    align-items: center;

    min-height: 42px;

    padding: 10px 17px;

    border: 1px solid rgba(19, 40, 85, 0.14);
    border-radius: 999px;

    color: var(--keywords-navy);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.95),
            rgba(231, 225, 216, 0.5)
        );

    box-shadow:
        0 8px 20px rgba(19, 40, 85, 0.055);

    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;

    transition:
        color 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.cv-roofing-keyword-tags span::before {
    content: "";

    width: 6px;
    height: 6px;

    flex: 0 0 6px;

    margin-right: 9px;

    border-radius: 50%;

    background: var(--keywords-gold);

    box-shadow:
        0 0 0 4px rgba(201, 162, 91, 0.11);
}

.cv-roofing-keyword-tags span:hover {
    color: #ffffff;

    border-color: var(--keywords-navy);

    background:
        linear-gradient(
            135deg,
            var(--keywords-navy),
            var(--keywords-dark-navy)
        );

    transform: translateY(-4px);

    box-shadow:
        0 14px 30px rgba(13, 28, 69, 0.18);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1100px) {

    .cv-roofing-keywords-container {
        width: min(100% - 50px, 1040px);
    }

    .cv-roofing-keywords-heading-row {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(280px, 0.65fr);

        gap: 55px;
    }
}

@media (max-width: 850px) {

    .cv-roofing-keywords {
        padding: 105px 0;
    }

    .cv-roofing-keywords-container {
        width: min(100% - 40px, 760px);
    }

    .cv-roofing-keywords-heading-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .cv-roofing-keywords-heading-row p {
        padding-left: 22px;
    }

    .cv-roofing-keywords-layout {
        grid-template-columns: 1fr;
    }

    .cv-roofing-keywords-rail {
        display: none;
    }
}

@media (max-width: 600px) {

    .cv-roofing-keywords {
        padding: 85px 0;
    }

    .cv-roofing-keywords-container {
        width: min(100% - 28px, 540px);
    }

    .cv-roofing-keywords-header {
        margin-bottom: 50px;
    }

    .cv-roofing-keywords-eyebrow {
        font-size: 9px;
        letter-spacing: 1.7px;
    }

    .cv-roofing-keywords-eyebrow-line {
        width: 29px;
    }

    .cv-roofing-keywords-heading-row h2 {
        font-size: clamp(36px, 10vw, 47px);
        letter-spacing: -1.8px;
    }

    .cv-roofing-keywords-heading-row p {
        font-size: 16px;
    }

    .cv-roofing-keyword-panel {
        padding: 23px 20px 25px;
        border-radius: 18px;
    }

    .cv-roofing-keyword-panel-head {
        align-items: flex-start;
    }

    .cv-roofing-keyword-panel-head > div {
        align-items: flex-start;
    }

    .cv-roofing-keyword-panel-stage {
        text-align: right;
    }

    .cv-roofing-keyword-tags span {
        width: 100%;
        min-height: 44px;

        border-radius: 13px;

        font-size: 12px;
    }
}

@media (max-width: 420px) {

    .cv-roofing-keyword-panel-head {
        flex-direction: column;
    }

    .cv-roofing-keyword-panel-stage {
        margin-left: 50px;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {

    .cv-roofing-keyword-panel,
    .cv-roofing-keyword-tags span,
    .cv-roofing-keywords-rail-item {
        transition: none;
    }
}

/* =====================================================
   ROOFING SUBCATEGORIES - DIAMOND LAYOUT
===================================================== */

.cv-roofing-diamond-section {
    --diamond-navy: #132855;
    --diamond-dark-navy: #0D1C45;
    --diamond-deep-navy: #071126;
    --diamond-gold: #C9A25B;
    --diamond-oak: #B88558;
    --diamond-ivory: #F8F7F4;
    --diamond-beige: #E7E1D8;

    position: relative;
    isolation: isolate;
    overflow: hidden;

    padding: 125px 0 150px;

    background:
        radial-gradient(
            circle at 88% 13%,
            rgba(201, 162, 91, 0.16),
            transparent 27%
        ),
        radial-gradient(
            circle at 8% 88%,
            rgba(184, 133, 88, 0.11),
            transparent 26%
        ),
        linear-gradient(
            135deg,
            #071126 0%,
            var(--diamond-dark-navy) 50%,
            #061021 100%
        );
}

.cv-roofing-diamond-container {
    position: relative;
    z-index: 4;

    width: min(1420px, calc(100% - 80px));
    margin: 0 auto;
}

/* =====================================================
   BACKGROUND
===================================================== */

.cv-roofing-diamond-grid-bg {
    position: absolute;
    inset: 0;
    z-index: -3;

    opacity: 0.65;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px
        );

    background-size: 58px 58px;

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.72) 70%,
            rgba(0, 0, 0, 0.22)
        );

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.72) 70%,
            rgba(0, 0, 0, 0.22)
        );
}

.cv-roofing-diamond-glow {
    position: absolute;
    z-index: -2;

    border-radius: 50%;

    pointer-events: none;
}

.cv-roofing-diamond-glow-one {
    width: 580px;
    height: 580px;

    top: -290px;
    right: -240px;

    border: 1px solid rgba(201, 162, 91, 0.2);

    box-shadow:
        0 0 0 75px rgba(201, 162, 91, 0.025),
        0 0 0 145px rgba(201, 162, 91, 0.015);
}

.cv-roofing-diamond-glow-two {
    width: 430px;
    height: 430px;

    left: -215px;
    bottom: -215px;

    background:
        radial-gradient(
            circle,
            rgba(201, 162, 91, 0.13),
            transparent 68%
        );
}

/* =====================================================
   HEADER
===================================================== */

.cv-roofing-diamond-header {
    max-width: 920px;
    margin-bottom: 90px;
}

.cv-roofing-diamond-eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;

    margin-bottom: 24px;

    color: rgba(231, 225, 216, 0.53);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.cv-roofing-diamond-eyebrow-line {
    width: 48px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--diamond-gold),
            var(--diamond-oak)
        );
}

.cv-roofing-diamond-header h2 {
    max-width: 920px;

    margin: 0;

    color: var(--diamond-ivory);

    font-size: clamp(43px, 4.8vw, 56px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -3px;
}

.cv-roofing-diamond-header p {
    max-width: 700px;

    margin: 27px 0 0;

    color: rgba(231, 225, 216, 0.68);

    font-size: 17px;
    line-height: 1.75;
}

/* =====================================================
   DIAMOND NETWORK
===================================================== */

.cv-roofing-diamond-network {
    position: relative;

    width: min(1180px, 100%);
    min-height: 860px;

    margin: 0 auto;
}

/* Network decorative lines */

.cv-roofing-diamond-network-line {
    position: absolute;
    z-index: 0;

    top: 50%;
    left: 50%;

    pointer-events: none;
}

.cv-roofing-diamond-network-line-one {
    width: 610px;
    height: 610px;

    border: 1px solid rgba(201, 162, 91, 0.19);

    transform:
        translate(-50%, -50%)
        rotate(45deg);
}

.cv-roofing-diamond-network-line-two {
    width: 430px;
    height: 430px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    transform:
        translate(-50%, -50%)
        rotate(45deg);
}

.cv-roofing-diamond-network-line-three {
    width: 2px;
    height: 700px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(201, 162, 91, 0.32),
            transparent
        );

    transform: translate(-50%, -50%);
}

/* =====================================================
   CENTER DIAMOND
===================================================== */

.cv-roofing-diamond-center {
    position: absolute;
    z-index: 6;

    top: 50%;
    left: 50%;

    width: 190px;
    height: 190px;

    transform:
        translate(-50%, -50%)
        rotate(45deg);

    border: 1px solid rgba(201, 162, 91, 0.55);
    border-radius: 28px;

    background:
        radial-gradient(
            circle at 25% 20%,
            rgba(201, 162, 91, 0.22),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            var(--diamond-navy),
            var(--diamond-deep-navy)
        );

    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.35),
        0 0 0 20px rgba(201, 162, 91, 0.045),
        0 0 0 42px rgba(201, 162, 91, 0.018);
}

.cv-roofing-diamond-center::before {
    content: "";

    position: absolute;
    inset: 16px;

    border: 1px dashed rgba(201, 162, 91, 0.3);
    border-radius: 20px;
}

.cv-roofing-diamond-center-inner {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: rotate(-45deg);
}

.cv-roofing-diamond-center-inner i {
    width: 76px;
    height: 76px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 22px;

    color: var(--diamond-dark-navy);

    background:
        linear-gradient(
            135deg,
            var(--diamond-gold),
            var(--diamond-oak)
        );

    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.28);

    font-size: 29px;
}

/* =====================================================
   DIAMOND CARDS
===================================================== */

.cv-roofing-diamond-card {
    position: absolute;
    z-index: 4;

    width: 220px;
    height: 220px;

    transform: rotate(45deg);

    overflow: hidden;

    border: 1px solid rgba(231, 225, 216, 0.14);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.085),
            rgba(255, 255, 255, 0.025)
        );

    box-shadow:
        0 24px 55px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);

    backdrop-filter: blur(15px);

    transition:
        transform 0.42s ease,
        border-color 0.42s ease,
        background 0.42s ease,
        box-shadow 0.42s ease;
}

.cv-roofing-diamond-card::before {
    content: "";

    position: absolute;

    width: 135px;
    height: 135px;

    right: -65px;
    bottom: -65px;

    border: 1px solid rgba(201, 162, 91, 0.12);
    border-radius: 50%;

    transition:
        transform 0.4s ease,
        border-color 0.4s ease;
}

.cv-roofing-diamond-card::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 0;
    height: 3px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            var(--diamond-gold),
            var(--diamond-oak)
        );

    transition: width 0.42s ease;
}

.cv-roofing-diamond-card:hover {
    transform:
        rotate(45deg)
        translateY(-8px)
        scale(1.035);

    border-color: rgba(201, 162, 91, 0.58);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.11),
            rgba(201, 162, 91, 0.055)
        );

    box-shadow:
        0 34px 70px rgba(0, 0, 0, 0.31);
}

.cv-roofing-diamond-card:hover::before {
    transform: scale(1.18);
    border-color: rgba(201, 162, 91, 0.28);
}

.cv-roofing-diamond-card:hover::after {
    width: 82px;
}

.cv-roofing-diamond-card-inner {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 30px;

    text-align: center;

    transform: rotate(-45deg);
}

/* Card Positions */

.cv-roofing-diamond-card-one {
    top: 10px;
    left: 105px;
}

.cv-roofing-diamond-card-two {
    top: 10px;
    right: 105px;
}

.cv-roofing-diamond-card-three {
    top: 215px;
    left: -5px;
}

.cv-roofing-diamond-card-four {
    top: 215px;
    right: -5px;
}

.cv-roofing-diamond-card-five {
    bottom: 215px;
    left: -5px;
}

.cv-roofing-diamond-card-six {
    bottom: 215px;
    right: -5px;
}

.cv-roofing-diamond-card-seven {
    bottom: 10px;
    left: 105px;
}

.cv-roofing-diamond-card-eight {
    bottom: 10px;
    right: 105px;
}

/* Number */

.cv-roofing-diamond-number {
    position: absolute;

    top: 31px;
    left: 50%;

    transform: translateX(-50%);

    color: rgba(231, 225, 216, 0.42);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

/* Icon */

.cv-roofing-diamond-icon {
    width: 55px;
    height: 55px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 19px;

    border: 1px solid rgba(201, 162, 91, 0.45);
    border-radius: 16px;

    color: var(--diamond-gold);

    background:
        linear-gradient(
            145deg,
            rgba(201, 162, 91, 0.11),
            rgba(255, 255, 255, 0.025)
        );

    font-size: 19px;

    transition:
        color 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease;
}

.cv-roofing-diamond-card:hover
.cv-roofing-diamond-icon {
    color: var(--diamond-dark-navy);

    background:
        linear-gradient(
            135deg,
            var(--diamond-gold),
            var(--diamond-oak)
        );

    transform: rotate(-6deg) scale(1.06);
}

/* Heading */

.cv-roofing-diamond-card h3 {
    max-width: 150px;

    margin: 0;

    color: #ffffff;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1200px) {

    .cv-roofing-diamond-container {
        width: min(100% - 50px, 1120px);
    }

    .cv-roofing-diamond-network {
        transform: scale(0.9);
        transform-origin: top center;
        margin-bottom: -85px;
    }
}

@media (max-width: 980px) {

    .cv-roofing-diamond-section {
        padding: 105px 0;
    }

    .cv-roofing-diamond-container {
        width: min(100% - 40px, 800px);
    }

    .cv-roofing-diamond-header {
        margin-bottom: 60px;
    }

    .cv-roofing-diamond-network {
        min-height: auto;

        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 22px;

        transform: none;
        margin-bottom: 0;
    }

    .cv-roofing-diamond-network-line,
    .cv-roofing-diamond-center {
        display: none;
    }

    .cv-roofing-diamond-card {
        position: relative;

        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        width: 100%;
        height: 230px;

        transform: none;
    }

    .cv-roofing-diamond-card:hover {
        transform: translateY(-7px);
    }

    .cv-roofing-diamond-card-inner {
        transform: none;
    }
}

@media (max-width: 600px) {

    .cv-roofing-diamond-section {
        padding: 85px 0;
    }

    .cv-roofing-diamond-container {
        width: min(100% - 28px, 540px);
    }

    .cv-roofing-diamond-eyebrow {
        font-size: 9px;
        letter-spacing: 1.7px;
    }

    .cv-roofing-diamond-eyebrow-line {
        width: 29px;
    }

    .cv-roofing-diamond-header h2 {
        font-size: clamp(36px, 10vw, 47px);
        letter-spacing: -1.8px;
    }

    .cv-roofing-diamond-header p {
        font-size: 16px;
    }

    .cv-roofing-diamond-network {
        grid-template-columns: 1fr;
    }

    .cv-roofing-diamond-card {
        height: 210px;
        border-radius: 20px;
    }

    .cv-roofing-diamond-icon {
        width: 50px;
        height: 50px;
    }

    .cv-roofing-diamond-card h3 {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .cv-roofing-diamond-card,
    .cv-roofing-diamond-icon {
        transition: none;
    }
}

/* =====================================================
   WHY OUR AGENCY UNDERSTANDS THIS INDUSTRY
===================================================== */

.cv-roofing-understands {
    --understands-navy: #132855;
    --understands-dark-navy: #0D1C45;
    --understands-gold: #C9A25B;
    --understands-oak: #B88558;
    --understands-ivory: #F8F7F4;
    --understands-beige: #E7E1D8;
    --understands-charcoal: #1E1E1E;

    position: relative;
    isolation: isolate;
    overflow: hidden;

    padding: 125px 0;

    background:
        radial-gradient(
            circle at 88% 15%,
            rgba(201, 162, 91, 0.18),
            transparent 27%
        ),
        radial-gradient(
            circle at 8% 88%,
            rgba(19, 40, 85, 0.09),
            transparent 27%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            var(--understands-ivory) 58%,
            #f0ebe3 100%
        );
}

.cv-roofing-understands-container {
    position: relative;
    z-index: 4;

    width: min(1420px, calc(100% - 80px));
    margin: 0 auto;
}

/* =====================================================
   BACKGROUND DECORATION
===================================================== */

.cv-roofing-understands-grid {
    position: absolute;
    inset: 0;
    z-index: -3;

    opacity: 0.52;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(19, 40, 85, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(19, 40, 85, 0.045) 1px,
            transparent 1px
        );

    background-size: 58px 58px;

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.4)
        );

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.4)
        );
}

.cv-roofing-understands-glow {
    position: absolute;
    z-index: -2;

    border-radius: 50%;

    pointer-events: none;
}

.cv-roofing-understands-glow-one {
    width: 560px;
    height: 560px;

    top: -280px;
    right: -220px;

    border: 1px solid rgba(201, 162, 91, 0.22);

    box-shadow:
        0 0 0 70px rgba(201, 162, 91, 0.03),
        0 0 0 140px rgba(201, 162, 91, 0.018);
}

.cv-roofing-understands-glow-two {
    width: 400px;
    height: 400px;

    left: -200px;
    bottom: -200px;

    background:
        radial-gradient(
            circle,
            rgba(19, 40, 85, 0.12),
            transparent 68%
        );
}

/* =====================================================
   MAIN LAYOUT
===================================================== */

.cv-roofing-understands-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 0.82fr)
        minmax(0, 1.18fr);

    align-items: center;

    gap: 95px;
}

/* =====================================================
   LEFT CONTENT
===================================================== */

.cv-roofing-understands-left {
    position: relative;
}

.cv-roofing-understands-eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 11px;

    margin-bottom: 24px;

    color: #747f91;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.cv-roofing-understands-eyebrow-line {
    width: 48px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--understands-gold),
            var(--understands-oak)
        );
}

.cv-roofing-understands-left h2 {
    max-width: 680px;

    margin: 0;

    color: var(--understands-navy);

    font-size: clamp(43px, 4.7vw, 59px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -3px;
}

.cv-roofing-understands-left p {
    max-width: 670px;

    margin: 28px 0 0;

    color: #596578;

    font-size: 17px;
    line-height: 1.75;
}

/* =====================================================
   RIGHT SIDE
===================================================== */

.cv-roofing-understands-right {
    position: relative;

    padding: 30px 0;
}

.cv-roofing-understands-center-line {
    position: absolute;

    top: 0;
    bottom: 0;
    left: 50%;

    width: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(201, 162, 91, 0.55) 10%,
            rgba(19, 40, 85, 0.16) 50%,
            rgba(201, 162, 91, 0.55) 90%,
            transparent
        );
}

.cv-roofing-understands-grid-list {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;
}

/* =====================================================
   CHECKLIST CARD
===================================================== */

.cv-roofing-understands-card {
    position: relative;
    overflow: hidden;

    min-height: 115px;

    display: flex;
    align-items: center;

    gap: 17px;

    padding: 24px;

    border: 1px solid rgba(19, 40, 85, 0.13);
    border-radius: 20px;

    color: var(--understands-navy);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.96),
            rgba(248, 247, 244, 0.78)
        );

    box-shadow:
        0 18px 42px rgba(19, 40, 85, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);

    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        background 0.4s ease;
}

.cv-roofing-understands-card::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            110deg,
            transparent 40%,
            rgba(201, 162, 91, 0.09),
            transparent 70%
        );

    transform: translateX(-110%);

    transition: transform 0.75s ease;
}

.cv-roofing-understands-card::after {
    content: "";

    position: absolute;

    left: 24px;
    bottom: 0;

    width: 0;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--understands-gold),
            var(--understands-oak)
        );

    transition: width 0.45s ease;
}

.cv-roofing-understands-card:hover {
    transform: translateY(-7px);

    border-color: rgba(201, 162, 91, 0.56);

    background:
        linear-gradient(
            145deg,
            #ffffff,
            rgba(231, 225, 216, 0.55)
        );

    box-shadow:
        0 27px 55px rgba(19, 40, 85, 0.13);
}

.cv-roofing-understands-card:hover::before {
    transform: translateX(110%);
}

.cv-roofing-understands-card:hover::after {
    width: 65px;
}

/* =====================================================
   CHECK ICON
===================================================== */

.cv-roofing-understands-check {
    position: relative;
    z-index: 2;

    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(201, 162, 91, 0.45);
    border-radius: 13px;

    color: var(--understands-gold);

    background:
        linear-gradient(
            145deg,
            rgba(19, 40, 85, 0.08),
            rgba(201, 162, 91, 0.07)
        );

    font-size: 14px;

    transition:
        color 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease;
}

.cv-roofing-understands-card:hover
.cv-roofing-understands-check {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--understands-navy),
            var(--understands-dark-navy)
        );

    transform: rotate(-6deg) scale(1.05);
}

.cv-roofing-understands-card > span:last-child {
    position: relative;
    z-index: 2;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1120px) {

    .cv-roofing-understands-container {
        width: min(100% - 50px, 1080px);
    }

    .cv-roofing-understands-layout {
        grid-template-columns:
            minmax(0, 0.9fr)
            minmax(0, 1.1fr);

        gap: 60px;
    }

    .cv-roofing-understands-card {
        padding: 21px;
    }
}

@media (max-width: 900px) {

    .cv-roofing-understands {
        padding: 105px 0;
    }

    .cv-roofing-understands-container {
        width: min(100% - 40px, 780px);
    }

    .cv-roofing-understands-layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .cv-roofing-understands-right {
        padding: 0;
    }
}

@media (max-width: 650px) {

    .cv-roofing-understands {
        padding: 85px 0;
    }

    .cv-roofing-understands-container {
        width: min(100% - 28px, 540px);
    }

    .cv-roofing-understands-eyebrow {
        font-size: 9px;
        letter-spacing: 1.7px;
    }

    .cv-roofing-understands-eyebrow-line {
        width: 29px;
    }

    .cv-roofing-understands-left h2 {
        font-size: clamp(36px, 10vw, 47px);
        letter-spacing: -1.8px;
    }

    .cv-roofing-understands-left p {
        font-size: 16px;
    }

    .cv-roofing-understands-grid-list {
        grid-template-columns: 1fr;
    }

    .cv-roofing-understands-center-line {
        display: none;
    }

    .cv-roofing-understands-card {
        min-height: 95px;

        padding: 20px;

        border-radius: 17px;

        font-size: 14px;
    }

    .cv-roofing-understands-check {
        width: 42px;
        height: 42px;

        flex-basis: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .cv-roofing-understands-card,
    .cv-roofing-understands-check {
        transition: none;
    }
}

/* =====================================================
   ROOFING RESULTS SECTION
===================================================== */

.cv-roofing-results {
    --results-navy: #132855;
    --results-dark-navy: #0D1C45;
    --results-deep-navy: #071126;
    --results-gold: #C9A25B;
    --results-oak: #B88558;
    --results-ivory: #F8F7F4;
    --results-beige: #E7E1D8;
    --results-green: #55A987;

    position: relative;
    isolation: isolate;
    overflow: hidden;

    padding: 125px 0 135px;

    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(201, 162, 91, 0.15),
            transparent 27%
        ),
        radial-gradient(
            circle at 8% 88%,
            rgba(184, 133, 88, 0.1),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #071126 0%,
            var(--results-dark-navy) 48%,
            #061022 100%
        );
}

.cv-roofing-results-container {
    position: relative;
    z-index: 4;

    width: min(1420px, calc(100% - 80px));
    margin: 0 auto;
}

/* =====================================================
   BACKGROUND DECORATION
===================================================== */

.cv-roofing-results-grid-bg {
    position: absolute;
    inset: 0;
    z-index: -3;

    opacity: 0.62;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px
        );

    background-size: 58px 58px;

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.72) 72%,
            rgba(0, 0, 0, 0.22)
        );

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.72) 72%,
            rgba(0, 0, 0, 0.22)
        );
}

.cv-roofing-results-glow {
    position: absolute;
    z-index: -2;

    border-radius: 50%;

    pointer-events: none;
}

.cv-roofing-results-glow-one {
    width: 570px;
    height: 570px;

    top: -285px;
    right: -225px;

    border: 1px solid rgba(201, 162, 91, 0.2);

    box-shadow:
        0 0 0 72px rgba(201, 162, 91, 0.025),
        0 0 0 142px rgba(201, 162, 91, 0.015);
}

.cv-roofing-results-glow-two {
    width: 420px;
    height: 420px;

    left: -210px;
    bottom: -210px;

    background:
        radial-gradient(
            circle,
            rgba(201, 162, 91, 0.13),
            transparent 68%
        );
}

/* =====================================================
   SECTION HEADER
===================================================== */

.cv-roofing-results-header {
    max-width: 900px;
    margin-bottom: 65px;
}

.cv-roofing-results-eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 11px;

    margin-bottom: 24px;

    color: rgba(231, 225, 216, 0.52);

    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.cv-roofing-results-eyebrow-line {
    width: 48px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--results-gold),
            var(--results-oak)
        );
}

.cv-roofing-results-header h2 {
    max-width: 850px;

    margin: 0;

    color: var(--results-ivory);

    font-size: clamp(43px, 4.8vw, 60px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -3px;
}

/* =====================================================
   METRIC CARDS
===================================================== */

.cv-roofing-results-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 20px;

    margin-bottom: 55px;
}

.cv-roofing-result-metric {
    position: relative;
    overflow: hidden;

    min-height: 205px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 27px;

    border: 1px solid rgba(231, 225, 216, 0.13);
    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.025)
        );

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    backdrop-filter: blur(15px);

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        background 0.4s ease,
        box-shadow 0.4s ease;
}

.cv-roofing-result-metric::before {
    content: "";

    position: absolute;

    top: -70px;
    right: -70px;

    width: 180px;
    height: 180px;

    border: 1px solid rgba(201, 162, 91, 0.13);
    border-radius: 50%;

    transition:
        transform 0.4s ease,
        border-color 0.4s ease;
}

.cv-roofing-result-metric::after {
    content: "";

    position: absolute;

    left: 27px;
    bottom: 0;

    width: 0;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--results-gold),
            var(--results-oak)
        );

    transition: width 0.45s ease;
}

.cv-roofing-result-metric:hover {
    transform: translateY(-8px);

    border-color: rgba(201, 162, 91, 0.5);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.1),
            rgba(201, 162, 91, 0.045)
        );

    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.27);
}

.cv-roofing-result-metric:hover::before {
    transform: scale(1.15);
    border-color: rgba(201, 162, 91, 0.25);
}

.cv-roofing-result-metric:hover::after {
    width: 70px;
}

/* Metric icon */

.cv-roofing-result-metric-icon {
    position: absolute;

    top: 25px;
    right: 25px;

    width: 48px;
    height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(201, 162, 91, 0.42);
    border-radius: 14px;

    color: var(--results-gold);

    background:
        linear-gradient(
            145deg,
            rgba(201, 162, 91, 0.1),
            rgba(255, 255, 255, 0.025)
        );

    font-size: 17px;

    transition:
        color 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease;
}

.cv-roofing-result-metric:hover
.cv-roofing-result-metric-icon {
    color: var(--results-dark-navy);

    background:
        linear-gradient(
            135deg,
            var(--results-gold),
            var(--results-oak)
        );

    transform: rotate(-6deg) scale(1.05);
}

/* Metric text */

.cv-roofing-result-metric strong {
    position: relative;
    z-index: 2;

    display: block;

    margin-bottom: 14px;

    color: var(--results-green);

    font-size: clamp(37px, 3.5vw, 54px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1.8px;
}

.cv-roofing-result-metric span {
    position: relative;
    z-index: 2;

    color: rgba(231, 225, 216, 0.66);

    font-size: 13px;
    line-height: 1.55;
}

/* =====================================================
   CASE STUDY GRID
===================================================== */

.cv-roofing-results-cases {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px;
}

/* =====================================================
   CASE STUDY CARD
===================================================== */

.cv-roofing-result-case {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: 390px;

    display: flex;
    flex-direction: column;

    border: 1px solid rgba(231, 225, 216, 0.13);
    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.025)
        );

    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    backdrop-filter: blur(15px);

    transition:
        transform 0.42s ease,
        border-color 0.42s ease,
        box-shadow 0.42s ease;
}

.cv-roofing-result-case::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: -90px;
    right: -90px;

    width: 240px;
    height: 240px;

    border: 1px solid rgba(201, 162, 91, 0.14);
    border-radius: 50%;

    box-shadow:
        0 0 0 35px rgba(201, 162, 91, 0.018);

    transition:
        transform 0.45s ease,
        border-color 0.45s ease;
}

.cv-roofing-result-case::after {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 3px;

    transform: scaleY(0);
    transform-origin: bottom;

    background:
        linear-gradient(
            to bottom,
            var(--results-gold),
            var(--results-oak)
        );

    transition: transform 0.45s ease;
}

.cv-roofing-result-case:hover {
    transform: translateY(-9px);

    border-color: rgba(201, 162, 91, 0.52);

    box-shadow:
        0 32px 65px rgba(0, 0, 0, 0.3);
}

.cv-roofing-result-case:hover::before {
    transform: scale(1.14);
    border-color: rgba(201, 162, 91, 0.26);
}

.cv-roofing-result-case:hover::after {
    transform: scaleY(1);
}

/* Case top */

.cv-roofing-result-case-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 28px 28px 0;
}

.cv-roofing-result-case-label {
    color: rgba(231, 225, 216, 0.42);

    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 2px;
}

.cv-roofing-result-case-icon {
    width: 46px;
    height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(201, 162, 91, 0.4);
    border-radius: 13px;

    color: var(--results-gold);

    background:
        linear-gradient(
            145deg,
            rgba(201, 162, 91, 0.1),
            rgba(255, 255, 255, 0.025)
        );

    font-size: 16px;

    transition:
        color 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease;
}

.cv-roofing-result-case:hover
.cv-roofing-result-case-icon {
    color: var(--results-dark-navy);

    background:
        linear-gradient(
            135deg,
            var(--results-gold),
            var(--results-oak)
        );

    transform: rotate(-6deg) scale(1.05);
}

/* Case heading */

.cv-roofing-result-case h3 {
    margin: 26px 28px 0;

    color: #ffffff;

    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

/* Case stats */

.cv-roofing-result-case-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;

    padding: 26px 28px 30px;
}

.cv-roofing-result-case-stats div {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.cv-roofing-result-case-stats strong {
    color: var(--results-gold);

    font-size: 27px;
    font-weight: 700;
    line-height: 1;
}

.cv-roofing-result-case-stats span {
    color: rgba(231, 225, 216, 0.42);

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Case note */

.cv-roofing-result-case-note {
    position: relative;

    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);

    gap: 14px;

    margin-top: auto;
    padding: 24px 28px 27px;

    border-top: 1px solid rgba(231, 225, 216, 0.12);

    background: rgba(255, 255, 255, 0.018);
}

.cv-roofing-result-case-note i {
    margin-top: 3px;

    color: var(--results-gold);

    font-size: 14px;
}

.cv-roofing-result-case-note p {
    margin: 0;

    color: rgba(231, 225, 216, 0.65);

    font-size: 14px;
    font-style: italic;
    line-height: 1.65;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1120px) {

    .cv-roofing-results-container {
        width: min(100% - 50px, 1080px);
    }

    .cv-roofing-results-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cv-roofing-result-metric {
        min-height: 190px;
    }
}

@media (max-width: 900px) {

    .cv-roofing-results {
        padding: 105px 0;
    }

    .cv-roofing-results-container {
        width: min(100% - 40px, 780px);
    }

    .cv-roofing-results-cases {
        grid-template-columns: 1fr;
    }

    .cv-roofing-result-case {
        min-height: 360px;
    }
}

@media (max-width: 600px) {

    .cv-roofing-results {
        padding: 85px 0;
    }

    .cv-roofing-results-container {
        width: min(100% - 28px, 540px);
    }

    .cv-roofing-results-header {
        margin-bottom: 48px;
    }

    .cv-roofing-results-eyebrow {
        font-size: 9px;
        letter-spacing: 1.7px;
    }

    .cv-roofing-results-eyebrow-line {
        width: 29px;
    }

    .cv-roofing-results-header h2 {
        font-size: clamp(36px, 10vw, 47px);
        letter-spacing: -1.8px;
    }

    .cv-roofing-results-metrics {
        grid-template-columns: 1fr;
    }

    .cv-roofing-result-metric {
        min-height: 175px;
        padding: 24px;
        border-radius: 18px;
    }

    .cv-roofing-result-metric strong {
        font-size: 42px;
    }

    .cv-roofing-result-case {
        min-height: 350px;
        border-radius: 19px;
    }

    .cv-roofing-result-case-top {
        padding: 24px 22px 0;
    }

    .cv-roofing-result-case h3 {
        margin: 23px 22px 0;
        font-size: 18px;
    }

    .cv-roofing-result-case-stats {
        padding: 24px 22px 27px;
    }

    .cv-roofing-result-case-note {
        padding: 22px;
    }
}

@media (max-width: 400px) {

    .cv-roofing-result-case-stats {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    .cv-roofing-result-metric,
    .cv-roofing-result-metric-icon,
    .cv-roofing-result-case,
    .cv-roofing-result-case-icon {
        transition: none;
    }
}

/* =====================================================
   ROOFING AGENCY TESTIMONIALS
===================================================== */

.cv-roofing-feedback {
    --feedback-navy: #132855;
    --feedback-dark-navy: #0D1C45;
    --feedback-gold: #C9A25B;
    --feedback-oak: #B88558;
    --feedback-ivory: #F8F7F4;
    --feedback-beige: #E7E1D8;
    --feedback-charcoal: #1E1E1E;

    position: relative;
    isolation: isolate;
    overflow: hidden;

    padding: 125px 0 145px;

    background:
        radial-gradient(
            circle at 87% 14%,
            rgba(201, 162, 91, 0.2),
            transparent 27%
        ),
        radial-gradient(
            circle at 8% 88%,
            rgba(19, 40, 85, 0.09),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            var(--feedback-ivory) 57%,
            #f0ebe3 100%
        );
}

.cv-roofing-feedback-container {
    position: relative;
    z-index: 4;

    width: min(1420px, calc(100% - 80px));
    margin: 0 auto;
}

/* =====================================================
   BACKGROUND DECORATION
===================================================== */

.cv-roofing-feedback-grid {
    position: absolute;
    inset: 0;
    z-index: -3;

    opacity: 0.5;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(19, 40, 85, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(19, 40, 85, 0.045) 1px,
            transparent 1px
        );

    background-size: 58px 58px;

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.35)
        );

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.35)
        );
}

.cv-roofing-feedback-glow {
    position: absolute;
    z-index: -2;

    border-radius: 50%;

    pointer-events: none;
}

.cv-roofing-feedback-glow-one {
    width: 560px;
    height: 560px;

    top: -280px;
    right: -220px;

    border: 1px solid rgba(201, 162, 91, 0.23);

    box-shadow:
        0 0 0 70px rgba(201, 162, 91, 0.03),
        0 0 0 140px rgba(201, 162, 91, 0.018);
}

.cv-roofing-feedback-glow-two {
    width: 420px;
    height: 420px;

    left: -210px;
    bottom: -210px;

    background:
        radial-gradient(
            circle,
            rgba(19, 40, 85, 0.12),
            transparent 68%
        );
}

/* =====================================================
   HEADER
===================================================== */

.cv-roofing-feedback-header {
    max-width: 940px;
    margin-bottom: 78px;
}

.cv-roofing-feedback-eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 11px;

    margin-bottom: 24px;

    color: #747f91;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.cv-roofing-feedback-eyebrow-line {
    width: 48px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--feedback-gold),
            var(--feedback-oak)
        );
}

.cv-roofing-feedback-header h2 {
    max-width: 920px;

    margin: 0;

    color: var(--feedback-navy);

    font-size: clamp(43px, 4.8vw, 55px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -3px;
}

/* =====================================================
   TESTIMONIAL LAYOUT
===================================================== */

.cv-roofing-feedback-layout {
    position: relative;

    display: grid;
    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.1fr)
        minmax(0, 0.95fr);

    align-items: center;

    gap: 24px;
}

/* =====================================================
   TESTIMONIAL CARD
===================================================== */

.cv-roofing-feedback-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: 345px;

    display: flex;
    flex-direction: column;

    padding: 32px;

    border: 1px solid rgba(19, 40, 85, 0.13);
    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.96),
            rgba(248, 247, 244, 0.8)
        );

    box-shadow:
        0 22px 50px rgba(19, 40, 85, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);

    transition:
        transform 0.42s ease,
        border-color 0.42s ease,
        box-shadow 0.42s ease;
}

.cv-roofing-feedback-card::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: -90px;
    right: -90px;

    width: 230px;
    height: 230px;

    border: 1px solid rgba(201, 162, 91, 0.14);
    border-radius: 50%;

    box-shadow:
        0 0 0 35px rgba(201, 162, 91, 0.02);

    transition:
        transform 0.45s ease,
        border-color 0.45s ease;
}

.cv-roofing-feedback-card::after {
    content: "";

    position: absolute;

    left: 32px;
    bottom: 0;

    width: 0;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--feedback-gold),
            var(--feedback-oak)
        );

    transition: width 0.45s ease;
}

.cv-roofing-feedback-card:hover {
    transform: translateY(-9px);

    border-color: rgba(201, 162, 91, 0.58);

    box-shadow:
        0 32px 65px rgba(19, 40, 85, 0.15);
}

.cv-roofing-feedback-card:hover::before {
    transform: scale(1.14);
    border-color: rgba(201, 162, 91, 0.27);
}

.cv-roofing-feedback-card:hover::after {
    width: 76px;
}

/* Side card positions */

.cv-roofing-feedback-card-left {
    transform: translateY(30px) rotate(-1.2deg);
}

.cv-roofing-feedback-card-right {
    transform: translateY(30px) rotate(1.2deg);
}

.cv-roofing-feedback-card-left:hover,
.cv-roofing-feedback-card-right:hover {
    transform: translateY(20px) rotate(0deg);
}

/* =====================================================
   FEATURED MIDDLE CARD
===================================================== */

.cv-roofing-feedback-card-featured {
    min-height: 405px;

    padding: 38px;

    color: #ffffff;

    border-color: rgba(201, 162, 91, 0.4);

    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(201, 162, 91, 0.21),
            transparent 31%
        ),
        linear-gradient(
            145deg,
            var(--feedback-navy),
            var(--feedback-dark-navy)
        );

    box-shadow:
        0 30px 70px rgba(13, 28, 69, 0.24);
}

.cv-roofing-feedback-card-featured::before {
    border-color: rgba(201, 162, 91, 0.17);
}

.cv-roofing-feedback-card-featured::after {
    left: 38px;
}

.cv-roofing-feedback-featured-mark {
    position: absolute;

    top: 0;
    right: 38px;

    width: 58px;
    height: 6px;

    border-radius: 0 0 10px 10px;

    background:
        linear-gradient(
            90deg,
            var(--feedback-gold),
            var(--feedback-oak)
        );
}

/* =====================================================
   QUOTE ICON
===================================================== */

.cv-roofing-feedback-quote {
    width: 58px;
    height: 58px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 35px;

    border: 1px solid rgba(201, 162, 91, 0.45);
    border-radius: 17px;

    color: var(--feedback-gold);

    background:
        linear-gradient(
            145deg,
            rgba(19, 40, 85, 0.08),
            rgba(201, 162, 91, 0.07)
        );

    font-size: 21px;

    transition:
        color 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease;
}

.cv-roofing-feedback-card:hover
.cv-roofing-feedback-quote {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--feedback-gold),
            var(--feedback-oak)
        );

    transform: rotate(-7deg) scale(1.05);
}

.cv-roofing-feedback-card-featured
.cv-roofing-feedback-quote {
    background: rgba(255, 255, 255, 0.06);
}

/* =====================================================
   TESTIMONIAL TEXT
===================================================== */

.cv-roofing-feedback-card blockquote {
    position: relative;
    z-index: 2;

    margin: 0 0 38px;

    color: var(--feedback-navy);

    font-size: 18px;
    font-weight: 600;
    line-height: 1.7;
}

.cv-roofing-feedback-card-featured blockquote {
    color: #ffffff;

    font-size: 21px;
    line-height: 1.65;
}

/* =====================================================
   AUTHOR
===================================================== */

.cv-roofing-feedback-author {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    gap: 15px;

    margin-top: auto;
}

.cv-roofing-feedback-avatar {
    width: 52px;
    height: 52px;

    flex: 0 0 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--feedback-gold),
            var(--feedback-oak)
        );

    box-shadow:
        0 13px 28px rgba(184, 133, 88, 0.24);

    font-size: 17px;
}

.cv-roofing-feedback-card-featured
.cv-roofing-feedback-avatar {
    color: var(--feedback-dark-navy);
}

.cv-roofing-feedback-author-info {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.cv-roofing-feedback-author-info strong {
    color: var(--feedback-navy);

    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.cv-roofing-feedback-author-info span {
    color: #7a8596;

    font-size: 12px;
    line-height: 1.45;
}

.cv-roofing-feedback-card-featured
.cv-roofing-feedback-author-info strong {
    color: #ffffff;
}

.cv-roofing-feedback-card-featured
.cv-roofing-feedback-author-info span {
    color: rgba(231, 225, 216, 0.6);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1100px) {

    .cv-roofing-feedback-container {
        width: min(100% - 50px, 1060px);
    }

    .cv-roofing-feedback-layout {
        grid-template-columns: repeat(3, minmax(0, 1fr));

        gap: 18px;
    }

    .cv-roofing-feedback-card {
        padding: 27px;
    }

    .cv-roofing-feedback-card blockquote {
        font-size: 16px;
    }

    .cv-roofing-feedback-card-featured blockquote {
        font-size: 18px;
    }
}

@media (max-width: 850px) {

    .cv-roofing-feedback {
        padding: 105px 0;
    }

    .cv-roofing-feedback-container {
        width: min(100% - 40px, 760px);
    }

    .cv-roofing-feedback-layout {
        grid-template-columns: 1fr;

        gap: 22px;
    }

    .cv-roofing-feedback-card,
    .cv-roofing-feedback-card-featured {
        min-height: 330px;
    }

    .cv-roofing-feedback-card-left,
    .cv-roofing-feedback-card-right {
        transform: none;
    }

    .cv-roofing-feedback-card-left:hover,
    .cv-roofing-feedback-card-right:hover {
        transform: translateY(-7px);
    }

    .cv-roofing-feedback-card-featured {
        order: -1;
    }
}

@media (max-width: 600px) {

    .cv-roofing-feedback {
        padding: 85px 0;
    }

    .cv-roofing-feedback-container {
        width: min(100% - 28px, 540px);
    }

    .cv-roofing-feedback-header {
        margin-bottom: 50px;
    }

    .cv-roofing-feedback-eyebrow {
        font-size: 9px;
        letter-spacing: 1.7px;
    }

    .cv-roofing-feedback-eyebrow-line {
        width: 29px;
    }

    .cv-roofing-feedback-header h2 {
        font-size: clamp(36px, 10vw, 47px);
        letter-spacing: -1.8px;
    }

    .cv-roofing-feedback-card,
    .cv-roofing-feedback-card-featured {
        min-height: 310px;

        padding: 24px;

        border-radius: 20px;
    }

    .cv-roofing-feedback-card::after {
        left: 24px;
    }

    .cv-roofing-feedback-card blockquote,
    .cv-roofing-feedback-card-featured blockquote {
        font-size: 16px;
    }

    .cv-roofing-feedback-quote {
        width: 50px;
        height: 50px;

        margin-bottom: 27px;
    }

    .cv-roofing-feedback-avatar {
        width: 47px;
        height: 47px;

        flex-basis: 47px;
    }

    .cv-roofing-feedback-author-info strong {
        font-size: 14px;
    }

    .cv-roofing-feedback-author-info span {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .cv-roofing-feedback-card,
    .cv-roofing-feedback-quote {
        transition: none;
    }
}

/* =====================================================
   ROOFING SEO COMPARISON SECTION
===================================================== */

.cv-roofing-comparison {
    --comparison-navy: #132855;
    --comparison-dark-navy: #0D1C45;
    --comparison-deep-navy: #071126;
    --comparison-gold: #C9A25B;
    --comparison-oak: #B88558;
    --comparison-ivory: #F8F7F4;
    --comparison-beige: #E7E1D8;
    --comparison-green: #55A987;

    position: relative;
    isolation: isolate;
    overflow: hidden;

    padding: 125px 0 135px;

    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(201, 162, 91, 0.16),
            transparent 27%
        ),
        radial-gradient(
            circle at 8% 88%,
            rgba(184, 133, 88, 0.1),
            transparent 26%
        ),
        linear-gradient(
            135deg,
            #071126 0%,
            var(--comparison-dark-navy) 48%,
            #061022 100%
        );
}

.cv-roofing-comparison-container {
    position: relative;
    z-index: 4;

    width: min(1420px, calc(100% - 80px));
    margin: 0 auto;
}

/* =====================================================
   BACKGROUND DECORATION
===================================================== */

.cv-roofing-comparison-grid {
    position: absolute;
    inset: 0;
    z-index: -3;

    opacity: 0.62;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px
        );

    background-size: 58px 58px;

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.7) 72%,
            rgba(0, 0, 0, 0.22)
        );

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.7) 72%,
            rgba(0, 0, 0, 0.22)
        );
}

.cv-roofing-comparison-glow {
    position: absolute;
    z-index: -2;

    border-radius: 50%;

    pointer-events: none;
}

.cv-roofing-comparison-glow-one {
    width: 570px;
    height: 570px;

    top: -285px;
    right: -230px;

    border: 1px solid rgba(201, 162, 91, 0.2);

    box-shadow:
        0 0 0 72px rgba(201, 162, 91, 0.025),
        0 0 0 142px rgba(201, 162, 91, 0.015);
}

.cv-roofing-comparison-glow-two {
    width: 420px;
    height: 420px;

    left: -210px;
    bottom: -210px;

    background:
        radial-gradient(
            circle,
            rgba(201, 162, 91, 0.13),
            transparent 68%
        );
}

/* =====================================================
   HEADER
===================================================== */

.cv-roofing-comparison-header {
    max-width: 950px;
    margin-bottom: 72px;
}

.cv-roofing-comparison-eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 11px;

    margin-bottom: 24px;

    color: rgba(231, 225, 216, 0.52);

    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.cv-roofing-comparison-eyebrow-line {
    width: 48px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--comparison-gold),
            var(--comparison-oak)
        );
}

.cv-roofing-comparison-header h2 {
    max-width: 950px;

    margin: 0;

    color: var(--comparison-ivory);

    font-size: clamp(43px, 4.8vw, 55px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -3px;
}

/* =====================================================
   COMPARISON TABLE
===================================================== */

.cv-roofing-comparison-table {
    position: relative;
    overflow: hidden;

    border: 1px solid rgba(231, 225, 216, 0.13);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.065),
            rgba(255, 255, 255, 0.018)
        );

    box-shadow:
        0 28px 65px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    backdrop-filter: blur(16px);
}

.cv-roofing-comparison-table::before {
    content: "";

    position: absolute;
    top: -130px;
    right: -130px;

    width: 360px;
    height: 360px;

    border: 1px solid rgba(201, 162, 91, 0.14);
    border-radius: 50%;

    box-shadow:
        0 0 0 55px rgba(201, 162, 91, 0.02);

    pointer-events: none;
}

/* =====================================================
   HEADER ROW
===================================================== */

.cv-roofing-comparison-table-head,
.cv-roofing-comparison-row {
    display: grid;

    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(210px, 0.75fr)
        minmax(230px, 0.8fr);

    align-items: center;
}

.cv-roofing-comparison-table-head {
    min-height: 78px;

    border-bottom: 1px solid rgba(231, 225, 216, 0.13);

    background: rgba(255, 255, 255, 0.025);
}

.cv-roofing-comparison-table-head > div {
    padding: 20px 28px;

    color: rgba(231, 225, 216, 0.5);

    font-size: 10px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 2px;
}

.cv-roofing-comparison-head-agency {
    position: relative;

    color: var(--comparison-gold) !important;

    text-align: center;

    background:
        linear-gradient(
            to bottom,
            rgba(201, 162, 91, 0.09),
            rgba(201, 162, 91, 0.035)
        );
}

.cv-roofing-comparison-head-agency::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 72px;
    height: 3px;

    transform: translateX(-50%);

    border-radius: 0 0 5px 5px;

    background:
        linear-gradient(
            90deg,
            var(--comparison-gold),
            var(--comparison-oak)
        );
}

.cv-roofing-comparison-head-generic {
    text-align: center;
}

/* =====================================================
   TABLE ROW
===================================================== */

.cv-roofing-comparison-row {
    position: relative;

    min-height: 86px;

    border-bottom: 1px solid rgba(231, 225, 216, 0.1);

    transition:
        background 0.35s ease,
        transform 0.35s ease;
}

.cv-roofing-comparison-row:last-child {
    border-bottom: 0;
}

.cv-roofing-comparison-row:nth-child(even) {
    background: rgba(255, 255, 255, 0.018);
}

.cv-roofing-comparison-row::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 3px;

    transform: scaleY(0);
    transform-origin: center;

    background:
        linear-gradient(
            to bottom,
            var(--comparison-gold),
            var(--comparison-oak)
        );

    transition: transform 0.35s ease;
}

.cv-roofing-comparison-row:hover {
    background:
        linear-gradient(
            90deg,
            rgba(201, 162, 91, 0.06),
            rgba(255, 255, 255, 0.025)
        );
}

.cv-roofing-comparison-row:hover::before {
    transform: scaleY(1);
}

.cv-roofing-comparison-feature,
.cv-roofing-comparison-agency,
.cv-roofing-comparison-generic {
    min-height: 86px;

    display: flex;
    align-items: center;

    padding: 21px 28px;
}

/* =====================================================
   FEATURE COLUMN
===================================================== */

.cv-roofing-comparison-feature {
    color: var(--comparison-ivory);

    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

/* =====================================================
   OUR AGENCY COLUMN
===================================================== */

.cv-roofing-comparison-agency {
    justify-content: center;

    border-left: 1px solid rgba(201, 162, 91, 0.14);
    border-right: 1px solid rgba(201, 162, 91, 0.14);

    background:
        linear-gradient(
            to bottom,
            rgba(201, 162, 91, 0.07),
            rgba(201, 162, 91, 0.025)
        );
}

.cv-roofing-comparison-check {
    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(201, 162, 91, 0.48);
    border-radius: 50%;

    color: var(--comparison-dark-navy);

    background:
        linear-gradient(
            135deg,
            var(--comparison-gold),
            var(--comparison-oak)
        );

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.24),
        0 0 0 6px rgba(201, 162, 91, 0.06);

    font-size: 13px;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.cv-roofing-comparison-row:hover
.cv-roofing-comparison-check {
    transform: scale(1.08) rotate(-6deg);

    box-shadow:
        0 15px 32px rgba(0, 0, 0, 0.28),
        0 0 0 8px rgba(201, 162, 91, 0.09);
}

/* =====================================================
   GENERIC COLUMN
===================================================== */

.cv-roofing-comparison-generic {
    justify-content: center;

    color: rgba(231, 225, 216, 0.44);

    font-size: 14px;
    line-height: 1.45;
    text-align: center;
}

.cv-roofing-comparison-cross {
    width: 40px;
    height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(231, 225, 216, 0.16);
    border-radius: 50%;

    color: rgba(231, 225, 216, 0.38);

    background: rgba(255, 255, 255, 0.025);

    font-size: 12px;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

    .cv-roofing-comparison-container {
        width: min(100% - 50px, 960px);
    }

    .cv-roofing-comparison-table-head,
    .cv-roofing-comparison-row {
        grid-template-columns:
            minmax(0, 1.2fr)
            minmax(170px, 0.7fr)
            minmax(190px, 0.75fr);
    }
}

@media (max-width: 760px) {

    .cv-roofing-comparison {
        padding: 105px 0;
    }

    .cv-roofing-comparison-container {
        width: min(100% - 40px, 700px);
    }

    .cv-roofing-comparison-table {
        overflow: visible;

        border: 0;
        border-radius: 0;

        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .cv-roofing-comparison-table::before {
        display: none;
    }

    .cv-roofing-comparison-table-head {
        display: none;
    }

    .cv-roofing-comparison-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 0;

        min-height: auto;

        margin-bottom: 18px;

        overflow: hidden;

        border: 1px solid rgba(231, 225, 216, 0.13);
        border-radius: 18px;

        background:
            linear-gradient(
                145deg,
                rgba(255, 255, 255, 0.075),
                rgba(255, 255, 255, 0.025)
            );

        box-shadow:
            0 18px 40px rgba(0, 0, 0, 0.2);
    }

    .cv-roofing-comparison-feature {
        grid-column: 1 / -1;

        min-height: auto;

        padding: 20px;

        border-bottom: 1px solid rgba(231, 225, 216, 0.1);
    }

    .cv-roofing-comparison-agency,
    .cv-roofing-comparison-generic {
        position: relative;

        min-height: 82px;

        padding: 30px 16px 16px;
    }

    .cv-roofing-comparison-agency {
        border-left: 0;
        border-right: 1px solid rgba(201, 162, 91, 0.14);
    }

    .cv-roofing-comparison-agency::before,
    .cv-roofing-comparison-generic::before {
        position: absolute;

        top: 10px;
        left: 50%;

        transform: translateX(-50%);

        font-size: 8px;
        font-weight: 800;
        letter-spacing: 1.4px;
        white-space: nowrap;
    }

    .cv-roofing-comparison-agency::before {
        content: "OUR AGENCY";

        color: var(--comparison-gold);
    }

    .cv-roofing-comparison-generic::before {
        content: "GENERIC SEO AGENCY";

        color: rgba(231, 225, 216, 0.38);
    }
}

@media (max-width: 600px) {

    .cv-roofing-comparison {
        padding: 85px 0;
    }

    .cv-roofing-comparison-container {
        width: min(100% - 28px, 540px);
    }

    .cv-roofing-comparison-header {
        margin-bottom: 50px;
    }

    .cv-roofing-comparison-eyebrow {
        font-size: 9px;
        letter-spacing: 1.7px;
    }

    .cv-roofing-comparison-eyebrow-line {
        width: 29px;
    }

    .cv-roofing-comparison-header h2 {
        font-size: clamp(36px, 10vw, 47px);
        letter-spacing: -1.8px;
    }

    .cv-roofing-comparison-feature {
        font-size: 14px;
    }

    .cv-roofing-comparison-generic {
        font-size: 13px;
    }

    .cv-roofing-comparison-check {
        width: 38px;
        height: 38px;
    }

    .cv-roofing-comparison-cross {
        width: 36px;
        height: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .cv-roofing-comparison-row,
    .cv-roofing-comparison-check {
        transition: none;
    }
}

/* =====================================================
   RELATED INDUSTRIES SECTION
===================================================== */

.cv-related-industries {
    --related-navy: #132855;
    --related-dark-navy: #0D1C45;
    --related-gold: #C9A25B;
    --related-oak: #B88558;
    --related-ivory: #F8F7F4;
    --related-beige: #E7E1D8;
    --related-charcoal: #1E1E1E;

    position: relative;
    isolation: isolate;
    overflow: hidden;

    padding: 125px 0 135px;

    background:
        radial-gradient(
            circle at 88% 14%,
            rgba(201, 162, 91, 0.2),
            transparent 27%
        ),
        radial-gradient(
            circle at 8% 88%,
            rgba(19, 40, 85, 0.09),
            transparent 27%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            var(--related-ivory) 57%,
            #f0ebe3 100%
        );
}

.cv-related-industries-container {
    position: relative;
    z-index: 4;

    width: min(1420px, calc(100% - 80px));
    margin: 0 auto;
}

/* =====================================================
   BACKGROUND DECORATION
===================================================== */

.cv-related-industries-grid-bg {
    position: absolute;
    inset: 0;
    z-index: -3;

    opacity: 0.5;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(19, 40, 85, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(19, 40, 85, 0.045) 1px,
            transparent 1px
        );

    background-size: 58px 58px;

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.38)
        );

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.38)
        );
}

.cv-related-industries-glow {
    position: absolute;
    z-index: -2;

    border-radius: 50%;

    pointer-events: none;
}

.cv-related-industries-glow-one {
    width: 570px;
    height: 570px;

    top: -285px;
    right: -230px;

    border: 1px solid rgba(201, 162, 91, 0.23);

    box-shadow:
        0 0 0 72px rgba(201, 162, 91, 0.03),
        0 0 0 142px rgba(201, 162, 91, 0.018);
}

.cv-related-industries-glow-two {
    width: 420px;
    height: 420px;

    left: -210px;
    bottom: -210px;

    background:
        radial-gradient(
            circle,
            rgba(19, 40, 85, 0.12),
            transparent 68%
        );
}

/* =====================================================
   HEADER
===================================================== */

.cv-related-industries-header {
    margin-bottom: 70px;
}

.cv-related-industries-eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 11px;

    margin-bottom: 24px;

    color: #747f91;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.cv-related-industries-eyebrow-line {
    width: 48px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--related-gold),
            var(--related-oak)
        );
}

.cv-related-industries-heading-row {
    display: grid;
    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(330px, 0.9fr);

    align-items: end;

    gap: 80px;
}

.cv-related-industries-heading-row h2 {
    max-width: 800px;

    margin: 0;

    color: var(--related-navy);

    font-size: clamp(43px, 4.8vw, 55px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -3px;
}

.cv-related-industries-heading-row p {
    max-width: 530px;

    margin: 0 0 5px;
    padding-left: 28px;

    border-left: 3px solid var(--related-gold);

    color: #596578;

    font-size: 17px;
    line-height: 1.75;
}

/* =====================================================
   INDUSTRY LIST
===================================================== */

.cv-related-industries-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 18px;
}

/* =====================================================
   INDUSTRY CARD
===================================================== */

.cv-related-industry-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: 112px;

    display: grid;
    grid-template-columns:
        32px
        48px
        minmax(0, 1fr)
        42px;

    align-items: center;

    gap: 15px;

    padding: 20px;

    border: 1px solid rgba(19, 40, 85, 0.13);
    border-radius: 19px;

    color: var(--related-navy);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.96),
            rgba(248, 247, 244, 0.8)
        );

    box-shadow:
        0 18px 42px rgba(19, 40, 85, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);

    text-decoration: none;

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        background 0.4s ease;
}

.cv-related-industry-card::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: -1;

    pointer-events: none;

    background:
        linear-gradient(
            110deg,
            transparent 38%,
            rgba(201, 162, 91, 0.11),
            transparent 69%
        );

    transform: translateX(-110%);

    transition: transform 0.75s ease;
}

.cv-related-industry-card::after {
    content: "";

    position: absolute;

    left: 20px;
    bottom: 0;

    width: 0;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--related-gold),
            var(--related-oak)
        );

    transition: width 0.42s ease;
}

.cv-related-industry-card:nth-child(2),
.cv-related-industry-card:nth-child(4),
.cv-related-industry-card:nth-child(5),
.cv-related-industry-card:nth-child(7),
.cv-related-industry-card:nth-child(10),
.cv-related-industry-card:nth-child(12) {
    transform: translateY(14px);
}

.cv-related-industry-card:hover {
    transform: translateY(-7px);

    border-color: rgba(201, 162, 91, 0.58);

    background:
        linear-gradient(
            145deg,
            #ffffff,
            rgba(231, 225, 216, 0.58)
        );

    box-shadow:
        0 28px 58px rgba(19, 40, 85, 0.13);
}

.cv-related-industry-card:nth-child(2):hover,
.cv-related-industry-card:nth-child(4):hover,
.cv-related-industry-card:nth-child(5):hover,
.cv-related-industry-card:nth-child(7):hover,
.cv-related-industry-card:nth-child(10):hover,
.cv-related-industry-card:nth-child(12):hover {
    transform: translateY(5px);
}

.cv-related-industry-card:hover::before {
    transform: translateX(110%);
}

.cv-related-industry-card:hover::after {
    width: 65px;
}

/* Number */

.cv-related-industry-number {
    color: rgba(19, 40, 85, 0.38);

    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 1.3px;
}

/* Icon */

.cv-related-industry-icon {
    width: 48px;
    height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(201, 162, 91, 0.43);
    border-radius: 14px;

    color: var(--related-gold);

    background:
        linear-gradient(
            145deg,
            rgba(19, 40, 85, 0.08),
            rgba(201, 162, 91, 0.07)
        );

    font-size: 17px;

    transition:
        color 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease;
}

.cv-related-industry-card:hover
.cv-related-industry-icon {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--related-navy),
            var(--related-dark-navy)
        );

    transform: rotate(-6deg) scale(1.05);
}

/* Heading */

.cv-related-industry-card strong {
    position: relative;
    z-index: 2;

    color: var(--related-navy);

    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

/* Arrow */

.cv-related-industry-arrow {
    width: 40px;
    height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(19, 40, 85, 0.12);
    border-radius: 50%;

    color: var(--related-oak);

    background: rgba(255, 255, 255, 0.7);

    font-size: 11px;

    transition:
        color 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease;
}

.cv-related-industry-card:hover
.cv-related-industry-arrow {
    color: var(--related-dark-navy);

    background:
        linear-gradient(
            135deg,
            var(--related-gold),
            var(--related-oak)
        );

    transform: translateX(4px);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1120px) {

    .cv-related-industries-container {
        width: min(100% - 50px, 1080px);
    }

    .cv-related-industries-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cv-related-industry-card {
        grid-template-columns:
            28px
            46px
            minmax(0, 1fr)
            38px;
    }
}

@media (max-width: 850px) {

    .cv-related-industries {
        padding: 105px 0;
    }

    .cv-related-industries-container {
        width: min(100% - 40px, 760px);
    }

    .cv-related-industries-heading-row {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .cv-related-industries-heading-row p {
        padding-left: 22px;
    }

    .cv-related-industries-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cv-related-industry-card,
    .cv-related-industry-card:nth-child(2),
    .cv-related-industry-card:nth-child(4),
    .cv-related-industry-card:nth-child(5),
    .cv-related-industry-card:nth-child(7),
    .cv-related-industry-card:nth-child(10),
    .cv-related-industry-card:nth-child(12) {
        transform: none;
    }

    .cv-related-industry-card:hover,
    .cv-related-industry-card:nth-child(2):hover,
    .cv-related-industry-card:nth-child(4):hover,
    .cv-related-industry-card:nth-child(5):hover,
    .cv-related-industry-card:nth-child(7):hover,
    .cv-related-industry-card:nth-child(10):hover,
    .cv-related-industry-card:nth-child(12):hover {
        transform: translateY(-7px);
    }
}

@media (max-width: 600px) {

    .cv-related-industries {
        padding: 85px 0;
    }

    .cv-related-industries-container {
        width: min(100% - 28px, 540px);
    }

    .cv-related-industries-header {
        margin-bottom: 50px;
    }

    .cv-related-industries-eyebrow {
        font-size: 9px;
        letter-spacing: 1.7px;
    }

    .cv-related-industries-eyebrow-line {
        width: 29px;
    }

    .cv-related-industries-heading-row h2 {
        font-size: clamp(36px, 10vw, 47px);
        letter-spacing: -1.8px;
    }

    .cv-related-industries-heading-row p {
        font-size: 16px;
    }

    .cv-related-industries-list {
        grid-template-columns: 1fr;
    }

    .cv-related-industry-card {
        min-height: 98px;

        grid-template-columns:
            26px
            45px
            minmax(0, 1fr)
            38px;

        gap: 13px;

        padding: 18px;

        border-radius: 17px;
    }

    .cv-related-industry-icon {
        width: 45px;
        height: 45px;
    }

    .cv-related-industry-card strong {
        font-size: 14px;
    }

    .cv-related-industry-arrow {
        width: 37px;
        height: 37px;
    }
}

@media (max-width: 390px) {

    .cv-related-industry-card {
        grid-template-columns:
            42px
            minmax(0, 1fr)
            36px;
    }

    .cv-related-industry-number {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .cv-related-industry-card,
    .cv-related-industry-icon,
    .cv-related-industry-arrow {
        transition: none;
    }
}

/* =====================================================
   ROOFING FAQ SECTION
===================================================== */

.cv-roofing-faq-section {
    --faq-navy: #132855;
    --faq-dark-navy: #0D1C45;
    --faq-deep-navy: #071126;
    --faq-gold: #C9A25B;
    --faq-oak: #B88558;
    --faq-ivory: #F8F7F4;
    --faq-beige: #E7E1D8;

    position: relative;
    isolation: isolate;
    overflow: hidden;

    padding: 125px 0 135px;

    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(201, 162, 91, 0.16),
            transparent 27%
        ),
        radial-gradient(
            circle at 8% 88%,
            rgba(184, 133, 88, 0.1),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #071126 0%,
            var(--faq-dark-navy) 48%,
            #061022 100%
        );
}

.cv-roofing-faq-container {
    position: relative;
    z-index: 4;

    width: min(1420px, calc(100% - 80px));
    margin: 0 auto;
}

/* =====================================================
   BACKGROUND DECORATION
===================================================== */

.cv-roofing-faq-grid-bg {
    position: absolute;
    inset: 0;
    z-index: -3;

    opacity: 0.62;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px
        );

    background-size: 58px 58px;

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.72) 70%,
            rgba(0, 0, 0, 0.22)
        );

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.72) 70%,
            rgba(0, 0, 0, 0.22)
        );
}

.cv-roofing-faq-glow {
    position: absolute;
    z-index: -2;

    border-radius: 50%;

    pointer-events: none;
}

.cv-roofing-faq-glow-one {
    width: 570px;
    height: 570px;

    top: -285px;
    right: -230px;

    border: 1px solid rgba(201, 162, 91, 0.2);

    box-shadow:
        0 0 0 72px rgba(201, 162, 91, 0.025),
        0 0 0 142px rgba(201, 162, 91, 0.015);
}

.cv-roofing-faq-glow-two {
    width: 420px;
    height: 420px;

    left: -210px;
    bottom: -210px;

    background:
        radial-gradient(
            circle,
            rgba(201, 162, 91, 0.13),
            transparent 68%
        );
}

/* =====================================================
   MAIN LAYOUT
===================================================== */

.cv-roofing-faq-layout {
    display: grid;
    grid-template-columns:
        minmax(320px, 0.72fr)
        minmax(0, 1.28fr);

    align-items: flex-start;

    gap: 95px;
}

/* =====================================================
   LEFT CONTENT
===================================================== */

.cv-roofing-faq-left {
    position: relative;
}

.cv-roofing-faq-left-inner {
    position: sticky;
    top: 125px;
}

.cv-roofing-faq-eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 11px;

    margin-bottom: 24px;

    color: rgba(231, 225, 216, 0.52);

    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.cv-roofing-faq-eyebrow-line {
    width: 48px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--faq-gold),
            var(--faq-oak)
        );
}

.cv-roofing-faq-left h2 {
    max-width: 540px;

    margin: 0;

    color: var(--faq-ivory);

    font-size: clamp(43px, 4.7vw, 70px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -3px;
}

/* =====================================================
   FAQ LIST
===================================================== */

.cv-roofing-faq-list {
    display: flex;
    flex-direction: column;

    gap: 17px;
}

/* =====================================================
   FAQ ITEM
===================================================== */

.cv-roofing-faq-item {
    position: relative;
    overflow: hidden;

    border: 1px solid rgba(231, 225, 216, 0.13);
    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.025)
        );

    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    backdrop-filter: blur(15px);

    transition:
        border-color 0.4s ease,
        background 0.4s ease,
        box-shadow 0.4s ease,
        transform 0.4s ease;
}

.cv-roofing-faq-item::before {
    content: "";

    position: absolute;

    top: -85px;
    right: -85px;

    width: 210px;
    height: 210px;

    border: 1px solid rgba(201, 162, 91, 0.12);
    border-radius: 50%;

    pointer-events: none;

    transition:
        transform 0.45s ease,
        border-color 0.45s ease;
}

.cv-roofing-faq-item::after {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 3px;

    transform: scaleY(0);
    transform-origin: center;

    background:
        linear-gradient(
            to bottom,
            var(--faq-gold),
            var(--faq-oak)
        );

    transition: transform 0.4s ease;
}

.cv-roofing-faq-item:hover,
.cv-roofing-faq-item.active {
    border-color: rgba(201, 162, 91, 0.5);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.095),
            rgba(201, 162, 91, 0.045)
        );

    box-shadow:
        0 27px 55px rgba(0, 0, 0, 0.26);
}

.cv-roofing-faq-item:hover {
    transform: translateY(-3px);
}

.cv-roofing-faq-item.active::after {
    transform: scaleY(1);
}

.cv-roofing-faq-item.active::before {
    transform: scale(1.15);
    border-color: rgba(201, 162, 91, 0.25);
}

/* =====================================================
   QUESTION BUTTON
===================================================== */

.cv-roofing-faq-question {
    position: relative;
    z-index: 2;

    width: 100%;

    display: grid;
    grid-template-columns:
        42px
        minmax(0, 1fr)
        48px;

    align-items: center;

    gap: 18px;

    padding: 25px 27px;

    border: 0;
    outline: 0;

    color: inherit;
    background: transparent;

    text-align: left;
    cursor: pointer;
}

/* Number */

.cv-roofing-faq-number {
    width: 40px;
    height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(201, 162, 91, 0.42);
    border-radius: 12px;

    color: var(--faq-gold);

    background:
        linear-gradient(
            145deg,
            rgba(201, 162, 91, 0.09),
            rgba(255, 255, 255, 0.025)
        );

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;

    transition:
        color 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease;
}

.cv-roofing-faq-item.active
.cv-roofing-faq-number {
    color: var(--faq-dark-navy);

    background:
        linear-gradient(
            135deg,
            var(--faq-gold),
            var(--faq-oak)
        );

    transform: rotate(-5deg);
}

/* Question text */

.cv-roofing-faq-question-text {
    color: var(--faq-ivory);

    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

/* Toggle */

.cv-roofing-faq-toggle {
    width: 44px;
    height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    justify-self: end;

    border: 1px solid rgba(201, 162, 91, 0.48);
    border-radius: 50%;

    color: var(--faq-gold);

    background: rgba(201, 162, 91, 0.055);

    font-size: 13px;

    transition:
        color 0.35s ease,
        background 0.35s ease,
        transform 0.4s ease;
}

.cv-roofing-faq-item.active
.cv-roofing-faq-toggle {
    color: var(--faq-dark-navy);

    background:
        linear-gradient(
            135deg,
            var(--faq-gold),
            var(--faq-oak)
        );

    transform: rotate(45deg);
}

/* =====================================================
   ANSWER
===================================================== */

.cv-roofing-faq-answer {
    display: grid;
    grid-template-rows: 0fr;

    opacity: 0;

    transition:
        grid-template-rows 0.45s ease,
        opacity 0.35s ease;
}

.cv-roofing-faq-item.active
.cv-roofing-faq-answer {
    grid-template-rows: 1fr;

    opacity: 1;
}

.cv-roofing-faq-answer-inner {
    overflow: hidden;
}

.cv-roofing-faq-answer p {
    max-width: 760px;

    margin: 0;

    padding:
        0
        85px
        27px
        87px;

    color: rgba(231, 225, 216, 0.68);

    font-size: 14px;
    line-height: 1.75;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1050px) {

    .cv-roofing-faq-container {
        width: min(100% - 50px, 1000px);
    }

    .cv-roofing-faq-layout {
        grid-template-columns:
            minmax(280px, 0.65fr)
            minmax(0, 1.35fr);

        gap: 60px;
    }
}

@media (max-width: 820px) {

    .cv-roofing-faq-section {
        padding: 105px 0;
    }

    .cv-roofing-faq-container {
        width: min(100% - 40px, 760px);
    }

    .cv-roofing-faq-layout {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .cv-roofing-faq-left-inner {
        position: relative;
        top: auto;
    }
}

@media (max-width: 600px) {

    .cv-roofing-faq-section {
        padding: 85px 0;
    }

    .cv-roofing-faq-container {
        width: min(100% - 28px, 540px);
    }

    .cv-roofing-faq-eyebrow {
        font-size: 9px;
        letter-spacing: 1.7px;
    }

    .cv-roofing-faq-eyebrow-line {
        width: 29px;
    }

    .cv-roofing-faq-left h2 {
        font-size: clamp(36px, 10vw, 47px);
        letter-spacing: -1.8px;
    }

    .cv-roofing-faq-item {
        border-radius: 17px;
    }

    .cv-roofing-faq-question {
        grid-template-columns:
            36px
            minmax(0, 1fr)
            40px;

        gap: 13px;

        padding: 21px 18px;
    }

    .cv-roofing-faq-number {
        width: 36px;
        height: 36px;

        border-radius: 10px;
    }

    .cv-roofing-faq-question-text {
        font-size: 14px;
    }

    .cv-roofing-faq-toggle {
        width: 38px;
        height: 38px;
    }

    .cv-roofing-faq-answer p {
        padding:
            0
            18px
            22px
            67px;

        font-size: 13px;
    }
}

@media (max-width: 420px) {

    .cv-roofing-faq-question {
        grid-template-columns:
            minmax(0, 1fr)
            38px;
    }

    .cv-roofing-faq-number {
        display: none;
    }

    .cv-roofing-faq-answer p {
        padding:
            0
            18px
            22px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .cv-roofing-faq-item,
    .cv-roofing-faq-number,
    .cv-roofing-faq-toggle,
    .cv-roofing-faq-answer {
        transition: none;
    }
}

/* =====================================================
   RELATED RESOURCES SECTION
===================================================== */

.cv-roofing-resources {
    --resource-navy: #132855;
    --resource-dark-navy: #0D1C45;
    --resource-gold: #C9A25B;
    --resource-oak: #B88558;
    --resource-ivory: #F8F7F4;
    --resource-beige: #E7E1D8;
    --resource-charcoal: #1E1E1E;

    position: relative;
    isolation: isolate;
    overflow: hidden;

    padding: 125px 0 135px;

    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(201, 162, 91, 0.2),
            transparent 27%
        ),
        radial-gradient(
            circle at 8% 88%,
            rgba(19, 40, 85, 0.09),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            var(--resource-ivory) 58%,
            #f0ebe3 100%
        );
}

.cv-roofing-resources-container {
    position: relative;
    z-index: 4;

    width: min(1420px, calc(100% - 80px));
    margin: 0 auto;
}

/* =====================================================
   BACKGROUND
===================================================== */

.cv-roofing-resources-grid {
    position: absolute;
    inset: 0;
    z-index: -3;

    opacity: 0.5;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(19, 40, 85, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(19, 40, 85, 0.045) 1px,
            transparent 1px
        );

    background-size: 58px 58px;

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.35)
        );

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.35)
        );
}

.cv-roofing-resources-glow {
    position: absolute;
    z-index: -2;

    border-radius: 50%;

    pointer-events: none;
}

.cv-roofing-resources-glow-one {
    width: 570px;
    height: 570px;

    top: -285px;
    right: -225px;

    border: 1px solid rgba(201, 162, 91, 0.23);

    box-shadow:
        0 0 0 72px rgba(201, 162, 91, 0.03),
        0 0 0 142px rgba(201, 162, 91, 0.018);
}

.cv-roofing-resources-glow-two {
    width: 420px;
    height: 420px;

    left: -210px;
    bottom: -210px;

    background:
        radial-gradient(
            circle,
            rgba(19, 40, 85, 0.12),
            transparent 68%
        );
}

/* =====================================================
   HEADER
===================================================== */

.cv-roofing-resources-header {
    max-width: 900px;
    margin-bottom: 70px;
}

.cv-roofing-resources-eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 11px;

    margin-bottom: 24px;

    color: #747f91;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.cv-roofing-resources-eyebrow-line {
    width: 48px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--resource-gold),
            var(--resource-oak)
        );
}

.cv-roofing-resources-header h2 {
    margin: 0;

    color: var(--resource-navy);

    font-size: clamp(43px, 4.8vw, 63px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -3px;
}

/* =====================================================
   MAIN LAYOUT
===================================================== */

.cv-roofing-resources-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);

    gap: 24px;
}

.cv-roofing-resources-stack {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));

    gap: 24px;
}

/* =====================================================
   RESOURCE CARD
===================================================== */

.cv-roofing-resource-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    border: 1px solid rgba(19, 40, 85, 0.13);
    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.97),
            rgba(248, 247, 244, 0.8)
        );

    box-shadow:
        0 22px 50px rgba(19, 40, 85, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);

    transition:
        transform 0.42s ease,
        border-color 0.42s ease,
        box-shadow 0.42s ease;
}

.cv-roofing-resource-card::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: -100px;
    right: -100px;

    width: 270px;
    height: 270px;

    border: 1px solid rgba(201, 162, 91, 0.15);
    border-radius: 50%;

    box-shadow:
        0 0 0 40px rgba(201, 162, 91, 0.02);

    transition:
        transform 0.45s ease,
        border-color 0.45s ease;
}

.cv-roofing-resource-card::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 4px;

    transform: scaleX(0);
    transform-origin: left;

    background:
        linear-gradient(
            90deg,
            var(--resource-gold),
            var(--resource-oak)
        );

    transition: transform 0.45s ease;
}

.cv-roofing-resource-card:hover {
    transform: translateY(-8px);

    border-color: rgba(201, 162, 91, 0.58);

    box-shadow:
        0 32px 65px rgba(19, 40, 85, 0.14);
}

.cv-roofing-resource-card:hover::before {
    transform: scale(1.14);
    border-color: rgba(201, 162, 91, 0.28);
}

.cv-roofing-resource-card:hover::after {
    transform: scaleX(1);
}

/* =====================================================
   FEATURED RESOURCE
===================================================== */

.cv-roofing-resource-featured {
    min-height: 520px;

    display: flex;
    flex-direction: column;

    padding: 36px;

    color: #ffffff;

    border-color: rgba(201, 162, 91, 0.38);

    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(201, 162, 91, 0.23),
            transparent 31%
        ),
        linear-gradient(
            145deg,
            var(--resource-navy),
            var(--resource-dark-navy)
        );

    box-shadow:
        0 30px 70px rgba(13, 28, 69, 0.23);
}

.cv-roofing-resource-featured::before {
    border-color: rgba(201, 162, 91, 0.18);
}

.cv-roofing-resource-card-top {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.cv-roofing-resource-type {
    color: var(--resource-oak);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.cv-roofing-resource-featured
.cv-roofing-resource-type {
    color: var(--resource-gold);
}

.cv-roofing-resource-number {
    color: rgba(19, 40, 85, 0.36);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.cv-roofing-resource-featured
.cv-roofing-resource-number {
    color: rgba(255, 255, 255, 0.4);
}

.cv-roofing-resource-featured-icon {
    position: relative;
    z-index: 2;

    width: 78px;
    height: 78px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 70px;

    border: 1px solid rgba(201, 162, 91, 0.48);
    border-radius: 23px;

    color: var(--resource-dark-navy);

    background:
        linear-gradient(
            135deg,
            var(--resource-gold),
            var(--resource-oak)
        );

    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.25);

    font-size: 29px;

    transition: transform 0.4s ease;
}

.cv-roofing-resource-featured:hover
.cv-roofing-resource-featured-icon {
    transform: rotate(-7deg) scale(1.05);
}

.cv-roofing-resource-featured
.cv-roofing-resource-content {
    margin-top: auto;
}

.cv-roofing-resource-content h3,
.cv-roofing-resource-horizontal h3 {
    margin: 0 0 14px;

    color: var(--resource-navy);

    font-size: 23px;
    font-weight: 700;
    line-height: 1.35;
}

.cv-roofing-resource-featured
.cv-roofing-resource-content h3 {
    max-width: 520px;

    color: #ffffff;

    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.cv-roofing-resource-content p,
.cv-roofing-resource-horizontal p {
    margin: 0;

    color: #596578;

    font-size: 15px;
    line-height: 1.7;
}

.cv-roofing-resource-featured
.cv-roofing-resource-content p {
    max-width: 510px;

    color: rgba(231, 225, 216, 0.72);

    font-size: 16px;
}

/* =====================================================
   HORIZONTAL RESOURCE
===================================================== */

.cv-roofing-resource-horizontal {
    min-height: 248px;

    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);

    align-items: stretch;

    padding: 28px;

    gap: 25px;
}

.cv-roofing-resource-side-icon {
    position: relative;
    z-index: 2;

    width: 72px;
    height: 72px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    align-self: center;

    border: 1px solid rgba(201, 162, 91, 0.43);
    border-radius: 21px;

    color: var(--resource-gold);

    background:
        linear-gradient(
            145deg,
            rgba(19, 40, 85, 0.08),
            rgba(201, 162, 91, 0.07)
        );

    font-size: 24px;

    transition:
        color 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease;
}

.cv-roofing-resource-horizontal:hover
.cv-roofing-resource-side-icon {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--resource-navy),
            var(--resource-dark-navy)
        );

    transform: rotate(-7deg) scale(1.05);
}

.cv-roofing-resource-horizontal-content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
}

.cv-roofing-resource-horizontal-content
.cv-roofing-resource-card-top {
    margin-bottom: 27px;
}

.cv-roofing-resource-horizontal h3 {
    font-size: 21px;
}

.cv-roofing-resource-horizontal p {
    margin-bottom: 25px;
}

/* =====================================================
   RESOURCE LINK
===================================================== */

.cv-roofing-resource-link {
    position: relative;
    z-index: 2;

    width: fit-content;

    display: inline-flex;
    align-items: center;

    gap: 12px;

    margin-top: 30px;

    color: var(--resource-oak);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-decoration: none;
}

.cv-roofing-resource-featured
.cv-roofing-resource-link {
    color: var(--resource-gold);
}

.cv-roofing-resource-horizontal
.cv-roofing-resource-link {
    margin-top: auto;
}

.cv-roofing-resource-arrow {
    width: 36px;
    height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(201, 162, 91, 0.45);
    border-radius: 50%;

    color: var(--resource-oak);

    background: rgba(255, 255, 255, 0.7);

    font-size: 10px;

    transition:
        color 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease;
}

.cv-roofing-resource-featured
.cv-roofing-resource-arrow {
    color: var(--resource-gold);
    background: rgba(255, 255, 255, 0.06);
}

.cv-roofing-resource-link:hover
.cv-roofing-resource-arrow {
    color: var(--resource-dark-navy);

    background:
        linear-gradient(
            135deg,
            var(--resource-gold),
            var(--resource-oak)
        );

    transform: translateX(5px);
}

/* =====================================================
   FEATURED DECORATION
===================================================== */

.cv-roofing-resource-featured-shape {
    position: absolute;

    width: 250px;
    height: 250px;

    right: -100px;
    bottom: -110px;

    border: 1px solid rgba(201, 162, 91, 0.16);
    border-radius: 50%;

    box-shadow:
        0 0 0 40px rgba(201, 162, 91, 0.025);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

    .cv-roofing-resources-container {
        width: min(100% - 50px, 960px);
    }

    .cv-roofing-resources-layout {
        grid-template-columns: 1fr;
    }

    .cv-roofing-resource-featured {
        min-height: 480px;
    }

    .cv-roofing-resources-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .cv-roofing-resource-horizontal {
        grid-template-columns: 1fr;
    }

    .cv-roofing-resource-side-icon {
        align-self: flex-start;
    }
}

@media (max-width: 700px) {

    .cv-roofing-resources {
        padding: 105px 0;
    }

    .cv-roofing-resources-container {
        width: min(100% - 40px, 650px);
    }

    .cv-roofing-resources-stack {
        grid-template-columns: 1fr;
    }

    .cv-roofing-resource-horizontal {
        grid-template-columns: 72px minmax(0, 1fr);
    }
}

@media (max-width: 600px) {

    .cv-roofing-resources {
        padding: 85px 0;
    }

    .cv-roofing-resources-container {
        width: min(100% - 28px, 540px);
    }

    .cv-roofing-resources-header {
        margin-bottom: 50px;
    }

    .cv-roofing-resources-eyebrow {
        font-size: 9px;
        letter-spacing: 1.7px;
    }

    .cv-roofing-resources-eyebrow-line {
        width: 29px;
    }

    .cv-roofing-resources-header h2 {
        font-size: clamp(36px, 10vw, 47px);
        letter-spacing: -1.8px;
    }

    .cv-roofing-resource-featured {
        min-height: 440px;

        padding: 25px;

        border-radius: 20px;
    }

    .cv-roofing-resource-featured-icon {
        width: 65px;
        height: 65px;

        margin-top: 55px;

        font-size: 24px;
    }

    .cv-roofing-resource-featured
    .cv-roofing-resource-content h3 {
        font-size: 33px;
    }

    .cv-roofing-resource-featured
    .cv-roofing-resource-content p {
        font-size: 15px;
    }

    .cv-roofing-resource-horizontal {
        min-height: 290px;

        grid-template-columns: 1fr;

        padding: 24px;

        border-radius: 19px;
    }

    .cv-roofing-resource-side-icon {
        width: 60px;
        height: 60px;

        font-size: 20px;
    }

    .cv-roofing-resource-horizontal h3 {
        font-size: 19px;
    }

    .cv-roofing-resource-horizontal p {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .cv-roofing-resource-card,
    .cv-roofing-resource-side-icon,
    .cv-roofing-resource-featured-icon,
    .cv-roofing-resource-arrow {
        transition: none;
    }
}

/* =====================================================
   ROOFING FINAL CTA SECTION
===================================================== */

.cv-roofing-final-cta {
    --cta-navy: #132855;
    --cta-dark-navy: #0D1C45;
    --cta-gold: #C9A25B;
    --cta-oak: #B88558;
    --cta-ivory: #F8F7F4;
    --cta-beige: #E7E1D8;

    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: 650px;

    display: flex;
    align-items: center;

    padding: 125px 0;

    background-image:
        url("assets/images/roofing-final-cta.jpg");

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.cv-roofing-final-cta-container {
    position: relative;
    z-index: 5;

    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;
}

/* =====================================================
   IMAGE OVERLAY
===================================================== */

.cv-roofing-final-cta-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(7, 17, 38, 0.96) 0%,
            rgba(13, 28, 69, 0.9) 42%,
            rgba(13, 28, 69, 0.68) 72%,
            rgba(7, 17, 38, 0.78) 100%
        );
}

.cv-roofing-final-cta-overlay::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(201, 162, 91, 0.12),
            transparent 45%
        );
}

/* =====================================================
   GRID MASK
===================================================== */

.cv-roofing-final-cta-grid {
    position: absolute;
    inset: 0;
    z-index: 2;

    opacity: 0.42;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px
        );

    background-size: 58px 58px;

    -webkit-mask-image:
        radial-gradient(
            circle at center,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.28) 75%,
            transparent 100%
        );

    mask-image:
        radial-gradient(
            circle at center,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.28) 75%,
            transparent 100%
        );
}

/* =====================================================
   DECORATIVE GLOWS
===================================================== */

.cv-roofing-final-cta-glow {
    position: absolute;
    z-index: 3;

    border-radius: 50%;

    pointer-events: none;
}

.cv-roofing-final-cta-glow-one {
    width: 620px;
    height: 620px;

    top: -340px;
    right: -230px;

    border: 1px solid rgba(201, 162, 91, 0.25);

    box-shadow:
        0 0 0 75px rgba(201, 162, 91, 0.03),
        0 0 0 150px rgba(201, 162, 91, 0.018);
}

.cv-roofing-final-cta-glow-two {
    width: 430px;
    height: 430px;

    left: -220px;
    bottom: -220px;

    background:
        radial-gradient(
            circle,
            rgba(201, 162, 91, 0.16),
            transparent 68%
        );
}

/* =====================================================
   CTA CONTENT
===================================================== */

.cv-roofing-final-cta-content {
    position: relative;
    z-index: 5;

    max-width: 1050px;

    margin: 0 auto;

    text-align: center;
}

.cv-roofing-final-cta-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    margin-bottom: 28px;

    color: var(--cta-gold);

    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.cv-roofing-final-cta-eyebrow-line {
    width: 52px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--cta-gold),
            var(--cta-oak)
        );
}

.cv-roofing-final-cta-content h2 {
    max-width: 1050px;

    margin: 0 auto;

    color: var(--cta-ivory);

    font-size: clamp(48px, 6vw, 55px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -3.5px;
}

.cv-roofing-final-cta-content h2 span {
    display: block;

    color: var(--cta-gold);
}

.cv-roofing-final-cta-content p {
    max-width: 760px;

    margin: 30px auto 0;

    color: rgba(231, 225, 216, 0.78);

    font-size: 19px;
    line-height: 1.75;
}

/* =====================================================
   CTA BUTTONS
===================================================== */

.cv-roofing-final-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 17px;

    margin-top: 42px;
}

.cv-roofing-final-cta-btn {
    min-height: 66px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    padding: 10px 14px 10px 29px;

    border-radius: 13px;

    font-size: 16px;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;

    transition:
        transform 0.35s ease,
        color 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.cv-roofing-final-cta-btn:hover {
    transform: translateY(-5px);
}

/* Primary button */

.cv-roofing-final-cta-btn-primary {
    color: var(--cta-dark-navy);

    border: 1px solid var(--cta-gold);

    background:
        linear-gradient(
            135deg,
            var(--cta-gold),
            var(--cta-oak)
        );

    box-shadow:
        0 20px 42px rgba(0, 0, 0, 0.3);
}

.cv-roofing-final-cta-btn-primary:hover {
    color: var(--cta-dark-navy);

    box-shadow:
        0 26px 52px rgba(0, 0, 0, 0.38);
}

.cv-roofing-final-cta-btn-icon {
    width: 46px;
    height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--cta-navy),
            var(--cta-dark-navy)
        );

    transition: transform 0.35s ease;
}

.cv-roofing-final-cta-btn-primary:hover
.cv-roofing-final-cta-btn-icon {
    transform: rotate(-35deg);
}

/* Outline button */

.cv-roofing-final-cta-btn-outline {
    padding-right: 28px;

    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.3);

    background: rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(14px);
}

.cv-roofing-final-cta-btn-outline i {
    color: var(--cta-gold);

    transition: transform 0.35s ease;
}

.cv-roofing-final-cta-btn-outline:hover {
    color: var(--cta-dark-navy);

    border-color: var(--cta-gold);

    background: var(--cta-gold);

    box-shadow:
        0 20px 42px rgba(0, 0, 0, 0.28);
}

.cv-roofing-final-cta-btn-outline:hover i {
    color: var(--cta-dark-navy);

    transform: translateX(5px);
}

/* =====================================================
   BOTTOM ACCENT
===================================================== */

.cv-roofing-final-cta-bottom-line {
    position: absolute;
    z-index: 5;

    left: 0;
    right: 0;
    bottom: 0;

    height: 5px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--cta-gold) 25%,
            var(--cta-oak) 75%,
            transparent
        );
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

    .cv-roofing-final-cta {
        min-height: 610px;
    }

    .cv-roofing-final-cta-container {
        width: min(100% - 50px, 900px);
    }

    .cv-roofing-final-cta-content h2 {
        font-size: clamp(48px, 7vw, 72px);
    }
}

@media (max-width: 700px) {

    .cv-roofing-final-cta {
        min-height: auto;

        padding: 105px 0;

        background-position: 62% center;
    }

    .cv-roofing-final-cta-container {
        width: min(100% - 40px, 650px);
    }

    .cv-roofing-final-cta-content h2 {
        font-size: clamp(40px, 10vw, 58px);
        letter-spacing: -2.2px;
    }

    .cv-roofing-final-cta-content p {
        font-size: 17px;
    }
}

@media (max-width: 520px) {

    .cv-roofing-final-cta {
        padding: 85px 0;

        background-position: 68% center;
    }

    .cv-roofing-final-cta-container {
        width: min(100% - 28px, 520px);
    }

    .cv-roofing-final-cta-eyebrow {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .cv-roofing-final-cta-eyebrow-line {
        width: 30px;
    }

    .cv-roofing-final-cta-content h2 {
        font-size: 39px;
    }

    .cv-roofing-final-cta-content p {
        font-size: 16px;
    }

    .cv-roofing-final-cta-buttons {
        flex-direction: column;
        align-items: stretch;

        margin-top: 35px;
    }

    .cv-roofing-final-cta-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {

    .cv-roofing-final-cta-btn,
    .cv-roofing-final-cta-btn-icon {
        transition: none;
    }
}