/* GWM Homepage Section Cards, Counters and Slider */
.gwm-home-card-section {
    position: relative;
    overflow: hidden;
}

.gwm-home-card-grid {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.gwm-home-card {
    min-height: 130px;
    padding: 24px;
    border-radius: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    color: #09271c;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
    font-weight: 900;
    text-decoration: none;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.gwm-home-card:hover,
.gwm-home-card:focus {
    transform: translateY(-4px);
    border-color: rgba(200, 162, 74, 0.42);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.14);
}

.gwm-home-counter-grid {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.gwm-home-counter {
    padding: 28px 20px;
    border-radius: 24px;
    background: #062d1d;
    border: 1px solid rgba(200, 162, 74, 0.24);
    text-align: center;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.10);
}

.gwm-home-counter__number {
    display: block;
    color: #c8a24a;
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.06em;
}

.gwm-home-counter__label {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.92rem;
    font-weight: 800;
}

.gwm-home-slider {
    margin-top: 36px;
    position: relative;
    overflow: hidden;
}

.gwm-home-slider__track {
    display: flex;
    gap: 16px;
    transition: transform 0.45s ease;
    will-change: transform;
}

.gwm-home-slider__slide {
    min-width: calc((100% - 32px) / 3);
    padding: 28px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
    color: #334155;
    line-height: 1.75;
}

.gwm-home-slider__quote {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.gwm-home-slider__name {
    margin-top: 18px;
    color: #0f3d2e;
    font-weight: 900;
}

.gwm-home-slider__controls {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.gwm-home-slider__button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: #0f3d2e;
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
}

.gwm-home-slider__button:hover,
.gwm-home-slider__button:focus {
    background: #14543f;
}

.gwm-home-slider__button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

@media (max-width: 900px) {
    .gwm-home-card-grid,
    .gwm-home-counter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gwm-home-slider__slide {
        min-width: calc((100% - 16px) / 2);
    }
}

@media (max-width: 600px) {
    .gwm-home-card-grid,
    .gwm-home-counter-grid {
        grid-template-columns: 1fr;
    }

    .gwm-home-slider__slide {
        min-width: 100%;
    }
}
