.roof-page-hero {
    min-height: 355px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        url("image/roof-system-top.jpg")
        center / cover
        no-repeat;
}

.roof-page-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(13, 36, 81, 0.95) 0%,
            rgba(22, 51, 107, 0.85) 48%,
            rgba(22, 51, 107, 0.48) 100%
        );
}

.roof-page-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 55px;
    padding-bottom: 60px;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    font-weight: 500;
}

.page-breadcrumb a {
    transition: color 0.2s ease;
}

.page-breadcrumb a:hover {
    color: var(--white);
}

.page-breadcrumb i {
    color: rgba(255, 255, 255, 0.45);
    font-size: 9px;
}

.page-breadcrumb span {
    color: var(--accent);
}

.roof-hero-label {
    margin-bottom: 12px;
}

.roof-page-hero h1 {
    margin-bottom: 15px;
    color: var(--white);
    font-size: clamp(2.8rem, 6vw, 4.3rem);
    font-weight: 800;
    letter-spacing: -0.045em;
}

.roof-page-hero-content > p {
    max-width: 670px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.83);
    font-size: 16px;
    line-height: 1.75;
}

.roof-products-section {
    padding: 95px 0 110px;
    background: var(--light);
}

.roof-section-heading {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.roof-section-heading h2 {
    margin-bottom: 16px;
}

.roof-section-heading > p {
    margin-bottom: 0;
    color: var(--muted);
}

.roof-system-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.roof-system-card {
    min-width: 0;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 15px;
    background: var(--white);

    box-shadow:
        0 12px 35px rgba(15, 23, 42, 0.065);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.roof-system-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 130, 32, 0.34);
    box-shadow:
        0 22px 50px rgba(15, 23, 42, 0.13);
}

.roof-system-image {
    height: 275px;
    position: relative;
    display: block;
    overflow: hidden;
    background: #dfe5ec;
}

.roof-system-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.roof-system-card:hover .roof-system-image img {
    transform: scale(1.045);
}

.roof-image-badge {
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 7px 13px;
    border-radius: 6px;
    background: rgba(22, 51, 107, 0.9);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.roof-system-content {
    padding: 26px;

    display: flex;
    flex-direction: column;
    flex: 1;
}

.roof-system-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
}

.roof-system-name {
    display: block;
    margin-bottom: 5px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.roof-system-title h3 {
    margin: 0;
    color: var(--primary);
    font-size: 18px;
    line-height: 1.4;
}

.roof-system-icon {
    width: 42px;
    height: 42px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 10px;
    background: rgba(245, 130, 32, 0.11);
    color: var(--accent);
    font-size: 17px;
}

.roof-system-description {
    min-height: 116px;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.roof-feature-list {
    display: grid;
    gap: 10px;
    margin: 0 0 25px;
    padding: 0;
    list-style: none;
}

.roof-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text);
    font-size: 13px;
}

.roof-feature-list i {
    width: 18px;
    height: 18px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    margin-top: 1px;
    border-radius: 50%;
    background: rgba(245, 130, 32, 0.11);
    color: var(--accent);
    font-size: 8px;
}

.roof-details-button {
    margin-top: auto;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 11px 18px;
    border-radius: 7px;
    background: var(--accent);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.roof-details-button i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.roof-details-button:hover {
    transform: translateY(-1px);
    background: var(--accent-dark);
}

.roof-details-button:hover i {
    transform: translateX(4px);
}

.roof-info-section {
    padding: 100px 0;
    background: var(--white);
}

.roof-info-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);
    align-items: center;
    gap: 85px;
}

.roof-info-content h2 {
    max-width: 570px;
}

.roof-info-content p {
    color: var(--muted);
}

.roof-info-content .btn {
    margin-top: 10px;
}

.roof-benefits {
    display: grid;
    gap: 18px;
}

.roof-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--white);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.roof-benefit-item:hover {
    border-color: rgba(245, 130, 32, 0.3);
    box-shadow:
        0 14px 35px rgba(15, 23, 42, 0.07);
}

.roof-benefit-icon {
    width: 50px;
    height: 50px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 11px;
    background: rgba(245, 130, 32, 0.11);
    color: var(--accent);
    font-size: 20px;
}

.roof-benefit-item h3 {
    margin-bottom: 7px;
    color: var(--primary);
    font-size: 16px;
}

.roof-benefit-item p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 13px;
}

.roof-cta-section {
    padding: 90px 0;
    background: var(--accent);
    text-align: center;
}

.roof-cta-content {
    max-width: 760px;
}

.roof-cta-label {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 17px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.roof-cta-section h2 {
    margin-bottom: 18px;
    color: var(--white);
}

.roof-cta-section p {
    max-width: 600px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.84);
}

@media (max-width: 1050px) {

    .roof-system-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .roof-system-description {
        min-height: 95px;
    }

    .roof-info-grid {
        gap: 45px;
    }

}

@media (max-width: 800px) {

    .roof-page-hero {
        min-height: 330px;
    }

    .roof-page-overlay {
        background: rgba(13, 36, 81, 0.87);
    }

    .roof-products-section,
    .roof-info-section {
        padding: 75px 0;
    }

    .roof-info-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 650px) {

    .roof-page-hero-content {
        padding-top: 45px;
        padding-bottom: 50px;
    }

    .page-breadcrumb {
        margin-bottom: 28px;
    }

    .roof-page-hero-content > p {
        font-size: 14px;
    }

    .roof-system-grid {
        grid-template-columns: 1fr;
    }

    .roof-system-image {
        height: 245px;
    }

    .roof-system-description {
        min-height: auto;
    }

    .roof-system-content {
        padding: 22px;
    }

    .roof-benefit-item {
        padding: 20px;
    }

    .roof-cta-section {
        padding: 72px 0;
    }

}

.roof-products-empty {
    max-width: 680px;
    margin: 20px auto 0;
    padding: 60px 30px;
    text-align: center;
    border: 1px solid #dfe5ee;
    border-radius: 18px;
    background: #ffffff;
}

.roof-products-empty-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #1f3c88;
    background: #edf2ff;
    font-size: 25px;
}

.roof-products-empty h3 {
    margin: 0 0 10px;
    color: #16336b;
    font-size: 24px;
}

.roof-products-empty p {
    max-width: 480px;
    margin: 0 auto;
    color: #687386;
    font-size: 15px;
    line-height: 1.7;
}