/**
 * Front Page — стили hero-feature блока
 *
 * Выделено из inline <style> в front-page.php.
 * Подключается условно: только на is_front_page().
 *
 * Именование: BEM (.hero-feature, .hero-feature__play, ...)
 * Убрано: IE-хаки (ms-filter), дублированные правила.
 *
 * @since 2.0.0
 */



.hero-feature {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 390px;
}

.hero-feature img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.hero-feature__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    margin-left: -45px;
    margin-top: -45px;
}

.hero-feature__play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #fff;
    color: #244f66;
    font-size: 30px;
    text-decoration: none;
    position: relative;
    z-index: 33;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-feature__play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 2px 6px rgba(36, 79, 102, .08);
}



.hero-feature__waves {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    pointer-events: none;
}

.hero-feature__wave {
    position: absolute;
    width: 250px;
    height: 250px;
    margin-left: -125px;
    margin-top: -125px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    opacity: 0;
    animation: heroWaves 3s ease-in-out infinite;
}

.hero-feature__wave--1 {
    animation-delay: 0s;
}

.hero-feature__wave--2 {
    animation-delay: 1s;
}

.hero-feature__wave--3 {
    animation-delay: 2s;
}

@keyframes heroWaves {
    0% {
        transform: scale(0.2);
        opacity: 0;
    }

    50% {
        opacity: 0.9;
    }

    100% {
        transform: scale(0.9);
        opacity: 0;
    }
}



.hero-feature__badge {
    display: block;
    position: absolute;
    z-index: 10;
    top: 50%;
    left: -14px;
    transform: translateY(-50%);
    padding: 10px 30px;
    background: var(--bg-section);
    color: var(--brand-color);
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    line-height: 1.3;
}

.hero-feature__badge::before {
    content: "";
    position: absolute;
    left: 0;
    top: -25px;
    border-left: 14px solid transparent;
    border-top: 12px solid transparent;
    border-bottom: 13px solid var(--bg-section);
}

/* ══════════════════════════════════════════════════════════
   СЕКЦИЯ «Почему стоит выбрать нас» (home-features)
   ══════════════════════════════════════════════════════════ */

.section--home-features {
    padding: var(--sp-3xl) 0;
    background: var(--brand-color);
    color: #fff;
}

.section--home-features .section__title {
    font-size: 36px;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

.home-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.home-feature-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}

.home-feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.home-feature-item__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--bg-light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}


.home-feature-item:hover::before {
    opacity: 1;
}

.home-feature-item__title {
    font-size: var(--fs-3xl);
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.home-feature-item__text {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #e8e8e8;
    margin: 0;
}

/* ══════════════════════════════════════════════════════════
   СЕКЦИЯ «О клинике» (home-about)
   ══════════════════════════════════════════════════════════ */

.section--home-about {
    padding: var(--sp-xl) 0;
}

.home-about__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.home-about__image {
    width: 100%;
    border-radius: var(--radius-xs);
    overflow: hidden;
}

.home-about__image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.home-about__content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--brand-color);
}

.home-about__content p {
    margin-bottom: 12px;
    line-height: 1.7;
}

.home-about__btn {
    margin-top: 20px;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .hero-feature {
        height: 260px;
    }

    .hero-feature__play-btn {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    .hero-feature__play {
        margin-left: -30px;
        margin-top: -30px;
    }

    .hero-feature__wave {
        width: 150px;
        height: 150px;
        margin-left: -75px;
        margin-top: -75px;
    }

    .hero-feature__badge {
        font-size: 13px;
        padding: 6px 16px;
        left: 0;
    }

    .section--home-features .section__title {
        font-size: 24px;
    }

    .home-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .home-feature-item {
        grid-template-columns: 52px 1fr;
    }
}

/* ══════════════════════════════════════════════════════════
   СЕКЦИЯ «Акции клиники» (home-promos)
   ══════════════════════════════════════════════════════════ */

.section--home-promos {
    padding: var(--sp-xl) 0;
}

.section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 12px;
}

.section__link {
    color: var(--accent-red);
    font-weight: 600;
    text-decoration: none;
    font-size: var(--fs-base);
    transition: opacity var(--transition);
}

.section__link:hover {
    opacity: 0.7;
}

.section__link--outlined {
    color: var(--accent-red);
    border: 1px solid var(--accent-red);
    border-radius: var(--radius-xs);
    padding: 8px 20px;
    font-size: var(--fs-sm);
    font-weight: 500;
    transition: background var(--transition), color var(--transition);
}

.section__link--outlined:hover {
    background: var(--accent-red);
    color: #fff;
    opacity: 1;
}


