/* -- General -- */

:root {
    --r_pink: #D40F7D;
    --r_black: #151825;
}

.maincontent {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none;
    max-width: 100%;
    width: 100%;
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-size: 18px;
    letter-spacing: .025rem;
}

.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: 1450px;
}
.r_content-wrapper-md {
    max-width: 1350px;
}
.r_content-wrapper-sm {
    max-width: 1200px;
}
.r_content-wrapper-x-sm {
    max-width: 1050px;
}

.r_h1,
.r_h2,
.r_h3,
.r_h4 {
    position: relative;
    font-family: "Oswald", 'Poppins', 'Montserrat', sans-serif;
    margin: 20px 0;
    color: #111;
    line-height: 1.15em;
}
.r_h1 {
    font-size: 2em;
}
.r_h2 {
    font-size: 2.6em;
    font-weight: 600;
}
.r_h3 {
    font-size: 2.3em;
    font-weight: 800;
    margin-bottom: 15px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--r_pink);
}
.r_h4 {
    width: fit-content;
    margin-top: 45px;
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: 800;
    padding-right: 40px;
}
.r_h4::after {
    content: "";
    position: absolute;
    top: 12px;
    right: 0;
    width: 30px;
    height: 2px;
    background-color: var(--r_pink);
}
.r_h-sup {
    display: block;
    color: var(--r_pink);
    width: fit-content;
    font-size: .85em;
    font-weight: 700;
    margin-block: 20px -10px;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.r_h-sup-center {
    margin-inline: auto;
}
.maincontent p {
    font-size: .925em;
    line-height: 1.5em;
    font-weight: 400;
    color: #54565a;
}
.r_text-pink {
    color: var(--r_pink);
}
.r_text-bold {
    font-weight: 800;
}

.r_space-around,
.r_space-around-lg,
.r_space-around-sm {
    position: relative;
    z-index: 0;
}
.r_space-around {
    padding: 85px 5%;
}
.r_space-around-lg {
    padding: 105px 5%;
}
.r_space-around-sm {
    padding: 55px 5%;
}
.r_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 5%;
}
.r_wrapper-reverse {
    flex-direction: row-reverse;
}
.r_col-sm {
    width: calc(46% - (5% / 2));
    padding: 20px 0;
}
.r_col-lg {
    width: calc(54% - (5% / 2));
    padding: 20px 0;
}
.r_col-img {
    min-height: 100%;
    max-height: 600px;
    overflow: hidden;
    margin: 20px auto;
}
.r_col-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #eee;
    border-radius: 10px;
}
.r_col-content {
    display: flex;
    align-items: center;
}
.r_text-center {
    text-align: center;
}

.r_underline-lg {
    border-color: #c4c6ca;
    width: calc(100% - 40px);
}

.r_site-button {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: fit-content;
    width: 100%;
    gap: 8px;
    color: #151515;
    font-size: .815em;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    margin: 35px auto 20px;
    border: 1px solid var(--r_pink);
    border-radius: 5px;
    padding: 12px 18px;
    transition: background-color .33s, color .33s;
}
.r_site-button-light {
    color: #e4e6ea;
}
.r_site-button-left {
    margin-left: 0;
}
.r_site-button:hover,
.r_site-button:focus {
    text-decoration: none;
    background-color: var(--r_pink);
    color: #fff;
}
.r_site-button-icon {
    width: 17px;
    height: 17px;
    fill: var(--r_pink);
    border-radius: 50%;
    transition: fill .33s;
}
.r_site-button:hover .r_site-button-icon,
.r_site-button:focus .r_site-button-icon {
    fill: #fff;
}

