/* Generated from legacy/index.html by scripts/build-legacy-styles.mjs. */
/* Critical Hero Section CSS for LCP optimization */
        .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/backgrounds/hero-background-desktop.webp');
            background-size: cover;
            background-position: center;
            padding: 90px 0 60px;
            color: white;
            margin-top: 88px;
        }
        
        /* Fallback for browsers that don't support WebP */
        .no-webp .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/backgrounds/hero-background-desktop.jpg');
        }
        
        /* Responsive hero backgrounds */
        @media (max-width: 1366px) {
            .hero {
                background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/backgrounds/hero-background-tablet.webp');
            }
            .no-webp .hero {
                background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/backgrounds/hero-background-tablet.jpg');
            }
        }
        
        @media (max-width: 768px) {
            .hero {
                background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/backgrounds/hero-background-mobile.webp');
                padding: 100px 0 60px;
            }
            .no-webp .hero {
                background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/backgrounds/hero-background-mobile.jpg');
            }
        }

/* All navigation, dropdown, button, and footer styles moved to styles.css */


        /* Add this media query to handle text at specific breakpoints */
        @media (min-width: 480px) and (max-width: 1005px) {
            .hero h1 {
                font-size: calc(24px + 2vw); /* Responsive font size */
                line-height: 1.3;
                white-space: nowrap; /* Prevent line break */
            }

            .hero-description {
                font-size: calc(14px + 0.5vw);
                max-width: 90%;
                margin: 15px auto;
            }

            .trust-badges {
                flex-wrap: wrap;
                justify-content: center;
                gap: 10px;
            }

            .badge {
                font-size: 14px;
                white-space: nowrap;
            }
        }

        /* Additional optimization for even tighter screens */
        @media (max-width: 768px) {
            .hero h1 {
                white-space: normal; /* Allow wrapping on very small screens */
                font-size: calc(20px + 2vw);
            }
        }

        /* Add this media query for header navigation */
        @media (min-width: 480px) and (max-width: 1005px) {
            .nav-container nav ul {
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                gap: 15px;
            }

            .nav-container nav ul li a {
                font-size: 14px;
                white-space: nowrap;
                padding: 8px 12px;
            }

            /* Special styling for the "Get An Estimate" button to ensure it stands out */
            .btn-get-estimate {
                margin-top: 5px;
            }
        }

        /* Financing Section */
        .financing-section {
            padding: 80px 0;
            background: linear-gradient(135deg, var(--brand-red) 0%, #a83d3c 100%);
            color: white;
        }

        .financing-content {
            text-align: center;
            max-width: 1000px;
            margin: 0 auto;
        }

        .financing-header h2 {
            font-size: 36px;
            margin-bottom: 20px;
            font-weight: 700;
            color: white;
        }

        .financing-header p {
            font-size: 18px;
            line-height: 1.6;
            opacity: 0.95;
            margin-bottom: 40px;
        }

        .financing-header a {
            color: white;
            text-decoration: underline;
            font-weight: 600;
        }

        .financing-header a:hover {
            opacity: 0.8;
        }

        .financing-highlights {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 40px;
            margin-bottom: 40px;
            flex-wrap: wrap;
        }

        .financing-amount {
            display: flex;
            align-items: center;
            gap: 20px;
            background: rgba(255, 255, 255, 0.15);
            padding: 25px 35px;
            border-radius: 15px;
            backdrop-filter: blur(10px);
            border: 2px solid rgba(255, 255, 255, 0.3);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

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

        .amount-icon {
            width: 60px;
            height: 60px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .amount-icon i {
            font-size: 28px;
            color: var(--brand-red);
        }

        .amount-info {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            text-align: left;
        }

        .amount-number {
            font-size: 28px;
            font-weight: 700;
            color: white;
            line-height: 1.2;
        }

        .amount-label {
            font-size: 14px;
            opacity: 0.9;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .financing-divider {
            font-size: 40px;
            font-weight: 700;
            opacity: 0.5;
        }

        .financing-cta-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .financing-btn {
            padding: 16px 32px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            font-size: 18px;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .financing-btn i {
            font-size: 20px;
        }

        .financing-btn.primary {
            background: white;
            color: var(--brand-red);
        }

        .financing-btn.primary:hover {
            background: var(--gray-light);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        }

        .financing-btn.secondary {
            background: transparent;
            color: white;
            border: 2px solid white;
        }

        .financing-btn.secondary:hover {
            background: white;
            color: var(--brand-red);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        }

        /* Responsive Design for Financing Section */
        @media (max-width: 768px) {
            .financing-section {
                padding: 60px 0;
            }

            .financing-header h2 {
                font-size: 28px;
            }

            .financing-header p {
                font-size: 16px;
            }

            .financing-highlights {
                flex-direction: column;
                gap: 20px;
            }

            .financing-divider {
                display: none;
            }

            .financing-amount {
                width: 100%;
                max-width: 350px;
                padding: 20px 25px;
            }

            .amount-number {
                font-size: 24px;
            }

            .financing-cta-buttons {
                flex-direction: column;
                align-items: center;
            }

            .financing-btn {
                width: 100%;
                max-width: 350px;
                justify-content: center;
                font-size: 16px;
                padding: 14px 24px;
            }
        }

        @media (max-width: 480px) {
            .financing-amount {
                flex-direction: column;
                text-align: center;
            }

            .amount-info {
                align-items: center;
                text-align: center;
            }

            .amount-icon {
                width: 50px;
                height: 50px;
            }

            .amount-icon i {
                font-size: 24px;
            }
        }
