﻿/* ====== Fonts (подключишь файлы сам или через @import) ======
   font-family: 'Inter Tight';
   font-family: 'Rubik Mono One';
*/

@font-face {
    font-family: "Pershotravneva55";
    src: url("../assets/fonts/pershotravneva55-regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --c-text: #353535;
    --c-black: #222222;
    --c-green: #6FA979;
    --c-green-dark: #65976D;
    --c-purple: #8C70C3;
    --c-purple-2: #A88EDD;
    --c-bg: #FFFFFF;

    --shadow-green: inset 0 -5px 16px #8ED599, inset 0 4px 16px #8ED599;
    --shadow-green-card: inset -10px -20px 28px #A4CAAB, inset 10px 20px 28px #A4CAAB;
    --shadow-purple-card: inset -10px -20px 28px #CBB6F4, inset -10px 20px 28px #CBB6F4;

    --r-20: 20px;
    --r-35: 35px;
    --r-50: 50px;
    --r-60: 60px;

    --container: 1200px;
    /* адаптивный контейнер, “макетный” можно сделать 1440 */
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Inter Tight", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--c-text);
    background: var(--c-bg);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.policy-link {
    color: #2C73D5;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    cursor: pointer;
}

button {
    font: inherit;
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
}

.header__row {
    height: 86px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.logo__img {
    height: 58px;
    /* как в макете по ощущению */
    width: auto;
    display: block;
}

.logo__img--icon,
.logo__img--text {
    display: none;
}

.logo__text {
    font-family: "Rubik Mono One", system-ui, sans-serif;
    font-weight: 400;
    font-size: 21.47px;
    letter-spacing: -0.05em;
    color: #7CB60B;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: 40px;
    flex: 1;
}

.nav__link {
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--c-black);
    font-weight: 400;
}

.nav__link--active {
    color: var(--c-green-dark);
    font-weight: 700;
}

.nav__dropdown {
    position: relative;
}

.nav__link--btn {
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav__chev {
    width: 10px;
    height: 10px;
    border-right: 2px solid #C3C3C3;
    border-bottom: 2px solid #C3C3C3;
    transform: rotate(-45deg);
    margin-top: -2px;
}

.nav__link--btn.is-open .nav__chev {
    transform: rotate(45deg);
}

.nav__menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 220px;
    background: #fff;
    border: 1px solid #C3C3C3;
    border-radius: 15px;
    padding: 10px;
    display: none;
}

.nav__menu.is-open {
    display: grid;
    gap: 6px;
}

.nav__menu-item {
    padding: 10px 10px;
    border-radius: 10px;
}

.nav__menu-item:hover {
    background: #F4F6F7;
}

.nav__menu-item--active {
    color: var(--c-green-dark);
    font-weight: 700;
}

.nav__menu-divider {
    height: 1px;
    background: #EDEDED;
    margin: 2px 6px;
}

.burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 2px solid #73B531;
    border-radius: 50%;
    background: #fff;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
}

.burger span {
    width: 18px;
    height: 2px;
    background: #73B531;
    display: block;
}

/* ===== Buttons ===== */
.btn {
    border: 0;
    cursor: pointer;
    border-radius: var(--r-35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    letter-spacing: -0.03em;
    font-weight: 600;
}

.btn--small {
    border-radius: var(--r-20);
    padding: 12px 18px;
    font-size: 16px;
    line-height: 19px;
}

.btn--md {
    padding: 40px 60px;
    font-size: 18px;
    line-height: 22px;
    border-radius: var(--r-35);
}

.btn--lg {
    padding: 40px 60px;
    font-size: 24px;
    line-height: 24px;
    border-radius: var(--r-35);
}

.btn--solid {
    background: var(--c-green-dark);
    color: #fff;
}

.btn--grad-green {
    background: linear-gradient(90deg, #71A279 0%, #6DB178 100%);
    color: #fff;
    box-shadow: var(--shadow-green);
}

.btn--white {
    background: #fff;
    color: var(--c-green-dark);
}

.btn--text-dark {
    color: #3C3C3C;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    border-radius: 0 0 var(--r-60) var(--r-60);
    overflow: clip;
    min-height: clamp(520px, 52vw, 872px);
}









.hero__actions {
    margin-top: clamp(24px, 3vw, 40px);
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

/* ===== Sections ===== */
.section {
    padding: clamp(44px, 5vw, 90px) 0;
}

.section--spaced {
    padding-top: clamp(70px, 6vw, 100px);
}

.section__title {
    margin: 0 0 clamp(26px, 3vw, 50px);
    font-size: clamp(30px, 4vw, 64px);
    line-height: 1.2;
    text-align: center;
    letter-spacing: -0.03em;
    font-weight: 600;
}

/* ===== Cards “Кому подойдет” ===== */
.cards-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.card {
    position: relative;
    border-radius: var(--r-50);
    overflow: hidden;
    min-height: 380px;
    padding: clamp(22px, 2.5vw, 44px);
    display: grid;
    align-items: stretch;
}

.card--green {
    background: var(--c-green);
    box-shadow: var(--shadow-green-card);
}

.card--purple {
    background: var(--c-purple);
    box-shadow: var(--shadow-purple-card);
}

.card__body {
    position: relative;
    z-index: 2;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: flex-start;
}

.card__title {
    margin: 0;
    font-size: clamp(26px, 3vw, 48px);
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 600;
    color: #fff;
}

.card__text {
    margin: 14px 0 22px;
    font-size: clamp(16px, 1.6vw, 24px);
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 600;
    color: #fff;
    max-width: 320px;
}

.card__body .btn {
    margin-top: auto;
}

/* картинка в карточке — как декоративный слой */
.card__media {
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: min(360px, 48%);
    aspect-ratio: 1 / 1;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    pointer-events: none;
}

.card__media--kids {
    background-image: image-set(url("../assets/img/who-kids.webp") type("image/webp"),
            url("../assets/img/who-kids.png") type("image/png"));
    transform: rotate(-30deg);
}

.card__media--corp {
    background-image: image-set(url("../assets/img/who-corp.webp") type("image/webp"),
            url("../assets/img/who-corp.png") type("image/png"));
    transform: rotate(-15deg);
}

/* ===== Modal ===== */
.modal[hidden] {
    display: none;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
}

.modal__dialog {
    position: relative;
    width: min(560px, calc(100% - 32px));
    margin: 10vh auto;
    background: #fff;
    border-radius: 24px;
    padding: 22px;
}

.modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 0;
    background: #F1F3F4;
    border-radius: 12px;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.modal__title {
    margin: 0 0 16px;
    font-size: 22px;
}

.modal__text {
    margin: 0 0 18px;
    text-align: center;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: -0.03em;
}

.modal__dialog--success {
    width: min(862px, calc(100% - 64px));
    min-height: 483px;
    margin: 12vh auto;
    border-radius: 50px;
    padding: 80px 80px 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.modal__dialog--success .modal__title {
    margin: 0;
    font-size: 64px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #65976D;
}

.modal__dialog--success .modal__text {
    margin: 0;
    max-width: 528px;
    font-size: 24px;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: #353535;
}

.modal__dialog--success .btn {
    min-width: 297px;
    height: 102px;
    padding: 40px 60px;
    border-radius: 35px;
    font-size: 18px;
    line-height: 22px;
}

@media (max-width: 900px) {
    .modal__dialog--success {
        width: min(92vw, 560px);
        min-height: 0;
        margin: 10vh auto;
        padding: 48px 28px 44px;
        border-radius: 32px;
        gap: 18px;
    }

    .modal__dialog--success .modal__title {
        font-size: 32px;
    }

    .modal__dialog--success .modal__text {
        font-size: 16px;
        max-width: 100%;
    }

    .modal__dialog--success .btn {
        min-width: 220px;
        height: 64px;
        padding: 18px 32px;
        border-radius: 20px;
        font-size: 16px;
        line-height: 20px;
    }
}

.form {
    display: grid;
    gap: 12px;
}

.field {
    display: grid;
    gap: 6px;
    font-size: 14px;
}

.field input {
    height: 44px;
    border-radius: 12px;
    border: 1px solid #D7D7D7;
    padding: 0 12px;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .nav {
        display: none;
    }

    .burger {
        display: inline-flex;
    }

    .header__row {
        gap: 12px;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .cards-2 {
        grid-template-columns: 1fr;
    }

    .btn--small {
        display: none;
    }

    .logo__img--main {
        display: none;
    }

    .logo__img--icon,
    .logo__img--text {
        display: block;
    }

    .logo__img--icon {
        height: 44px;
    }

    .logo__img--text {
        height: 44px;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .header__row {
        height: 72px;
    }

    .logo__img {
        height: 44px;
    }
}

@media (max-width: 420px) {
    .container {
        width: min(100% - 20px, var(--container));
    }

    .btn--lg {
        padding: 18px 22px;
    }
}

@media (max-width: 480px) {
    .header__row {
        height: 60px;
        gap: 10px;
    }

    .logo__img {
        height: 34px;
    }

    .burger {
        width: 36px;
        height: 36px;
        gap: 4px;
    }

    .burger span {
        width: 16px;
        height: 2px;
    }
}

/* ===== Footer mobile (all pages) ===== */
@media (max-width: 480px) {
    .footer {
        margin-top: 0;
    }

    .footer__notch-wrap {
        padding: 88px 0 32px;
        border-radius: 40px 40px 0 0;
    }

    .footer__notch-wrap::before {
        display: block !important;
        width: 110px !important;
        height: 90px !important;
        top: -50px !important;
    }

    .footer__logo-float {
        top: -72px;
        width: 72px;
        height: 72px;
    }

    .footer__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        text-align: center;
    }

    .footer__top-row {
        display: contents;
    }

    .footer__center {
        order: 1;
    }

    .footer__phone {
        font-size: 28px;
        line-height: 34px;
    }

    .footer__caption {
        font-size: 14px;
        line-height: 17px;
    }

    .footer__divider {
        order: 2;
        margin-top: 0;
        width: 100%;
        grid-template-columns: 1fr auto 1fr;
        gap: 12px;
    }

    .footer__social {
        gap: 14px;
    }

    .footer__social-btn {
        width: 35px;
        height: 35px;
        border-radius: 7px;
    }

    .footer__social-btn svg {
        width: 22px;
        height: 22px;
    }

    .footer__cols {
        order: 3;
        margin-top: 0;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }

    .footer-col__title {
        font-size: 18px;
    }

    .footer-col a {
        font-size: 14px;
    }

    .footer__left {
        order: 4;
        margin-top: 0;
        font-size: 14px;
        line-height: 1.2;
        text-align: center;
    }

    .footer__right {
        order: 5;
        margin-top: 0;
        font-size: 14px;
        line-height: 1.2;
        text-align: center;
        text-decoration: underline;
    }
}

/* ===== Section soft background like макет (#EDF1F4) ===== */
.section--soft {
    background: #EDF1F4;
    border-radius: var(--r-60);
}

.section__lead {
    margin: 0 auto clamp(26px, 3vw, 50px);
    width: min(801px, 100%);
    text-align: center;
    font-size: clamp(16px, 1.6vw, 24px);
    line-height: 1.4;
    letter-spacing: -0.03em;
    font-weight: 500;
}

/* ===== 3 white cards (О нас) ===== */
.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.info-card {
    background: #fff;
    border-radius: var(--r-50);
    padding: 20px;
    display: grid;
    gap: 18px;
}

.info-card__img {
    border-radius: 30px;
    height: 250px;
    background: #E7ECEF;
    /* заглушка вместо картинки */
}

.info-card__img--food {
    background: #E7ECEF;
}

.info-card__img--safe {
    background: #E7ECEF;
}

.info-card__title {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 600;
    text-align: center;
    color: #353535;
}

.info-card:nth-child(1) .info-card__img {
    background: image-set(url("../assets/img/about-1.webp") type("image/webp"),
            url("../assets/img/about-1.png") type("image/png")) center / cover no-repeat;
}

.info-card:nth-child(2) .info-card__img {
    background: image-set(url("../assets/img/about-2.webp") type("image/webp"),
            url("../assets/img/about-2.jpg") type("image/jpeg")) center / cover no-repeat;
}

.info-card:nth-child(3) .info-card__img {
    background: image-set(url("../assets/img/about-3.webp") type("image/webp"),
            url("../assets/img/about-3.jpg") type("image/jpeg")) center / cover no-repeat;
}

/* ===== Benefits cards ===== */
.benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.bcard {
    border-radius: var(--r-50);
    padding: clamp(22px, 2.5vw, 36px);
    min-height: 520px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    color: #fff;
}

.bcard .btn {
    margin-top: auto;
    align-self: stretch;
    width: 100%;
}

.bcard--green {
    background: #6FA979;
    box-shadow: inset -9px -19px 28px #A4CAAB, inset 9px 19px 28.4px #A4CAAB;
}

.bcard--gold {
    background: #D2AB43;
    box-shadow: inset -10px -20px 28px #FFE3A4, inset 10px 20px 28px #FFE3A4;
}

.bcard--purple {
    background: #8C70C3;
    box-shadow: inset -9px -19px 28px #CBB6F4, inset 9px 19px 28.4px #CBB6F4;
}

.bcard__title {
    margin: 0;
    font-size: clamp(26px, 3vw, 48px);
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 600;
}

.bcard__list {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 12px;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 600;
}

/* ===== Slider ===== */
.slider {
    position: relative;
    display: grid;
    gap: 18px;
    align-items: center;
}

.slider__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    overflow: hidden;
    scroll-behavior: smooth;
    border-radius: 40px;
}



.slide__img {
    height: clamp(240px, 26vw, 430px);
    border-radius: 40px;
    background: #E7ECEF;
    /* заглушка */
}

.slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.slider__nav--prev {
    left: 12px;
}

.slider__nav--next {
    right: 12px;
}





.dot.is-active {
    width: 42px;
    background: var(--c-green-dark);
}

/* ===== FAQ ===== */
.faq {
    width: min(996px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq__item {
    border: 1px solid #C3C3C3;
    border-radius: 25px;
    background: #fff;
    overflow: hidden;
}

.faq__q {
    width: 100%;
    height: 89px;
    padding: 0 20px 0 24px;
    background: transparent;
    border: 0;
    cursor: pointer;

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

    font-size: 24px;
    line-height: 29px;
    letter-spacing: -0.03em;
    font-weight: 500;
    color: #353535;
}

.faq__icon {
    width: 26px;
    height: 26px;
    border: 3px solid #C3C3C3;
    border-left: 0;
    border-bottom: 0;
    transform: rotate(45deg);
    border-radius: 1px;
    margin-lefta: 0;
}

.faq__a {
    padding: 0 24px 18px;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 400;
    color: #353535;
    display: none;
}

.faq__item.is-open .faq__a {
    display: block;
}

.faq__item.is-open .faq__icon {
    transform: rotate(135deg);
}

/* ===== Mobile adaptations ===== */
@media (max-width: 980px) {
    .cards-3 {
        grid-template-columns: 1fr;
    }

    .benefits {
        grid-template-columns: 1fr;
    }

    .bcard {
        min-height: auto;
    }

    .bcard__list {
        font-size: 18px;
    }

    .faq__q {
        height: auto;
        padding: 18px 18px;
        gap: 14px;
        font-size: 18px;
        line-height: 1.2;
    }
}

/* ===== Mobile nav ===== */
.mnav[hidden] {
    display: none;
}

.mnav {
    position: fixed;
    inset: 0;
    z-index: 90;
}

.mnav__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .4);
}

.mnav__panel {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: min(360px, 100%);
    background: #fff;
    padding: 28px 20px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.mnav__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mnav__title {
    font-weight: 600;
}

.mnav__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: #F1F3F4;
    cursor: pointer;
    font-size: 20px;
    display: none;
}

.mnav__logo img {
    width: 88px;
    height: auto;
    display: block;
    margin: 6px auto 2px;
}

.mnav__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.mnav__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 8px 0 18px;
}

.mnav__link {
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: -0.03em;
    color: #353535;
}

.mnav__subpanel {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin: 8px 0 18px;
}

.mnav__back {
    border: 0;
    background: transparent;
    color: #65976D;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.03em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.mnav__back::before {
    content: "";
    width: 8px;
    height: 8px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    display: inline-block;
    margin-top: -2px;
}

.mnav.is-sub .mnav__list {
    display: none;
}

.mnav.is-sub .mnav__subpanel {
    display: flex;
}

.mnav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(260px, 100%);
    height: 78px;
    border-radius: 25px;
    background: #65976D;
    color: #fff;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.mnav__phone {
    margin-top: 8px;
    font-size: 24px;
    font-weight: 600;
    color: #65976D;
    letter-spacing: -0.03em;
}

.mnav__caption {
    font-size: 12px;
    color: #353535;
    letter-spacing: -0.03em;
}

.mnav__foot {
    margin-top: auto;
    font-size: 14px;
    color: #353535;
    letter-spacing: -0.03em;
}

/* ===== Footer mobile force (override 900px rules) ===== */
@media (max-width: 480px) {
    .footer__notch-wrap {
        padding: 88px 0 32px !important;
        border-radius: 40px 40px 0 0 !important;
    }

    .footer__notch-wrap::before {
        display: block !important;
        width: 170px !important;
        height: 170px !important;
        top: -100px !important;
        background: #FFFFFF !important;
    }

    .footer__logo-float {
        top: -72px !important;
        width: 72px !important;
        height: 72px !important;
    }

    .footer__content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 18px !important;
        text-align: center !important;
    }

    .footer__top-row {
        display: contents !important;
    }

    .footer__center {
        order: 1 !important;
    }

    .footer__divider {
        order: 2 !important;
        width: 100% !important;
        margin-top: 0 !important;
    }

    .footer__cols {
        order: 3 !important;
        width: 100% !important;
        margin-top: 0 !important;
    }

    .footer__left {
        order: 4 !important;
        margin-top: 0 !important;
        text-align: center !important;
    }

    .footer__right {
        order: 5 !important;
        margin-top: 0 !important;
        text-align: center !important;
        text-decoration: underline !important;
    }

    .footer__phone {
        font-size: 28px !important;
        line-height: 34px !important;
    }

    .footer__caption {
        font-size: 14px !important;
        line-height: 17px !important;
    }

    .footer__divider {
        grid-template-columns: 1fr auto 1fr !important;
        gap: 12px !important;
    }

    .footer__social {
        gap: 14px !important;
    }

    .footer__social-btn {
        width: 35px !important;
        height: 35px !important;
        border-radius: 7px !important;
    }

    .footer__social-btn svg {
        width: 22px !important;
        height: 22px !important;
    }

    .footer__cols {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .footer-col__title {
        font-size: 18px !important;
    }

    .footer-col a {
        font-size: 14px !important;
    }
}

/* Keep notch between desktop and mobile */
@media (max-width: 900px) {
    .footer__notch-wrap::before {
        display: block !important;
        width: 195px !important;
        height: 195px !important;
        top: -103px !important
    }

    .footer__logo-float {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

/* ===== Conditions (6 cards) ===== */
.cond-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.cond-card {
    background: #fff;
    border-radius: var(--r-50);
    padding: 20px;
    display: grid;
    gap: 14px;
    min-height: 590px;
    /* как в макете */
}

.cond-card__img {
    height: 250px;
    /* как в макете */
    border-radius: 30px;
    background: #E7ECEF;
    /* заглушка вместо фото */
}

/* отдельные модификаторы оставил на будущее под разные картинки */
.cond-card__img--food {}

.cond-card__img--safe {}

.cond-card__img--program {}

.cond-card__img--docs {}

.cond-card__img--log {}

.cond-card__title {
    margin: 0;
    text-align: center;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 600;
    color: #525252;
}

.cond-card__text {
    margin: 0;
    text-align: center;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: -0.03em;
    font-weight: 400;
    color: #525252;
}

/* responsive */
@media (max-width: 1100px) {
    .cond-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cond-card {
        min-height: auto;
    }
}



/* ===== CTA (Оставьте заявку) ===== */
.cta {
    position: relative;
    border-radius: var(--r-60);
    padding: clamp(40px, 5vw, 80px) 20px;
    min-height: 718px;
    background:
        linear-gradient(0deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)),
        image-set(url("../assets/img/cta-bg.webp") type("image/webp"),
            url("../assets/img/cta-bg.jpg") type("image/jpeg")) center / cover no-repeat;


    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;

    text-align: center;
    color: #fff;
}

.cta__title {
    margin: 0;
    max-width: 900px;
    font-size: clamp(32px, 4vw, 64px);
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 600;
}

.cta__text {
    margin: 0;
    max-width: 600px;
    font-size: clamp(18px, 2.2vw, 32px);
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 600;
}

.cta__actions {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* фиолетовая кнопка как в макете */
.btn--grad-purple {
    background: linear-gradient(90deg, #8C70C3 0%, #A88EDD 100%);
    color: #fff;
    box-shadow: inset 0px -5px 16px #CBB6F4, inset 0px 4px 16px #CBB6F4;
}

@media (max-width: 640px) {
    .cta {
        min-height: auto;
        padding: 40px 16px;
    }

    .cta__actions .btn {
        width: 100%;
    }
}

.footer {
    background: transparent;
    padding: 0;
    margin-top: 60px;
    /* при необходимости можешь дать отступ от блока выше */
}

/* Серый блок футера со скруглёнными верхними углами */
.footer__notch-wrap {
    position: relative;
    background: #EDF1F4;
    padding: 92px 0 60px;
    /* сверху место под выемку/лого */
    border-radius: 60px 60px 0 0;
    /* скруглённые верхние края */
    overflow: visible;
    position: relative;
}

/* Полукруглая выемка сверху по центру */
.footer__notch-wrap::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    width: 220px;
    height: 220px;
    top: -130px;

    background: #FFFFFF;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}


/* Лого отдельно от футера: выше блока и накладывается на секцию выше */
.footer__logo-float {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    top: -68px;
    /* насколько лого "вылезает" вверх */
    width: 126px;
    height: 124px;

    display: grid;
    place-items: center;

    z-index: 5;
    pointer-events: none;
}

.footer__logo-float img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент футера поверх фона, но ниже лого */
.footer__content {
    position: relative;
    z-index: 2;
}

/* Верхняя строка: слева / центр / справа */
.footer__top-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    gap: 20px;
    padding-top: 10px;
}

.footer__left,
.footer__right {
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #353535;
    margin-top: 18px;
}

.footer__left {
    text-align: left;
}

.footer__right {
    text-align: right;
    text-decoration: underline;
}

.footer__center {
    text-align: center;
}

.footer__phone {
    display: inline-block;
    font-weight: 500;
    font-size: 64px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #65976D;
}

.footer__caption {
    margin-top: 8px;
    font-size: 24px;
    line-height: 29px;
    letter-spacing: -0.03em;
    color: #353535;
}

/* Дивидер: линия — соц. иконки — линия (как в макете) */
.footer__divider {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.footer__line {
    height: 1px;
    background: #C3C3C3;
    display: block;
}

/* Социконки по центру дивидера */
.footer__social {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.footer__social-btn {
    width: 47px;
    height: 47px;
    border-radius: 10px;
    background: #FFFFFF;
    display: grid;
    place-items: center;
}

.footer__social-btn svg {
    width: 30px;
    height: 30px;
    fill: #65976D;
}

/* Колонки */
.footer__cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 60px;
    margin-top: 34px;
}

.footer-col {
    display: grid;
    gap: 10px;
    text-align: center;
}

.footer-col__title {
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 400;
    color: #000;
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #353535;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .footer__phone {
        font-size: 48px;
    }

    .footer__cols {
        gap: 30px;
    }
}

/* На мобилках упрощаем выемку (иначе может выглядеть тесно) */
@media (max-width: 900px) {
    .footer__notch-wrap {
        padding-top: 90px;
        border-radius: 40px 40px 0 0;
    }

    .footer__notch-wrap::before {
        display: none;
    }

    .footer__logo-float {
        position: static;
        transform: none;
        margin: 0 auto 14px;
        pointer-events: auto;
    }

    .footer__top-row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__left,
    .footer__right {
        text-align: center;
        margin-top: 0;
    }

    .footer__divider {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .footer__cols {
        grid-template-columns: 1fr;
        gap: 26px;
    }
}

@media (max-width: 520px) {
    .footer__phone {
        font-size: 34px;
    }

    .footer__caption {
        font-size: 18px;
    }
}

/* ===== Corporate FAQ ===== */
.corp-faq {
    padding: clamp(44px, 5vw, 90px) 0;
}

.corp-faq__title {
    margin: 0 0 clamp(20px, 3vw, 36px);
    font-size: clamp(30px, 4vw, 64px);
    line-height: 1.2;
    text-align: center;
    letter-spacing: -0.03em;
    font-weight: 600;
    color: #353535;
}

.corp-faq .faq {
    width: min(996px, 100%);
    margin: 0 auto;
}

.corp-faq .faq__item {
    background: #fff;
    border-radius: 25px;
    border-color: #C3C3C3;
}

.corp-faq .faq__q {
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.2;
}

.corp-faq .faq__a {
    font-size: clamp(16px, 1.6vw, 18px);
    line-height: 1.4;
}

/* ===== Corporate hero ===== */
.corp-hero {
    position: relative;
    border-radius: 0 0 var(--r-60) var(--r-60);
    overflow: clip;
    min-height: clamp(520px, 52vw, 872px);
}

.corp-hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0) 54%, rgba(0, 0, 0, 0.63) 100%),
        image-set(url("../assets/img/heroCorp.webp") type("image/webp"),
            url("../assets/img/heroCorp.jpg") type("image/jpeg")) center / cover no-repeat;
    border-radius: 0 0 60px 60px;
}

.corp-hero__content {
    position: relative;
    padding: clamp(60px, 6vw, 155px) 0 clamp(40px, 5vw, 94px);
    color: #fff;
    display: grid;
    gap: clamp(18px, 3vw, 40px);
}

.corp-hero__text {
    max-width: 620px;
}

.corp-hero__title {
    margin: 0;
    font-size: clamp(34px, 4vw, 64px);
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 600;
}

.corp-hero__subtitle {
    margin: 16px 0 0;
    font-size: clamp(18px, 2.2vw, 32px);
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 600;
    max-width: 420px;
}

.corp-hero__cta {
    margin-top: 26px;
}

.corp-hero__features {
    display: flex;
    gap: 0;
}

.corp-hero__feature {
    flex: 1 1 0;
    display: grid;
    justify-items: center;
    gap: 8px;
    text-align: center;
    font-size: clamp(14px, 1.4vw, 24px);
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 600;
    padding: 0 16px;
}

.corp-hero__feature:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.7);
}

.corp-hero__icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-block;
}

