/* ============================================
   HERO TRUST & AUTHORITY STYLES
   HVAC247PRO.COM - Trust Transformation
   ============================================ */

/* ----------------------------------------
   CSS Variables - Trust & Authority Palette
   ---------------------------------------- */
:root {
    --hero-navy: #0a1628;
    --hero-navy-light: #132337;
    --hero-slate: #1e3a5f;
    --hero-blue: #234982;
    --hero-red: #e92227;
    --hero-red-dark: #9e1f24;
    --hero-bg-light: #F8FAFC;
    --hero-text-light: #ffffff;
    --hero-text-muted: rgba(255, 255, 255, 0.65);
    --hero-success: #10B981;
    --hero-emergency: #e92227;
}

/* ----------------------------------------
   License Badge - Top of Hero (CRITICAL)
   ---------------------------------------- */
.hero-license-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--hero-red) 0%, var(--hero-red-dark) 100%);
    color: var(--hero-navy);
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(197, 40, 46, 0.35);
}

.hero-license-badge svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.hero-license-badge .license-label {
    font-weight: 600;
    opacity: 0.9;
}

.hero-license-badge .license-number {
    font-weight: 800;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ----------------------------------------
   Emergency Badge - Trust & Authority Style
   ---------------------------------------- */
.emergency-badge-trust {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--hero-emergency);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.35);
}

.emergency-badge-trust svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.emergency-badge-trust .pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--hero-success);
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .emergency-badge-trust .pulse-dot {
        animation: none;
    }
}

/* ----------------------------------------
   Hero Title - Trust & Authority Typography
   ---------------------------------------- */
.hero-title-trust {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.hero-title-trust .trust-accent {
    color: var(--hero-red);
    display: block;
    margin-top: 4px;
}

/* ----------------------------------------
   Hero Subtitle
   ---------------------------------------- */
.hero-subtitle-trust {
    font-size: 17px;
    line-height: 1.7;
    color: var(--hero-text-light);
    margin-bottom: 28px;
    max-width: 560px;
    font-family: 'Open Sans', ui-sans-serif, system-ui, sans-serif;
}

/* ----------------------------------------
   Trust Metrics Row (Specific Numbers)
   ---------------------------------------- */
.hero-trust-metrics {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-metric {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.trust-metric-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--hero-red);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1;
    margin-bottom: 4px;
}

.trust-metric-label {
    font-size: 13px;
    color: var(--hero-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ----------------------------------------
   Trust Indicators Row (Icons + Text)
   ---------------------------------------- */
.hero-trust-indicators {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.trust-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--hero-text-light);
    font-size: 14px;
    font-weight: 600;
}

.trust-indicator svg {
    width: 20px;
    height: 20px;
    color: var(--hero-red);
    flex-shrink: 0;
}

/* ----------------------------------------
   CTA Buttons - Trust & Authority Style
   ---------------------------------------- */
.hero-cta-trust {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-trust-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--hero-red);
    color: #0a1628;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(197, 40, 46, 0.45);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-text-fill-color: #0a1628;
}

.cta-trust-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 40, 46, 0.6);
    background: var(--hero-red-dark);
    color: #0a1628;
    -webkit-text-fill-color: #0a1628;
    text-decoration: none;
}

.cta-trust-primary svg {
    width: 20px;
    height: 20px;
}

.cta-trust-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.75);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-text-fill-color: #ffffff;
}

.cta-trust-secondary:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    text-decoration: none;
}

.cta-trust-secondary svg {
    width: 20px;
    height: 20px;
}

/* ----------------------------------------
   Features Card - Trust & Authority Style
   ---------------------------------------- */
.hero-features-trust {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.features-header-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.features-header-trust svg {
    width: 24px;
    height: 24px;
    color: var(--hero-red);
}

.features-header-trust h3 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.feature-trust-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}

.feature-trust-item:last-child {
    margin-bottom: 0;
}

.feature-trust-icon {
    width: 44px;
    height: 44px;
    background: rgba(197, 40, 46, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-trust-icon svg {
    width: 22px;
    height: 22px;
    color: var(--hero-red);
}

.feature-trust-content h4 {
    font-size: 15px;
    font-weight: 700;
    color: white;
    margin: 0 0 4px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.feature-trust-content p {
    font-size: 13px;
    color: var(--hero-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ----------------------------------------
   Quick Contact Box
   ---------------------------------------- */
.quick-contact-trust {
    margin-top: 24px;
    padding: 20px;
    background: linear-gradient(135deg, var(--hero-emergency) 0%, #B91C1C 100%);
    border-radius: 12px;
    text-align: center;
}

.quick-contact-trust .contact-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.quick-contact-trust .contact-number {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 800;
    color: white;
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.quick-contact-trust .contact-number:hover {
    color: var(--hero-red);
}

.quick-contact-trust .contact-number svg {
    width: 22px;
    height: 22px;
}

/* ----------------------------------------
   Responsive Adjustments
   ---------------------------------------- */
@media (max-width: 991px) {
    .hero-trust-metrics {
        gap: 24px;
    }
    
    .trust-metric-value {
        font-size: 24px;
    }
    
    .hero-features-trust {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .hero-license-badge {
        font-size: 12px;
        padding: 6px 14px;
    }
    
    .hero-trust-metrics {
        gap: 20px;
        padding: 16px 0;
    }
    
    .trust-metric-value {
        font-size: 22px;
    }
    
    .trust-metric-label {
        font-size: 11px;
    }
    
    .hero-trust-indicators {
        gap: 16px;
    }
    
    .trust-indicator {
        font-size: 13px;
    }
    
    .hero-cta-trust {
        flex-direction: column;
    }
    
    .cta-trust-primary,
    .cta-trust-secondary {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 575px) {
    .hero-trust-metrics {
        flex-direction: column;
        gap: 16px;
    }
    
    .trust-metric {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }
    
    .trust-metric-value {
        font-size: 20px;
        margin-bottom: 0;
    }
    
    .hero-trust-indicators {
        flex-direction: column;
        gap: 12px;
    }
}

/* ----------------------------------------
   Reduced Motion Preferences
   ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .cta-trust-primary,
    .cta-trust-secondary {
        transition: none;
    }
    
    .cta-trust-primary:hover,
    .cta-trust-secondary:hover {
        transform: none;
    }
}
