/* ===========================================
   A&S HEATING & AIR CONDITIONING
   Design System v1
=========================================== */

:root {

    /* COLORS */

    --bg: #06080c;
    --bg-soft: #0d1117;

    --white: #ffffff;

    --text: #f2f5f8;

    --muted: #9ca6b5;

    --hot: #ef2b2d;
    --cold: #0d86ff;

    /* Alias temporales.
   --orange conserva compatibilidad con componentes existentes,
   pero representa el rojo corporativo de A&S. */
    --red: var(--hot);
    --blue: var(--cold);
    --orange: var(--hot);

    --success: #59d67d;



    /* TYPOGRAPHY */

    --font:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;



    /* SPACING */

    --container: 1280px;

    --radius: 18px;

    --section: 120px;

    --transition: .35s ease;



    /* HEADER */

    --header-height: 78px;

}



* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    font-family: var(--font);

    background: var(--bg);

    color: var(--text);

    overflow-x: hidden;

}

img {

    display: block;

    max-width: 100%;

}

a {

    color: inherit;

    text-decoration: none;

}

button {

    font: inherit;

    cursor: pointer;

}

section {
    width: 100%;
    scroll-margin-top: 88px;
}

.container {

    width: min(92%, var(--container));

    margin: auto;

}

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

#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 78px;
    z-index: 1000;

    background: rgba(248, 249, 247, .92);
    backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(15, 35, 55, .10);
    box-shadow: 0 5px 24px rgba(0, 0, 0, .08);

    transition:
        height .35s ease,
        background-color .35s ease,
        box-shadow .35s ease;
}

#site-header.scrolled {

    height: 68px;

    background: rgba(248, 249, 247, .96);

    box-shadow: 0 8px 28px rgba(0, 0, 0, .12);

}

.header-container {
    height: 100%;
    display: grid;
    grid-template-columns: 190px 1fr auto;
    align-items: center;
    column-gap: clamp(20px, 3vw, 48px);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 190px;
}

.logo img {
    display: block;
    height: 72px;
    width: auto;
    max-width: 210px;
    object-fit: contain;

    filter:
        drop-shadow(0 1px 0 rgba(255, 255, 255, .9)) drop-shadow(0 3px 5px rgba(0, 0, 0, .18));

    transition:
        transform .3s ease,
        filter .3s ease;
}

.logo:hover img {
    transform: translateY(-2px) scale(1.025);

    filter:
        drop-shadow(0 1px 0 rgba(255, 255, 255, .9)) drop-shadow(0 7px 12px rgba(0, 0, 0, .20));
}

.desktop-nav {
    display: flex;
    justify-content: center;
    gap: 42px;
    padding-left: clamp(10px, 3vw, 54px);
}

.desktop-nav a {
    position: relative;
    color: #17324a;
    font-size: .95rem;
    font-weight: 600;

    transition: color .3s ease;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;

    width: 100%;
    height: 2px;

    border-radius: 999px;
    background: var(--cold);

    transform: scaleX(0);
    transform-origin: left;

    transition: transform .3s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    transform: scaleX(1);
}

.desktop-nav a:hover,
.desktop-nav a.active {

    color: var(--blue);

}

.call-button {
    background: var(--cold);
    color: #fff;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(13, 134, 255, .28);

    transition:
        background-color .35s ease,
        box-shadow .35s ease,
        transform .35s ease;
}

.call-button:hover {
    background: #238BFF;
    color: #fff;
    box-shadow:
        0 18px 40px rgba(13, 134, 255, .45),
        0 0 18px rgba(13, 134, 255, .25);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--cold);

    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;

    box-shadow: 0 10px 24px rgba(13, 134, 255, .24);
}

.mobile-menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;

    transition:
        transform .3s ease,
        opacity .3s ease;
}

.mobile-menu {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;

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

    min-height: calc(100dvh - var(--header-height));
    padding: 42px 24px 36px;

    background: rgba(248, 249, 247, .99);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(15, 35, 55, .10);
    box-shadow: 0 22px 50px rgba(0, 0, 0, .16);

    overflow-y: auto;
    overscroll-behavior: contain;

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

    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu a {
    width: 100%;
    max-width: 320px;
    padding: 14px 18px;

    border-radius: 12px;

    color: #17324a;
    font-size: 1.08rem;
    font-weight: 700;
    text-align: center;

    transition:
        color .25s ease,
        background-color .25s ease;
}

.mobile-menu a:hover {
    color: var(--cold);
    background: rgba(13, 134, 255, .07);
}

.mobile-menu-call {
    width: auto !important;
    min-width: 240px;
    max-width: 280px !important;
    margin-top: 18px;
    padding: 14px 24px !important;

    border-radius: 999px !important;
    background: var(--cold);
    color: #ffffff !important;

    font-size: 1rem !important;
    text-align: center;
}

.mobile-menu-call:hover {
    background: #0b6fd6 !important;
    color: #ffffff !important;
}

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

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

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

body.menu-open {
    overflow: hidden;
}

@media(max-width:900px) {

    :root {
        --header-height: 70px;
    }

    #site-header {
        height: 70px;
    }

    #site-header.scrolled {
        height: 64px;
    }

    .header-container {
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 12px;
    }

    .desktop-nav {
        display: none;
    }

    .logo {
        min-width: 0;
    }

    .logo img {
        height: 52px;
        max-width: 165px;
    }

    .call-button {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        align-self: center;
    }
}

.hero-actions .secondary-cta {
    display: none;
}

/* ===========================
   HERO TEMPERATURE EXPERIENCE — CLEAN VERSION
=========================== */

.temperature-hero {
    position: relative;
    height: 200vh;
    min-height: 200vh;
    background: #05070b;
}

.hero-bg {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
}

.hero-hot,
.hero-cool {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.02);
}

.hero-hot {
    opacity: 1;

    background-image:
        linear-gradient(90deg,
            rgba(8, 5, 2, .34) 0%,
            rgba(35, 14, 2, .16) 42%,
            rgba(255, 126, 24, .08) 100%),
        url("../assets/images/hero-room.png");

    filter:
        brightness(.93) contrast(.98) saturate(1.12) sepia(.12);
}

.hero-cool {
    opacity: 0;

    background-image:
        linear-gradient(90deg,
            rgba(3, 14, 26, .08) 0%,
            rgba(8, 65, 95, .04) 48%,
            rgba(150, 225, 245, .08) 100%),
        url("../assets/images/hero-room.png");

    filter:
        brightness(1.10) contrast(1.02) saturate(.92) hue-rotate(4deg);
}

.heat-distortion {
    position: fixed;
    inset: var(--header-height) 0 0;
    pointer-events: none;
    z-index: 1;
    opacity: .16;
    background:
        radial-gradient(ellipse at 78% 48%,
            rgba(255, 170, 70, .22) 0%,
            rgba(255, 120, 20, .08) 34%,
            transparent 68%);
    filter: blur(14px);
    mix-blend-mode: screen;
    animation: heatShake 3.2s ease-in-out infinite alternate;
}