@media (max-width: 980px) {
    .corp-hero__features {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }

    .corp-hero__feature {
        flex: 0 1 calc(50% - 16px);
        border-right: 0;
    }
}

@media (max-width: 640px) {
    .corp-hero__features {
        flex-direction: column;
    }

    .corp-hero__cta {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .corp-hero {
        min-height: 579px;
        border-radius: 0 0 40px 40px;
    }

    .corp-hero__bg {
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0) 17.27%, rgba(0, 0, 0, 0.8) 100%),
            image-set(url("../assets/img/heroCorp.webp") type("image/webp"),
                url("../assets/img/heroCorp.jpg") type("image/jpeg")) center / cover no-repeat;
        border-radius: 0 0 40px 40px;
    }

    .corp-hero__content {
        padding: 172px 26px 28px;
        gap: 18px;
    }

    .corp-hero__text {
        max-width: 245px;
    }

    .corp-hero__title {
        font-size: 24px;
        line-height: 1.2;
    }

    .corp-hero__subtitle {
        margin-top: 12px;
        font-size: 16px;
        line-height: 1.2;
        max-width: 196px;
    }

    .corp-hero__features {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 26px;
    }

    .corp-hero__feature {
        display: grid;
        grid-template-columns: 15px 1fr;
        align-items: center;
        justify-items: start;
        gap: 10px;
        text-align: left;
        padding: 0;
        font-size: 14px;
        line-height: 1.2;
        border-right: 0;
    }

    .corp-hero__feature:not(:last-child) {
        border-right: 0;
    }

    .corp-hero__icon {
        width: 15px;
        height: 15px;
        border-radius: 0;
    }

    .corp-hero__icon svg {
        width: 15px;
        height: 15px;
        display: block;
    }

    .corp-hero__cta {
        margin-top: 14px;
        width: 268px;
        height: 66px;
        padding: 24px 36px;
        font-size: 14px;
        line-height: 17px;
        border-radius: 21px;
        align-self: center;
    }
}

