/* ============================================================
   COOLPEAK HVAC
============================================================ */

.demo-hvac {
    --hvac-ink: #17252b;
    --hvac-muted: #627177;
    --hvac-ice: #edf4f5;
    --hvac-white: #fbfcfc;
    --hvac-blue: #277f91;
    --hvac-blue-dark: #1c6372;
    --hvac-navy: #173c48;
    --hvac-border: #d7e0e2;

    background: var(--hvac-white);
    color: var(--hvac-ink);
}


/* ============================================================
   HEADER
============================================================ */

.demo-hvac .demo-site-header {
    background: rgba(251, 252, 252, 0.96);
    border-bottom: 1px solid var(--hvac-border);
}

.demo-hvac .demo-site-header__inner {
    min-height: 80px;

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

    gap: 2rem;
}

.demo-hvac .demo-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;

    color: var(--hvac-ink);

    font-size: 1.12rem;
    font-weight: 850;

    letter-spacing: -0.045em;
}

.demo-hvac .demo-logo__mark {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--hvac-blue);
    color: #fff;

    border-radius: 50% 50% 50% 8px;

    font-size: 0.65rem;
    font-weight: 900;

    transform: rotate(-8deg);
}

.demo-hvac .demo-logo__mark::after {
    content: "CP";
    transform: rotate(8deg);
}

.demo-hvac .demo-nav {
    display: none;

    align-items: center;
    gap: 1.5rem;
}

.demo-hvac .demo-nav a {
    color: var(--hvac-muted);

    font-size: 0.82rem;
    font-weight: 700;
}

.demo-hvac .demo-nav a:hover {
    color: var(--hvac-blue);
}

.demo-hvac .demo-header-phone {
    display: none;

    color: var(--hvac-blue);

    font-size: 0.85rem;
    font-weight: 800;
}


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

.demo-hvac .hvac-hero {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--hvac-ice) 0%,
            var(--hvac-white) 62%,
            #dcecef 100%
        );
}

.demo-hvac .hvac-hero::after {
    content: "";

    position: absolute;

    right: -180px;
    top: -180px;

    width: 500px;
    height: 500px;

    border: 90px solid rgba(39,127,145,0.08);

    border-radius: 50%;
}

.demo-hvac .hvac-hero__grid {
    position: relative;
    z-index: 2;

    min-height: 680px;

    display: grid;
    align-items: center;

    gap: 3rem;
}

.demo-hvac .hvac-hero__content {
    position: relative;
    z-index: 3;
}

.demo-hvac .hvac-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;

    margin-bottom: 1.3rem;

    color: var(--hvac-blue);

    font-size: 0.7rem;
    font-weight: 850;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.demo-hvac .hvac-eyebrow::before {
    content: "";

    width: 28px;
    height: 2px;

    background: var(--hvac-blue);
}

.demo-hvac .hvac-hero h1 {
    max-width: 760px;

    margin-bottom: 1.5rem;

    color: var(--hvac-ink);

    font-size: clamp(3.2rem, 9vw, 7rem);

    line-height: 0.88;
    letter-spacing: -0.075em;
}

.demo-hvac .hvac-hero__lead {
    max-width: 600px;

    margin-bottom: 2rem;

    color: var(--hvac-muted);

    font-size: 1.08rem;
}

.demo-hvac .hvac-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 0.75rem;
}

.demo-hvac .hvac-button {
    min-height: 50px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0.85rem 1.3rem;

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

    font-size: 0.85rem;
    font-weight: 800;

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

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

.demo-hvac .hvac-button--primary {
    background: var(--hvac-blue);
    color: #fff;
}

.demo-hvac .hvac-button--primary:hover {
    background: var(--hvac-blue-dark);
}

.demo-hvac .hvac-button--secondary {
    background: transparent;

    border-color: var(--hvac-border);

    color: var(--hvac-ink);
}


/* ============================================================
   HVAC VISUAL
============================================================ */

.demo-hvac .hvac-hero__visual {
    position: relative;

    min-height: 440px;

    display: flex;

    align-items: center;
    justify-content: center;
}

.demo-hvac .hvac-hero__circle {
    position: absolute;

    width: min(85vw, 480px);
    aspect-ratio: 1;

    background:
        radial-gradient(
            circle at 50% 50%,
            #ffffff 0%,
            #dcecef 48%,
            #c7e0e5 100%
        );

    border-radius: 50%;
}

.demo-hvac .hvac-unit {
    position: relative;
    z-index: 2;

    width: min(100%, 460px);

    overflow: hidden;

    background: #fff;

    border: 1px solid var(--hvac-border);

    box-shadow:
        0 35px 75px rgba(23, 60, 72, 0.14);

    transform: rotate(1deg);
}

.demo-hvac .hvac-unit__top {
    height: 35px;

    display: flex;

    align-items: center;

    padding-inline: 1rem;

    background: #f1f6f7;

    border-bottom: 1px solid var(--hvac-border);
}

.demo-hvac .hvac-unit__dots {
    display: flex;

    gap: 5px;
}

.demo-hvac .hvac-unit__dots span {
    width: 6px;
    height: 6px;

    background: #a9b8bc;

    border-radius: 50%;
}

.demo-hvac .hvac-unit__image {
    position: relative;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #d9e7e9,
            #91adb4
        );
}