@keyframes heatShake {
    from {
        transform: translateY(-1px) scale(1.002);
        opacity: .12;
    }

    to {
        transform: translateY(2px) scale(1.006);
        opacity: .20;
    }
}

.cool-atmosphere {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    background:
        radial-gradient(ellipse at 86% 38%, rgba(180, 240, 255, .24), transparent 34%),
        radial-gradient(ellipse at 72% 60%, rgba(80, 190, 255, .18), transparent 42%),
        linear-gradient(110deg, transparent 16%, rgba(145, 225, 255, .14) 48%, transparent 74%);
    filter: blur(22px);
    animation: coolDrift 6s ease-in-out infinite alternate;
}

@keyframes coolDrift {
    from {
        transform: translateX(10%) translateY(0) scale(1);
    }

    to {
        transform: translateX(-7%) translateY(-18px) scale(1.08);
    }
}

.hero-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(90deg,
            rgba(5, 8, 12, .72) 0%,
            rgba(5, 8, 12, .54) 24%,
            rgba(5, 8, 12, .24) 42%,
            rgba(5, 8, 12, .04) 58%,
            transparent 72%);
    transition: opacity .15s linear;
}

.hero-content {
    position: sticky;
    top: 0;
    z-index: 2;

    height: 100vh;
    width: min(64vw, 1080px);

    margin-top: -100vh;
    margin-left: 0;

    padding:
        calc(var(--header-height) + 44px) clamp(34px, 5vw, 86px) 44px;

    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    align-items: center;
    gap: 34px;
}

.temperature-meter {
    height: 430px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.temp-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 22px;
}

.temp-line {
    position: relative;
    width: 5px;
    height: 245px;
    flex: 0 0 245px;
    border-radius: 999px;

    background: linear-gradient(to bottom,
            var(--hot) 0%,
            #ffffff 48%,
            var(--cold) 100%);
}

.temp-dot {
    position: absolute;
    top: 0;
    left: 50%;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--orange);
    border: 4px solid white;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 34px rgba(255, 122, 26, .9);
}

.temp-label {
    margin-top: 18px;
    font-size: .75rem;
    letter-spacing: 3px;
    color: var(--muted);
}


.hero-copy {
    width: 100%;
    max-width: 680px;
}

.hero-copy{
    max-width:430px;
}

.eyebrow {
    color: #e8a23a;
    font-size: .85rem;
    letter-spacing: 4px;
    font-weight: 700;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 4vw, 4.8rem);
    line-height: .97;
    letter-spacing: -0.04em;
    max-width: 680px;
    text-shadow: 0 3px 20px rgba(35, 10, 0, .72);
}



.hero-copy h1 span {
    display: block;
    text-shadow: 0 4px 24px rgba(90, 35, 0, .30);
}

.hero-text {
    max-width: 560px;
    margin-top: 22px;
    font-size: 1.04rem;
    line-height: 1.52;
    font-weight: 500;
    color: rgba(255, 255, 255, .92);
    text-shadow: 0 2px 14px rgba(0, 0, 0, .78);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.primary-cta,
.secondary-cta {
    min-width: 200px;
    padding: 15px 30px;
    font-size: 1rem;
    border-radius: 999px;
    border: none;
}

.primary-cta {
    background: var(--cold);
    color: white;

    box-shadow: 0 12px 28px rgba(13, 134, 255, .28);

    transition:
        background-color .35s ease,
        box-shadow .35s ease,
        transform .35s ease;
}

.primary-cta:hover {
    background: #0b6fd6;

    box-shadow:
        0 12px 30px rgba(13, 134, 255, .38);

    transform: translateY(-2px);
}

.secondary-cta {
    border: 1px solid rgba(255, 255, 255, .25);
    color: white;
}

@media (max-width: 900px) {

    .temperature-hero {
        position: relative !important;
        height: auto !important;
        min-height: 100svh !important;
        overflow: hidden !important;
        background: transparent !important;
    }

    .hero-hot,
    .hero-overlay,
    .heat-distortion,
    .cool-atmosphere {
        display: none !important;
    }

    .hero-bg {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        overflow: hidden !important;
        background: transparent !important;
    }

    .temperature-meter {
        display: none !important;
    }

    .hero-cool {
        display: block !important;
        opacity: 1 !important;

        background-image:
            url("../assets/images/hero-mobile-hvac-tech.webp") !important;

        background-position: 68% center !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;

        filter: brightness(.94) saturate(.95) !important;
        transform: none !important;
    }

    .hero-content {
        position: relative !important;
        top: auto !important;
        z-index: 3 !important;

        width: 100% !important;
        max-width: none !important;

        height: auto !important;
        min-height: 100svh !important;

        margin-top: 0 !important;
        margin-left: 0 !important;

        grid-template-columns: 1fr !important;
        align-items: start !important;
        gap: 20px !important;

        padding:
            calc(var(--header-height) + 38px)
            24px
            34px !important;
    }

    .hero-copy {
    position: relative !important;
    z-index: 2 !important;
    max-width: 100% !important;
    background: transparent !important;
    box-shadow: none !important;
}

.hero-copy::before,
.hero-copy::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

    .eyebrow {
        margin-bottom: 12px !important;
        font-size: .72rem !important;
        letter-spacing: 2px !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, .65) !important;
    }

    .hero-copy h1 {
        max-width: 100% !important;
        font-size: clamp(2.35rem, 9vw, 3.2rem);
        line-height: .98 !important;
    }

    .hero-copy h1,
    .hero-copy h1 span,
    .hero-copy .line1,
    .hero-copy .line2 {
        color: #ffffff !important;
        text-shadow:
            0 2px 4px rgba(0, 0, 0, .28),
            0 1px 2px rgba(0, 0, 0, .18) !important;
    }

    .hero-text {
        max-width: 380px !important;
        margin-top: 18px !important;
        font-size: .98rem !important;
        line-height: 1.6 !important;

        text-shadow:
            0 2px 4px rgba(0, 0, 0, .72),
            0 1px 2px rgba(0, 0, 0, .45) !important;
    }

    .hero-actions {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 12px !important;
        margin-top: 36px !important;
    }

    .primary-cta,
    .secondary-cta {
        min-width: 0 !important;
        padding: 14px 22px !important;
        font-size: .94rem !important;
        font-weight: 700 !important;
    }
}

.hero-copy h1,
.hero-copy h1 span,
.hero-copy .line1,
.hero-copy .line2 {
    text-shadow:
    0 2px 4px rgba(0,0,0,.28),
    0 1px 2px rgba(0,0,0,.18);
}

.hero-text {
    text-shadow:
        0 2px 4px rgba(0, 0, 0, .72),
        0 1px 2px rgba(0, 0, 0, .45) !important;
}