/* ===== Corporate benefits ===== */
.corp-benefits {
    padding: clamp(44px, 5vw, 90px) 0;
}

.corp-benefits__title {
    margin: 0 0 18px;
    font-size: clamp(30px, 4vw, 64px);
    line-height: 1.2;
    text-align: center;
    letter-spacing: -0.03em;
    font-weight: 600;
    color: #353535;
    position: relative;
}

.corp-benefits__title-word {
    position: relative;
    display: inline-block;
}

.corp-benefits__title-svg {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    width: clamp(240px, 50vw, 486px);
    height: auto;
    z-index: -1;
    pointer-events: none;
}

.corp-benefits__lead {
    margin: 0 auto clamp(24px, 3vw, 40px);
    max-width: 880px;
    text-align: center;
    font-size: clamp(16px, 1.6vw, 24px);
    line-height: 1.4;
    letter-spacing: -0.03em;
    font-weight: 400;
    color: #353535;
}

.corp-benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.corp-benefit-card {
    background: #EDF1F4;
    border-radius: 25px;
    padding: 14px;
    display: grid;
    gap: 12px;
    text-align: center;
}

.corp-benefit-card.is-accent {
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.corp-benefit-card__img {
    border-radius: 12px;
    height: 185px;
    background: #E7ECEF;
    background-size: cover;
    background-position: center;
}

.corp-benefit-card__img--infra {
    background-image: image-set(url("../assets/img/format-1.webp") type("image/webp"),
            url("../assets/img/format-1.png") type("image/png"));
}

.corp-benefit-card__img--flex {
    background-image: image-set(url("../assets/img/format-2.webp") type("image/webp"),
            url("../assets/img/format-2.jpg") type("image/jpeg"));
}

.corp-benefit-card__img--control {
    background-image: image-set(url("../assets/img/format-3.webp") type("image/webp"),
            url("../assets/img/format-3.jpg") type("image/jpeg"));
}

.corp-benefit-card__img--clear {
    background-image: image-set(url("../assets/img/format-4.webp") type("image/webp"),
            url("../assets/img/format-4.jpg") type("image/jpeg"));
}

.corp-benefit-card h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 600;
    color: #353535;
}

