/* ============================================================
   Orlando HVAC Services - LIGHT THEME
   Primary: Emerald (#047857) | Accent: Sunset Coral (#F43F5E)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&family=Outfit:wght@700;900&display=swap');

:root {
    --bg: #F8FAFC;
    --bg-card: rgba(255, 255, 255, 0.85);
    --primary: #047857;
    --primary-dark: #065F46;
    --accent: #F43F5E;
    --accent-dark: #E11D48;
    --text: #0F172A;
    --text-muted: #64748B;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(4, 120, 87, 0.1);
    --radius: 16px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(4, 120, 87, 0.04) 0%, transparent 50%), radial-gradient(circle at 70% 80%, rgba(244, 63, 94, 0.03) 0%, transparent 50%);
    z-index: -1;
    animation: bgShift 20s ease-in-out infinite alternate
}

@keyframes bgShift {
    0% {
        transform: translate(0, 0)
    }

    100% {
        transform: translate(-5%, -3%)
    }
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    line-height: 1.15;
    color: var(--text)
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem)
}

h2 {
    font-size: clamp(1.8rem, 3vw, 3rem)
}

h3 {
    font-size: clamp(1.3rem, 2vw, 1.8rem)
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition)
}

a:hover {
    color: var(--accent)
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px
}

.text-center {
    text-align: center
}

.text-muted {
    color: var(--text-muted)
}

.text-primary {
    color: var(--primary)
}

.text-accent {
    color: var(--accent)
}

.section-padding {
    padding: 100px 0
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px
}

@media(max-width:992px) {
    .grid-2 {
        grid-template-columns: 1fr
    }

    .grid-3 {
        grid-template-columns: 1fr 1fr
    }

    .grid-4 {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:600px) {

    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr
    }
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition)
}

.glass:hover {
    border-color: rgba(4, 120, 87, 0.22);
    box-shadow: 0 12px 48px rgba(4, 120, 87, 0.08);
    transform: translateY(-4px)
}

.card-3d {
    perspective: 1200px;
    transform-style: preserve-3d;
    transition: transform .4s ease, box-shadow .4s ease
}

.card-3d:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 20px 60px rgba(4, 120, 87, 0.1)
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 800;
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    box-shadow: 0 4px 20px rgba(244, 63, 94, 0.3)
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 30px rgba(244, 63, 94, 0.45);
    color: #fff
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary)
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px)
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(248, 250, 252, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(4, 120, 87, 0.06);
    transition: var(--transition)
}

header.scrolled {
    padding: 10px 0;
    background: rgba(248, 250, 252, 0.96);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06)
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between
}

header img {
    height: 45px;
    width: auto
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px
}

.nav-menu a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 4px
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition)
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text)
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--glass-border);
    color: var(--text);
    font-size: 1.4rem;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1001
}

@media(max-width:992px) {
    .mobile-nav-toggle {
        display: block
    }

    header .btn-primary {
        display: none
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(248, 250, 252, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: right .4s cubic-bezier(.4, 0, .2, 1);
        border-left: 1px solid var(--glass-border);
        z-index: 999
    }

    .nav-menu.active {
        right: 0
    }

    .nav-menu a {
        font-size: 1.1rem
    }
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 50%, rgba(4, 120, 87, 0.05) 0%, transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(244, 63, 94, 0.04) 0%, transparent 50%);
    z-index: 0
}

.hero .container {
    position: relative;
    z-index: 1
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 50px;
    background: rgba(4, 120, 87, 0.07);
    border: 1px solid rgba(4, 120, 87, 0.13);
    color: var(--primary);
    font-weight: 800;
    font-size: .8rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 24px
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px
}

.trust-item {
    text-align: center;
    padding: 30px 20px
}

.trust-item i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px
}

.trust-item h4 {
    font-size: 1rem;
    margin-bottom: 8px
}

.trust-item p {
    color: var(--text-muted);
    font-size: .9rem
}

details.faq-item {
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px)
}

details.faq-item summary {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    transition: var(--transition);
    color: var(--text)
}

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

details.faq-item summary i {
    color: var(--accent);
    font-size: .9rem;
    transition: transform .3s
}

details.faq-item[open] summary i {
    transform: rotate(90deg)
}

details.faq-item[open] summary {
    border-bottom: 1px solid var(--glass-border);
    background: rgba(4, 120, 87, 0.03)
}

details.faq-item .faq-body {
    padding: 20px 24px;
    color: var(--text-muted);
    line-height: 1.8
}

#mobile-cta-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    padding: 14px 20px;
    text-align: center
}

#mobile-cta-banner a {
    color: #fff;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: .08em;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px
}

@media(max-width:992px) {
    #mobile-cta-banner {
        display: block
    }

    body {
        padding-bottom: 60px
    }
}

footer {
    background: #0F172A;
    border-top: 1px solid rgba(4, 120, 87, 0.08);
    padding: 50px 0;
    color: #CBD5E1
}

footer h4 {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: .1em
}

footer p,
footer a {
    color: #94A3B8;
    font-size: .9rem
}

footer a:hover {
    color: #F1F5F9
}

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

@media(max-width:768px) {
    .footer-grid {
        grid-template-columns: 1fr
    }
}

footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0)
}

::selection {
    background: var(--primary);
    color: #fff
}

::-webkit-scrollbar {
    width: 8px
}

::-webkit-scrollbar-track {
    background: var(--bg)
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary)
}