.hero-copy h1 {
    display: flex;
    flex-direction: column;
    gap: .08em;
}

.hero-copy .line1,
.hero-copy .line2 {
    display: block;
    transition: color .12s linear;
}

.heat-distortion,
.cool-atmosphere {
    position: absolute !important;
    inset: 0 !important;
}

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

.services-section {
    position: relative;
    z-index: 5;
    margin-top: 0;
    padding: 110px 0 120px;
    background: #f5f7f8;
    color: #10263a;
}

.services-container {
    width: min(92%, 1280px);
}

.services-heading {
    max-width: 760px;
    margin-bottom: 38px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 16px;

    color: var(--hot);

    font-size: .80rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}


.section-eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    border-radius: 999px;
    background: var(--hot);
}

.services-heading h2 {
    max-width: 720px;
    font-size: clamp(2.5rem, 4.8vw, 4.8rem);
    line-height: .98;
    letter-spacing: -.055em;
    color: var(--cold);
}

.services-heading>p:last-child {
    max-width: 620px;
    margin-top: 22px;
    color: #5f6d78;
    font-size: 1.08rem;
    line-height: 1.65;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.service-card {
    overflow: hidden;
    min-height: 475px;
    border: 1px solid rgba(12, 43, 68, .10);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(14, 37, 57, .08);
    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.service-card:hover {
    transform: translateY(-8px);

    border-color: rgba(13, 134, 255, .18);

    box-shadow:
        0 30px 70px rgba(14, 37, 57, .16),
        0 0 0 1px rgba(13, 134, 255, .05);
}

.service-image {
    position: relative;
    height: 265px;
    overflow: hidden;
    background: #dce5eb;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    transition: transform .6s ease;
}





.service-card:hover .service-image img {
    transform: scale(1.03);
}

.service-content {
    padding: 18px 24px 20px;
}

.service-number {
    display: block;
    margin-bottom: 12px;
    color: var(--orange);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.service-content h3 {
    margin-bottom: 15px;
    color: #0b2033;
    font-size: 1.75rem;
    line-height: 1.1;
    letter-spacing: -.025em;

    transition:
        color .3s ease,
        transform .3s ease;
}

.service-content p {
    min-height: 0;
    margin: 0;
    color: #5f6d78;
    font-size: .96rem;
    line-height: 1.42;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    color: #0b5fa5;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .01em;

    transition:
        color .3s ease,
        transform .3s ease;
}

.service-card:hover h3 {
    color: var(--cold);
    transform: translateY(-2px);
}

.service-card:hover .service-link {
    color: var(--cold);
}

.service-card:hover .service-link span {
    transform: translateX(8px);
}

.service-link span {
    transition: transform .25s ease;
}

.service-link:hover span {
    transform: translateX(5px);
}

@media (max-width: 900px) {

    .services-section {
        padding: 82px 0 90px;
    }

    .services-heading {
        margin-bottom: 38px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .service-image {
        height: 250px;
    }

    .service-content p {
        min-height: auto;
    }

}

@media (max-width: 560px) {

    .services-heading h2 {
        font-size: 2.65rem;
    }

    .service-image {
        height: 185px;
    }

    .service-content {
        padding: 16px 18px 18px;
    }

}

.services-heading {
    margin-bottom: 42px;
}

.service-content h3 {
    font-size: 1.55rem;
}

.service-link {
    margin-top: 10px;
}

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

.process-section {
    padding: 120px 0;
    background: #ffffff;
}

.process-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 70px;
}

.process-heading h2 {
    margin: 18px 0;
    font-size: clamp(2.4rem, 4vw, 4.3rem);
    color: #0f2438;
    line-height: 1;
}

.process-heading p {
    color: #677480;
    line-height: 1.7;
}

.process-grid {

    display: grid;

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

    gap: 28px;

    position: relative;

}

.process-grid::before {

    content: "";

    position: absolute;

    top: 34px;

    left: 9%;

    right: 9%;

    height: 4px;

    border-radius: 999px;

    background: linear-gradient(90deg,
            rgba(239, 43, 45, .18),
            rgba(13, 134, 255, .22));

    z-index: 0;

}

.process-card {

    position: relative;

    z-index: 1;

    text-align: center;

}

.process-number {

    width: 70px;

    height: 70px;

    margin: 0 auto 26px;

    border-radius: 50%;

    background: var(--hot);

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: 800;

    font-size: 1.2rem;

    box-shadow: 0 10px 24px rgba(239, 43, 45, .25);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background-color .3s ease;

}

.process-card h3 {

    margin-bottom: 14px;

    color: #0f2438;

}

.process-card p {

    color: #6d7b87;

    line-height: 1.6;

    font-size: .96rem;

}

.process-card:hover .process-number {
    transform: translateY(-5px) scale(1.08);
    background: var(--cold);
    box-shadow:
        0 16px 34px rgba(13, 134, 255, .34),
        0 0 0 8px rgba(13, 134, 255, .08);
}

.process-card h3,
.process-card p {
    transition:
        color .3s ease,
        transform .3s ease;
}

.process-card:hover h3 {
    color: var(--cold);
    transform: translateY(-2px);
}

.process-card:hover p {
    color: #4f6475;
}

@media(max-width:1100px) {

    .process-grid {

        grid-template-columns: 1fr;

    }

    .process-grid::before {

        display: none;

    }

    .process-card {

        text-align: left;

        padding-left: 95px;

        min-height: 90px;

    }

    .process-number {

        position: absolute;

        left: 0;

        top: 0;

        margin: 0;

    }

}

/* ===========================
   SERVICE AREA
=========================== */

.coverage-section {
    position: relative;
    z-index: 5;
    overflow: hidden;
    padding: 120px 0;
    background:
        radial-gradient(circle at 78% 45%,
            rgba(13, 134, 255, .13),
            transparent 34%),
        #071421;
    color: #ffffff;
}

.coverage-layout {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
    align-items: start;
    gap: clamp(60px, 8vw, 120px);
}

.coverage-visual {
    align-self: start;
}

.coverage-map-card {
    height: auto;
}

.coverage-copy {
    max-width: 620px;
}

.coverage-copy h2 {
    max-width: 610px;
    margin-top: 16px;
    font-size: clamp(2.7rem, 4.4vw, 4.8rem);
    line-height: .98;
    letter-spacing: -.055em;
}

.coverage-intro {
    max-width: 570px;
    margin-top: 24px;
    color: rgba(255, 255, 255, .72);
    font-size: 1.08rem;
    line-height: 1.65;
}

.coverage-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 34px;
}

.coverage-cities span {
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    background: rgba(255, 255, 255, .055);
    color: rgba(255, 255, 255, .88);
    font-size: .9rem;
    cursor: pointer;

    transition:
        background-color .25s ease,
        border-color .25s ease,
        color .25s ease,
        transform .25s ease;
}

.coverage-cities span:hover,
.coverage-cities span.active {
    border-color: var(--cold);
    background: var(--cold);
    color: #ffffff;
    transform: translateY(-2px);
}

.coverage-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 38px;
}

.coverage-call {
    padding: 15px 23px;
    border-radius: 999px;
    background: var(--cold);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(13, 134, 255, .28);
    transition:
        background-color .3s ease,
        box-shadow .3s ease,
        transform .3s ease;
}

.coverage-call:hover {
    background: #0b6fd6;
    box-shadow: 0 12px 30px rgba(13, 134, 255, .38);
    transform: translateY(-2px);
}

.coverage-request {
    color: #83d8ff;
    font-weight: 800;
}

.coverage-map-card {
    position: relative;
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 30px;

    background:
        linear-gradient(rgba(255, 255, 255, .028) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(255, 255, 255, .028) 1px,
            transparent 1px),
        linear-gradient(145deg, #0b2942, #071523);

    background-size: 42px 42px, 42px 42px, auto;

    box-shadow: 0 40px 90px rgba(0, 0, 0, .28);

    padding: 0;
}

#serviceMap {
    width: 100%;
    height: 520px;
    min-height: 0;
    z-index: 1;
}

@media (max-width: 980px) {

    #serviceMap {
        height: 430px;
    }

}