.demo-hvac .hvac-unit__image::before {
    content: "";

    position: absolute;

    left: 13%;
    right: 13%;
    top: 18%;
    bottom: 12%;

    background:
        linear-gradient(
            160deg,
            #f8faf9,
            #d9e3e4
        );

    border: 1px solid #b8c8cb;

    box-shadow:
        inset 0 0 0 12px rgba(23,60,72,0.04);
}

.demo-hvac .hvac-unit__image::after {
    content: "";

    position: absolute;

    left: 25%;
    right: 25%;
    top: 39%;

    height: 24px;

    background:
        repeating-linear-gradient(
            to bottom,
            #8da6ac 0,
            #8da6ac 3px,
            transparent 3px,
            transparent 8px
        );
}

.demo-hvac .hvac-unit__bottom {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--hvac-border);
}

.demo-hvac .hvac-unit__stat {
    padding: 1rem;

    text-align: center;

    border-right: 1px solid var(--hvac-border);
}

.demo-hvac .hvac-unit__stat:last-child {
    border-right: 0;
}

.demo-hvac .hvac-unit__stat strong {
    display: block;

    margin-bottom: 0.2rem;

    color: var(--hvac-blue);

    font-size: 1rem;
}

.demo-hvac .hvac-unit__stat span {
    color: var(--hvac-muted);

    font-size: 0.62rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* ============================================================
   TRUST BAR
============================================================ */

.demo-hvac .hvac-trust {
    background: var(--hvac-navy);
    color: #fff;
}

.demo-hvac .hvac-trust__grid {
    display: grid;
}

.demo-hvac .hvac-trust__item {
    padding: 1.5rem;

    text-align: center;

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

.demo-hvac .hvac-trust__item:last-child {
    border-bottom: 0;
}

.demo-hvac .hvac-trust__item strong {
    display: block;

    margin-bottom: 0.25rem;

    font-size: 0.92rem;
}

.demo-hvac .hvac-trust__item span {
    color: rgba(255,255,255,0.65);

    font-size: 0.74rem;
}


/* ============================================================
   SECTIONS
============================================================ */

.demo-hvac .hvac-section {
    padding-block: 6rem;
}

.demo-hvac .hvac-section--ice {
    background: var(--hvac-ice);
}

.demo-hvac .hvac-section--navy {
    background: var(--hvac-navy);
    color: #fff;
}

.demo-hvac .hvac-section__header {
    max-width: 720px;

    margin-bottom: 3rem;
}

.demo-hvac .hvac-section__eyebrow {
    margin-bottom: 0.8rem;

    color: var(--hvac-blue);

    font-size: 0.68rem;
    font-weight: 850;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.demo-hvac .hvac-section--navy .hvac-section__eyebrow {
    color: #70c4d2;
}

.demo-hvac .hvac-section h2 {
    margin-bottom: 1rem;

    font-size: clamp(2.3rem, 5vw, 4.5rem);

    line-height: 0.94;
    letter-spacing: -0.065em;
}

.demo-hvac .hvac-section__intro {
    max-width: 630px;

    color: var(--hvac-muted);
}

.demo-hvac .hvac-section--navy .hvac-section__intro {
    color: rgba(255,255,255,0.65);
}


/* ============================================================
   SERVICES
============================================================ */

.demo-hvac .hvac-services {
    display: grid;

    gap: 1px;

    background: var(--hvac-border);

    border: 1px solid var(--hvac-border);
}

.demo-hvac .hvac-service {
    padding: 2rem;

    background: var(--hvac-white);
}

.demo-hvac .hvac-service__number {
    margin-bottom: 2rem;

    color: var(--hvac-blue);

    font-size: 0.7rem;
    font-weight: 850;
}

.demo-hvac .hvac-service h3 {
    margin-bottom: 0.6rem;

    font-size: 1.25rem;

    letter-spacing: -0.03em;
}

.demo-hvac .hvac-service p {
    margin-bottom: 0;

    color: var(--hvac-muted);
}


/* ============================================================
   EMERGENCY
============================================================ */

.demo-hvac .hvac-emergency {
    position: relative;

    overflow: hidden;

    background: var(--hvac-navy);
    color: #fff;
}

.demo-hvac .hvac-emergency::before {
    content: "";

    position: absolute;

    right: -120px;
    top: -120px;

    width: 350px;
    height: 350px;

    border: 65px solid rgba(39,127,145,0.2);

    border-radius: 50%;
}

.demo-hvac .hvac-emergency__grid {
    position: relative;
    z-index: 2;

    display: grid;

    gap: 3rem;

    align-items: center;
}

.demo-hvac .hvac-emergency h2 {
    max-width: 680px;
}

.demo-hvac .hvac-emergency p {
    max-width: 600px;

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


/* ============================================================
   PROCESS
============================================================ */

.demo-hvac .hvac-process {
    display: grid;

    gap: 1px;

    background: var(--hvac-border);

    border: 1px solid var(--hvac-border);
}

.demo-hvac .hvac-process__item {
    padding: 2rem;

    background: #fff;
}

.demo-hvac .hvac-process__number {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 1.5rem;

    background: var(--hvac-blue);
    color: #fff;

    border-radius: 50%;

    font-size: 0.75rem;
    font-weight: 850;
}

.demo-hvac .hvac-process h3 {
    margin-bottom: 0.5rem;

    font-size: 1.15rem;
}

.demo-hvac .hvac-process p {
    margin-bottom: 0;

    color: var(--hvac-muted);
}


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

.demo-hvac .hvac-area-list {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    border-top: 1px solid var(--hvac-border);
}

.demo-hvac .hvac-area-list span {
    padding: 1rem 0;

    border-bottom: 1px solid var(--hvac-border);

    color: var(--hvac-muted);

    font-weight: 650;
}


/* ============================================================
   REVIEWS
============================================================ */

.demo-hvac .hvac-reviews {
    display: grid;

    gap: 1rem;
}

.demo-hvac .hvac-review {
    padding: 2rem;

    background: #fff;

    border: 1px solid var(--hvac-border);
}

.demo-hvac .hvac-review__stars {
    margin-bottom: 1rem;

    color: var(--hvac-blue);

    letter-spacing: 0.12em;
}

.demo-hvac .hvac-review blockquote {
    margin: 0 0 1.25rem;

    font-size: 1.04rem;

    line-height: 1.55;
}

.demo-hvac .hvac-review cite {
    color: var(--hvac-muted);

    font-size: 0.78rem;

    font-style: normal;
    font-weight: 700;
}


/* ============================================================
   FAQ
============================================================ */

.demo-hvac .hvac-faq {
    border-top: 1px solid var(--hvac-border);
}

.demo-hvac .hvac-faq details {
    padding: 1.4rem 0;

    border-bottom: 1px solid var(--hvac-border);
}

.demo-hvac .hvac-faq summary {
    cursor: pointer;

    padding-right: 2rem;

    font-size: 1rem;
    font-weight: 750;
}

.demo-hvac .hvac-faq p {
    max-width: 720px;

    margin: 1rem 0 0;

    color: var(--hvac-muted);
}


/* ============================================================
   FINAL CTA
============================================================ */

.demo-hvac .hvac-final {
    padding-block: 7rem;

    background:
        linear-gradient(
            135deg,
            var(--hvac-ice),
            #d9eaed
        );
}

.demo-hvac .hvac-final__inner {
    max-width: 850px;
}

.demo-hvac .hvac-final h2 {
    margin-bottom: 1rem;

    font-size: clamp(2.8rem, 7vw, 5.8rem);

    line-height: 0.9;
    letter-spacing: -0.075em;
}

.demo-hvac .hvac-final p {
    max-width: 600px;

    margin-bottom: 2rem;

    color: var(--hvac-muted);
}


/* ============================================================
   FOOTER
============================================================ */

.demo-hvac .hvac-footer {
    padding-block: 3rem 1.5rem;

    background: var(--hvac-ink);
    color: #fff;
}

.demo-hvac .hvac-footer__inner {
    display: flex;

    flex-direction: column;

    gap: 1.5rem;
}

.demo-hvac .hvac-footer small {
    color: rgba(255,255,255,0.5);
}


/* ============================================================
   DESKTOP
============================================================ */

@media (min-width: 800px) {

    .demo-hvac .demo-nav {
        display: flex;
    }

    .demo-hvac .demo-header-phone {
        display: block;
    }

    .demo-hvac .hvac-hero__grid {
        grid-template-columns:
            minmax(0, 1.05fr)
            minmax(360px, 0.85fr);
    }

    .demo-hvac .hvac-trust__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .demo-hvac .hvac-trust__item {
        border-right: 1px solid rgba(255,255,255,0.14);
        border-bottom: 0;
    }

    .demo-hvac .hvac-trust__item:last-child {
        border-right: 0;
    }

    .demo-hvac .hvac-services {
        grid-template-columns: repeat(3, 1fr);
    }

    .demo-hvac .hvac-emergency__grid {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .demo-hvac .hvac-process {
        grid-template-columns: repeat(3, 1fr);
    }

    .demo-hvac .hvac-reviews {
        grid-template-columns: repeat(3, 1fr);
    }

    .demo-hvac .hvac-area-list {
        grid-template-columns: repeat(4, 1fr);

        column-gap: 2rem;
    }

    .demo-hvac .hvac-footer__inner {
        flex-direction: row;

        align-items: center;
        justify-content: space-between;
    }
}