.green-text { color: var(--green-light); }

.home-hero { padding: 5rem 0; }

.home-hero *, .home-service > p { margin: 0; }

h1, .h1 { font-size: 2.9rem; font-weight: bold; }

.h2 { font-size: 2.2rem; font-weight: bold; }
h2 { font-size: 1.5rem; }

h3, .h3 { font-size: 1.5rem; font-weight: bold; }

h1, h2, h3, .h1, .h2, .h3, .home-hero-tagline { text-transform: uppercase; }

.home-hero-content { padding: 1rem 0 1rem 8%; }

.home-hero-content p:last-of-type { font-size: 1.4rem; }

.home-hero > img { place-self: center; }

.home-sub-hero p, .home-steps-reassurance > div > p {
    margin: 0;
    padding-left: 10px;
    border-left: 1px solid white;
}

.home-sub-hero > div { gap: 1rem; justify-content: space-between; padding: 0 5%; }
.home-sub-hero > img { height: auto; width: 100%;}
.home-sub-hero svg { width: 34.761px; height: 34.75px; }

.home-services, .home-informations, .home-reviews, .home-content {
    padding-left: var(--standard-padding);
    padding-right: var(--standard-padding);
}

.home-services-title {
    width: fit-content;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 700;
}

.home-services-separator {
    height: 100px;
    border: 1px solid var(--green-light);
    width: 1px;
}

.home-service {
    border: 1px solid white;
    background-color: var(--dark);
    padding: 2rem 2rem;
}

.home-service-title {
    font-size: 1.4rem;
    font-weight: 600;
}

.home-services-container, .home-informations { margin: 2rem 0; }

.home-information {
    border-top: 1px solid white;
    gap: 15%;
    padding: 2rem 0;
}
.home-information h3 { flex-basis: 30%; }
.home-information p { flex-basis: 55%; }

.home-information:last-child {
    border-bottom: 1px solid white;
}

.home-reviews {
    padding: 4rem var(--standard-padding) 4rem var(--standard-padding);
    background: url(/wp-content/uploads/2022/12/bg2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.home-review {
    border: 1px solid white;
    padding: 1rem;
    background-color: var(--dark);
}

.home-review-name { font-weight: 700; }

.home-review p { margin: 0; }

.home-steps-container {
    flex-basis: 80%;
    padding: 2rem 0 2rem var(--standard-padding);
}

.home-steps > img { flex-basis: 20%; }

.home-steps-container > p { width: 45%; }
.home-steps-reassurance { width: 70%; }
.home-steps-container > .cards-number-group { max-width: 850px; }

.home-steps-reassurance > div {
    flex-basis: calc(50% - 2rem);
    font-size: 1.4rem;
}

.home-steps-reassurance-container > img {
    height: 210px;
    width: auto;
}

.home-content {
    padding-top: 1rem;
    padding-bottom: 4rem;
}

summary { list-style-type: none; background: var(--grey-dark); padding: 5px 10px; }
summary:hover { cursor: pointer; }

.home-content svg {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    rotate: 180deg;
}

.home-content details[open] svg { rotate: 0deg; }

details > *:not(summary) {
    padding: 0 15px;
}

details a { color: var(--green-light); text-decoration: underline; }

@media only screen and (min-width: 980px) and (max-width: 1350px) {
    .home-steps-container > .cards-number-group {
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (max-width: 1350px) {
    .home-reviews-container { grid-template-columns: 1fr 1fr; }

    .home-steps-container > p { width: 100%; }

    .side-car-image { display: none; }

}

@media only screen and (max-width: 980px) {

    .home-services { padding-left: 0; padding-right: 0; }
    .home-services-title { padding-left: var(--standard-padding); padding-right: var(--standard-padding); }

    .home-services-container {
        display: flex;
        flex-direction: row;
        overflow-x: scroll;
        margin: 1rem 0;
    }

    .home-service { padding: 1rem; min-width: 80%; }

    .home-service:first-child,
    .home-review:first-child { margin-left: var(--standard-padding); }

    .home-service:last-child,
    .home-review:last-child { margin-right: var(--standard-padding); }

    .home-sub-hero > img { order: 2 }

    .home-sub-hero > div {
        gap: 1rem;
        padding: 1rem 5%;
    }

    .home-hero { padding: 1rem 0; }

    h1, .h1 { font-size: 1.6rem; }

    .home-hero-content p:last-of-type, .home-hero-tagline { font-size: 1.1rem; }

    .home-hero-content { padding: 1rem 5% 4rem 5%; }

    .home-hero-content .neon-btn-link { margin-left: 2rem; }

    .home-information {
        gap: 1rem;
    }

    .home-information h3 { flex-basis: 100%; margin: 0; }
    .home-information p { flex-basis: 100%; margin: 0; }

    .home-reviews-container {
        display: flex;
        flex-direction: row;
        overflow-x: scroll;
    }

    .home-reviews { padding: 1rem 0; }

    .home-review { min-width: 80%; }

    .home-hero > img {
        height: 300px;
        object-fit: contain;
    }

    .home-steps-container {
        flex-basis: 100%;
        padding: 1rem 0;
    }

    .home-steps-container > * {
        padding-left: var(--standard-padding);
        padding-right: var(--standard-padding);
    }

    .home-steps-reassurance > div {
        flex-basis: 100%;
        font-size: 0.9rem;
    }

    .home-steps-reassurance-container {
        padding-right: unset;
    }
}

@media only screen and (max-width: 450px) {

    .home-hero-content > div {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
        margin-top: 1.2rem;
    }

    .home-hero {
        background-image: url(/wp-content/uploads/2022/12/cover.jpg);
        background-size: 70% 30%;
        background-repeat: no-repeat;
        background-position: bottom right;
    }

    .home-hero > img { display: none; }

}

@media only screen and (max-width: 389px) {

    .home-steps-reassurance-container > img { height: 138px;}
}
