/* Boulder Heating & Cooling Brand Colors */
:root {
    /* Primary */
    --mountain-navy: #1E3A5F;
    --flatiron-copper: #C97B3E;
    
    /* Secondary */
    --colorado-sky: #5BA8D9;
    --boulder-gray: #4A5568;
    
    /* Accent */
    --action-green: #48BB78;
    --alert-orange: #ED8936;
    
    /* Neutrals */
    --off-white: #FAFAF9;
    --light-gray: #E2E8F0;
    --dark-text: #1A202C;
    
    /* Gradients */
    --brand-gradient: linear-gradient(135deg, var(--mountain-navy) 0%, #2C5282 100%);
    --warm-gradient: linear-gradient(135deg, var(--flatiron-copper) 0%, #B7791F 100%);
    --cta-gradient: linear-gradient(135deg, var(--action-green) 0%, #38A169 100%);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-display: swap; /* Optimize font loading for Core Web Vitals */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--off-white);
    overflow-x: hidden;
    font-display: swap;
    text-rendering: optimizeSpeed; /* Performance optimization */
}

/* Performance optimizations for Core Web Vitals */
img {
    max-width: 100%;
    height: auto;
    loading: lazy; /* Native lazy loading */
}

/* Critical CSS optimizations */
.hero, .header {
    contain: layout style paint; /* CSS containment for performance */
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
    color: var(--mountain-navy);
}

h2 {
    font-size: 1.75rem;
    color: var(--mountain-navy);
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.25rem;
    color: var(--flatiron-copper);
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}

.btn-primary {
    background: var(--brand-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--mountain-navy);
    border: 2px solid var(--mountain-navy);
}

.btn-secondary:hover {
    background: var(--mountain-navy);
    color: white;
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--flatiron-copper);
    color: white;
}

.btn-phone, .btn-phone-large {
    background: var(--cta-gradient);
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
}

.btn-phone:hover, .btn-phone-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
}

.btn-phone-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    display: block;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 30px rgba(0,0,0,0.15);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    min-height: 70px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--mountain-navy);
    margin: 0;
    font-weight: 700;
}

.logo .tagline {
    font-size: 0.8rem;
    color: var(--flatiron-copper);
    font-weight: 500;
    display: block;
    margin-top: -5px;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: var(--flatiron-copper);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--flatiron-copper);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.header-phone .phone-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--cta-gradient);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(72, 187, 120, 0.3);
}

.header-phone .phone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.4);
}

.phone-icon {
    font-size: 1.1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--mountain-navy);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--off-white) 0%, #EDF2F7 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.03) 0%, rgba(201, 123, 62, 0.05) 100%);
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--mountain-navy);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.hero-subheadline {
    font-size: 1.15rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.hero-review {
    background: #fff;
    border-left: 4px solid var(--action-green);
    padding: 1rem 1.25rem;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    margin: 1.5rem 0 2rem;
}

.hero-review .author {
    display: block;
    margin-top: 0.5rem;
}

/* Key Takeaways - Per SKILL-EXPANDED.md for featured snippets */
.key-takeaways {
    background: var(--off-white);
    border: 2px solid var(--flatiron-copper);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0 1.5rem 0;
}

.key-takeaways h2 {
    font-size: 1.1rem;
    color: var(--mountain-navy);
    margin-bottom: 0.75rem;
    text-align: left;
}

.key-takeaways ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-takeaways li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--boulder-gray);
    line-height: 1.4;
}

.key-takeaways li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--flatiron-copper);
    font-weight: bold;
}

.key-takeaways li strong {
    color: var(--mountain-navy);
}

/* AIO Grounding Box - Optimized for AI Overview extraction */
.aio-summary {
    background: #ffffff;
    border: 3px solid var(--flatiron-copper);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0 2rem 0;
    box-shadow: 0 8px 25px rgba(201, 123, 62, 0.15);
}

.aio-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.aio-bullets li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--mountain-navy);
    font-weight: 600;
    line-height: 1.4;
}