.map-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(12px);
}

.map-glow-one {
    top: 15%;
    right: 10%;
    width: 260px;
    height: 260px;
    background: rgba(13, 134, 255, .18);
}

.map-glow-two {
    bottom: 2%;
    left: 5%;
    width: 220px;
    height: 220px;
    background: rgba(255, 122, 26, .10);
}

.map-center {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translate(-50%, -50%);
    text-align: center;
}

.map-center strong {
    position: relative;
    z-index: 6;
    margin-top: 20px;
    font-size: 1.45rem;
    color: #ffffff;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .65);
}

/* ===========================
   MAP TEMPERATURE PULSE
=========================== */

.map-pulse {
    position: relative;
    z-index: 4;

    width: 34px;
    height: 34px;

    border: 6px solid #ffffff;
    border-radius: 50%;

    background: var(--hot);

    box-shadow:
        0 0 0 12px rgba(239, 43, 45, .20),
        0 0 54px rgba(239, 43, 45, .90);

    animation:
        mapCoreTemperature 6s ease-in-out infinite;
}

.map-pulse::before,
.map-pulse::after {
    content: "";

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

    width: 38px;
    height: 38px;

    border-radius: 50%;
    pointer-events: none;

    transform:
        translate(-50%, -50%) scale(1);

    opacity: 0;
}

/* Primera expansión: calor rojo */

.map-pulse::before {
    z-index: -2;

    background:
        radial-gradient(circle,
            rgba(239, 43, 45, .82) 0%,
            rgba(239, 43, 45, .52) 26%,
            rgba(239, 43, 45, .18) 54%,
            transparent 76%);

    filter: blur(4px);

    animation:
        mapHotWave 6s ease-out infinite;
}

/* Segunda expansión: frío azul dominante */

.map-pulse::after {
    z-index: -1;

    background:
        radial-gradient(circle,
            rgba(13, 134, 255, .78) 0%,
            rgba(13, 134, 255, .56) 32%,
            rgba(95, 205, 255, .30) 58%,
            rgba(95, 205, 255, .12) 72%,
            transparent 84%);

    filter: blur(7px);

    animation:
        mapColdWave 6s ease-out infinite;
}

@keyframes mapCoreTemperature {

    0%,
    24% {
        background: var(--hot);

        box-shadow:
            0 0 0 12px rgba(239, 43, 45, .22),
            0 0 58px rgba(239, 43, 45, .95);
    }

    38% {
        background: #ffffff;

        box-shadow:
            0 0 0 14px rgba(255, 255, 255, .20),
            0 0 62px rgba(255, 255, 255, .70);
    }

    55%,
    100% {
        background: var(--cold);

        box-shadow:
            0 0 0 16px rgba(13, 134, 255, .25),
            0 0 72px rgba(13, 134, 255, .95);
    }
}

