.section__cards {
    display: grid;
    grid: repeat(2, 1fr) / repeat(3, 1fr);
    gap: 10px;
}

.section__card-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px;
}

.section__card-item>svg {
    flex: 0 0 60px;
}

.section__card-title {
    font-family: "Evolventa";
    font-size: 16px;
    word-break: break-word;
}

/* Section parameters */

.section-hero {
    position: relative;
    background-image: url('https://gidmedical.com/wp-content/uploads/2026/08/noroot.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--emerald);
    opacity: 0.8;
    z-index: 1;
}

.hero__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 86vh;
    flex-direction: column;
    text-align: center;
}

.hero-logo {
    position: relative;
    max-width: 250px;
    z-index: 2;
    margin-bottom: 10vh;
}

.hero-logo img {
    width: 100%;
}

.hero-hidden-title {
    display: none;
}

.hero-desc {
    font-size: 24px;
    line-height: 1.5;
    color: var(--wheat);
    position: relative;
    z-index: 2;
    font-weight: bold;
    text-transform: uppercase;
}

.advantages__banner {
    position: relative;
    background-image: url('https://gidmedical.com/wp-content/uploads/2026/08/laborator-scaled-1.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3vh 0 -5vh;
}

.advantages__banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--emerald);
    opacity: 0.6;
    z-index: 1;
}

.advantages__banner-text {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-align: center;
    padding: 40px;
    max-width: 800px;
    width: 90%;
}

.section-advantages,
.section-possibilities,
.section-process {
    background: var(--emerald);
    color: var(--wheat);
}

.directions__cards {
    display: grid;
    grid: repeat(2, 1fr) / repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 3vh;
    justify-content: center;
}

.directions__cards-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--emerald);
    border-radius: 10px;
}

.directions__card-title {
    font-size: 16px;
    color: var(--emerald);
    padding-left: 10px;
}

.woocommerce ul.products li.product a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.woocommerce ul.products {
    margin-bottom: 3vh !important;
    gap: 10px;
}

.count {
    background: #fff;
}

.products.columns-4::before,
.products.columns-4::after {
    display: none !important;
}

.products.columns-4 {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
}

.woocommerce ul.products li.product {
    margin: 0;
    width: auto;
}

.services-items {
    display: grid;
    grid: repeat(2, 1fr) / repeat(4, 1fr);
    gap: 10px;
    grid-auto-rows: 1fr;
}

.services__item {
    display: flex;
    flex-direction: column;
}

.services__item-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.services__text {
    background: var(--emerald);
    color: var(--wheat);
    font-weight: bold;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    flex: 1;
}

.section-possibilities {
    padding-bottom: 0 !important;
}

.possibilities__cards {
    display: flex;
    justify-content: space-between;
    gap: 1vw;
    padding-top: 3vh;
}

.possibilities__cards-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1vh;
    flex-wrap: wrap;
}

.process-cards {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3vh;
    gap: 1vw;
}

.process__cards-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1vh;
    text-align: center;
    flex-wrap: nowrap;
}

.process__cards-arrow {
    padding-right: 1vw;
}

.process__cards-arrow__vertical {
    display: none;
}

/* Responsive */

@media (max-width: 1300px) {
    .products.columns-4 {
        grid: repeat(2, 1fr)/repeat(2, 1fr);
    }
}

@media (max-width: 830px) {
    .hero__inner {
        height: 100vh;
    }

    .hero-logo {
        width: 150px;
        margin-bottom: 5vh;
    }

    .advantages__banner {
        min-height: 400px;
    }

    .products.columns-4 {
        display: flex !important;
        flex-direction: column;
        align-items: center;
    }

    .woocommerce ul.products[class*=columns-] li.product {
        width: auto;
        float: none;
        clear: none;
        margin: 0;
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .directions__cards {
        grid: repeat(4, 1fr) / repeat(2, max-content);
    }

    .possibilities__cards {
        flex-direction: column;
        justify-content: center;
    }

    .process-cards {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 1vh;
    }

    .process__cards-arrow {
        display: none;
    }

    .process__cards-arrow__vertical {
        display: flex;
        flex-direction: column;
        padding: 10px 0;
    }

    .services-items {
        grid: repeat(4, 1fr) / repeat(2, 1fr);
    }
}

@media (max-width: 460px) {
    .directions__cards {
        grid-template-columns: max-content;
    }

    .services-items {
        grid: repeat(8, 1fr) / repeat(1, 1fr);
    }

    .services__item {
        position: relative;
    }

    .services__item-img {
        display: block;
        width: 100%;
        height: 100px;
        object-fit: cover;
    }

    .services__text {
        background-color: rgb(20, 66, 66, 0.8);
        position: absolute;
        color: var(--wheat);
        font-weight: bold;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-wrap: wrap;
        flex: 1;
        width: 100%;
        height: 100%;
        text-transform: uppercase;
    }
}