@import url("/css/accordion.css");
@import url('/css/check-availability.css');

.dark-mode .header .nav-link:not(.nav-highlight) {
    color: rgb(var(--dark));
}

.dark-mode .header.scrolled .nav-link:not(.nav-highlight) {
    color: rgb(var(--white2));
}

.dark-mode .header .nav-link.nav-highlight:hover {
    color: rgb(var(--dark));
}

.dark-mode .header.scrolled .nav-link.nav-highlight:hover {
    color: rgb(var(--white2));
}

#hero {
    margin-top: -170px;
}

#hero .banner img {
    width: 100%;
}

#hero .banner {
    display: none;
}

#hero .content {
    background: url('../residential/images/hero_desktop_banner.jpg') no-repeat right center/contain;
}

#hero .overlay {
    padding: 240px 0 240px 0;
    background: linear-gradient(to right, white 40vw, transparent 60vw, transparent);
}

.dark-mode #hero .overlay {
    background: linear-gradient(to right, rgb(var(--gray-300)) 40%, transparent 60%, transparent);
}

#hero h1 span {
    display: block;
    font-size: 96px;
    line-height: .80;
}

#hero .benefits {
    color: rgb(var(--gray-950));
    display: flex;
    align-items: center;
    gap: 0.96rem;
    font-family: var(--font-secondary);
    letter-spacing: -0.8px;
    font-size: 26.4px;
    line-height: 25.6px;
    padding-top: 1.2rem;
    padding-bottom: 0.7rem;
}

#hero .benefits > :not([hidden]) ~ :not([hidden]) {
    border-right-width: 2px;
    border-left-width: 2px;
    border-color: rgb(var(--gray-950));
    border-left-style: solid;
}

#hero .benefits span {
    padding-left: 0.96rem;
    letter-spacing: 10 !important;
    display: inline-block;
}

#hero .benefits span:first-child {
    padding-left: 0 !important;
}




#benefits {
    padding-top: 128px;
    padding-bottom: 60px;
}

#benefits .wrapper {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 0 192px;
}

#benefits .one {
    width: 170px;
}

#benefits .two {
    width: 147px;
}

#benefits .three {
    width: 168px;
}

#benefits .four {
    width: 152px;
}

#benefits .item .icon {
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
}

#benefits .item .icon img {
    height: 120px;
}

.dark-mode #benefits .item .icon img {
    filter: invert(1);
}

#benefits .item h3 {
    font-size: 33.6px;
}

#benefits .item p {
    font-family: var(--font-secondary);
    font-size: 15.2px;
    line-height: 26.4px;
}

.dark-mode #benefits .item {
    color: rgb(var(--white2));
}

.dark-mode #benefits .item h3 {
    color: rgb(var(--white2));
}

#benefits .title-icon {
    display: inline-flex;
    flex-direction: column;
}


#coverage {
    position: relative;
    margin-top: 70px;
    z-index: 1;
}

#coverage.masked {
    mask: url(#dip-mask);
}

#coverage .small {
    display: none;
}

#coverage .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 400;
}

#coverage .container {
    height: 100%;
}

#coverage .wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    flex-direction: column;
    gap: 20px;
}

#coverage h2 {
    text-align: center;
    font-size: 96px;
    line-height: .8;
    color: white;
}

#coverage .container a {
    background: rgb(var(--base1));
    color: white;
    font-family: var(--font-secondary);
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 5px;
    font-size: 18px;
}

#coverage a:hover {
    background: white;
    color: rgb(var(--base1));
}

#faq {
    padding: 60.8px 0 0 0;
}

.dark-mode #faq {
    background-color: rgb(var(--dark-mode-body-bg));
}

#faq h2 {
    font-size: 96px;
    line-height: 1;
}

#faq .wrapper {
    max-width: 800px;
    margin: 0 auto;
}