@keyframes mapHotWave {

    0% {
        transform:
            translate(-50%, -50%) scale(1);

        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    22% {
        opacity: .90;
    }

    38% {
        transform:
            translate(-50%, -50%) scale(18);

        opacity: .34;
    }

    48%,
    100% {
        transform:
            translate(-50%, -50%) scale(22);

        opacity: 0;
    }
}

@keyframes mapColdWave {

    0%,
    28% {
        transform:
            translate(-50%, -50%) scale(1);

        opacity: 0;
    }

    38% {
        opacity: .35;
    }

    52% {
        opacity: .95;
    }

    76% {
        transform:
            translate(-50%, -50%) scale(38);

        opacity: .76;
    }

    92% {
        transform:
            translate(-50%, -50%) scale(46);

        opacity: .48;
    }

    100% {
        transform:
            translate(-50%, -50%) scale(50);

        opacity: 0;
    }
}

/* Ciudades siempre por encima del halo */

.map-city {
    position: absolute;
    z-index: 5;

    padding: 8px 12px;

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

    background: rgba(4, 17, 29, .72);
    color: rgba(255, 255, 255, .80);

    font-size: .78rem;

    backdrop-filter: blur(8px);
}

.city-orlando {
    top: 17%;
    left: 42%;
}

.city-kissimmee {
    top: 57%;
    left: 55%;
}

.city-stcloud {
    right: 11%;
    bottom: 20%;
}

.city-davenport {
    bottom: 18%;
    left: 10%;
}

.city-clermont {
    top: 26%;
    left: 10%;
}

.city-poinciana {
    bottom: 8%;
    left: 42%;
}

.city-celebration {
    bottom: 30%;
    left: 22%;
}

.city-lakenona {
    top: 35%;
    right: 10%;
}

.coverage-note {
    margin-top: 17px;
    color: rgba(255, 255, 255, .52);
    font-size: .86rem;
    text-align: center;
}

@media (max-width: 980px) {

    .coverage-layout {
        grid-template-columns: 1fr;
    }

    .coverage-copy {
        max-width: 700px;
    }

    .coverage-map-card {
        min-height: 430px;
    }

}


@media (max-width: 560px) {

    .services-section {
        padding: 58px 0 32px;
    }

    .services-heading h2 {
        font-size: 2.45rem;
    }

    .services-grid {
        gap: 18px;
    }

    .service-card {
        border-radius: 20px;
    }

    .service-image {
        height: 205px;
    }

    .service-content {
        padding: 18px 18px 18px;
    }

    .service-number {
        margin-bottom: 6px;
    }

    .service-content h3 {
        margin-bottom: 8px;
        font-size: 1.38rem;
    }

    .service-content p {
        font-size: .94rem;
        line-height: 1.48;
    }

    .service-link {
        margin-top: 10px;
        font-size: .89rem;
    }

}

.service-content p {
    font-size: .92rem;
    line-height: 1.4;
}

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

.trust-section {
    position: relative;
    z-index: 5;
    padding: 96px 0;
    background: #f4f7f9;
    color: #10263a;
}

.trust-layout {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    gap: clamp(50px, 7vw, 100px);
    align-items: start;
}

.trust-heading {
    max-width: 540px;
}

.trust-heading h2 {
    margin-top: 16px;
    font-size: clamp(2.6rem, 4.4vw, 4.7rem);
    line-height: .98;
    letter-spacing: -.05em;
    color: #0f2438;
}

.trust-heading>p:last-child {
    margin-top: 24px;
    color: #61717e;
    font-size: 1.05rem;
    line-height: 1.65;
}

.trust-grid {
    display: grid;
    gap: 20px;
}

.trust-card {
    position: relative;
    padding: 30px 32px;

    border: 1px solid rgba(15, 36, 56, .09);
    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 16px 38px rgba(15, 36, 56, .09),
        0 2px 8px rgba(15, 36, 56, .04);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.trust-card:hover {
    transform: translateY(-4px);

    border-color: rgba(13, 134, 255, .22);

    box-shadow:
        0 24px 52px rgba(15, 36, 56, .13),
        0 0 0 1px rgba(13, 134, 255, .06);
}

.trust-card span {
    display: block;
    margin-bottom: 10px;

    color: rgba(239, 43, 45, .72);

    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.trust-card h3 {
    margin-bottom: 12px;

    color: #0f2438;

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

.trust-card p {
    color: #596875;
    line-height: 1.6;
}

@media (max-width: 900px) {

    .trust-section {
        padding: 64px 0;
    }

    .trust-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .trust-grid {
        gap: 16px;
    }

    .trust-card {
        padding: 24px;
    }

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

}

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

.footer {
    position: relative;
    background: #02070c;
    color: #ffffff;
    padding: 54px 0 0;
    border-top: 6px solid var(--cold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr .8fr .8fr .8fr;
    gap: 34px;
    align-items: start;
}

.footer-brand img {
    width: 150px;
    height: auto;
    margin-bottom: 18px;
}

.footer-brand p {
    max-width: 340px;
    color: rgba(255, 255, 255, .68);
    line-height: 1.75;
    font-size: .97rem;
}

.footer-column h4 {
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
}

.footer-column a,
.footer-column span {
    display: block;
    margin-bottom: 13px;
    color: rgba(255, 255, 255, .70);
    text-decoration: none;
    transition: color .25s ease;
}

.footer-column a:hover {
    color: var(--cold);
}

.footer-call {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 14px 24px;
    border-radius: 999px;
    background: var(--cold);
    color: #ffffff !important;
    font-weight: 700;
    transition:
        background-color .3s ease,
        transform .3s ease,
        box-shadow .3s ease;
}

.footer-call:hover {
    background: #0b6fd6;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(13, 134, 255, .30);
}

.footer-bottom {
    margin-top: 34px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: #000409;
}

.footer-bottom p {
    text-align: center;
    color: rgba(255, 255, 255, .55);
    font-size: .9rem;
    line-height: 1.6;
}

@media (max-width:980px) {

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

}

@media (max-width:640px) {

    .footer {
        padding-top: 52px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand img {
        width: 165px;
        margin: 0 auto 16px;
    }

    .footer-brand p {
        max-width: 320px;
        margin: 0 auto;
        font-size: .94rem;
        line-height: 1.6;
    }

    .footer-column {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-column h4 {
        margin-bottom: 14px;
    }

    .footer-column a,
    .footer-column span {
        margin-bottom: 10px;
    }

    .footer-call {
        margin: 14px auto 0;
    }

    .footer-bottom {
        margin-top: 28px;
        padding: 16px 18px;
    }

}

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

.final-cta {
    padding: 110px 0 120px;

    background:
        radial-gradient(circle at 50% 12%,
            rgba(13, 134, 255, .18),
            transparent 42%),
        linear-gradient(180deg,
            #12344b 0%,
            #0b2233 100%);

    text-align: center;
    color: #fff;
}

.final-cta-content {

    max-width: 760px;

    margin: auto;
}

.final-cta h2 {

    margin-top: 18px;

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

    line-height: .96;

    letter-spacing: -.05em;
}

.final-cta p:last-of-type {

    max-width: 620px;

    margin: 26px auto 0;

    color: rgba(255, 255, 255, .74);

    line-height: 1.75;

    font-size: 1.08rem;
}

.final-cta-actions {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 18px;

    margin-top: 42px;
}

@media(max-width:700px) {

    .final-cta {

        padding: 90px 0;
    }

    .final-cta-actions {

        flex-direction: column;

        align-items: center;
    }

}

/* ===========================
   SECTION REVEAL
=========================== */

.reveal {

    opacity: 0;

    transform: translateY(40px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.visible {

    opacity: 1;

    transform: translateY(0);
}

/* ===========================
   REDUCED MOTION
=========================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .heat-distortion,
    .cool-atmosphere {
        animation: none;
    }
}

.services-container {
    opacity: 1 !important;
    transform: none !important;
}

/* ===========================================
   SERVICE REQUEST MODAL
=========================================== */

.service-modal {
    position: fixed;
    inset: 0;
    z-index: 12000;

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

    padding: 24px;
}

.service-modal.open {
    display: flex;
}

.service-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(2, 7, 12, .76);
    backdrop-filter: blur(8px);
}

.service-modal-dialog {
    position: relative;
    z-index: 1;

    width: min(100%, 560px);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;

    padding: 34px;

    border: 1px solid rgba(13, 134, 255, .16);
    border-radius: 24px;

    background: #ffffff;
    color: #10263a;

    box-shadow:
        0 30px 90px rgba(0, 0, 0, .38),
        0 0 0 1px rgba(13, 134, 255, .04);
}

.service-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;

    width: 40px;
    height: 40px;

    border: 0;
    border-radius: 50%;

    background: #edf4fa;
    color: #17324a;

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

    transition:
        background-color .25s ease,
        color .25s ease,
        transform .25s ease;
}

.service-modal-close:hover {
    background: var(--cold);
    color: #ffffff;
    transform: rotate(90deg);
}

.service-modal-dialog h2 {
    max-width: 430px;
    margin-top: 8px;

    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1;
    letter-spacing: -.04em;
}

.service-modal-intro {
    max-width: 470px;
    margin-top: 16px;

    color: #667582;
    line-height: 1.55;
}

#serviceRequestForm {
    display: grid;
    gap: 10px;

    margin-top: 26px;
}

#serviceRequestForm label {
    margin-top: 6px;

    color: #17324a;
    font-size: .9rem;
    font-weight: 700;
}

#serviceRequestForm input,
#serviceRequestForm select,
#serviceRequestForm textarea {
    width: 100%;

    border: 1px solid rgba(15, 36, 56, .16);
    border-radius: 12px;

    background: #f8fafc;
    color: #10263a;

    font: inherit;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background-color .25s ease;
}

#serviceRequestForm input,
#serviceRequestForm select {
    min-height: 48px;
    padding: 0 14px;
}

#serviceRequestForm textarea {
    min-height: 110px;
    padding: 13px 14px;
    resize: vertical;
}

#serviceRequestForm input:focus,
#serviceRequestForm select:focus,
#serviceRequestForm textarea:focus {
    outline: none;

    border-color: var(--cold);
    background: #ffffff;

    box-shadow: 0 0 0 4px rgba(13, 134, 255, .10);
}

.service-form-error {
    min-height: 20px;
    margin-top: 4px;

    color: #c52225;
    font-size: .88rem;
    font-weight: 600;
}

.service-form-submit {
    min-height: 50px;
    margin-top: 4px;

    border: 0;
    border-radius: 999px;

    background: var(--cold);
    color: #ffffff;

    font-weight: 800;

    box-shadow: 0 12px 28px rgba(13, 134, 255, .28);

    transition:
        filter .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}

.service-form-submit:hover {
    filter: brightness(1.12) saturate(1.08);
    box-shadow: 0 16px 34px rgba(13, 134, 255, .38);
    transform: translateY(-2px);
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 560px) {

    .service-modal {
        align-items: flex-end;
        padding: 0;
    }

    .service-modal-dialog {
        width: 100%;
        max-height: 92dvh;

        padding: 28px 20px 22px;

        border-radius: 24px 24px 0 0;
    }

    .service-modal-dialog h2 {
        padding-right: 42px;
        font-size: 2rem;
    }

    .service-modal-close {
        top: 14px;
        right: 14px;
    }

}

/* ===========================================
   GLOBAL PRIMARY CTA — COLD BLUE HOVER
=========================================== */

.call-button,
.primary-cta,
.coverage-call,
.footer-call,
.mobile-menu-call {
    background: var(--cold) !important;
    background-image: none !important;
}

.call-button:hover,
.primary-cta:hover,
.coverage-call:hover,
.footer-call:hover,
.mobile-menu-call:hover {
    background: var(--cold) !important;
    background-color: var(--cold) !important;
    background-image: none !important;
    color: #ffffff !important;

    filter: brightness(1.14) saturate(1.08);

    box-shadow:
        0 15px 36px rgba(13, 134, 255, .42),
        0 0 20px rgba(70, 175, 255, .28);

    transform: translateY(-2px);
}

.whatsapp-float {

    position: fixed;

    right: 24px;
    bottom: 24px;

    width: 62px;
    height: 62px;

    border-radius: 50%;

    background: #25D366;
    color: #fff;

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

    text-decoration: none;

    z-index: 9999;

    box-shadow:
        0 12px 30px rgba(37, 211, 102, .35);

    transition:
        transform .25s,
        box-shadow .25s;

}

.whatsapp-float svg {

    width: 32px;
    height: 32px;

}

.whatsapp-float:hover {

    transform: translateY(-3px) scale(1.05);

    box-shadow:
        0 18px 36px rgba(37, 211, 102, .45);

}

.whatsapp-float {
    width: 54px;
    height: 54px;
    right: 18px;
    bottom: 22px;

    box-shadow:
        0 10px 26px rgba(37, 211, 102, .32);
}

.whatsapp-float img {
    width: 36px;
    height: 36px;
}

.service-city-label {
    padding: 5px 9px !important;

    border: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 999px !important;

    background: rgba(7, 20, 33, .92) !important;
    color: #ffffff !important;

    font-size: .75rem !important;
    font-weight: 700 !important;

    box-shadow: 0 6px 18px rgba(0, 0, 0, .24) !important;
}

.service-city-label::before {
    display: none !important;
}

.service-popup {
    min-width: 185px;
    text-align: center;
    padding: 4px 2px;
}

.service-popup h4 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    color: #16324f;
    line-height: 1.2;
}

.service-popup p {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
}

.popup-request {
    width: auto;
    min-width: 145px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 999px;
    padding: 9px 16px;
    background: #0d86ff;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
}

.popup-request:hover {
    background: #0b74db;
}

.leaflet-popup-content-wrapper {
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, .18);
}

