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

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

        .hero-highlights {
            display: flex;
            justify-content: center;
            gap: 40px;
            flex-wrap: wrap;
        }

        .highlight {
            display: flex;
            align-items: center;
            gap: 10px;
            color: white;
            font-weight: 600;
        }

        .highlight i {
            font-size: 20px;
            color: var(--brand-red);
            background: white;
            padding: 8px;
            border-radius: 50%;
        }

        /* When to Replace Section */
        .when-to-replace {
            padding: 80px 0;
            background: white;
        }

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

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

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

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

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

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

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

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

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

        .process-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .process-header h2 {
            color: var(--gray-dark);
            font-size: 36px;
            margin-bottom: 20px;
        }

        .process-header p {
            color: var(--gray-medium);
            font-size: 18px;
            line-height: 1.6;
            max-width: 600px;
            margin: 0 auto;
        }

        .process-timeline {
            display: flex;
            flex-direction: column;
            gap: 30px;
            max-width: 800px;
            margin: 0 auto;
        }

        .timeline-item {
            display: grid;
            grid-template-columns: 120px 1fr;
            gap: 30px;
            align-items: center;
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: var(--shadow-light);
        }

        .timeline-time {
            background: var(--brand-red);
            color: white;
            padding: 15px;
            border-radius: 10px;
            text-align: center;
            font-weight: 700;
            font-size: 16px;
        }

        .timeline-content h3 {
            color: var(--gray-dark);
            font-size: 20px;
            margin-bottom: 10px;
        }

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

        /* Material Options Section */
        .material-options {
            padding: 80px 0;
            background: white;
        }

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

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

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

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

        .material-card.featured {
            border: 3px solid var(--brand-red);
        }

        .material-card.premium {
            background: linear-gradient(135deg, var(--gray-light) 0%, #f8f8f8 100%);
        }

        .material-badge {
            position: absolute;
            top: -10px;
            right: 20px;
            background: var(--brand-red);
            color: white;
            padding: 8px 15px;
            border-radius: 15px;
            font-size: 12px;
            font-weight: 600;
        }

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

        .material-card > p {
            color: var(--gray-medium);
            line-height: 1.6;
            margin-bottom: 25px;
        }

        .material-features {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .material-features .feature {
            color: var(--gray-dark);
            font-size: 14px;
            font-weight: 500;
        }

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

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

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

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

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

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

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

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

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

        /* Financing Section */
        .financing-highlight {
            padding: 80px 0;
            background: white;
        }

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

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

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

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

        .financing-features .feature {
            display: flex;
            align-items: center;
            gap: 15px;
        }

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

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

        .financing-link {
            color: var(--brand-red);
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            padding: 12px 25px;
            border: 2px solid var(--brand-red);
            border-radius: 5px;
            transition: var(--transition-normal);
        }

        .financing-link:hover {
            background: var(--brand-red);
            color: white;
            text-decoration: none;
        }

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

        .financing-badge {
            background: var(--brand-red);
            color: white;
            padding: 40px 30px;
            border-radius: 15px;
            text-align: center;
        }

        .financing-badge h3 {
            font-size: 32px;
            margin-bottom: 10px;
        }

        .financing-badge p {
            font-size: 18px;
            opacity: 0.9;
        }

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

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

        .replacement-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) {
            .replacement-hero h1 {
                font-size: 36px;
            }

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

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

            .when-to-replace,
            .one-day-process,
            .material-options,
            .replacement-benefits,
            .financing-highlight,
            .replacement-cta {
                padding: 60px 0;
            }

            .when-to-replace h2,
            .process-header h2,
            .material-options h2,
            .replacement-benefits h2,
            .replacement-cta h2 {
                font-size: 28px;
            }

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

            .indicators-grid,
            .materials-grid,
            .benefits-grid {
                grid-template-columns: 1fr;
                gap: 25px;
            }

            .timeline-item {
                grid-template-columns: 1fr;
                gap: 20px;
                text-align: center;
            }

            .timeline-time {
                width: fit-content;
                margin: 0 auto;
            }

            .financing-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;
            }
        }