.r_site-button-wrapper {
    margin: 35px auto 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.r_site-button-wrapper .r_site-button {
    margin: 0;
}



/* -- Hero -- */

#r_hero_section {
    background-color: #f4f6fa;
}
.r_hero-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.r_hero-col-content {
    width: 52%;
}
.r_hero-content {
    max-width: 680px;
    width: 100%;
    margin-left: auto;
}
.r_h1-highlight {
    font-size: 2.5em;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1.05em;
}
.r_h1-sub {
    display: block;
    margin-top: 20px;
    font-weight: 400;
    letter-spacing: .025em;
    font-size: 1em;
    line-height: 1.15em;
}
.r_hero-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 55px 0 20px;
    padding: 0;
    gap: 15px;
    text-align: left;
}
.r_hero-item {
    width: calc(50% - (30px / 2));
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: #fdfdfd;
    border: 1px solid #d4d6da;
    padding: 20px;
    border-radius: 5px;
}
.r_hero-icon {
    display: block;
    min-width: 30px;
    height: 30px;
    padding: 5px;
    border-radius: 5px;
    background-color: var(--r_pink);
    fill: #fff;
}
.r_hero-item p {
    font-size: .8em;
    line-height: 1.3em;
    font-weight: 500;
    margin: 0;
}
.r_hero-item .r_hero-highlight {
    display: block;
    font-size: 1.2em;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--r_pink);
    text-transform: uppercase;
}
.r_hero-cert-logo {
    display: block;
    max-width: 245px;
    width: 100%;
    height: auto;
    margin: 40px 0 -20px;
}

.r_hero-col-img {
    width: 48%;
    position: relative;
    background-image: url(../imageserver/Reusable/owens_corning/coty_2026_evergreen_mist.webp);
    background-size: cover;
    background-position: 25% center;
}
.r_coty-box {
    position: absolute;
    bottom: 20px;
    left: 20px;
    margin: 0;
    padding: 15px;
    background-color: rgba(0, 0, 0, .65);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 5px;
}
.r_coty-box .r_coty-oc-logo {
    max-width: 85px;
    width: 100%;
    height: auto;
}
.r_coty-box p {
    font-size: .8em;
    line-height: 1.3em;
    color: #fff;
    margin: 0;
    font-weight: 300;
    max-width: 225px;
    width: 100%;
}
.r_coty-box .r_coty-color {
    display: block;
    font-size: 1.33em;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
}



/* -- Shingles -- */

.r_shingles-overall-container {
    opacity: 1;
    transition: opacity .33s;
}
.r_fade-out {
    opacity: 0;
}

.r_shingles-nav {
    position: relative;
}
.r_shingles-nav-disabled::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.r_shingles-wrapper {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 5%;
    text-align: left;
    display: none;
}
.r_shingles-wrapper-show {
    display: flex;
}
.r_shingles-col-widget {
    position: relative;
    width: calc(46% - (5% / 2));
}
.r_shingles-col-info {
    width: calc(54% - (5% / 2));
    padding: 20px 0;
}

.r_shingles-widget-loading-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    background-color: #fff;
    overflow: hidden;
    transition: opacity ease .25s, width ease .1s .26s;
}
.r_shingles-widget-loading-wrapper-fade-out {
    opacity: 0;
    width: 0;
}
.r_shingles-widget-loading {
    content: "";
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 10px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .15);
    overflow: hidden;
}
.r_shingles-widget-loading::after {
    content: "";
    position: absolute;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, var(--r_pink) 0, var(--r_pink) 25%, #fff 25%, #fff 50%, var(--r_pink) 50%, var(--r_pink) 75%, #fff 75%);
    animation: r_loadingWidget 1s linear infinite;
}
@keyframes r_loadingWidget {
    0% { left: -100%; }
    100% { left: 0; }
}

.r_shingles-nav {
    position: relative;
    z-index: 0;
    background-color: #f4f6fa;
    border-radius: 10px;
    margin: 70px auto;
    padding: 0;
}
.r_shingles-nav-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}
.r_shingles-nav-item {
    width: 25%;
}
.r_shingles-nav-link {
    display: block;
    font-size: .9em;
    font-weight: 600;
    text-transform: uppercase;
    color: #111;
    padding: 18px;
    transition: color .33s;
}
.r_shingles-nav-link:hover,
.r_shingles-nav-link:focus {
    color: var(--r_pink);
    text-decoration: none;
    outline: none;
}
.r_shingles-nav-link-active,
.r_shingles-nav-link-active:hover,
.r_shingles-nav-link-active:focus {
    color: #fff;
    text-decoration: none;
}
.r_shingles-pink-selector {
    position: absolute;
    top: 0;
    left: 0;
    width: 362.5px;
    height: 59.15px;
    background-color: var(--r_pink);
    border-radius: 10px;
    z-index: -1;
    transition: all .33s;
}