.aio-bullets li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--action-green);
    font-weight: bold;
    font-size: 1.1rem;
}

.aio-direct-answer {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--mountain-navy);
    text-align: center;
    margin: 0;
    padding: 1rem;
    background: #FDF6F0;
    border-radius: 8px;
    border-left: 4px solid var(--flatiron-copper);
}

/* Trust Table for BERT extraction */
.trust-table-container {
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.trust-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.trust-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
}

.trust-table tr:last-child td {
    border-bottom: none;
}

.trust-label {
    font-weight: 600;
    color: var(--mountain-navy);
    width: 40%;
}

.trust-value {
    color: #333;
    font-weight: 500;
    width: 60%;
}

/* Geo neighborhoods styling */
.geo-neighborhoods {
    font-weight: 600;
    color: var(--flatiron-copper);
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-weight: 600;
    color: #0D47A1;
    border: 2px solid transparent;
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--flatiron-copper);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.hero-phone-mobile {
    display: none;
}

/* Lead Form */
.lead-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 3px solid var(--mountain-navy);
}

.form-header {
    text-align: center;
    margin-bottom: 1rem;
}

.form-subheadline {
    font-size: 0.95rem;
    color: #4a5568;
}

.form-urgency {
    background: #fff3e0;
    border: 1px solid #f6ad55;
    color: #7b341e;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.form-social-proof {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--mountain-navy);
    margin-bottom: 1rem;
}

.form-benefits {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

.form-benefits li {
    padding: 0.35rem 0;
    color: #2d3748;
    font-weight: 500;
}

.form-slots {
    margin-top: 1rem;
    text-align: center;
    font-weight: 700;
    color: #c53030;
}

.lead-form h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--mountain-navy);
    font-size: 1.4rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--flatiron-copper);
    box-shadow: 0 0 0 3px rgba(201, 123, 62, 0.1);
}

.form-disclaimer {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Trust Strip */
.trust-strip {
    padding: 2.5rem 0;
    background: #fff7ed;
    border-top: 1px solid #fbd38d;
    border-bottom: 1px solid #fbd38d;
}

.trust-strip-content {
    display: grid;
    gap: 1.5rem;
    text-align: center;
}

.trust-guarantee h3 {
    color: var(--mountain-navy);
    margin-bottom: 0.5rem;
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.logo-pill {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    font-weight: 600;
    color: #2d3748;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.trust-offer {
    font-weight: 600;
    color: #7b341e;
}

/* Services Section */
.services {
    padding: 4rem 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.services-cta {
    margin-top: 3rem;
    text-align: center;
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 2px dashed var(--flatiron-copper);
}

.services-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: var(--flatiron-copper);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.service-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--mountain-navy);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--boulder-gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-phone {
    color: var(--action-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 16px;
    border: 2px solid var(--action-green);
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s ease;
}

.service-phone:hover {
    background: var(--action-green);
    color: white;
}

/* Why Choose Us */
.why-choose {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e8 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature h3 {
    color: var(--mountain-navy);
    margin-bottom: 1rem;
}

.feature p {
    color: #666;
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
    padding: 4rem 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--flatiron-copper);
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.stars {
    color: #FFC107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial p {
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.author {
    font-weight: 600;
    color: var(--mountain-navy);
    font-size: 0.9rem;
}

/* Service Area */
.service-area {
    padding: 4rem 0;
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
}

.service-area-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.map-placeholder {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 3px dashed var(--flatiron-copper);
}

.map-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--flatiron-copper);
}

.map-placeholder p {
    font-weight: 600;
    color: var(--mountain-navy);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.map-placeholder small {
    color: var(--boulder-gray);
}

.areas-list h3 {
    color: var(--mountain-navy);
    margin-bottom: 1.5rem;
}

.areas-list ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.areas-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.areas-list li:before {
    content: '📍';
    margin-right: 0.5rem;
}

.service-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-bottom: 1.5rem;
}

/* CTA Banner */
.cta-banner {
    padding: 3rem 0;
    background: var(--brand-gradient);
    color: white;
    text-align: center;
}

.cta-banner h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* About Section */
.about {
    padding: 4rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about p {
    color: #555;
    margin-bottom: 1.5rem;
}

.credentials {
    background: var(--off-white);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--flatiron-copper);
}

.credentials h3 {
    margin-bottom: 1rem;
}

.credentials ul {
    list-style: none;
}

.credentials li {
    padding: 0.5rem 0;
    color: #555;
}

.team-photo-placeholder {
    background: var(--off-white);
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    border: 3px dashed var(--flatiron-copper);
}

.team-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--flatiron-copper);
}

.team-photo-placeholder p {
    font-weight: 600;
    color: var(--mountain-navy);
    margin-bottom: 0.5rem;
}

.team-photo-placeholder small {
    color: #666;
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--mountain-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: var(--off-white);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--flatiron-copper);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

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

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

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--mountain-navy);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: #90CAF9;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #BBDEFB;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--action-green);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #BBDEFB;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.neighbor-cities {
    margin-top: 1rem;
}

