/* -- General -- */

:root {
    --r_red: #A83338;
}
.maincontent {
    display: block !important;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    letter-spacing: .015em;
    max-width: 100%;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: none;
    overflow: hidden;
    background-color: #f2f4f8;
}

.r_content-wrapper,
.r_content-wrapper-md,
.r_content-wrapper-sm,
.r_content-wrapper-x-sm {
    width: 100%;
    margin-inline: auto;
}
.r_content-wrapper {
    max-width: 1550px;
}
.r_content-wrapper-md {
    max-width: 1400px;
}
.r_content-wrapper-sm {
    max-width: 1250px;
}
.r_content-wrapper-x-sm {
    max-width: 1100px;
}

.r_h1,
.r_h2,
.r_h3,
.r_h4 {
    position: relative;
    margin: 20px 0;
    line-height: 1.1em;
    color: #111;
}
.r_h1 {
    font-size: 3.2em;
    font-weight: 200;
    color: #fff;
    text-shadow: 2px 2px 8px #101010;
}
.r_h1-highlight {
    font-weight: 600;
}
.r_h2 {
    font-size: 2em;
    font-weight: 600;
}
.r_h3 {
    font-size: 1.2em;
    font-weight: 600;
}
.r_h4 {
    color: #111;
    font-size: 1em;
    font-weight: 600;
    margin-block: 30px 15px;
}
.maincontent p {
    font-size: 1em;
    line-height: 1.45em;
    font-weight: 400;
    color: #111;
}
.r_sup {
    color: #626468;
}

.r_space-around,
.r_space-around-lg,
.r_space-around-sm {
    position: relative;
    z-index: 0;
}
.r_space-around {
    padding: 80px 5%;
}
.r_space-around-lg {
    padding: 120px 5%;
}
.r_space-around-sm {
    padding: 50px 5%;
}
.r_text-center {
    text-align: center;
}



/* -- Hero -- */

#r_hero_section {
    background-image: url(https://contractorwebzone.com/imageserver/Reusable/GAF/roofs_for_troops/hero_bg.webp);
    background-size: cover;
    background-position: 60% center;
    background-color: #424448;
    background-blend-mode: overlay;
    min-height: 600px;
    display: flex;
    align-items: center;
}
.r_hero-content {
    max-width: 850px;
    width: 100%;
}
.r_hero-logo {
    display: block;
    max-width: 450px;
    width: 100%;
    height: auto;
    margin-block: 10px 35px;
}
.r_hero-content p {
    font-size: 1.05em;
    font-weight: 500;
    color: #fff;
}



/* -- Terms & Conditions -- */

.r_warranties-list {
    display: flex;
    flex-wrap: wrap;
    margin: 45px auto;
    padding: 0;
    list-style: none;
    gap: 3%
}
.r_warranties-item {
    position: relative;
    width: calc(33.3333333333% - (6% / 3));
    margin: 20px auto;
    padding: 45px 30px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(5, 5, 5, .15);
    text-align: left;
}
.r_warranties-item::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 8px;
    background: transparent;
}
.r_warranties-item-system-plus::before {
    background: linear-gradient(90deg, #1f9ac3, #073673, #0278c0);
}
.r_warranties-item-silver::before {
    background: linear-gradient(90deg, #abadae, #878b91, #636566);
}
.r_warranties-item-golden::before {
    background: linear-gradient(90deg, #937647, #cbb47a, #402a18);
}
.r_warranties-logo {
    display: block;
    max-width: 150px;
    width: 100%;
    height: auto;
    margin: 10px auto 35px;
}
.r_warranties-item h3 {
    font-size: 1em;
    font-weight: 300;
    text-align: center;
}
.r_warranties-item .r_warranty-highlight {
    display: block;
    font-size: 1.2em;
    line-height: 1.15em;
    margin-bottom: 5px;
    font-weight: 700;
}
.r_warranties-item-system-plus .r_warranty-highlight {
    color: #073673;
}
.r_warranties-item-silver .r_warranty-highlight {
    color: #636566;
}
.r_warranties-item-golden .r_warranty-highlight {
    color: #937647;
}
.r_warranties-item .r_underline {
    margin-block: 35px;
    border-top: 2px solid #e2e4e8;
}
.r_warranties-item-system-plus .r_underline {
    border-color: #073673;
}
.r_warranties-item-silver .r_underline {
    border-color: #878b91;
}
.r_warranties-item-golden .r_underline {
    border-color: #cbb47a;
}
.r_warranties-item p {
    font-size: .95em;
    font-weight: 300;
}
.r_underline-lg {
    margin-block: 65px;
    border-top: 2px solid #d2d4d8;
}
p.r_note {
    font-size: .85em;
    color: #424448;
    text-align: left;
}

.r_warranties-item-disabled::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, .5);
    backdrop-filter: blur(3px);
}
.r_warranties-item-disabled .r_na {
    position: absolute;
    inset: 0 0 auto;
    background-color: var(--r_red);
    color: #fff;
    padding: 10px 20px;
    font-size: .9em;
    font-weight: 600;
    z-index: 1;
}



/* -- Responsiveness -- */

@media (max-width: 1024px) {
    .r_warranties-item {
        max-width: 750px;
        width: 100%;
    }
}

@media (max-width: 750px) {
    .r_h1 {
        font-size: 2.7em;
    }
    .r_h2 {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    .r_space-around,
    .r_space-around-sm {
        padding-inline: 20px;
    }
    .r_space-around-lg {
        padding: 80px 20px;
    }
    .r_text-center {
        text-align: left;
    }

    .r_h1 {
        font-size: 2.2em;
    }
    .r_h2 {
        font-size: 1.6em;
    }
}