/* ============================================
   HVAC - Cool Technical Design
   Layout: Cool blues, technical styling, precision
   ============================================ */

:root {
    --hv-bg: #f0f9ff;
    --hv-bg-secondary: #e0f2fe;
    --hv-bg-card: #ffffff;
    --hv-primary: #0369a1;
    --hv-primary-light: #0284c7;
    --hv-secondary: #0f766e;
    --hv-accent: #f97316;
    --hv-dark: #0c4a6e;
    --hv-text: #1e293b;
    --hv-text-secondary: #64748b;
    --hv-text-muted: #94a3b8;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

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

/* ===== HERO ===== */
/* ===== HERO - Climate Control Showcase ===== */
.hv-hero {
    min-height: 105vh;
    display: flex;
    align-items: center;
    padding: 110px 0 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a5276 0%, #2e86ab 100%);
}
.hv-hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    /* Airflow/ventilation pattern - wavy lines suggesting air flow */
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(255,255,255,0.08) 20px, rgba(255,255,255,0.08) 22px),
        repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,0.05) 40px, rgba(255,255,255,0.05) 42px);
    background-size: 100px 60px;
    animation: airflowPulse 6s ease-in-out infinite;
}

@keyframes airflowPulse {
    0%, 100% { background-position: 0 0; opacity: 0.1; }
    50% { background-position: 20px 0; opacity: 0.15; }
}
.hv-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.9) 100%);
}
.hv-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}
.hv-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: white;
}
.hv-hero-phone {
    font-family: var(--font-heading);
    font-size: 18px;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    transition: all 0.2s ease;
}
.hv-hero-phone:hover {
    background: var(--hv-primary);
    transform: translateY(-2px);
}
.hv-hero-main {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hv-hero-showcase {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.hv-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.35s ease;
}
.hv-card:hover {
    transform: scale(1.03) translateX(-5px);
    background: rgba(255,255,255,0.15);
    border-color: var(--hv-primary);
    box-shadow: 0 0 30px rgba(0, 180, 216, 0.3);
}
.hv-card-icon { font-size: 28px; }
.hv-card-info h3 { font-family: var(--font-heading); font-size: 14px; color: white; margin-bottom: 2px; }
.hv-card-info p { font-size: 11px; color: rgba(255,255,255,0.6); }
.hv-hero-content { padding-left: 20px; }
.hv-hero-title { font-family: var(--font-heading); font-size: clamp(36px, 4vw, 52px); line-height: 1.1; color: white; margin-bottom: 20px; }
.hv-hero-title .highlight { color: var(--hv-primary); }
.hv-hero-subtitle { font-size: 17px; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 28px; max-width: 500px; }
.hv-hero-trust { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.hv-trust-item { display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(255,255,255,0.9); }
.hv-trust-icon { width: 24px; height: 24px; background: var(--hv-primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }
.hv-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hv-btn-outline { background: transparent; border: 2px solid var(--hv-primary); color: var(--hv-primary); }
.hv-btn-outline:hover { background: var(--hv-primary); color: white; }
.hv-hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); position: relative; z-index: 2; }
.hv-stat { text-align: center; padding: 20px; background: rgba(255,255,255,0.05); border-radius: 12px; }
.hv-stat-number { font-family: var(--font-heading); font-size: 32px; color: var(--hv-primary); font-weight: 600; }
.hv-stat-label { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 4px; }
@media (max-width: 968px) {
    .hv-hero-main { grid-template-columns: 1fr; gap: 40px; }
    .hv-hero-showcase { order: 2; }
    .hv-hero-content { order: 1; padding-left: 0; }
    .hv-hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .hv-hero-top { flex-direction: column; gap: 16px; text-align: center; }
    .hv-hero-showcase { grid-template-columns: 1fr; }
    .hv-hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .hv-stat { padding: 16px 12px; }
    .hv-stat-number { font-size: 26px; }
}
/* ===== HERO ===== */
.hv-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: 
        radial-gradient(ellipse 60% 50% at 100% 0%, rgba(2, 132, 199, 0.1) 0%, transparent 50%);
}