.corp-benefit-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #353535;
    max-width: 210px;
    margin-inline: auto;
}

@media (max-width: 1100px) {
    .corp-benefits__grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(220px, 78%);
        overflow-x: auto;
        gap: 16px;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-padding: 10px;
    }

    .corp-benefits__grid::-webkit-scrollbar {
        height: 6px;
    }

    .corp-benefits__grid::-webkit-scrollbar-track {
        background: #E9E9E9;
        border-radius: 40px;
    }

    .corp-benefits__grid::-webkit-scrollbar-thumb {
        background: #65976D;
        border-radius: 40px;
    }

    .corp-benefit-card {
        scroll-snap-align: start;
        min-width: 220px;
    }
}

@media (max-width: 640px) {
    .corp-benefits__grid {
        grid-auto-columns: minmax(220px, 90%);
        padding-bottom: 12px;
    }
}

/* ===== Corporate steps ===== */
.corp-steps {
    padding: clamp(44px, 5vw, 90px) 0;
}

.corp-steps__panel {
    background: #EDF1F4;
    border-radius: 60px;
    padding: clamp(32px, 4vw, 60px);
    position: relative;
}

.corp-steps__title {
    margin: 0 0 clamp(24px, 3vw, 40px);
    font-size: clamp(30px, 4vw, 64px);
    line-height: 1.2;
    text-align: center;
    letter-spacing: -0.03em;
    font-weight: 600;
    color: #353535;
}

