body, html {
    background-color: #000;
}

#info {
    padding-block: 9.5rem;
    background: linear-gradient(
        to bottom,
        #000,
        #030b1a
    );

    position: relative;
    isolation: isolate;
}

/* Info Article */
/* article {
    overflow: hidden;
    display: flow-root; 
} */

article a {
    font-size: inherit;
    font-weight: inherit;
    color: var(--accent-yellow);

    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

article .image-box {
    float: left;
    max-width: 61rem;
    
    margin-right: 7rem;
    /* margin-bottom: 9rem; */

    overflow: hidden;
}

article .image-box img {
    width: 100%;
    object-fit: contain;
    border-radius: 3px;
}

article h2 {
    font-family: "Druk";
    font-style: italic;
    font-weight: 900;
    font-size: 3.3rem;
    line-height: 1;
    text-transform: uppercase;
    color: var(--accent-yellow);

    margin-bottom: 3rem;
}

article h3 {
    font-family: "Druk";
    font-style: italic;
    font-weight: 900;
    font-size: 4rem;
    line-height: 1;
    text-transform: uppercase;
    color: var(--accent-yellow);

    margin-bottom: 1rem;
}
article p {
    font-size: 2rem;
    font-weight: 300;
    color: #ccc;

    text-wrap: pretty;
    text-align: justify;
    overflow-wrap: break-word;
    hyphens: auto;

    margin-bottom: 3rem;
}
article b {
    font-size: inherit;
    color: var(--accent-yellow);
}
article ul {
    margin-left: 5rem;
    margin-bottom: 3rem;
}
article li {
    font-size: 2rem;
    font-weight: 300;
    color: #fff;

    margin-bottom: 1rem;
}

/* Reviews */

#reviews {
    margin-bottom: 5rem;
}

#reviews h2 {
    font-family: "Druk";
    font-style: italic;
    font-weight: 900;
    font-size: 4rem;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--accent-yellow);
}

#reviews .reviews-inner {
    padding-block: 2rem;

    scrollbar-width: thin;
    scroll-behavior: smooth;

    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 1rem;

    overflow-x: auto;
}

#reviews .reviews-inner ul {
    margin: unset;
    width: max-content;
    display: flex;
    gap: 2rem;
}
#reviews .reviews-inner ul li {
    padding: 2rem 1.5rem;
    width: 25rem;
    flex: 0 0 auto;

    /* display: grid; */
    display: flex;
    flex-direction: column;
    gap: 2rem;

    background-color: #ffffff1a;
    backdrop-filter: blur(1px);

    scroll-snap-align: start;

    border-radius: 5px;
    corner-shape: squircle;
}

#reviews ul li .name-box {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 1rem;
}
#reviews ul li .name-box .name-ico {
    aspect-ratio: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 3rem;
    color: #fff;

    background-color: palevioletred;
    border-radius: 50%;
}
#reviews ul li .name-box .name-date {
    padding-block: 0.5rem;
    display: grid;
    gap: 1rem;
}

#reviews ul li .name-box .name-date .name,
#reviews ul li .name-box .name-date .date {
    font-size: 1.65rem;
}
#reviews ul li .name-box .name-date .name,
#reviews ul li .name-box .name-date .date {
    color: #3973df;
}
#reviews ul li .name-box .name-date .date {
    font-weight: 300;
    color: #fff;
}

#reviews ul li .stars-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
#reviews ul li .stars-box .rate {
    font-size: 3rem;
    color: orange;
}
#reviews ul li .stars-box .stars svg {
    stroke: orange;
    fill: #e9bd0066;
}

#reviews ul li .text {
    flex:1;

    font-size: 1.6rem;
    line-height: 1.5;
    font-weight: 300;
    color: #c9c9c9;
    text-align: justify;

    hyphens: auto;
    overflow-wrap: break-word;
}


/* Advantages flow */

#advantages {
    padding-block: 10rem;

    background-image: url("/reviews.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    position: relative;
    isolation: isolate;
}
#advantages::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #00000073, #000);
    z-index: -2;
}

.cards {
    margin: 4rem 0;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 1.5rem;
}
.cards li {
    margin: unset;
    list-style: none;

    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;

    border: 5px solid var(--accent-yellow);
    overflow: hidden;

    & h3 {
        font-size: 2.3rem;
    }
    & p {
        font-size: 1.35rem;
        line-height: 1.5;
        margin-bottom: unset;
    }
}
.cards .card-headers {
    padding: 2rem 2rem 0 2rem;
}
.cards img {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.cards-ordered {
    list-style: none;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 1.5rem;

    counter-reset: index;
    margin-bottom: 3rem;
}

.cards-ordered li {
    padding: 2rem;
    background: #ffffff08;
    border: 2px solid #ffffff1a;
}

.cards-ordered li strong {
    counter-increment: index;

    display: block;

    font-size: 2rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    color: var(--accent-yellow);

    margin-bottom: 1rem;
}
.cards-ordered li strong::before {
    content: "0"counter(index);
    
    display: block;
    width: 3.2rem;

    font-size: 2.8rem;
    font-style: italic;
    font-weight: 700;
    /* color: var(--accent-yellow); */
    color: #aaa;

    padding-bottom: 5px;
    border-bottom: 3px solid var(--accent-yellow);
    margin-bottom: 1rem;
}

.cards-ordered li p {
    color: #a9a9ba;
    font-size: 1.4rem;
    line-height: 1.55;
    margin: 0;
}


@media (max-width: 1250px) {
    #info article {
        display: grid;
        place-items: center;
        gap: 2rem;
    }
    #info article .image-box {
        margin-inline: auto;
        max-width: unset;
        margin-bottom: 3rem;
    }
}

@media (max-width: 1050px) {
    #advantages ul.adv-flow li {
        display: grid;
    }
    #advantages ul.adv-flow li .side-image {
        float: unset;
        margin-left: auto;
        margin-right: auto;
    }
    #advantages ul.adv-flow li h4 {
        text-align: center;
    }
}

@media (max-width: 950px) {
    article h2 {
        font-size: 2.8rem;
        text-align: center;
    }
    article p {
        font-size: 1.73rem;
        line-height: 1.35;
        font-weight: 400;
        margin-bottom: 2rem;
    }
}

@media (max-width: 770px) {
    .testimonials .quote-text {
        margin-left: 3rem;
        & p {
            font-size: 1.53rem;
        }
    }
}