/* Generated from legacy/roofing-system.html by scripts/build-legacy-styles.mjs. */
/* Critical Hero Section CSS for LCP optimization */
        .page-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 .page-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) {
            .page-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 .page-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) {
            .page-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 .page-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 */
        .page-hero h1 {
            font-size: 48px;
            margin-bottom: 20px;
            font-weight: 700;
        }

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

        .hero-badge {
            margin-top: 20px;
        }

        /* Introduction Section */
        .roofing-intro {
            padding: 80px 0;
            background-color: var(--gray-light);
        }

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

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

        .intro-highlights {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .highlight-item {
            text-align: center;
            background: white;
            padding: 30px 20px;
            border-radius: 10px;
            box-shadow: var(--shadow-light);
        }

        .highlight-item i {
            font-size: 48px;
            color: var(--brand-red);
            margin-bottom: 20px;
        }

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

        .highlight-item p {
            color: var(--gray-medium);
            line-height: 1.5;
        }

        /* Process Section */
        .roofing-process {
            padding: 80px 0;
            background: white;
        }

        .process-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .process-step {
            background: var(--gray-light);
            border-radius: 15px;
            padding: 30px;
            position: relative;
            transition: var(--transition-normal);
        }

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

        .step-number {
            position: absolute;
            top: -15px;
            left: 30px;
            background: var(--brand-red);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: 700;
        }

        .step-content {
            padding-top: 20px;
        }

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

        .step-content p {
            color: var(--gray-medium);
            line-height: 1.6;
            margin-bottom: 20px;
        }

        .step-icon {
            text-align: right;
        }

        .step-icon i {
            font-size: 32px;
            color: white;
            opacity: 0.9;
        }

        /* Benefits Section */
        .system-benefits {
            padding: 80px 0;
            background: var(--gray-light);
        }

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

        .benefits-text h2 {
            color: var(--gray-dark);
            font-size: 36px;
            margin-bottom: 25px;
        }

        .benefits-text > p {
            color: var(--gray-medium);
            font-size: 18px;
            line-height: 1.6;
            margin-bottom: 40px;
        }

        .benefit-list {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .benefit-item {
            display: flex;
            align-items: flex-start;
            gap: 20px;
        }

        .benefit-item i {
            color: var(--brand-red);
            font-size: 24px;
            margin-top: 5px;
        }

        .benefit-item h4 {
            color: var(--gray-dark);
            margin-bottom: 8px;
            font-size: 18px;
        }

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

        .gaf-badge-large {
            text-align: center;
            background: white;
            padding: 40px 30px;
            border-radius: 15px;
            box-shadow: var(--shadow-medium);
        }

        .gaf-badge-large img {
            height: 120px;
            margin-bottom: 20px;
        }

        .gaf-badge-large h3 {
            color: var(--gray-dark);
            margin-bottom: 15px;
            font-size: 24px;
        }

        .gaf-badge-large p {
            color: var(--gray-medium);
            line-height: 1.5;
        }

        /* Impact Resistance Section */
        .impact-resistance {
            padding: 80px 0;
            background: white;
        }

        .resistance-content h2 {
            text-align: center;
            color: var(--gray-dark);
            font-size: 36px;
            margin-bottom: 25px;
        }

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

        .weather-features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-top: 50px;
        }

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

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

        .weather-icon i {
            font-size: 48px;
            color: white;
        }

        .weather-item h3 {
            color: var(--gray-dark);
            margin-bottom: 15px;
            font-size: 22px;
        }

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

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

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

        .cta-content > p {
            font-size: 18px;
            margin-bottom: 40px;
            color: white;
            opacity: 0.9;
        }

        .cta-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            margin-bottom: 40px;
            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);
        }

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

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

        .contact-info {
            display: flex;
            gap: 30px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .contact-info p {
            display: flex;
            align-items: center;
            gap: 10px;
            opacity: 0.9;
        }

        .contact-info i {
            color: white;
        }

        .contact-info p {
            color: white;
        }

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

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

            .roofing-intro,
            .roofing-process,
            .system-benefits,
            .impact-resistance,
            .roofing-cta {
                padding: 60px 0;
            }

            .intro-content h2,
            .benefits-text h2,
            .resistance-content h2,
            .cta-content h2 {
                font-size: 28px;
            }

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

            .process-grid {
                grid-template-columns: 1fr;
                max-width: 500px;
                margin: 50px auto 0;
            }

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

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

            .contact-info {
                flex-direction: column;
                align-items: center;
                gap: 15px;
            }
        }