@media (max-width: 639px) {
    #hero {
        margin-top: -110px;
    }

    #hero .banner {
        display: block;
    }

    #hero .overlay {
        background: none;
        padding-top: 15px;
        padding-bottom: 0;
    }

    .dark-mode #hero .overlay {
        background: none;
    }

    #hero .content {
        background: none;
    }

    #hero h1 span {
        text-align: center;
        font-size: 52px;
        white-space: nowrap;
    }

    #hero h1 {
        text-align: center;
    }

    .dark-mode #hero h1 {
        color: rgb(var(--white2));
    }


    #hero .benefits {
        gap: 0.38rem;
        font-size: 16px;
        line-height: 17px;
        justify-content: center;
        letter-spacing: -0.75px;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .dark-mode #hero .benefits {
        color: rgb(var(--white2));
    }

    #hero .benefits > :not([hidden]) ~ :not([hidden]) {
        border-right-width: 1px;
        border-left-width: 1px;
        border-color: rgb(var(--gray-950));
        border-left-style: solid;
    }

    #hero .benefits span {
        padding-left: 0.38rem;
    }

    #hero .benefits span:first-child {
        padding-left: 0 !important;
    }


    #benefits {
        padding-top: 95px;
        padding-bottom: 66.5px;
    }

    #benefits .item {
        display: flex;
        flex-shrink: 0;
    }

    #benefits .item:first-child {
        justify-content: flex-end;
    }

    #benefits .item:nth-child(3) {
        justify-content: flex-end;
    }

    #benefits .one {
        width: 161.5px;
    }

    #benefits .two {
        width: 136px;
    }

    #benefits .three {
        width: 157px;
    }

    #benefits .four {
        width: 142.5px;
    }

    #benefits .container {
        display: flex;
        justify-content: center;
    }

    #benefits .wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 38px;
        padding: 0 0px;
        width: 352px;
    }

    #benefits .item .icon img {
        height: 95px;
    }

    #benefits .item h3 {
        font-size: 28.5px;
    }

    #benefits .item p {
        font-size: 14px;
        line-height: 1.3;
    }

    #benefits .item p br {
        display: none;
    }

    #coverage .background svg {
        width: 100%;
    }

    #coverage .small {
        display: block;
    }

    #coverage .large {
        display: none;
    }

    #coverage h2 {
        font-size: 47.5px;
    }

    #coverage h2 br {
        display: none;
    }



    #faq {
        padding: 66.5px 0 0 0;
    }

    #faq .container {
        padding: 0;
    }

    #faq h2 {
        font-size: 47.5px;
        text-align: center;
    }

}

@media (max-width: 370px) {
    #benefits .wrapper {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 640px) and (max-width: 767px)  {
    #hero h1 span {
        font-size: 66.5px;
    }

    #hero .content {
        background-size: cover;
    }

    #hero .benefits {
        font-size: 19px;
        line-height: 1.425;
    }

    #hero .overlay {
        padding: 250px 0 200px 0;
        background: linear-gradient(to right, white 20vw, transparent 60vw, transparent);
    }

    .dark-mode #hero .overlay {
        padding: 250px 0 200px 0;
        background: linear-gradient(to right, rgb(var(--gray-300)) 20%, transparent 60%, transparent);
    }

    #benefits .wrapper {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 60px;
        padding: 0 50px;
    }

    #benefits .item {
        display: flex;
        justify-content: center;
    }

    #benefits .one {
        width: 214px;
    }

    #benefits .two {
        width: 185px;
    }

    #benefits .three {
        width: 212px;
    }

    #benefits .four {
        width: 192px;
    }

    #coverage .small {
        display: block;
    }

    #coverage .large {
        display: none;
    }

    #coverage h2 {
        font-size: 66.5px;
    }

    #coverage h2 br {
        display: none;
    }

    #faq h2 {
        font-size: 50px;
    }
}

@media (min-width: 768px) and (max-width: 1023px)  {
    #hero h1 span {
        font-size: 72px;
    }

    #hero .overlay {
        padding: 250px 0 200px 0;
        background: linear-gradient(to right, white 20%, transparent 60%, transparent);
    }

    .dark-mode #hero .overlay {
        background: linear-gradient(to right, rgb(var(--gray-300)) 20%, transparent 60%, transparent);
    }

    #hero .content {
        background-size: cover;
    }

    #hero .benefits {
        font-size: 21px;
        line-height: 1.425;
    }

    #hero .address-input {
        max-width: 600px;
    }

    #benefits {
        padding-top: 95px;
    }

    #benefits .wrapper {
        gap: 38px;
        padding: 0 0;
    }

    #benefits .one {
        width: 157px;
    }

    #benefits .two {
        width: 138px;
    }

    #benefits .three {
        width: 158px;
    }

    #benefits .four {
        width: 145px;
    }

    #benefits .item .icon img {
        height: 95px;
    }

    #benefits .item h3 {
        font-size: 28.5px;
    }

    #benefits .item p {
        font-size: 14px;
        line-height: 1.3;
    }

    #coverage h2 {
        font-size: 76px;
    }

    #faq h2 {
        font-size: 85.5px;
    }

}

@media (min-width: 1024px) and (max-width: 1300px) {

    #hero h1 span {
        font-size: 80px;
    }

    #coverage h2 {
        font-size: 80px;
    }

    #faq h2 {
        font-size: 80px;
    }
}

@media (min-width: 1024px) and (max-width: 1535px)  {
    #benefits .wrapper {
        gap: 40px;
        padding: 0 0;
    }
}

@media (min-width: 2200px) {
    #hero .overlay {
        background: linear-gradient(to right, white 60%, transparent 70%, transparent);
    }
}