.home-promos-slider {
    position: relative;
    overflow: hidden;
    padding-bottom: 8px;
}

.home-promo-card__link {
    display: block;
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    text-decoration: none;
    aspect-ratio: 16 / 9;
}

.home-promo-card__image {
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.home-promo-card__image--placeholder {
    background: linear-gradient(135deg, #2B7094, #3B2E7A);
}

.home-promo-card__link:hover .home-promo-card__image {
    transform: scale(1.05);
}

.home-promo-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: flex-end;
}

.home-promo-card__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-promo-card__title {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.home-promo-card__subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
}

.home-promo-card__price {
    display: inline-block;
    margin-top: 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    background: var(--accent, #D53646);
    padding: 2px 10px;
    border-radius: 4px;
    align-self: flex-start;
}

.home-promo-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: var(--accent, #D53646);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    line-height: 1.2;
}


.home-promos-slider .swiper-button-prev,
.home-promos-slider .swiper-button-next {
    color: #fff;
    background: var(--accent, #D53646);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: opacity 0.2s;
}

.home-promos-slider .swiper-button-prev:after,
.home-promos-slider .swiper-button-next:after {
    font-size: 18px;
    font-weight: 700;
}

.home-promos-slider .swiper-button-prev:hover,
.home-promos-slider .swiper-button-next:hover {
    opacity: 0.85;
}

@media (max-width: 768px) {

    .home-promos-slider .swiper-button-prev,
    .home-promos-slider .swiper-button-next {
        width: 32px;
        height: 32px;
    }

    .home-promos-slider .swiper-button-prev:after,
    .home-promos-slider .swiper-button-next:after {
        font-size: 14px;
    }
}

/* ══════════════════════════════════════════════════════════
   СЕКЦИЯ «Врачи» — сетка + слайдер
   ══════════════════════════════════════════════════════════ */


.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    justify-items: center;
}


.doctors-slider {
    position: relative;
    padding: 0 50px;
}


.doctor-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
    max-width: 280px;
    width: 100%;
    overflow: hidden;
}

.doctor-card__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.doctor-card__photo {
    overflow: hidden;
    margin-bottom: 16px;
    background: var(--bg-alt, #f0ece4);
    flex-shrink: 0;
    aspect-ratio: 4 / 4;
}

.doctor-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s;
}

.doctor-card__link:hover .doctor-card__photo img {
    transform: scale(1.08);
}

.doctor-card__photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #999);
}

.doctor-card__info {
    width: 100%;
    margin-bottom: 12px;
}