.r_price-type {
    font-size: .85em;
    text-transform: uppercase;
    font-weight: 600;
    margin-right: 4px;
}
.r_price-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    vertical-align: middle;
}
.r_price-bubble {
    width: 11px;
    height: 11px;
    background-color: #c4c6ca;
    border-radius: 50%;
}
.r_price-bubble-full {
    background-color: var(--r_pink);
}

.r_features-list {
    list-style: none;
    margin: 30px 0 20px;
    padding: 0;
}
.r_features-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 12px;
}
.r_features-item:last-child {
    margin-bottom: 0;
}
.r_features-content::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 33px;
    width: 1px;
    height: calc(100% - 36px);
    background-color: var(--r_pink);
}
.r_features-content {
    width: 100%;
}
.r_features-icon {
    display: block;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    padding: 2px;
    border-radius: 50%;
    background-color: var(--r_pink);
    fill: #fff;
}
.r_features-title {
    display: block;
    margin-bottom: 5px;
    font-size: 1.05em;
    color: #111;
    font-weight: 700;
}
.r_features-content p {
    font-size: .85em;
    margin: 0;
}



/* -- Total Protection Roofing System -- */

.r_tprs-list {
    margin: 40px 0;
    padding: 0;
    list-style-type: none;
}
.r_tprs-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 35px;
}
.r_tprs-item .r_h4 {
    display: block;
    margin-block: 0 10px;
    padding: 0;
}
.r_tprs-item .r_h4::after {
    display: none;
}
.r_tprs-img {
    display: block;
    max-width: 50px;
    width: 100%;
    height: auto;
    margin-top: 2px;
    border-radius: 5px;
}
.r_tprs-item p {
    font-size: .85em;
    margin: 0;
}



/* -- Warranties -- */

#r_warranties_section {
    background-color: #f4f6fa;
}
.r_warranties-accordion {
    margin: 60px auto 20px;
    text-align: left;
}
.r_warranties-button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-block: 10px;
    padding: 20px 30px;
    text-align: left;
    background-color: #fff;
    box-shadow: 0 5px 12px rgba(0, 20, 60, .1);
    border-radius: 5px;
    border: 1px solid transparent;
    transition: border-color .25s;
}
.r_warranties-button:hover,
.r_warranties-button:focus {
    border-color: var(--r_pink);
}
.r_warranties-logo {
    display: block;
    max-width: 180px;
    width: 100%;
    margin: 0;
    padding: 0;
}
.r_warranties-text {
    font-family: "Oswald", 'Poppins', 'Montserrat', sans-serif;
    font-size: 1.15em;
    line-height: 1.3em;
}
.r_warranties-button-icon {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-left: auto;
    border: 2px solid var(--r_pink);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .33s ease, background-color .33s;
}
.r_warranties-button-icon::before,
.r_warranties-button-icon::after {
    content: '';
    position: absolute;
    background-color: var(--r_pink);
    transition: transform .33s ease, opacity .33s;
}
.r_warranties-button-icon::before {
    width: 10px;
    height: 2px;
}
.r_warranties-button-icon::after {
    width: 2px;
    height: 10px;
}
.r_warranties-accordion-item-open .r_warranties-button-icon {
    background: var(--r_pink);
    transform: rotate(180deg);
}
.r_warranties-accordion-item-open .r_warranties-button-icon::before,
.r_warranties-accordion-item-open .r_warranties-button-icon::after {
    background: #fff;
}
.r_warranties-accordion-item-open .r_warranties-button-icon::after {
    opacity: 0;
}
.r_warranties-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .33s ease;
}
.r_warranties-content-inner {
    padding: 0 30px 30px;
}
.r_warranties-content-heading {
    background-color: var(--r_black);
    padding: 45px 30px;
    margin-block: 30px 0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5%;
}
.r_warranties-content-heading h3 {
    font-size: 1.8em;
    color: #fff;
    margin: 0;
    padding: 0;
    border: none;
}
.r_warranties-content-heading .r_site-button {
    min-width: 250px;
    margin: 0;
}
.r_warranties-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 30px 0;
    padding: 0;
    gap: 20px;
}
.r_warranties-item {
    width: calc(50% - (20px / 2));
    background-color: #fff;
    border: 1px solid #e4e6ea;
    padding: 25px 20px 25px 15px;
    border-radius: 5px;
}
.r_warranties-item h4 {
    font-size: 1.05em;
    font-weight: 500;
    margin-block: 0 15px;
    padding: 0 0 0 10px;
    border-left: 3px solid var(--r_pink);
    text-transform: none;
}
.r_warranties-item h4::after {
    display: none;
}
.r_warranties-item p {
    font-size: .85em;
    padding-left: 13px;
    margin: 0;
}