.hv-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hv-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(2, 132, 199, 0.1);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--hv-primary);
    margin-bottom: 24px;
}

.hv-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 5vw, 56px);
    line-height: 1.1;
    color: var(--hv-dark);
    margin-bottom: 20px;
}

.hv-hero-title .highlight {
    color: var(--hv-primary);
}

.hv-hero-subtitle {
    font-size: 18px;
    color: var(--hv-text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

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

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

.hv-btn-outline:hover {
    background: var(--hv-primary);
    color: white;
}

.hv-hero-stats {
    display: flex;
    gap: 40px;
}

.hv-stat {
    text-align: left;
}

.hv-stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--hv-primary);
    font-weight: 600;
}

.hv-stat-label {
    font-size: 14px;
    color: var(--hv-text-secondary);
}

/* ===== HERO VISUAL ===== */
.hv-hero-visual {
    position: relative;
}

.hv-hero-image {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--hv-primary), #0e7490);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    position: relative;
    overflow: hidden;
}

.hv-hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2) 0%, transparent 50%);
}

.hv-float-card {
    position: absolute;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.hv-float-card-1 {
    bottom: -20px;
    left: -20px;
}

.hv-float-card-2 {
    top: 40px;
    right: -20px;
}

.hv-float-card-icon {
    width: 44px;
    height: 44px;
    background: var(--hv-bg-secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.hv-float-card-text {
    font-size: 14px;
    color: var(--hv-text-secondary);
}

.hv-float-card-number {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--hv-dark);
}

/* ===== SECTION ===== */
.hv-section {
    padding: 100px 0;
}

.hv-section-alt {
    background: var(--hv-bg-secondary);
}

.hv-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.hv-section-eyebrow {
    font-size: 12px;
    font-weight: 600;
    color: var(--hv-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.hv-section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 44px);
    color: var(--hv-dark);
    margin-bottom: 16px;
}

.hv-section-desc {
    font-size: 16px;
    color: var(--hv-text-secondary);
}

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

.hv-service-card {
    padding: 32px;
    background: var(--hv-bg-card);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
}

.hv-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.hv-service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.1), rgba(15, 118, 110, 0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.hv-service-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--hv-dark);
    margin-bottom: 12px;
}

.hv-service-card p {
    font-size: 14px;
    color: var(--hv-text-secondary);
    line-height: 1.6;
}

/* ===== PROJECTS ===== */
.hv-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hv-project {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--hv-bg-secondary);
}

.hv-project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hv-project:hover img {
    transform: scale(1.1);
}

.hv-project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 74, 110, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s;
}

.hv-project:hover .hv-project-overlay {
    opacity: 1;
}

.hv-project-overlay h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: white;
}

/* ===== TESTIMONIALS ===== */
.hv-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hv-testimonial {
    padding: 32px;
    background: var(--hv-bg-card);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.hv-testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    color: var(--hv-accent);
    font-size: 18px;
}

.hv-testimonial-quote {
    font-size: 15px;
    color: var(--hv-text);
    line-height: 1.7;
    margin-bottom: 24px;
    position: relative;
}

.hv-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hv-testimonial-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--hv-primary), var(--hv-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    font-size: 14px;
}

.hv-testimonial-info h5 {
    font-size: 15px;
    font-weight: 600;
    color: var(--hv-dark);
    margin-bottom: 2px;
}

.hv-testimonial-info span {
    font-size: 13px;
    color: var(--hv-text-muted);
}

/* ===== CTA ===== */
.hv-cta {
    padding: 100px 0;
    background: var(--hv-dark);
    text-align: center;
    position: relative;
}

.hv-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    color: white;
    margin-bottom: 16px;
}

