/* ==========================================
   MINI SPLIT PROS — Van Nuys
   Cool, Clean, Energy-Efficient Design
   ========================================== */

:root {
    --primary: #0077B6;
    --primary-dark: #005B8E;
    --primary-light: #00B4D8;
    --accent: #48CAE4;
    --accent-glow: rgba(0, 180, 216, 0.15);
    --surface: #F0F7FA;
    --surface-alt: #E4F1F8;
    --white: #FFFFFF;
    --text-dark: #1A1A2E;
    --text-medium: #4A5568;
    --text-light: #8896A6;
    --border: #D4E4ED;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 8px 30px rgba(0, 119, 182, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

ul { list-style: none; }

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

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 12px 24px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.6);
}

.btn-xl {
    padding: 16px 32px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-pulse {
    animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 119, 182, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(0, 119, 182, 0); }
}

/* ---- SECTION STYLES ---- */
.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--primary);
    margin-bottom: 12px;
}
.section-eyebrow.light {
    color: var(--accent);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.15;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

/* ---- TOP BAR ---- */
.top-bar {
    background: var(--text-dark);
    color: rgba(255,255,255,0.8);
    font-size: 0.82rem;
    padding: 8px 0;
}

.top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left i {
    color: var(--accent);
    margin-right: 6px;
}

.top-phone {
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
}
.top-phone:hover { color: var(--accent); }
.top-phone i { margin-right: 4px; }

/* ---- HEADER ---- */
#header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.95);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    color: var(--white);
    font-size: 1.2rem;
}

.brand-name {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text-dark);
    display: block;
    line-height: 1.2;
}

.brand-sub {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

.main-nav {
    display: flex;
    gap: 32px;
}
.main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-medium);
    transition: var(--transition);
    position: relative;
}
.main-nav a:hover { color: var(--primary); }
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}
.main-nav a:hover::after { width: 100%; }

.nav-btn {
    font-size: 0.85rem;
    padding: 10px 20px;
}

.mobile-btn {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 1.1rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* ---- HERO ---- */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(0, 91, 142, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 100px 0 80px;
}

.hero-box {
    max-width: 680px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(72, 202, 228, 0.15);
    border: 1px solid rgba(72, 202, 228, 0.3);
    color: var(--accent);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-chips {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.hero-chips span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    font-weight: 500;
}
.hero-chips span i {
    color: var(--accent);
    font-size: 0.75rem;
}

/* ---- TRUST BAR ---- */
.trust-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 32px 0;
}

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.trust-item > i {
    font-size: 1.6rem;
    color: var(--primary);
    flex-shrink: 0;
}
.trust-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}
.trust-item p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 2px;
}

/* ---- SERVICES ---- */
.services {
    padding: 100px 0;
    background: var(--surface);
}

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

.svc-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
}
.svc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.svc-card.svc-featured {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-color: transparent;
}
.svc-card.svc-featured:hover {
    box-shadow: var(--shadow-glow);
}
.svc-card.svc-featured .svc-icon {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}
.svc-card.svc-featured h3 { color: var(--white); }
.svc-card.svc-featured p { color: rgba(255,255,255,0.85); }

.svc-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-glow);
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.svc-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.svc-card p {
    font-size: 0.92rem;
    color: var(--text-medium);
    line-height: 1.65;
}

/* ---- SPACES ---- */
.spaces-section {
    padding: 100px 0;
    background: var(--white);
}

.spaces-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.space-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.space-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.space-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}
.space-card:hover img {
    transform: scale(1.03);
}

.space-info {
    padding: 24px;
}
.space-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}
.space-info p {
    font-size: 0.92rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ---- WHY US ---- */
.why-section {
    padding: 100px 0;
    background: var(--surface);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.split-img img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.split-text h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.split-text > p {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 32px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.why-item > i {
    font-size: 1.3rem;
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
}
.why-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.why-item p {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ---- QUOTE SECTION ---- */
.quote-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    color: var(--white);
}

.quote-box {
    max-width: 680px;
    margin: 0 auto;
}

.quote-box h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.quote-box p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.75;
    margin-bottom: 32px;
}

.quote-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- FINAL CTA ---- */
.final-cta {
    padding: 100px 0;
    background: var(--text-dark);
    color: var(--white);
    background-image: radial-gradient(circle at center, var(--primary-dark) 0%, var(--text-dark) 70%);
}

.final-cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.final-cta p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- FOOTER ---- */
footer {
    background: #111827;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.f-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}
.f-logo i {
    color: var(--accent);
    margin-right: 8px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 420px;
}

.footer-contact h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-contact li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-contact li i {
    color: var(--accent);
    width: 16px;
    text-align: center;
}
.footer-contact a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}
.footer-contact a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding: 24px 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

/* ---- HEADER SCROLL STATE ---- */
#header.scrolled {
    box-shadow: var(--shadow-sm);
}

/* ---- MOBILE NAV ---- */
@media (max-width: 768px) {
    .main-nav.nav-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-top: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        padding: 16px 24px;
        gap: 16px;
        z-index: 999;
    }
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .split-layout {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .top-left { display: none; }
    .top-inner { justify-content: center; }

    .main-nav, .nav-btn { display: none; }
    .mobile-btn { display: block; }

    .hero { min-height: 75vh; }
    .hero-content { padding: 80px 0 60px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    .trust-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .services { padding: 72px 0; }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .spaces-section { padding: 72px 0; }
    .spaces-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-section { padding: 72px 0; }
    .split-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .split-img { order: -1; }

    .quote-section { padding: 72px 0; }
    .quote-actions { flex-direction: column; }
    .quote-actions .btn { width: 100%; justify-content: center; }

    .final-cta { padding: 72px 0; }
    .cta-group { flex-direction: column; align-items: center; }
    .cta-group .btn { width: 100%; justify-content: center; max-width: 320px; }

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

@media (max-width: 480px) {
    .trust-inner {
        grid-template-columns: 1fr;
    }
    .hero h1 { font-size: 1.9rem; }
    .hero-chips { flex-direction: column; gap: 8px; }
    .header-row { padding: 0; }
    .brand-name { font-size: 1rem; }
}