.corp-steps__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 28px);
    position: relative;
    min-height: 340px;
}

.corp-step {
    position: relative;
    display: grid;
    place-items: center;
}

.corp-step__num {
    position: absolute;
    width: 134px;
    height: 270px;
    font-family: "Pershotravneva55", sans-serif;
    src: url("../assets/fonts/pershotravneva55-regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-size: 160px;
    line-height: 120%;
    text-align: center;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    opacity: 0.9;
    z-index: 1;
}

.corp-step__card {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 25px;
    min-height: 120px;
    padding: 18px 18px;
    display: grid;
    grid-template-columns: 70px 1px 1fr;
    gap: 16px;
    align-items: center;
    box-shadow: 0 9px 20px rgba(0, 0, 0, 0.08);
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #353535;
}

.corp-steps__arrow {
    position: absolute;
    z-index: 1;
    display: block;
    height: auto;
    pointer-events: none;
    user-select: none;
}

.corp-steps__arrow--1 {
    top: 210px;
    left: 73%;
    transform: translateX(-50%);
}

.corp-steps__arrow--2 {
    top: 55px;
    left: 70%;
    width: 158px;
}

.corp-steps__arrow--3 {
    top: 83px;
    left: calc(100% - 4px);
}

.corp-step--1 .corp-step__card {
    margin-top: -103px;
}

.corp-step--2 .corp-step__card {
    margin-top: 110px;
}

.corp-step--3 .corp-step__card {
    margin-top: 10px;
}

.corp-step--4 .corp-step__card {
    margin-top: 181px;
}

.corp-step__num--1 {
    top: -80px;
}

.corp-step__num--2 {
    top: 20px;
}

.corp-step__num--3 {
    top: -30px;
    transform: rotate(33.34deg);
}

.corp-step__num--4 {
    top: 63px;
    transform: rotate(22.77deg);
}

.corp-step__icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #353535;
}