.doctor-card__name {
    font-size: 15px;
    font-weight: 600;
    color: var(--brand-color, #2E2751);
    margin-bottom: 4px;
    line-height: 1.3;
}

.doctor-card__position {
    font-size: 13px;
    color: var(--middle-color, #666);
    line-height: 1.3;
}

.doctor-card__experience {
    font-size: 13px;
    color: var(--text-muted, #999);
    margin-top: 2px;
}

.doctor-card__action {
    margin-top: auto;
    padding: 0;
}


.doctors-slider .swiper-button-prev,
.doctors-slider .swiper-button-next {
    color: #fff;
    background: var(--accent, #D53646);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: opacity 0.2s;
}

.doctors-slider .swiper-button-prev:after,
.doctors-slider .swiper-button-next:after {
    font-size: 18px;
    font-weight: 700;
}

.doctors-slider .swiper-button-prev:hover,
.doctors-slider .swiper-button-next:hover {
    opacity: 0.85;
}

@media (max-width: 768px) {
    .doctors-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 16px;
    }

    .doctors-slider {
        padding: 0 35px;
    }

    .doctors-slider .swiper-button-prev,
    .doctors-slider .swiper-button-next {
        width: 32px;
        height: 32px;
    }

    .doctors-slider .swiper-button-prev:after,
    .doctors-slider .swiper-button-next:after {
        font-size: 14px;
    }

    .doctor-card__photo {
        width: 120px;
        height: 120px;
    }

    .doctor-card__name {
        font-size: 14px;
    }

    .doctor-card {
        padding: 16px 12px 20px;
    }
}

/* ══════════════════════════════════════════════════════════
   СЕКЦИЯ «Телефон + мессенджеры» (phone-cta)
   ══════════════════════════════════════════════════════════ */

.section--phone-cta {
    padding: 56px 0;
}

.phone-cta {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.phone-cta__text {
    font-size: clamp(22px, 4vw, 34px);
    font-weight: 700;
    color: var(--brand-color);
    margin: 0 0 10px;
    line-height: 1.25;
}

.phone-cta__subtitle {
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 24px;
}

/* Телефон — большая красная pill-кнопка */
.phone-cta__phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent, #D53646);
    color: #fff;
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 700;
    text-decoration: none;
    padding: 18px 48px;
    border-radius: 6px;
    margin-bottom: 20px;
    transition: background 0.2s, transform 0.15s;
}

.phone-cta__phone:hover {
    background: #b82d3a;
    transform: translateY(-2px);
    color: #fff;
}

.phone-cta__messengers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Кнопки месенджерів — тёмно-синій */
.phone-cta__messenger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    background: #2E2751;
    color: #fff;
    transition: background 0.2s, transform 0.15s;
}

.phone-cta__messenger:hover {
    background: #3d3468;
    transform: translateY(-2px);
    color: #fff;
    opacity: 1;
}

/* Убираем переопределения цветов — иконки уже цветные внутри svg */
.phone-cta__messenger--tg,
.phone-cta__messenger--wa {
    background: #2E2751;
    color: #fff;
}


.phone-cta--card {
    background: #fff;
    border-radius: 7px;
    box-shadow: 0 2px 6px rgba(46, 39, 81, .06);
    padding: 48px 40px;
    max-width: 640px;
    margin: 0 auto;
}

.phone-cta--card .phone-cta__messenger {
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}


.phone-cta--gradient {
    background: linear-gradient(135deg, #2E2751 0%, #4A3F7A 100%);
    border-radius: 7px;
    padding: 48px 40px;
    max-width: 720px;
    margin: 0 auto;
}

.phone-cta--gradient .phone-cta__text {
    color: rgba(255, 255, 255, .85);
}

.phone-cta--gradient .phone-cta__phone {
    color: #fff;
}

.phone-cta--gradient .phone-cta__messenger--tg {
    background: rgba(47, 137, 206, .25);
    color: #8ec8f0;
}

.phone-cta--gradient .phone-cta__messenger--wa {
    background: rgba(37, 211, 102, .2);
    color: #7ae8a5;
}

.phone-cta--gradient .phone-cta__messenger:hover {
    opacity: 1;
    transform: translateY(-2px);
}


.phone-cta--bordered {
    border: 2px solid var(--brand-color);
    border-radius: 6px;
    padding: 48px 40px;
    max-width: 640px;
    margin: 0 auto;
}

.phone-cta--bordered .phone-cta__phone {
    font-size: 38px;
    letter-spacing: 1px;
}

.phone-cta--bordered .phone-cta__messenger {
    border: 2px solid currentColor;
    background: transparent;
    border-radius: 7px;
}

.phone-cta--bordered .phone-cta__messenger:hover {
    opacity: 1;
}

.phone-cta--bordered .phone-cta__messenger--tg:hover {
    background: #2F89CE;
    color: #fff;
    border-color: #2F89CE;
}

.phone-cta--bordered .phone-cta__messenger--wa:hover {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}

/* ══════════════════════════════════════════════════════════
   СЕКЦИЯ «Навигационные карточки» (nav-cards)
   ══════════════════════════════════════════════════════════ */

.section--nav-cards {
    padding: var(--sp-xl) 0;
}

.nav-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.nav-card {
    background: #fff;
    border-radius: 7px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1px 5px rgba(0, 0, 0, .05);
}

/* Иконка — тёмный круг с белым значком */
.nav-card__icon {
    margin-bottom: 16px;
}

.nav-card__icon a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #1F3A5F;
    text-decoration: none;
    transition: background 0.2s;
}

.nav-card__icon a:hover {
    background: #2B5F7A;
}

.nav-card__icon i {
    font-size: 30px;
    color: #fff;
}

.nav-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.nav-card__title a {
    color: var(--brand-color);
    text-decoration: none;
}

.nav-card__title a:hover {
    color: var(--accent, #D53646);
}

.nav-card__text {
    font-size: 14px;
    color: var(--text-muted, #6c757d);
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}

.nav-card__btn {
    margin-top: auto;
}

/* ══════════════════════════════════════════════════════════
   СЕКЦИЯ «Счётчики» (counters)
   ══════════════════════════════════════════════════════════ */

.section--counters {
    padding: 50px 0;
    background: var(--brand-color, #2B7094);
    color: #fff;
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.counter-item {
    text-align: center;
}

.counter-item__icon {
    margin-bottom: 12px;
}

.counter-item__icon i {
    font-size: 36px;
    color: #fff;
    opacity: 0.9;
}

.counter-item__number {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
}

.counter-item__suffix {
    font-size: 20px;
    font-weight: 600;
}

.counter-item__text {
    font-size: 15px;
    margin-top: 8px;
    opacity: 0.85;
    line-height: 1.4;
}

/* ══════════════════════════════════════════════════════════
   СЕКЦИЯ «Отзывы» (reviews-slider)
   ══════════════════════════════════════════════════════════ */

.section--reviews {
    padding: var(--sp-xl) 0;
}

.section--reviews .section__subtitle {
    text-align: center;
    color: var(--text-muted, #666);
    margin-bottom: 24px;
}

.reviews-slider {
    position: relative;
    padding: 0 48px;
}


.reviews-slider .swiper-wrapper {
    align-items: stretch;
}

.reviews-slider .review-card.swiper-slide {
    height: auto;
    padding: 28px 24px;
}


.reviews-slider .swiper-button-prev,
.reviews-slider .swiper-button-next {
    color: #fff;
    background: var(--accent, #D53646);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: opacity 0.2s;
}

.reviews-slider .swiper-button-prev:after,
.reviews-slider .swiper-button-next:after {
    font-size: 18px;
    font-weight: 700;
}

.reviews-slider .swiper-button-prev:hover,
.reviews-slider .swiper-button-next:hover {
    opacity: 0.85;
}


.section--reviews .section__footer {
    text-align: center;
    margin-top: 32px;
}

@media (max-width: 768px) {
    .reviews-slider {
        padding: 0 36px;
    }

    .reviews-slider .review-card.swiper-slide {
        padding: 20px 16px;
    }

    .reviews-slider .swiper-button-prev,
    .reviews-slider .swiper-button-next {
        width: 32px;
        height: 32px;
    }

    .reviews-slider .swiper-button-prev:after,
    .reviews-slider .swiper-button-next:after {
        font-size: 14px;
    }

    .section--reviews .section__footer {
        margin-top: 24px;
    }
}

/* ══════════════════════════════════════════════════════════
   СЕКЦИЯ «Полезные статьи» (home-articles)
   ══════════════════════════════════════════════════════════ */

.section--home-articles {
    padding: var(--sp-xl) 0;
}

.home-articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.home-article-card__link {
    display: block;
    position: relative;
    border-radius: 7px;
    overflow: hidden;
    text-decoration: none;
    aspect-ratio: 4 / 3;
}

.home-article-card__image {
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.home-article-card__image--placeholder {
    background: linear-gradient(135deg, #3B2E7A, #2B7094);
}

.home-article-card__link:hover .home-article-card__image {
    transform: scale(1.05);
}

.home-article-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}

.home-article-card__title {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — новые секции
   ══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .nav-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .home-promos-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .phone-cta__phone {
        font-size: 24px;
    }

    .phone-cta__text {
        font-size: 16px;
    }

    .phone-cta__messenger {
        padding: 10px 18px;
        font-size: 14px;
    }

    .nav-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .counters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .counter-item__number {
        font-size: 28px;
    }

    .home-articles-grid {
        grid-template-columns: 1fr;
    }

    .section__header {
        margin-bottom: 20px;
    }
}

.section--home-features {
    padding: 84px 0;
    background: #EDF3F8;
}

.section--home-features .section__title {
    max-width: 860px;
    margin: 0 auto 38px;
    text-align: center;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    font-weight: 800;
    color: #1F2937;
}

.section--home-features .section__subtitle {
    max-width: 860px;
    margin: 0 auto 38px;
    text-align: center;
    font-size: clamp(16px, 4vw, 24px);
    color: #1F2937;
}

.home-features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.home-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    min-height: 100%;
    border: 1px solid #E6ECF2;
    padding: 14px;
    transition: 0.3s;
    background: #FFFFFF;
    border: 1px solid #D9E3EC;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
    transition: 0.25s ease;
}

.home-feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 10px rgba(15, 23, 42, 0.10);
}

.home-feature-item__icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    color: #22C55E;
}

.home-feature-item__body {
    padding: 16px 14px 10px 4px;
    flex: 1 1 auto;
}

.home-feature-item__title {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
    color: #1F2937;
}

.home-feature-item__text,
.home-feature-item__body p,
.home-feature-item__text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #5B6B7C;
}

/* если текста нет */
.home-feature-item__text:empty {
    display: none;
}

@media (max-width: 991px) {
    .home-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .section--home-features {
        padding: 56px 0;
    }

    .home-feature-item {
        padding: 20px;
        gap: 14px;
    }

    .home-feature-item__icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        font-size: 18px;
    }

    .home-feature-item__title {
        font-size: 20px;
    }

    .home-feature-item__text,
    .home-feature-item__text p {
        font-size: 14px;
        line-height: 1.65;
    }
}