.hv-cta-desc {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hv-cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hv-btn-white {
    background: white;
    color: var(--hv-primary);
}

.hv-btn-white:hover {
    background: var(--hv-bg-secondary);
    transform: translateY(-2px);
}

.hv-btn-ghost {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.hv-btn-ghost:hover {
    background: white;
    color: var(--hv-dark);
}

/* ===== FOOTER ===== */
.hv-footer {
    padding: 60px 0 40px;
    background: var(--hv-bg-secondary);
}

.hv-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.hv-footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hv-footer-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--hv-primary), var(--hv-secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.hv-footer-logo-text {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--hv-dark);
}

.hv-footer-text {
    font-size: 14px;
    color: var(--hv-text-muted);
}

.hv-footer-links {
    display: flex;
    gap: 24px;
}

.hv-footer-links a {
    font-size: 14px;
    color: var(--hv-text-secondary);
    transition: color 0.2s;
}

.hv-footer-links a:hover { color: var(--hv-primary); }

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== FAQ ===== */
.hv-faq {
    padding: 80px 0;
    background: var(--hv-light);
}

.hv-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hv-faq-item {
    background: var(--hv-white);
    border: 1px solid var(--hv-border);
    border-radius: 8px;
    overflow: hidden;
}

.hv-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--hv-dark);
    text-align: left;
    transition: background 0.2s;
}

.hv-faq-question:hover {
    background: rgba(0,0,0,0.02);
}

.hv-faq-question span {
    flex: 1;
    padding-right: 16px;
}

.hv-faq-icon {
    flex-shrink: 0;
    color: var(--hv-primary);
    transition: transform 0.3s;
}

.hv-faq-item.active .hv-faq-icon {
    transform: rotate(180deg);
}

.hv-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.hv-faq-answer p {
    padding: 0 24px 20px;
    color: var(--hv-text);
    line-height: 1.7;
    margin: 0;
}

.hv-faq-item.active .hv-faq-answer {
    max-height: 200px;
}

/* ===== SERVICE AREAS ===== */
.hv-areas {
    background: linear-gradient(135deg, var(--hv-light) 0%, #fff 100%);
    padding: 80px 0;
}

.hv-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.hv-area-item {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
}

.hv-area-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: var(--hv-accent);
}

.hv-area-item h3 {
    font-size: 1.25rem;
    color: var(--hv-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.hv-area-item p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

.hv-areas-note {
    text-align: center;
    margin-top: 32px;
    color: #666;
    font-size: 1rem;
}

/* ===== CAROUSEL SERVICES (REPLACES GRID) ===== */
.hv-services-carousel {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 48px;
    position: relative;
}

.hv-carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 16px 8px 24px;
    margin: 0 -8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.hv-carousel-track::-webkit-scrollbar {
    display: none;
}

.hv-carousel-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hv-carousel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--hv-primary), var(--hv-accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hv-carousel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.hv-carousel-card:hover::before {
    opacity: 1;
}

.hv-card-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0,0,0,0.04);
    line-height: 1;
}

.hv-card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.hv-carousel-card h3 {
    font-size: 1.35rem;
    color: var(--hv-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.hv-carousel-card p {
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
}

.hv-card-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--hv-accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hv-card-link:hover {
    color: var(--hv-primary);
}

.hv-carousel-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--hv-primary);
    background: white;
    color: var(--hv-primary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hv-carousel-btn:hover {
    background: var(--hv-primary);
    color: white;
}

/* Hide original grid */
.hv-services-grid {
    display: none !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hv-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hv-hero-visual { display: none; }
    
    .hv-hero-subtitle { margin-left: auto; margin-right: auto; }
    
    .hv-hero-actions { justify-content: center; }
    
    .hv-hero-stats { justify-content: center; }
    
    .hv-services-grid { grid-template-columns: repeat(2, 1fr); }
    
    .hv-projects-grid { grid-template-columns: repeat(2, 1fr); }
    
    .hv-testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hv-nav { display: none; }
    
    .hv-phone { display: none; }
    
    .hv-services-grid,
    .hv-projects-grid { grid-template-columns: 1fr; }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 2px solid var(--hv-primary);
    outline-offset: 2px;
}