.corp-step__divider {
    width: 1px;
    height: 42px;
    background: #BCBCBC;
    justify-self: center;
}

.corp-step__icon--blue {
    color: #2790C4;
}

.corp-step__icon--green {
    color: #6FA979;
}

.corp-step__icon--rose {
    color: #E05F5F;
}

.corp-step__icon--gold {
    color: #EEBE55;
}

.corp-step__icon svg {
    width: 70px;
    height: 70px;
    display: block;
}

@media (max-width: 1100px) {
    .corp-steps__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .corp-step__num {
        display: none;
    }

    .corp-steps__arrow {
        display: none;
    }

    .corp-step--2 .corp-step__card,
    .corp-step--3 .corp-step__card,
    .corp-step--4 .corp-step__card {
        margin-top: 0;
    }
}

@media (max-width: 640px) {
    .corp-steps__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .corp-steps__panel {
        border-radius: 40px;
        padding: 24px 16px 32px;
    }

    .corp-steps__title {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .corp-steps__grid {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: 560px;
    }

    .corp-step {
        place-items: start;
    }

    .corp-step__num {
        display: block;
        width: 74px;
        height: 161px;
        font-size: 134px;
        opacity: 1;
    }

    .corp-step__card {
        width: 200px;
        min-height: 94px;
        padding: 12px 14px;
        grid-template-columns: 34px 1px 1fr;
        gap: 10px;
        border-radius: 25px;
        box-shadow: none;
        font-size: 16px;
        line-height: 1.2;
    }

    .corp-step__icon {
        width: 40px;
        height: 40px;
    }

    .corp-step__icon svg {
        width: 40px;
        height: 40px;
    }

    .corp-step__divider {
        height: 36px;
    }

    .corp-step--1 .corp-step__card {
        margin-top: 90px;
        margin-left: 0;
        margin-right: auto;
        justify-self: start;
    }

    .corp-step--2 .corp-step__card {
        margin-top: 18px;
        margin-left: auto;
        margin-right: 0;
        justify-self: end;
        width: 200px;
    }

    .corp-step--3 .corp-step__card {
        margin-top: 18px;
        margin-left: 0;
        margin-right: auto;
        justify-self: start;
        width: 209px;
    }

    .corp-step--4 .corp-step__card {
        margin-top: 22px;
        margin-left: auto;
        margin-right: 0;
        justify-self: end;
        width: 232px;
    }

    .corp-step__num--1 {
        top: -30px;
        left: 8px;
    }

    .corp-step__num--2 {
        top: -106px;
        right: 16px;
        transform: rotate(30deg);
    }

    .corp-step__num--3 {
        top: -107px;
        left: 24px;
        transform: none;
    }

    .corp-step__num--4 {
        top: -92px;
        right: 18px;
        transform: rotate(15deg);
    }

    .corp-steps__arrow {
        display: block;
    }

    .corp-steps__arrow--1 {
        width: 80px;
        top: 58px;
        left: 65%;
        transform: translateX(-50%) rotate(68deg);
    }

    .corp-steps__arrow--2 {
        width: 70px;
        top: 130px;
        left: 69%;
        transform: rotate(149deg);
    }

    .corp-steps__arrow--3 {
        width: 70px;
        top: 148px;
        left: 0%;
    }
}

/* ===== Corporate booking ===== */
.corp-booking {
    padding: clamp(44px, 5vw, 90px) 0;
}

.corp-booking__panel {
    background: #EDF1F4;
    border-radius: 60px;
    padding: clamp(32px, 4vw, 60px);
    display: grid;
    gap: clamp(24px, 4vw, 60px);
}

.corp-booking__panel {
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    align-items: start;
}

.corp-booking__title {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 64px);
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 600;
    color: #353535;
}