.leaflet-popup-tip {
    box-shadow: 0 10px 20px rgba(15, 23, 42, .12);
}

@media (max-width: 900px),
(pointer: coarse) {
    #serviceMap {
        touch-action: pan-y !important;
    }

    #serviceMap .leaflet-pane,
    #serviceMap .leaflet-tile-container,
    #serviceMap .leaflet-container {
        touch-action: pan-y !important;
        pointer-events: none !important;
    }

    /* Mantenemos activos únicamente los marcadores y popups */
    #serviceMap .leaflet-marker-pane,
    #serviceMap .leaflet-popup-pane,
    #serviceMap .leaflet-control-container {
        pointer-events: auto !important;
    }
}

/* Escudo transparente para móviles: permite scroll fluido sobre el mapa */
.map-scroll-shield {
    display: none;
}

@media (max-width: 900px),
(pointer: coarse) {
    .map-scroll-shield {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 10;
        background: transparent;
        pointer-events: auto;
    }
}

@media (max-width: 560px) {

    .coverage-section {
        padding: 48px 0;
    }

    .coverage-map-card {
        height: auto;
    }

    #serviceMap {
        height: 380px;
        min-height: 0;
    }

    .coverage-note {
        margin: 0;
        padding: 10px 12px;
    }

    .services-section {
        padding-bottom: 48px;
    }

    .reveal,
    .reveal.visible {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

}
/* Recent projects carousel */
.projects-section { padding: 7rem 0; background: #f3f6f5; overflow: hidden; }
.projects-heading { display:flex; justify-content:space-between; align-items:end; gap:2rem; margin-bottom:2rem; }
.projects-heading h2 { max-width: 620px; margin:.35rem 0 .75rem; }
.projects-heading p:not(.section-kicker) { max-width: 560px; margin:0; }
.projects-controls { display:flex; gap:.7rem; flex-shrink:0; }
.project-arrow { width:3rem; height:3rem; border:1px solid rgba(14,47,47,.25); border-radius:50%; background:transparent; color:#0e2f2f; font-size:1.35rem; cursor:pointer; transition:.2s ease; }
.project-arrow:hover, .project-arrow:focus-visible { background:#0e2f2f; color:#fff; }
.project-carousel { overflow:hidden; }
.project-track { display:flex; gap:1.25rem; transition:transform .45s ease; }
.project-slide { flex:0 0 min(78vw, 440px); margin:0; background:#fff; border-radius:1.1rem; overflow:hidden; box-shadow:0 12px 35px rgba(14,47,47,.09); }
.project-slide img { display:block; width:100%; height:300px; object-fit:cover; }
.project-slide figcaption { display:grid; gap:.35rem; padding:1.25rem 1.35rem 1.4rem; color:#0e2f2f; }
.project-slide figcaption span { color:#567070; font-size:.95rem; line-height:1.5; }
@media (max-width: 700px) { .projects-section { padding:5rem 0; } .projects-heading { align-items:start; flex-direction:column; } .project-slide { flex-basis:84vw; } .project-slide img { height:230px; } }

/* Keep each project compact so the gallery reads as a carousel. */
.projects-section .container { max-width: 1180px; }
.projects-section .project-slide { flex-basis: 31%; min-width: 280px; }
.projects-section .project-slide img { height: 220px; object-fit: cover; }
@media (max-width: 700px) { .projects-section .project-slide { flex-basis: 84vw; } .projects-section .project-slide img { height: 230px; } }
.projects-section .project-track { display: flex !important; flex-wrap: nowrap !important; width: max-content; }
.projects-section .project-slide { display: block !important; width: 31vw; max-width: 360px; min-height: 320px; }
.projects-section .project-slide img { display: block !important; width: 100% !important; height: 210px !important; object-fit: cover !important; }
@media (max-width: 700px) { .projects-section .project-slide { width: 84vw; max-width: none; } }

/* OP Tree-inspired project cards: compact, polished, and easy to scan. */
.projects-section { background: #fff; padding: 6.5rem 0 7rem; }
.projects-section .projects-heading { display: block; max-width: 1180px; margin: 0 auto 2.4rem; }
.projects-section .projects-heading h2 { font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: .98; max-width: 650px; margin: .5rem 0 1rem; text-transform: uppercase; }
.projects-section .projects-heading h2 { color: #1683f5 !important; }
.projects-section .section-kicker { color: #ef2638 !important; }
.projects-section .projects-heading p:not(.section-kicker) { color: #50666b; max-width: 620px; font-size: 1.05rem; }
.projects-section .projects-controls { justify-content: flex-end; margin-top: -3.6rem; margin-bottom: 1.8rem; }
.projects-section .project-carousel { max-width: 1180px; padding: 0 0 1.5rem; }
.projects-section .project-track { gap: 1.35rem; }
.projects-section .project-carousel { touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.projects-section .project-slide { flex: 0 0 calc((100% - 4.05rem) / 4) !important; width: auto; min-width: 0; min-height: 0; border: 1px solid #dce5df; border-radius: 1.05rem; box-shadow: 0 14px 28px rgba(24,55,50,.08); }
.projects-section .project-slide { flex-shrink: 0 !important; }
.projects-section .project-slide img { height: 230px !important; aspect-ratio: 1.18 / 1; object-fit: cover !important; object-position: center; background: #eef2f4; }
.projects-section .project-slide figcaption { min-height: 112px; padding: 1.1rem 1.2rem 1.25rem; }
.projects-section .project-slide figcaption strong { font-size: 1.2rem; line-height: 1.08; text-transform: uppercase; }
.projects-section .project-slide figcaption span { color: #637578; font-size: .88rem; }
@media (max-width: 980px) { .projects-section .project-slide { flex-basis: calc((100% - 1.35rem) / 2) !important; } }
@media (max-width: 700px) { .projects-section { padding: 5rem 0 5.5rem; } .projects-section .projects-heading h2 { font-size: 2.55rem; } .projects-section .projects-controls { justify-content: flex-start; margin: 1.4rem 0 1.5rem; } .projects-section .project-slide { flex-basis: 84vw !important; } .projects-section .project-slide img { height: 240px !important; } }
@media (max-width: 980px) { .projects-section .project-carousel { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; } .projects-section .project-carousel::-webkit-scrollbar { display: none; } .projects-section .project-track { transform: none !important; } .projects-section .project-slide { scroll-snap-align: start; } }

.site-header { min-height:78px; padding:0 4%; display:flex; align-items:center; justify-content:space-between; gap:2rem; background:rgba(248,249,247,.96); color:#102d48; border-bottom:1px solid rgba(15,35,55,.1); }
.site-header .logo { min-width:170px; }.site-header .logo img { width:150px; height:auto; }.site-header .desktop-nav { display:flex; gap:clamp(1rem,2.4vw,2.5rem); align-items:center; font-size:.9rem; }.site-header .header-cta,.seo-hero .primary-cta { background:var(--cold); color:#fff; border-radius:999px; padding:.9rem 1.35rem; font-weight:700; }
.seo-hero { padding:10rem 0 6rem; background:linear-gradient(135deg,#06080c 0%,#0d1117 70%,#071b32 100%); }.seo-hero .container,.seo-content .container { max-width:900px; }.seo-hero .eyebrow,.seo-content .section-eyebrow { color:var(--hot); letter-spacing:.22em; font-size:.78rem; font-weight:800; }.seo-hero h1 { max-width:850px; margin:1rem 0 1.25rem; color:var(--cold); font-size:clamp(2.7rem,7vw,5.8rem); line-height:.98; }.seo-hero .hero-text { max-width:720px; margin-bottom:2rem; color:#d4dde7; font-size:1.1rem; line-height:1.65; }
.seo-content { padding:6rem 0; background:#f6f8fa; color:#123044; }.seo-content h2 { margin:.6rem 0 2rem; color:var(--cold); font-size:clamp(2rem,5vw,3.6rem); line-height:1; }.seo-content p { max-width:760px; margin:0 0 1.25rem; color:#45606d; font-size:1.05rem; line-height:1.7; }.seo-links { display:flex; flex-wrap:wrap; gap:.75rem; margin-top:2.5rem; }.seo-links a { color:#123044; border:1px solid #ccd8e0; border-radius:999px; padding:.7rem 1rem; background:#fff; }.faq-list { margin-top:2rem; }.faq-list details { border-top:1px solid #ccd8e0; padding:1rem 0; }.faq-list summary { cursor:pointer; color:#123044; font-weight:700; }.faq-list details p { margin-top:.8rem; }.site-footer { padding:2rem 4%; display:flex; flex-wrap:wrap; gap:1rem 2rem; justify-content:space-between; color:#cbd7e1; background:#06080c; }
@media(max-width:760px){.site-header{padding:.7rem 4%;}.site-header .desktop-nav{display:none;}.site-header .header-cta{padding:.7rem 1rem;font-size:.8rem;}.seo-hero{padding:7rem 0 4rem;}.seo-content{padding:4rem 0;}}

/* SEO pages reuse the mobile-home HVAC photo without changing the site system. */
.seo-page {
    background: #f6f8fa;
}

.seo-page section {
    width: 100%;
}

.seo-page .seo-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 610px;
    display: flex;
    align-items: center;
    background: #edf7ff;
}

.seo-page .seo-hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0 0 0 auto;
    width: 68%;
    background: url("../assets/images/hero-mobile-hvac-tech.webp") center 72% / cover no-repeat;
}

.seo-page .seo-hero::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, #edf7ff 0%, #edf7ff 34%, rgba(237, 247, 255, .94) 44%, rgba(220, 241, 255, .56) 61%, rgba(22, 131, 245, .06) 100%);
}

.seo-page .seo-hero .container {
    position: relative;
    z-index: 2;
    width: min(92%, 1280px);
    max-width: 1280px;
    margin-inline: auto;
}

.seo-page .seo-hero h1,
.seo-page .seo-hero .hero-text {
    max-width: min(690px, 52vw);
}

.seo-page .seo-hero h1 {
    color: #087df0;
    font-size: clamp(3rem, 4.8vw, 4.65rem);
    line-height: 1.02;
}

.seo-page .seo-hero .hero-text {
    color: #244b62;
    font-weight: 500;
    text-shadow: none !important;
}

.seo-page .seo-hero h1,
.seo-page .seo-hero .eyebrow {
    text-shadow: none !important;
}

@media (max-width: 760px) {
    .seo-page .seo-hero {
        min-height: 650px;
        align-items: flex-end;
        padding: 8.5rem 0 4.5rem;
    }

    .seo-page .seo-hero::before {
        inset: 0;
        width: 100%;
        background-position: 68% center;
    }

    .seo-page .seo-hero::after {
        background: linear-gradient(180deg, rgba(5, 9, 14, .18) 0%, rgba(5, 9, 14, .48) 36%, #070b11 86%);
    }

    .seo-page .seo-hero h1,
    .seo-page .seo-hero .hero-text {
        max-width: 100%;
    }
}

.seo-page .seo-content > .container {
    max-width: 1120px;
}

.seo-page .seo-lead {
    max-width: 900px;
    margin-bottom: 4.5rem;
    color: #284956;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.65;
}

.seo-page .seo-section {
    padding: 4.5rem 0;
    border-top: 1px solid #d9e3e7;
}

.seo-page .seo-section h2,
.seo-page .seo-contact h2 {
    max-width: 760px;
    margin: .55rem 0 1.5rem;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
}

.seo-page .section-label {
    margin-bottom: .5rem;
    color: var(--hot);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .2em;
}

.seo-card-grid,
.seo-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.25rem;
}

.seo-card {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    padding: 1.35rem;
    border: 1px solid #d4e0e5;
    border-radius: 1rem;
    background: #fff;
}

.seo-card span {
    display: grid;
    flex: 0 0 1.6rem;
    width: 1.6rem;
    height: 1.6rem;
    place-items: center;
    border-radius: 50%;
    background: #e7f3ff;
    color: var(--cold);
    font-weight: 900;
}

.seo-card p {
    margin: 0;
    color: #183c49;
    font-size: .98rem;
    line-height: 1.5;
}

.seo-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 5.5rem);
    align-items: start;
}

.seo-split ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: seo-step;
}

.seo-split li {
    position: relative;
    min-height: 3rem;
    padding: .9rem 0 .9rem 3.4rem;
    border-bottom: 1px solid #d9e3e7;
    color: #284956;
    counter-increment: seo-step;
}

.seo-split li::before {
    content: counter(seo-step, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: .7rem;
    color: var(--cold);
    font-size: 1.15rem;
    font-weight: 800;
}

.seo-page .seo-highlight {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
    column-gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    margin: 2rem 0;
    padding: clamp(2rem, 4vw, 3.25rem);
    border: 0;
    border-radius: 1.4rem;
    border: 1px solid #cfe5f6;
    background: linear-gradient(135deg, #e5f4ff, #f7fbff);
}

.seo-highlight .section-label { grid-column: 1 / -1; }
.seo-highlight h2 { color: #087df0; }
.seo-highlight p:not(.section-label) { color: #31576b; }

.seo-area-links {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.75rem;
}

.seo-area-links a,
.seo-page .seo-links a {
    padding: .75rem 1rem;
    border: 1px solid #c9d7de;
    border-radius: 999px;
    background: #fff;
    color: #173d4a;
}

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

.seo-service-grid a {
    display: grid;
    gap: .55rem;
    min-height: 150px;
    padding: 1.6rem;
    border: 1px solid #d4e0e5;
    border-radius: 1rem;
    background: #fff;
    color: #173d4a;
}

.seo-service-grid strong { color: var(--cold); font-size: 1.25rem; }
.seo-service-grid span { line-height: 1.55; }

.seo-page .faq-list details {
    padding: 1.35rem 0;
}

.seo-page .faq-list summary {
    padding-right: 2rem;
    font-size: 1.08rem;
}

.seo-contact {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    margin: 3rem 0;
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 1.4rem;
    background: linear-gradient(135deg, #071421, #0a2d4c);
}

.seo-contact h2 { color: #fff; }
.seo-contact p:not(.section-label) { color: #c8d7e1; }
.seo-contact-actions { display: grid; gap: 1rem; text-align: center; }
.seo-contact-actions > a:last-child { color: #fff; font-weight: 700; }

@media (max-width: 760px) {
    .seo-page .seo-hero {
        min-height: calc(100svh - 72px);
        align-items: flex-start;
        padding: 4.5rem 0 3rem;
        background: #0b2940;
    }
    .seo-page .seo-hero::before {
        width: 100%;
        opacity: 1;
        background-position: 68% center;
        filter: brightness(.94) saturate(.95);
    }
    .seo-page .seo-hero::after {
        background: linear-gradient(180deg, rgba(3,18,30,.38) 0%, rgba(3,18,30,.20) 48%, rgba(3,18,30,.08) 100%);
    }
    .seo-page .seo-hero h1,
    .seo-page .seo-hero .hero-text { max-width: 100%; }
    .seo-page .seo-hero h1 {
        color: #fff;
        font-size: clamp(2.35rem, 10vw, 3.25rem);
        overflow-wrap: break-word;
        text-shadow: 0 2px 4px rgba(0,0,0,.28), 0 1px 2px rgba(0,0,0,.18) !important;
    }
    .seo-page .seo-hero .hero-text {
        color: #fff;
        text-shadow: 0 2px 4px rgba(0,0,0,.72), 0 1px 2px rgba(0,0,0,.45) !important;
    }
    .seo-page .seo-hero .eyebrow {
        text-shadow: 0 2px 4px rgba(0,0,0,.65) !important;
    }
    .seo-page .seo-content { padding-top: 4.5rem; }
    .seo-page .seo-lead { margin-bottom: 3rem; }
    .seo-page .seo-section { padding: 3.25rem 0; }
    .seo-card-grid,
    .seo-service-grid,
    .seo-split,
    .seo-page .seo-highlight,
    .seo-contact { grid-template-columns: 1fr; }
    .seo-page .seo-highlight { gap: .75rem; }
    .seo-card-grid { gap: .75rem; }
    .seo-contact-actions { justify-items: start; text-align: left; }
}