/* -- Design EyeQ -- */

#r_eyeq_section {
    background-color: var(--r_black);
}
.r_eyeq-wrapper {
    display: flex;
    flex-wrap: wrap;
}
.r_eyeq-col-content {
    width: 52%;
}
.r_eyeq-content {
    max-width: 680px;
    width: 100%;
}
.r_eyeq-content h2 {
    color: #fff;
}
.r_eyeq-content p {
    color: #e4e6ea;
}
.r_eyeq-col-img {
    width: 48%;
    position: relative;
    background-image: url(../imageserver/Reusable/owens_corning/coty_2025_merlot.webp);
    background-size: cover;
    background-position: center;
}



/* -- Responsiveness -- */

@media (max-width: 1200px) {
    .r_hero-col-content,
    .r_hero-col-img {
        width: 100%;
    }
    .r_hero-col-content {
        padding-block: 60px;
    }
    .r_hero-content {
        max-width: 780px;
        margin-inline: auto;
        text-align: center;
    }
    .r_hero-content .r_h-sup {
        margin-inline: auto;
    }
    .r_hero-cert-logo {
        margin-inline: auto;
    }
    .r_hero-col-img {
        height: 50vh;
    }

    .r_eyeq-col-content,
    .r_eyeq-col-img {
        width: 100%;
    }
    .r_eyeq-col-content {
        padding-block: 60px;
    }
    .r_eyeq-content {
        max-width: 780px;
        margin-inline: auto;
        text-align: center;
    }
    .r_eyeq-content .r_h-sup,
    .r_eyeq-content .r_site-button {
        margin-inline: auto;
    }
    .r_eyeq-col-img {
        height: 50vh;
    }
}

@media (max-width: 1024px) {
    .r_wrapper {
        max-width: 750px;
        width: 100%;
        margin-inline: auto;
    }
    .r_col-sm,
    .r_col-lg {
        width: 100%;
        padding: 0;
    }
    .r_col-img {
        margin-bottom: 40px;
    }

    .r_shingles-nav-item {
        width: 50%;
    }    
    .r_shingles-col-widget,
    .r_shingles-col-info {
        max-width: 720px;
        width: 100%;
        margin-inline: auto;
    }
}

@media (max-width: 850px) {
    .r_warranties-content-heading {
        flex-direction: column;
        text-align: center;
    }
    .r_warranties-content-heading .r_site-button {
        min-width: auto;
        margin-top: 30px;
    }
}

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

    .r_warranties-content-inner {
        padding-inline: 0;
    }
    .r_warranties-item {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .r_warranties-button {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .r_warranties-button-icon {
        margin-inline: auto;
    }
}

@media (max-width: 600px) {
    .r_hero-item {
        width: 100%;
    }
}

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

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

    .r_coty-box .r_coty-oc-logo {
        max-width: 75px;
    }
    .r_coty-box p {
        max-width: 175px;
    }

    .r_shingles-nav-item {
        width: 100%;
    } 
}