.corp-booking__text,
.corp-booking__note {
    margin: 0 0 12px;
    font-size: clamp(16px, 1.6vw, 24px);
    line-height: 1.4;
    letter-spacing: -0.03em;
    color: #353535;
}

.corp-booking__list {
    margin: 0 0 16px 18px;
    padding: 0;
    display: grid;
    gap: 6px;
    font-size: clamp(16px, 1.6vw, 24px);
    line-height: 1.4;
    letter-spacing: -0.03em;
    color: #353535;
}

.corp-booking__form-wrap {
    position: relative;
    display: grid;
    gap: 16px;
}

.corp-booking__form {
    background: #fff;
    border-radius: 35px;
    padding: clamp(20px, 3vw, 32px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.corp-booking__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    grid-column: 1 / -1;
}

.corp-field {
    display: grid;
    gap: 8px;
    font-size: 14px;
    letter-spacing: -0.03em;
    color: #4D4D4D;
}

.corp-field input,
.corp-field textarea {
    height: 44px;
    border-radius: 15px;
    border: 1px solid #E4E4E4;
    padding: 0 12px;
    font: inherit;
    color: #353535;
    background: #fff;
}

.corp-field textarea {
    height: 140px;
    padding: 10px 12px;
    resize: none;
}

.corp-field.is-error input,
.corp-field.is-error textarea {
    border-color: #E05F5F;
}

.corp-check.is-error .field-error,
.corp-field .field-error {
    display: block;
    font-size: 12px;
    line-height: 1.2;
    color: #E05F5F;
}

.corp-field--full {
    grid-column: 1 / -1;
}

.corp-booking__actions {
    grid-column: 2 / 3;
    display: grid;
    gap: 10px;
    align-self: start;
}

.corp-field--comment {
    grid-column: 1 / 2;
    align-self: start;
}

.corp-booking__submit {
    height: 62px;
    border-radius: 35px;
    background: #65976D;
    color: #fff;
    border: 0;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.03em;
    cursor: pointer;
    width: min(260px, 100%);
}

.corp-check {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 8px;
    align-items: start;
    font-size: 12px;
    line-height: 1.4;
    color: #1F1F1F;
}

.corp-check input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #2C73D5;
}

.corp-check .field-error {
    grid-column: 1 / -1;
}

.corp-booking__calendar {
    position: absolute;
    right: -180px;
    top: 80px;
    width: 280px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #E5E5E5;
    padding: 18px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    display: none;
}

.corp-booking__calendar.is-open {
    display: block;
}

.corp-calendar__title {
    font-size: 18px;
    font-weight: 500;
    text-align: center;
}

.corp-calendar__head {
    display: grid;
    grid-template-columns: 24px 1fr 24px;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.corp-cal__nav {
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.corp-cal__nav::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(135deg);
}

.corp-cal__nav--next::before {
    transform: rotate(-45deg);
}

.corp-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    font-size: 12px;
    text-align: center;
    color: #666;
}