.neighbor-cities a {
    color: #90CAF9;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.neighbor-cities a:hover {
    color: var(--action-green);
    text-decoration: underline;
}

.hours p {
    color: #BBDEFB;
    margin-bottom: 0.3rem;
}

.emergency-notice {
    background: rgba(72, 187, 120, 0.2);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 2px solid var(--action-green);
}

.emergency-notice p {
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 600;
}

.emergency-phone {
    color: var(--action-green) !important;
    font-weight: 700 !important;
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #BBDEFB;
    margin: 0;
    font-size: 0.9rem;
}

/* Floating CTA Button */
.floating-cta {
    position: fixed;
    right: 20px;
    bottom: 90px;
    background: var(--cta-gradient);
    color: white;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(72, 187, 120, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.floating-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(72, 187, 120, 0.5);
}

/* Exit Intent Popup */
.exit-intent {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1.5rem;
}

.exit-intent.active {
    display: flex;
}

.exit-intent-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 520px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.exit-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.exit-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: #4a5568;
}

/* Sticky Mobile CTA Bar */
.mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.2);
    display: none;
    z-index: 1000;
    border-top: 3px solid var(--flatiron-copper);
}

.mobile-cta-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.mobile-cta-phone,
.mobile-cta-quote {
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.mobile-cta-phone {
    background: var(--action-green);
    color: white;
}

.mobile-cta-quote {
    background: var(--mountain-navy);
    color: white;
}

.mobile-cta-phone:hover,
.mobile-cta-quote:hover {
    opacity: 0.9;
}

/* Scroll Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-right {
        order: -1;
    }
    
    .lead-form {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-area-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .header-phone {
        order: -1;
        flex: 1;
    }
    
    .header-phone .phone-btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .aio-summary {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .aio-bullets li {
        font-size: 0.95rem;
        padding: 0.4rem 0;
    }
    
    .aio-direct-answer {
        font-size: 1rem;
        padding: 0.75rem;
    }
    
    .trust-table-container {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .trust-table td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-phone-mobile {
        display: block;
        margin-bottom: 2rem;
    }
    
    .services-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-buttons .btn {
        margin-bottom: 1rem;
    }
    
    .mobile-cta-bar {
        display: grid;
    }

    .floating-cta {
        display: none;
    }
    
    body {
        padding-bottom: 70px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .lead-form {
        padding: 1.5rem;
    }
    
    .service-card,
    .feature,
    .testimonial {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 12px 20px;
    }
    
    .btn-phone-large {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .mobile-cta-bar,
    .btn {
        display: none;
    }
    
    .hero {
        margin-top: 0;
    }
    
    * {
        box-shadow: none !important;
    }
}

/* High Contrast Support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        border: 2px solid #000;
    }
    
    .btn-secondary {
        background: #fff;
        color: #000;
        border: 3px solid #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}