/* Generated from legacy/services/residential-roofing.html by scripts/build-legacy-styles.mjs. */
/* Critical Hero Section CSS for LCP optimization */
        .residential-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: 120px 0 80px;
            color: white;
            margin-top: 88px;
            text-align: center;
        }

        /* Fallback for browsers that don't support WebP */
        .no-webp .residential-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) {
            .residential-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 .residential-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) {
            .residential-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 .residential-hero {
                background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/backgrounds/hero-background-mobile.jpg');
            }
        }

/* Page-specific styles */

        /* Hero Section */
        .residential-hero h1 {
            font-size: 48px;
            margin-bottom: 20px;
            font-weight: 700;
        }

        .hero-subtitle {
            font-size: 20px;
            margin-bottom: 40px;
            opacity: 0.9;
        }

        .hero-badges {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        /* Service Details Section */
        .service-details {
            padding: 80px 0;
            background: white;
        }

        .service-details h2 {
            text-align: center;
            color: var(--gray-dark);
            font-size: 36px;
            margin-bottom: 30px;
        }

        .section-intro {
            text-align: center;
            color: var(--gray-medium);
            font-size: 18px;
            line-height: 1.6;
            max-width: 700px;
            margin: 0 auto 50px;
        }

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

        .benefit-card {
            background: var(--gray-light);
            padding: 30px;
            border-radius: 15px;
            text-align: center;
            transition: var(--transition-normal);
        }

        .benefit-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-medium);
        }

        .benefit-icon {
            width: 80px;
            height: 80px;
            background: var(--brand-red);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
        }

        .benefit-icon i {
            font-size: 32px;
            color: white;
        }

        .benefit-card h3 {
            color: var(--gray-dark);
            margin-bottom: 15px;
            font-size: 20px;
        }

        .benefit-card p {
            color: var(--gray-medium);
            line-height: 1.6;
        }

        /* Roofing Types Section */
        .roofing-types {
            padding: 80px 0;
            background: var(--gray-light);
        }

        .roofing-types h2 {
            text-align: center;
            color: var(--gray-dark);
            font-size: 36px;
            margin-bottom: 50px;
        }

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

        .type-card {
            background: white;
            padding: 30px;
            border-radius: 15px;
            text-align: center;
            transition: var(--transition-normal);
        }

        .type-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-light);
        }

        .type-icon {
            width: 70px;
            height: 70px;
            background: var(--brand-red);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
        }

        .type-icon i {
            font-size: 28px;
            color: white;
        }

        .type-card h3 {
            color: var(--gray-dark);
            font-size: 20px;
            margin-bottom: 15px;
        }

        .type-card p {
            color: var(--gray-medium);
            line-height: 1.6;
        }

        /* Weather Section */
        .weather-section {
            padding: 80px 0;
            background: white;
        }

        .weather-content {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 50px;
            align-items: center;
        }

        .weather-text h2 {
            color: var(--gray-dark);
            font-size: 32px;
            margin-bottom: 20px;
        }

        .weather-text > p {
            color: var(--gray-medium);
            font-size: 16px;
            line-height: 1.6;
            margin-bottom: 30px;
        }

        .weather-challenges {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-bottom: 30px;
        }

        .challenge {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .challenge i {
            color: var(--brand-red);
            font-size: 18px;
            width: 20px;
        }

        .challenge span {
            color: var(--gray-dark);
            font-size: 16px;
            font-weight: 500;
        }

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

        .weather-image img {
            max-width: 200px;
            height: auto;
        }

        /* Process Section */
        .residential-process {
            padding: 80px 0;
            background: var(--gray-light);
        }

        .residential-process h2 {
            text-align: center;
            color: var(--gray-dark);
            font-size: 36px;
            margin-bottom: 50px;
        }

        .process-steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }

        .process-step {
            background: white;
            padding: 30px;
            border-radius: 15px;
            text-align: center;
            transition: var(--transition-normal);
        }

        .process-step:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-light);
        }

        .step-number {
            width: 60px;
            height: 60px;
            background: var(--brand-red);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: 700;
            margin: 0 auto 20px;
        }

        .process-step h3 {
            color: var(--gray-dark);
            font-size: 20px;
            margin-bottom: 15px;
        }

        .process-step p {
            color: var(--gray-medium);
            line-height: 1.6;
        }

        /* CTA Section */
        .residential-cta {
            padding: 80px 0;
            background: var(--brand-red);
            color: white;
            text-align: center;
        }

        .residential-cta h2 {
            font-size: 36px;
            margin-bottom: 20px;
        }

        .residential-cta p {
            font-size: 18px;
            margin-bottom: 40px;
            opacity: 0.9;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            margin-bottom: 40px;
        }

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

        .cta-button {
            padding: 15px 30px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 600;
            font-size: 18px;
            transition: var(--transition-normal);
        }

        .cta-button.primary {
            background: white;
            color: var(--brand-red);
        }

        .cta-button.primary:hover {
            background: var(--gray-light);
            transform: translateY(-2px);
            text-decoration: none;
        }

        .cta-button.secondary {
            background: transparent;
            color: white;
            border: 2px solid white;
        }

        .cta-button.secondary:hover {
            background: white;
            color: var(--brand-red);
            text-decoration: none;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .residential-hero h1 {
                font-size: 36px;
            }

            .hero-subtitle {
                font-size: 18px;
            }

            .hero-badges {
                flex-direction: column;
                gap: 15px;
            }

            .service-details,
            .roofing-types,
            .weather-section,
            .residential-process,
            .residential-cta {
                padding: 60px 0;
            }

            .service-details h2,
            .roofing-types h2,
            .residential-process h2,
            .residential-cta h2 {
                font-size: 28px;
            }

            .weather-text h2 {
                font-size: 26px;
            }

            .benefits-grid,
            .types-grid,
            .process-steps {
                grid-template-columns: 1fr;
                gap: 25px;
            }

            .weather-content {
                grid-template-columns: 1fr;
                gap: 30px;
                text-align: center;
            }

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

            .cta-button {
                width: 100%;
                max-width: 300px;
            }
        }