.corp-cal__day {
    border: 0;
    background: transparent;
    padding: 4px 0;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.corp-cal__day.is-muted {
    color: #C3C3C3;
}

.corp-cal__day.is-in-range,
.corp-cal__day.is-start,
.corp-cal__day.is-end {
    background: #65976D;
    color: #fff;
    border-radius: 8px;
}


@media (max-width: 1100px) {
    .corp-booking__panel {
        grid-template-columns: 1fr;
    }

    .corp-booking__actions {
        grid-column: 1 / -1;
    }

    .corp-field--comment {
        grid-column: 1 / -1;
    }

    .corp-booking__calendar {
        position: static;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .corp-booking__form {
        grid-template-columns: 1fr;
    }

    .corp-booking__fields {
        grid-template-columns: 1fr;
    }
}




.bcard__list--icons {
    list-style: none;
    padding-left: 0;
}

.bcard__list--icons li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 12px;
    align-items: start;
}



.ico svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.cond-card:nth-child(1) .cond-card__img {
    background: image-set(url("../assets/img/cond-1.webp") type("image/webp"),
            url("../assets/img/cond-1.png") type("image/png")) center / cover no-repeat;
}

.cond-card:nth-child(2) .cond-card__img {
    background: image-set(url("../assets/img/cond-2.webp") type("image/webp"),
            url("../assets/img/cond-2.jpg") type("image/jpeg")) center / cover no-repeat;
}

.cond-card:nth-child(3) .cond-card__img {
    background: image-set(url("../assets/img/cond-3.webp") type("image/webp"),
            url("../assets/img/cond-3.jpg") type("image/jpeg")) center / cover no-repeat;
}

.cond-card:nth-child(4) .cond-card__img {
    background: image-set(url("../assets/img/cond-4.webp") type("image/webp"),
            url("../assets/img/cond-4.png") type("image/png")) center / cover no-repeat;
}

.cond-card:nth-child(5) .cond-card__img {
    background: image-set(url("../assets/img/cond-5.webp") type("image/webp"),
            url("../assets/img/cond-5.png") type("image/png")) center / cover no-repeat;
}

.cond-card:nth-child(6) .cond-card__img {
    background: image-set(url("../assets/img/cond-6.webp") type("image/webp"),
            url("../assets/img/cond-6.png") type("image/png")) center / cover no-repeat;
}

/* ===== Gallery slider (как в макете) ===== */
.gallery {
    position: relative;
    --gallery-main: 560px;
}

.gallery__wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--gallery-main)) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
}

.gallery__frame {
    border-radius: 40px;
    overflow: hidden;
    position: relative;
}

.gallery__frame--main {
    height: 430px;
    /* макет: 640x430 */
}

.gallery__frame--left,
.gallery__frame--right {
    height: 358px;
    /* макет: 532x358 */
}

.gallery__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* затемнение боковых картинок как в макете */
.gallery__frame--left::after,
.gallery__frame--right::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .2);
}

.gallery {
    position: relative;
}

.gallery__wrap {
    position: relative;
    z-index: 1;
}

/* стрелки поверх всего */
.gallery__arrow {
    z-index: 10;
}

.gallery__frame {
    position: relative;
    z-index: 1;
}

.gallery__frame::after {
    pointer-events: none;
    /* чтобы оверлей не перехватывал клики */
}


/* стрелки в белых кружках */
.gallery__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);

    display: grid;
    place-items: center;

    color: #C3C3C3;
    /* цвет стрелки */
}

.gallery__arrow--prev {
    left: calc((100% - var(--gallery-main)) / 4);
    transform: translate(-50%, -50%);
}

.gallery__arrow--next {
    right: calc((100% - var(--gallery-main)) / 4);
    transform: translate(50%, -50%);
}

.gallery__arrow svg {
    width: 22px;
    height: 22px;
    display: block;
}

.gallery__arrow--next svg {
    transform: rotate(180deg);
}


/* точки */
.gallery__dots {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.gallery__dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 42px;
    background: #C3C3C3;
    cursor: pointer;
}

.gallery__dot.is-active {
    width: 42px;
    background: var(--c-green-dark);
}

/* адаптив */
@media (max-width: 1100px) {
    .gallery__wrap {
        grid-template-columns: minmax(0, 1fr);
    }

    .gallery__frame--left,
    .gallery__frame--right {
        display: none;
    }

    .gallery__frame--main {
        height: clamp(240px, 50vw, 430px);
    }

    .gallery__arrow--prev {
        left: 12px;
        transform: translateY(-50%);
    }

    .gallery__arrow--next {
        right: 12px;
        transform: translateY(-50%);
    }
}

.section__title--ring {
    position: relative;
}

.section__title--ring .section__title-text {
    position: relative;
    z-index: 1;
}

.section__title--ring .section__title-ring {
    position: absolute;
    left: 47%;
    top: 59%;
    width: clamp(220px, 30vw, 365px);
    height: clamp(100px, 16vw, 165px);
    transform: translate(-35%, -60%) rotate(-2deg);
    z-index: 0;
    pointer-events: none;
}

.section__title--ring .section__title-ring svg {
    width: 100%;
    height: 100%;
    display: block;
}

.section__title--ring-faq .section__title-ring {
    width: clamp(200px, 24vw, 315px);
    height: clamp(80px, 12vw, 117px);
    left: 40%;
    top: 81%;
    transform: translate(-10%, -50%) rotate(-2deg);
}

.section__title--ring-faq .section__title-word {
    display: inline-block;
    position: relative;
    z-index: 1;
}

/* Footer mobile final override to beat 900px */
@media (max-width: 480px) {
    .footer__notch-wrap {
        padding: 88px 0 32px !important;
        border-radius: 40px 40px 0 0 !important;
    }

    .footer__notch-wrap::before {
        display: block !important;
        width: 110px !important;
        height: 90px !important;
        top: -50px !important;
    }

    .footer__logo-float {
        top: -72px !important;
        width: 72px !important;
        height: 72px !important;
    }

    .footer__content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 18px !important;
        text-align: center !important;
    }

    .footer__top-row {
        display: contents !important;
    }

    .footer__center {
        order: 1 !important;
    }

    .footer__divider {
        order: 2 !important;
        width: 100% !important;
        margin-top: 0 !important;
        grid-template-columns: 1fr auto 1fr !important;
        gap: 12px !important;
    }

    .footer__cols {
        order: 3 !important;
        width: 100% !important;
        margin-top: 0 !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .footer__left {
        order: 4 !important;
        margin-top: 0 !important;
        text-align: center !important;
    }

    .footer__right {
        order: 5 !important;
        margin-top: 0 !important;
        text-align: center !important;
        text-decoration: underline !important;
    }

    .footer__phone {
        font-size: 28px !important;
        line-height: 34px !important;
    }

    .footer__caption {
        font-size: 14px !important;
        line-height: 17px !important;
    }

    .footer__social {
        gap: 14px !important;
    }

    .footer__social-btn {
        width: 35px !important;
        height: 35px !important;
        border-radius: 7px !important;
    }

    .footer__social-btn svg {
        width: 22px !important;
        height: 22px !important;
    }

    .footer-col__title {
        font-size: 18px !important;
    }

    .footer-col a {
        font-size: 14px !important;
    }
}