

/* Start:/local/templates/goodness-pantry-v2/fonts/fonts.css?17908481511485*/
/* Onest is distributed under SIL OFL 1.1; see OFL-onest.txt. */
@font-face {
    font-family: 'Onest';
    src: url('/local/templates/goodness-pantry-v2/fonts/onest-variable.ttf') format('truetype');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}
@font-face {
    font-family: 'Onest';
    src: url('/local/templates/goodness-pantry-v2/fonts/onest-cyrillic-ext.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
    font-family: 'Onest';
    src: url('/local/templates/goodness-pantry-v2/fonts/onest-cyrillic.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Onest';
    src: url('/local/templates/goodness-pantry-v2/fonts/onest-latin-ext.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Onest';
    src: url('/local/templates/goodness-pantry-v2/fonts/onest-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* End */


/* Start:/local/templates/goodness-pantry-v2/css/reset.css?1776552281662*/
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-width: 360px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img, video, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

ul, ol {
    list-style: none;
}

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

button {
    cursor: pointer;
    background: none;
    border: none;
}

table {
    border-collapse: collapse;
}

/* End */


/* Start:/local/templates/goodness-pantry-v2/css/tokens.css?17908481501649*/
:root {
    /* Ширина */
    --width-content:    1240px;
    --width-bg:         1440px;
    --width-min:        360px;

    /* Отступы контейнера */
    --gutter:           20px;
    --gutter-md:        40px;
    --gutter-lg:        80px;

    /* Брейкпоинты (для справки — использовать в @media) */
    /* sm: 620px | md: 925px | lg: 1240px */

    /* Шрифт */
    --font-base:        'Onest', sans-serif;
    --font-size-base:   16px;
    --line-height-base: 1.5;

    /* Цвета */
    --color-primary:        #0055a9;
    --color-primary-dark:   #004283;
    --color-accent:         #e20000;
    --color-accent-dark:    #cd0000;
    --color-bg:             #ffffff;
    --color-text:           #1a1a1a;
    --color-muted:          #6b7280;
    --color-border:         #e5e7eb;

    /* Отступы */
    --space-1:  4px;
    --space-2:  8px;
    --space-3:  12px;
    --space-4:  16px;
    --space-5:  20px;
    --space-6:  24px;
    --space-8:  32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;

    /* Радиус */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Тени */
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,.10);
    --shadow-lg: 0 8px 32px rgba(0,0,0,.12);

    /* Переходы */
    --transition: 0.2s ease;

    /* Повторяющиеся значения компонентов */
    --color-header-bg: #ebf5ff;
    --shadow-card:     0 0 6.3px 3px rgba(85, 85, 85, 0.16);
    --color-muted-btn: #8c8c8c;
}

/* End */


/* Start:/local/templates/goodness-pantry-v2/css/framework.css?17837227764499*/
/* =========================================================
   Контейнеры
   ========================================================= */

.container {
    width: 100%;
    max-width: var(--width-content);
    margin-inline: auto;
}

/* Фоновый блок на всю ширину с центрированным содержимым */
.container-bg {
    width: 100%;
    max-width: var(--width-bg);
    margin-inline: auto;
}

/* =========================================================
   Сетка
   ========================================================= */

.grid {
    display: grid;
    gap: var(--gutter);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* =========================================================
   Flex-утилиты
   ========================================================= */

.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.flex-wrap   { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-1  { gap: var(--space-1); }
.gap-2  { gap: var(--space-2); }
.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }
.gap-10 { gap: var(--space-10); }

/* =========================================================
   Типографика
   ========================================================= */

.text-sm   { font-size: 14px; }
.text-base { font-size: var(--font-size-base); }
.text-lg   { font-size: 18px; }
.text-xl   { font-size: 20px; }
.text-2xl  { font-size: 24px; }
.text-3xl  { font-size: 32px; }
.text-4xl  { font-size: 40px; }

.font-bold   { font-weight: 700; }
.font-normal { font-weight: 400; }

.text-center { text-align: center; }
.text-right  { text-align: right; }

.text-muted  { color: var(--color-muted); }

/* =========================================================
   Отступы
   ========================================================= */

.mt-auto { margin-top: auto; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.mx-auto { margin-inline: auto; }

/* =========================================================
   Видимость
   ========================================================= */

.hidden   { display: none !important; }
.sr-only  {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* =========================================================
   Адаптив — sm ≤ 620px
   ========================================================= */

@media (max-width: 620px) {
    .container {
        padding-inline: var(--gutter);
    }
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    .sm\:hidden  { display: none !important; }
    .sm\:flex-col { flex-direction: column; }
}

/* =========================================================
   Адаптив — md ≤ 925px
   ========================================================= */

@media (max-width: 925px) {
    .container {
        padding-inline: var(--gutter);
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .md\:hidden   { display: none !important; }
    .md\:flex-col { flex-direction: column; }
}

/* =========================================================
   Адаптив — lg ≤ 1240px
   ========================================================= */

@media (max-width: 1240px) {
    .container {
        padding-inline: var(--gutter-md);
    }
    .lg\:hidden { display: none !important; }
}

/* На узких экранах отступ контейнера уменьшается до мобильного gutter (20px),
   чтобы контент не обрезался (по макету Figma: контейнер 380px при странице 400). */
@media (max-width: 620px) {
    .container {
        padding-inline: var(--gutter);
    }
}

@media (min-width: 621px) and (max-width: 925px) {
    .container {
        padding-inline: 100px;
    }
}

/* End */


/* Start:/local/templates/goodness-pantry-v2/css/style.css?179165779567055*/
/* =========================================================
   Базовые стили
   ========================================================= */

body {
    font-family: var(--font-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    /* Прижатый футер: страница не короче экрана */
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.site-main > * {
    flex-shrink: 0;
}

/* На внутренних страницах свободное место забирает секция с фоном */
.site-main > .inner-page {
    flex-grow: 1;
}

/* Последняя секция контента продлевает свой фон вниз до футера:
   на эту полосу верхней половиной (~59px) ложится баннер соцсетей,
   между контентом и баннером остаётся зазор ~70px.
   Именно section:last-of-type, а не :last-child — после секции
   в main могут идти модалки и скрипты */
.site-main > section:last-of-type {
    padding-bottom: 130px;
}

.site-footer {
    flex-shrink: 0;
}

/* =========================================================
   Шапка — верхняя полоса
   ========================================================= */

.site-header {
    position: relative;
    background: var(--color-header-bg);
}

/* Главная: накладывается на hero, без фона */
.site-header--home {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: transparent;
}

/* Когда видна панель Битрикс — сдвигаем шапку вниз на её высоту */
body:has(#bx-panel) .site-header--home {
    top: 147px;
}

.site-header__top-shell {
    position: relative;
    overflow: hidden;
}

.site-header__top {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    padding-block: 10px;
    min-height: 80px;
    position: relative;
}

/* Один градиент на всю шапку: без обрыва по нижнему краю верхней полосы. */
.site-header:not(.site-header--home) {
    background:
        radial-gradient(ellipse 422.5px 351px at 0.5px 73px, rgba(0, 85, 169, 0.12) 0%, transparent 70%),
        var(--color-header-bg);
}

/* Логотип */
.site-header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.site-header__logo-img {
    width: 64px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

.site-header__logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.site-header__logo-subtitle {
    display: block;
    font-size: 15.5px;
    font-weight: bold;
    color: var(--color-primary);
    line-height: 1.2;
}

.site-header__logo-title {
    display: block;
    font-size: 33px;
    font-weight: 900;
    color: var(--color-primary);
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -.5px;
}

/* Контакты */
.site-header__contacts {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-style: normal;
}

.site-header__phone {
    display: inline-flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    transition: color var(--transition);
}

.site-header__phone:hover {
    color: var(--color-primary);
}

.site-header__email {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text);
    text-decoration: underline;
    transition: color var(--transition);
    margin-top: -4px;
}

.site-header__email:hover {
    color: var(--color-primary);
}

/* Действия */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.site-header__search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid var(--color-primary);
    border-radius: 6px;
    color: var(--color-primary);
    transition: background-color var(--transition), color var(--transition);
}

.site-header__search-btn:hover {
    background-color: var(--color-primary);
    color: #fff;
}

.site-header__apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    background: var(--color-primary);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    box-shadow: 0 1px 0 var(--color-primary-dark), 0 2px 4px var(--color-primary);
    transition: background-color var(--transition);
    margin-bottom: 1px;
}

.site-header__apply-btn:hover {
    background-color: var(--color-primary-dark);
}

/* =========================================================
   Навигация
   ========================================================= */

.site-nav {
    padding-bottom: 16px;
}

.site-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow-card);
    padding-inline: 35px 4px;
    min-height: 50px;
}

/* Список пунктов */
.header-nav__list {
    display: flex;
    align-items: center;
    gap: 45px;
    height: 50px;
    margin: 0;
    padding: 0;
}

.header-nav__item {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.header-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    height: 100%;
    transition: color var(--transition);
}

.header-nav__link:hover,
.header-nav__item.is-active .header-nav__link {
    color: var(--color-primary);
}

.header-nav__arrow {
    flex-shrink: 0;
    transition: transform var(--transition);
}

.header-nav__submenu-toggle {
    display: none;
}

.header-nav__item--has-children:hover .header-nav__arrow {
    transform: rotate(180deg);
}

/* Выпадающее меню */
.header-nav__dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 200px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition:
        opacity var(--transition),
        visibility var(--transition),
        transform var(--transition);
    z-index: 200;
}

.header-nav__item--has-children:hover .header-nav__dropdown,
.header-nav__item--has-children:focus-within .header-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-nav__dropdown-item {
    display: block;
}

.header-nav__dropdown-link {
    display: block;
    padding: 9px 20px;
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text);
    white-space: nowrap;
    transition: color var(--transition), background-color var(--transition);
}

.header-nav__dropdown-link:hover,
.header-nav__dropdown-item.is-active .header-nav__dropdown-link {
    color: var(--color-primary);
    background-color: rgba(0, 85, 169, 0.05);
}

/* Кнопка «Поддержать» */
.site-nav__support-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 23px;
    margin-bottom: 1px;
    background: var(--color-accent);
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 1px 0 var(--color-accent-dark), 0 2px 4px rgba(255, 0, 0, 0.25);
    transition: background-color var(--transition);
}

.site-nav__support-btn:hover {
    background-color: var(--color-accent-dark);
}

.hero-stats-shell {
    background:
        radial-gradient(ellipse 60% 55% at 0% 0%, #EED1DA 0%, transparent 100%),
        radial-gradient(ellipse 58% 55% at 100% 100%, rgba(160, 200, 228, 0.48) 0%, transparent 100%),
        #eef3f9;
    position: relative;
    overflow: hidden;
}

/* Растворение левого края фото слайда под текст.
   Псевдоэлемент рисуется поверх фото (z-index 0, позже в дереве),
   но под контентом hero и статистикой (z-index 1) */
.hero-stats-shell::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(to right, #eef3f9 28%, transparent 50%);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
    background: transparent;
    position: relative;
    padding-top: 250px;
    padding-bottom: 80px;
}

/* Декоративные блобы */
.hero::before {
    content: '';
    position: absolute;
    width: 845px;
    height: 702px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 85, 169, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero::before {
    top: -278px;
    left: -422px;
}

.hero__inner::before {
    content: '';
    position: absolute;
    width: 845px;
    height: 702px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 85, 169, 0.12) 0%, transparent 70%);
    pointer-events: none;
    bottom: -300px;
    right: -300px;
    z-index: -1;
}

/* Слайды: стопка в одной ячейке грида, переключение прозрачностью.
   Высота секции равна самому высокому слайду — без «прыжков» */
.hero__slides {
    display: grid;
}

.hero__slide {
    grid-area: 1 / 1;
    visibility: hidden;
    transition: visibility 0.35s;
}

.hero__slide.is-active {
    visibility: visible;
}

/* Анимируются дети слайда, а не сам контейнер: opacity < 1 на контейнере
   создаёт stacking context, и слайд на время перехода проваливается под
   растворяющий градиент .hero-stats-shell::after — текст «проявлялся»
   из-под него. У .hero__inner свой z-index: 1 — он всегда над градиентом,
   фото — всегда под ним, z-порядок в процессе анимации не меняется.
   Смена последовательная: уходящий слайд гаснет, затем входящий
   появляется (задержка равна времени погасания) — тексты без фона
   не накладываются друг на друга */
.hero__slide .hero__photo,
.hero__slide .hero__inner {
    opacity: 0;
    transition: opacity 0.35s ease;
}

.hero__slide.is-active .hero__photo,
.hero__slide.is-active .hero__inner {
    opacity: 1;
    transition-duration: 0.45s;
    transition-delay: 0.35s;
}

/* Фото слайда: позиционируется от .hero (та же геометрия, что была
   у фоновой картинки shell) и уходит вниз под блок статистики;
   обрезается по границе .hero-stats-shell (overflow: hidden).
   Левый край привязан к центру — текстовая колонка занимает левую
   половину, фото начинается чуть под ней и растворяется градиентом */
.hero__photo {
    position: absolute;
    top: 90px;
    left: calc(50% - 152px);
    z-index: 0;
    pointer-events: none;
}

.hero__photo img {
    display: block;
    width: auto;
    height: auto;
    max-height: 820px;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
    overflow: visible;
}

/* Контентная часть */
.hero__content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hero__title {
    font-size: 48px;
    font-weight: 900;
    color: var(--color-primary);
    text-transform: uppercase;
    line-height: 1.15;
}

.hero__desc {
    font-size: 20px;
    font-weight: 300;
    line-height: 28px;
    color: var(--color-text);
    max-width: 508px;
}

.hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 12px 20px 12px 26px;
    background: #e20000;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    box-shadow: 0 1px 0 #830000, 0 2px 4px #a90000;
    transition: background-color var(--transition);
}

.hero__btn:hover {
    background-color: #c00000;
}

/* Буллеты слайдера */
.hero__bullets {
    display: flex;
    align-items: center;
    gap: 0;
    height: 12px;
    position: relative;
    z-index: 1;
    margin-top: 28px;
}

.hero__bullet {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.hero__bullet::before {
    content: '';
    width: 12px;
    height: 12px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    background: transparent;
    transition: background-color var(--transition);
}

.hero__bullet.is-active::before {
    background-color: var(--color-primary);
}

.hero__bullet:not(.is-active):hover::before {
    background-color: rgba(0, 85, 169, 0.3);
}

/* =========================================================
   Статистика
   ========================================================= */

.stats {
    padding-block: 40px 50px;
    background: transparent;
    /* Поверх фото слайда, которое подложено под секцию */
    position: relative;
    z-index: 1;
}

.stats__title {
    font-size: 36px;
    font-weight: 900;
    color: var(--color-primary);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 28px;
}

/* Горизонтальный скролл-трек */
.stats__track-wrap {
    overflow: hidden;
}

.stats__track {
    display: flex;
    /* Позволяет видеть часть следующей карточки */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.stats__track::-webkit-scrollbar {
    display: none;
}

/* Карточка */
.stats-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 0 0 390px;
    min-height: 135px;
    padding: 5px 4px 8px;
    background: linear-gradient(171.69deg, #fff 31.69%, #e8f3ff 100%);
    border-radius: 10px;
    box-shadow: var(--shadow-card);
    scroll-snap-align: start;
}

.stats-card__icon {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.stats-card__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stats-card__number {
    font-size: 40px;
    font-weight: 800;
    color: #eb3223;
    line-height: 1;
}

.stats-card__label {
    font-size: 22px;
    font-weight: 800;
    color: #eb3223;
    line-height: 0.99;
}

.stats-card__desc {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.4;
    margin-top: 6px;
}

/* =========================================================
   Адаптив — hero + статистика
   ========================================================= */

@media (max-width: 925px) {
    /* Фото слайда и растворяющий градиент на планшетах/мобильных не показываем */
    .hero__photo,
    .hero-stats-shell::after {
        display: none;
    }
    .hero__slides {
        /* Содержимое слайдов не должно расширять общую колонку грида. */
        grid-template-columns: minmax(0, 1fr);
        touch-action: pan-y;
    }
    .hero__inner {
        grid-template-columns: 1fr;
    }
    .hero__spacer {
        display: none;
    }
    .hero__title {
        font-size: 36px;
    }
}

@media (max-width: 1240px) {
    /* На узких экранах фото прижимается к правому краю, как раньше фон */
    .hero__photo {
        left: auto;
        right: var(--gutter-md);
    }
}

@media (max-width: 620px) {
    .hero {
        /* Шапка на мобильном — absolute, ~125px. По макету Figma контент hero
           (слайдер) начинается ниже шапки (y=170 при шапке h=115). */
        padding-top: 130px;
        padding-bottom: 48px;
    }
    .hero__title {
        font-size: 28px;
    }
    .hero__desc {
        font-size: 17px;
    }
    .stats-card {
        flex: 0 0 300px;
    }
    .stats-card__number {
        font-size: 32px;
    }
    .stats-card__label {
        font-size: 18px;
    }
}

/* =========================================================
   О нас
   ========================================================= */

.home-violet-shell {
    background: #fff url("/local/templates/goodness-pantry-v2/css/../images/violet-zigzag-tile.svg") repeat;
}

.home-violet-shell > .about,
.home-violet-shell > .units,
.home-violet-shell > .news {
    background: transparent;
}

.home-violet-shell .unit,
.home-violet-shell .news-card {
    box-shadow: none;
}

.home-violet-shell .unit {
    outline: 1px solid var(--color-primary);
    outline-offset: -1px;
}

.about {
    position: relative;
    padding-block: 45px;
    background-color: #fff;
    background-image: url("/local/templates/goodness-pantry-v2/css/../images/violet-zigzag-tile.svg");
    background-repeat: repeat;
    background-size: auto;
    overflow: hidden;
}

.about__inner {
    align-items: center;
    position: relative;
    z-index: 1;
}

.about__content {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 30px;
}

.about__title {
    font-size: 36px;
    font-weight: 900;
    color: var(--color-primary);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 27px;
}

.about__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-text);
}

.about__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 9px 18px 9px 26px;
    background: #e20000;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    box-shadow: 0 1px 0 #830000, 0 2px 4px #a90000;
    transition: background-color var(--transition);
    margin-top: 34px;
}

.about__btn:hover {
    background-color: #c00000;
}

/* Фото */
.about__image-wrap {
    flex-shrink: 0;
}

.about__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 505 / 290;
    object-fit: cover;
    border-radius: 12px;
    border: 8px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

/* Адаптив */
@media (max-width: 925px) {
    .about__inner {
        grid-template-columns: 1fr;
    }
    /* По макету Figma (mobile): текст и фото — вертикальная композиция,
       фото над текстом. Внутренний grid тоже в 1 колонку. */
    .about__content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .about__title {
        font-size: 32px;
    }
    .about__image-wrap {
        order: -1;
    }
}

@media (max-width: 620px) {
    .about__title {
        font-size: 26px;
    }
}

/* =========================================================
   Наша команда
   ========================================================= */

.team {
    padding-block: 50px;
    background-image: url("/local/templates/goodness-pantry-v2/css/../images/blue-zigzag-tile.svg");
    background-repeat: repeat;
    background-size: auto;
}

.team__title {
    font-size: 37px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.team__tabs {
    display: flex;
    gap: 16px;
    align-items: center;
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    flex-wrap: wrap;
}

.team__tab {
    font-size: 21px;
    font-weight: 700;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    padding: 3px 21px;
    border-radius: 6px;
    transition: opacity var(--transition);
}

.team__tab--active {
    background: #fff;
    color: #004d99;
}

.team__tab:not(.team__tab--active):hover {
    opacity: 0.8;
}

.team__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.team-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.team-card__photo {
    width: 100%;
    aspect-ratio: 295 / 400;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.team-card__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.team-card__role {
    font-size: 16px;
    font-weight: 700;
    color: #79bdff;
}


.team-card__name {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

a.team-card__name:hover {
    color: #79bdff;
}

/* Кнопка перехода на страницу команды */
.team__more {
    display: flex;
    margin-top: 36px;
}

.team__all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 26px;
    border: 2px solid #fff;
    border-radius: 6px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    transition: background-color var(--transition), color var(--transition);
}

.team__all-btn:hover {
    background-color: #fff;
    color: var(--color-primary);
}

.team__panels {
    display: grid;
}

.team__panel {
    position: relative;
    grid-area: 1 / 1;
    min-width: 0;
}

/* Скрытые вкладки сохраняют общую высоту по самой длинной подписи. */
.team__panel[hidden] {
    display: block;
    visibility: hidden;
}

.team__arrow {
    display: none;
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 2px solid #fff;
    border-radius: 6px;
    background: transparent;
    color: #fff;
    cursor: pointer;
}
.team__arrow--prev { left: -54px; }
.team__arrow--next { right: -54px; }
.team__arrow:disabled { opacity: 0.4; cursor: default; }
.team__arrow[hidden] { display: none; }
.team :is(.team__arrow, .team__grid, .team__tab):focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

@media (min-width: 926px) {
    .team .team__grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: calc((100% - 60px) / 4);
        overflow-x: auto;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
    }
    .team .team__grid::-webkit-scrollbar { display: none; }
    .team .team-card { scroll-snap-align: start; }
    .team__arrow { display: flex; }
}

@media (min-width: 926px) and (max-width: 1347px) {
    .team__panel { margin-inline: 54px; }
}

@media (max-width: 925px) {
    .team__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* photo(400) + gap + info(57) = 475, но Glide stretch ряда = 473 →
       имя обрезалось на 2px. Уменьшаем зазор фото↔имя с 18 до 14px. */
    .team-card {
        gap: 14px;
    }
}

@media (max-width: 620px) {
    /* По макету Figma (mobile, node «Карточки сотрудников»):
       stackMode=HORIZONTAL, stackSpacing=20, карточки по 295px в ряд →
       горизонтальная прокрутка с peek следующей карточки. */
    .team__grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(260px, 80vw);
        column-gap: 20px;
        overflow-x: auto;
        /* Нативный горизонтальный свайп без блокировки прокрутки страницы. */
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }
    .team__grid::-webkit-scrollbar {
        display: none;
    }
    .team-card {
        scroll-snap-align: start;
    }
    .team__title {
        font-size: 28px;
    }
    .team__tabs {
        gap: 12px;
    }
    .team__tab {
        font-size: 16px;
        padding: 5px 14px;
    }
    .team__all-btn {
        font-size: 16px;
        text-align: center;
    }
}

/* =========================================================
   Внутренние страницы — универсальная обёртка
   ========================================================= */

/* Секция занимает весь контент между хедером и футером.
   Фон (синий зигзаг) задаётся через CSS-переменную --inner-page-bg в атрибуте style. */
.inner-page {
    background-color: var(--color-primary);
    background-image: var(--inner-page-bg);
    background-repeat: repeat;
    background-size: auto;
    /* Запас под баннер соцсетей задаёт общее правило .site-main > :last-child */
    /* На коротких страницах свободное место забирает белый блок */
    display: flex;
    flex-direction: column;
}

/* Полоска хлебных крошек */
.inner-page__strip {
    max-width: 1300px;
    width: 100%;
    margin-inline: auto;
    min-height: 44px;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.90) 0%, rgba(228, 242, 255, 0.90) 100%);
}

/* Белый контентный блок — 1300 px, прозрачность 90% */
.inner-page__body {
    max-width: 1300px;
    width: 100%;
    margin-inline: auto;
    background: rgba(255, 255, 255, 0.90);
    padding-block: 32px 56px;
    flex: 1 0 auto;
}

@media (max-width: 1300px) {
    .inner-page__body {
        max-width: 100%;
    }
}

@media (max-width: 620px) {
    /* Баннер соцсетей статичный, без наложения — запас не нужен:
       обычный нижний отступ секции, у inner-page — впритык к футеру */
    .site-main > section:last-of-type {
        padding-bottom: 40px;
    }
    .site-main > section.inner-page {
        padding-bottom: 0;
    }
}

/* =========================================================
   Карточка сбора — fund-card (общий компонент)
   ========================================================= */

.fund-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(149.09deg, #fff 31.69%, #e8f3ff 100%);
    border-radius: 12px;
    overflow: hidden;
}

.fund-card__photo-link {
    display: block;
    flex-shrink: 0;
}

.fund-card__photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.fund-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    flex: 1;
}

.fund-card__name {
    font-size: 17px;
    font-weight: 800;
    color: #004283;
    text-decoration: underline;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fund-card__name:hover { color: #0055a9; }

.fund-card__desc {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fund-card__goal-total {
    font-size: 16px;
    font-weight: 800;
    color: var(--color-text);
    margin-top: 2px;
}

.fund-card__progress {
    position: relative;
    height: 14px;
    border-radius: 8px;
    overflow: visible;
    margin-block: 2px 0;
}

.fund-card__progress-track {
    position: absolute;
    inset: 0;
    border-radius: 8px;
    box-shadow: inset 0 4px 4px rgba(0, 0, 0, 0.25);
}

.fund-card__progress-badge {
    position: absolute;
    top: -3px;
    padding: 3px 6px;
    background: #e9e9e9;
    border-radius: 8px;
    box-shadow: 0 1.4px 0 #818181, 0 4px 4px rgba(0, 0, 0, 0.25);
    font-size: 14px;
    font-weight: 800;
    color: #585858;
    white-space: nowrap;
    line-height: 1;
}

.fund-card__amounts {
    font-size: 0;
    line-height: 0;
    color: var(--color-text);
}

.fund-card__raised {
    font-size: 18px;
    font-weight: 800;
    line-height: normal;
}

.fund-card__sep {
    font-size: 18px;
    font-weight: 300;
    line-height: normal;
}

.fund-card__goal {
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.fund-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding: 10px 18px 10px 26px;
    background: #e20000;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    box-shadow: 0 1px 0 #830000, 0 2px 4px #a90000;
    transition: background-color var(--transition);
    width: 100%;
    cursor: pointer;
    border: none;
}

.fund-card__btn:hover { background-color: #c00000; }

/* Keep the financial summary together at the bottom of every card. */
.fund-card__body > .fund-card__goal-total,
.fund-card__body > .fund-card__desc + .fund-card__amounts,
.fund-card__body > .fund-card__no-target {
    margin-top: auto;
}

.fund-card__no-target {
    display: flex;
    flex-direction: column;
    gap: 3px;
    max-width: 360px;
    padding: 10px 12px;
    border: 1px solid #b9d7f5;
    border-radius: 8px;
    background: #fff;
    line-height: 1.2;
}

.fund-card__no-target-label {
    color: #004283;
    font-size: 14px;
    font-weight: 600;
}

.fund-card__no-target-amount {
    color: #1a1a1a;
    font-size: 16px;
}

.fund-card__no-target-amount strong {
    font-weight: 800;
}

.fundraise-hero__donate > .fund-card__no-target + .fundraise-hero__btn {
    margin-top: 20px;
}

.fund-card__body > .fund-card__btn {
    margin-top: 0;
}

@media (max-width: 620px) {
    .fund-card__btn { font-size: 16px; }
}

/* =========================================================
   Хлебные крошки
   ========================================================= */

.breadcrumbs__list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 2px 0;
}

.breadcrumbs__item {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
    color: #353535;
    line-height: 18px;
}

.breadcrumbs__item + .breadcrumbs__item::before {
    content: '/';
    margin-inline: 5px;
    color: #353535;
}

.breadcrumbs__link {
    color: #353535;
}

a.breadcrumbs__link:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* =========================================================
   Кнопка-обводка нейтральная (серая)
   ========================================================= */

.btn-outline-muted {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 26px;
    border: 2px solid var(--color-muted-btn);
    border-radius: 6px;
    color: var(--color-muted-btn);
    font-size: 18px;
    font-weight: 700;
    transition: border-color var(--transition), color var(--transition);
}

.btn-outline-muted:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* =========================================================
   Строка поиска (на внутренних страницах)
   ========================================================= */

.page-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.page-search__input {
    height: 50px;
    width: 295px;
    border-radius: 8px;
    background: #fff;
    border: none;
    padding: 0 14px;
    font-size: 16px;
    color: var(--color-text);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.page-search__input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-primary);
}

.page-search__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 2px solid var(--color-primary);
    border-radius: 6px;
    color: var(--color-primary);
    background: #fff;
    cursor: pointer;
    transition: background-color var(--transition), color var(--transition);
}

.page-search__btn:hover {
    background-color: var(--color-primary);
    color: #fff;
}

/* =========================================================
   Подвал
   ========================================================= */

/* Баннер соцсетей: обёртка не занимает места в потоке,
   карточка поднята на полвысоты и накладывается на контент */
.footer-social-wrap {
    position: relative;
    z-index: 1;
    height: 0;
    pointer-events: none;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 8px rgba(0, 0, 0, .25);
    padding: 30px 40px;
    background: linear-gradient(180deg, #F6F6F6 0%, #E2E2E2 100%);
    transform: translateY(-50%);
    pointer-events: auto;
}

.footer-social__text {
    font-size: 30px;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    flex: 1;
}

.footer-social__links {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-shrink: 0;
}

.footer-social__btn {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity var(--transition);
}

.footer-social__btn:hover {
    opacity: 0.85;
}

.footer-social__btn--tg  { background: #08c;  box-shadow: 0 0 10px rgba(0, 136, 204, .5); }
.footer-social__btn--vk  { background: #07f;  box-shadow: 0 0 10px rgba(0, 119, 255, .5); }
.footer-social__btn--yt  { background: red;   box-shadow: 0 0 10px rgba(255, 0, 0, .5);   }
.footer-social__btn--ok  { background: #f70;  box-shadow: 0 0 10px rgba(255, 119, 0, .5); }

/* Основное тело футера */

.footer-main {
    background: url('/local/templates/goodness-pantry-v2/css/../images/grey-zigzag-tile.svg') center / cover no-repeat;
    background-repeat: repeat;
    background-size: auto;
    padding-block: 100px 50px;
}

.footer-main__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    align-items: start;
    position: relative;
}

.footer-main__about {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 16px;
    font-weight: 400;
    color: #414141;
    line-height: 1.35;
    max-width: 400px;
}

.footer-main__copy {
    font-weight: 700;
    color: #585858;
}

.footer-main__meta {
    display: flex;
    align-items: center;
}

.footer-main__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-top: 8px;
}

.footer-main__legal a {
    color: #585858;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-main__legal a:hover {
    color: var(--color-primary);
}

.form-legal-link {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-antispam {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

.form-legal-note {
    margin: 8px 0 0;
    color: #585858;
    font-size: 16px;
    line-height: 1.4;
}

.footer-nav {
    display: contents;
}

.footer-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.footer-nav__list li {
    font-size: 16px;
    font-weight: 700;
    color: #585858;
    line-height: 1.4;
}

.footer-nav__list a {
    color: #585858;
    display: block;
}

.footer-nav__list a:hover {
    color: var(--color-primary);
}

.footer-nav__group {
    color: #414141;
    font-weight: 300;
}

.footer-nav__group a {
    color: inherit;
}

.footer-main__age {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 60px;
    height: 60px;
    background: #e00000;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(224, 0, 0, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

@media (min-width: 1239px) {
    .site-header__contacts {
        padding-right: 160px;
    }
}

@media (max-width: 925px) {
    .footer-social {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-social__text {
        font-size: 24px;
    }
    .footer-main__inner {
        grid-template-columns: 1fr 1fr;
    }
    .footer-main__about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .footer-social-wrap {
        /* Плашка стоит вверху футера (как Rectangle 26 на y=0). */
        height: auto;
        padding-top: 20px;
    }
    .footer-social {
        /* По макету Figma (mobile): карточка 360×118, градиент #f6f6f6→#e2e2e2,
           радиус 12, тень. В потоке, без transform. */
        height: 118px;
        box-sizing: border-box;
        width: calc(100% - 40px);
        margin: 0 auto;
        padding: 29px 33px;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        box-shadow: 0 0 8px rgba(0, 0, 0, .25);
        transform: none;
        border-top: none;
    }
    .footer-social__text {
        /* По макету Figma (mobile): надпись скрыта (visible=false) — только иконки. */
        display: none;
    }
    .footer-main {
        /* Серый фон футера заходит под нижнюю половину плашки
           (как Rectangle 19 на y=59): перекрытие 59px. */
        margin-top: -59px;
        position: relative;
        z-index: 0;
        padding-top: 32px;
    }
    .footer-main__inner {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Карточка-документ / карточка новости (листинг)
   Переиспользуется в news-list и docs-page
   ========================================================= */

.news-list-card {
    background: linear-gradient(162deg, #fff 31.69%, #e8f3ff 100%);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-list-card__photo-wrap {
    display: block;
    height: 300px;
    flex-shrink: 0;
}

.news-list-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.news-list-card__body {
    padding: 12px 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.news-list-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.news-list-card__title {
    color: var(--color-primary-dark);
    font-size: 20px;
    font-weight: 800;
    text-decoration: underline;
    line-height: 1.2;
    flex: 1;
}

.news-list-card__title:hover {
    color: var(--color-primary);
}

.news-list-card__tag {
    color: #707070;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    flex-shrink: 0;
    text-align: right;
}

.news-list-card__excerpt {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    line-height: 1.4;
    flex: 1;
}

.news-list-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.news-list-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px 10px 26px;
    background: var(--color-primary-dark);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 6px;
    box-shadow: 0 1px 0 #003060, 0 2px 4px var(--color-primary);
    white-space: nowrap;
    flex-shrink: 0;
    transition: background-color var(--transition);
}

.news-list-card__btn:hover {
    background-color: var(--color-primary);
}

.news-list-card__date {
    font-size: 14px;
    font-weight: 400;
    color: #707070;
    text-align: right;
}

@media (max-width: 925px) {
    .news-list-card__photo-wrap {
        height: 220px;
    }
    .news-list-card__btn {
        font-size: 16px;
        padding: 8px 14px 8px 20px;
    }
}

@media (max-width: 620px) {
    .news-list-card__photo-wrap {
        height: 180px;
    }
}

/* =========================================================
   Адаптивная шапка: мобильное меню (≤ 1240px)
   Десктопное горизонтальное меню остаётся как есть на > 1240px.
   На ≤ 1240px: бургер + выезжающая панель.
   ВАЖНО: бреикпойинт 1240px (не 925px) — 7 пунктов + кнопка
   «Поддержать» физически влезают только от ~1240px; на 926–1239px
   горизонтальное меню наезжало само на себя и на кнопку.
   Верхняя полоса (логотип/контакты) адаптируется отдельно на 925px.
   ========================================================= */

/* Бургер скрыт на десктопе */
.site-nav__toggle {
    display: none;
}

/* Панель мобильного меню скрыта на десктопе */
.site-nav__menu-panel {
    display: none;
}

@media (max-width: 1240px) {

    /* --- Полоса навигации: лого + бургер --- */
    .site-nav {
        padding-bottom: 0;
    }

    .site-nav__inner {
        padding-inline: 15px 4px;
        min-height: 50px;
        justify-content: space-between;
    }

    /* Десктопное горизонтальное меню скрыто; кнопка поддержки остаётся по Figma */
    .site-nav__inner > .header-nav__list {
        display: none;
    }

    /* Бургер */
    .site-nav__toggle {
        display: inline-flex;
        align-items: center;
        gap: 15px;
        order: -1;
        padding: 0;
        background: transparent;
        border: none;
        color: #000;
        cursor: pointer;
    }

    .site-nav__toggle-icon {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 30px;
        flex-shrink: 0;
    }

    .site-nav__toggle-bar {
        display: block;
        width: 100%;
        height: 3px;
        background: #000;
    }

    .site-nav__toggle-text {
        font-size: 18px;
        font-weight: 700;
        line-height: 1;
        white-space: nowrap;
    }

    .site-nav__inner > .site-nav__support-btn {
        gap: 6px;
        padding: 10px 16px;
        margin-bottom: 0;
        font-size: 19px;
        font-weight: 700;
        line-height: 1.2;
        border-radius: 6px;
    }

    /* --- Выезжающая панель --- */
    /* Панель на весь viewport поверх всего. Закрытие — кнопкой ✕ внутри
       панели или Escape.
       Без width:100% (на мобиле даёт переполнение из-за скроллбара). */
    .site-nav__menu-panel {
        display: flex;
        flex-direction: column;
        gap: 4px;
        position: fixed;
        inset: 0;
        z-index: 100;
        background: #fff;
        box-shadow: var(--shadow-card);
        padding: 16px var(--gutter) 24px;
        box-sizing: border-box;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform var(--transition), opacity var(--transition), visibility 0s linear var(--transition);
    }

    .site-nav__menu-panel--open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        transition: transform var(--transition), opacity var(--transition), visibility 0s linear 0s;
    }

    /* Кнопка закрытия внутри панели (✕) */
    .site-nav__panel-close {
        align-self: flex-end;
        width: 44px;
        height: 44px;
        margin-bottom: 8px;
        border: none;
        background: transparent;
        font-size: 24px;
        line-height: 1;
        color: var(--color-primary);
        cursor: pointer;
    }

    /* Меню внутри панели — вертикально */
    .site-nav__menu-panel .header-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        height: auto;
    }

    .site-nav__menu-panel .header-nav__item {
        display: block; /* отменяет десктопный flex → подпункты идут вниз, а не в колонку справа */
        width: 100%;
        height: auto;
        border-bottom: 1px solid var(--color-border);
    }

    /* Родительский пункт (раздел): жирный, без фона, чёткая граница снизу.
       Чёткое визуальное отличие от подпунктов ниже. */
    .site-nav__menu-panel .header-nav__link {
        width: 100%;
        height: auto;
        padding: 14px 4px;
        font-size: 18px;
        font-weight: 700;
        color: var(--color-text);
    }

    /* Родитель с дочерними — указатель «˅», чтобы было понятно, что ниже подпункты */
    .site-nav__menu-panel .header-nav__item--has-children > .header-nav__link {
        border-bottom: none;
        display: flex;
        align-items: center;
        width: calc(100% - 44px);
    }

    .site-nav__menu-panel .header-nav__link > .header-nav__arrow {
        display: none;
    }

    .site-nav__menu-panel .header-nav__submenu-toggle {
        position: absolute;
        top: 0;
        right: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 50px;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--color-text);
        cursor: pointer;
    }

    .site-nav__menu-panel .header-nav__submenu-toggle:focus-visible {
        outline: 2px solid var(--color-primary);
        outline-offset: -2px;
    }

    .site-nav__menu-panel .header-nav__submenu-arrow {
        transition: transform var(--transition);
        opacity: 0.55;
    }

    .site-nav__menu-panel .header-nav__item--has-children.is-expanded > .header-nav__submenu-toggle .header-nav__submenu-arrow {
        transform: rotate(180deg);
    }

    /* Подпункты — свёрнуты по умолчанию, раскрываются отдельной кнопкой
       (.is-expanded). Без этого все 12 подпунктов + 3 кнопки не помещаются
       на экран, и кнопки внизу обрезаются/наезжают. */
    .site-nav__menu-panel .header-nav__dropdown {
        display: none;
    }

    .site-nav__menu-panel .header-nav__item--has-children.is-expanded > .header-nav__dropdown {
        display: block;
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: 0;
        padding: 0;
        margin: 0 0 4px;
        background: transparent;
        border-radius: 0;
    }

    .site-nav__menu-panel .header-nav__dropdown-item {
        display: block;
        width: 100%;
    }

    .site-nav__menu-panel .header-nav__dropdown-link {
        display: block;
        width: 100%;
        padding: 10px 12px 10px 20px;
        font-size: 15px;
        font-weight: 400;
        color: var(--color-muted);
        border-bottom: 1px solid rgba(0, 85, 169, 0.07);
    }

    .site-nav__menu-panel .header-nav__dropdown-link:last-child {
        border-bottom: none;
    }

    /* Кнопки внутри панели */
    .site-nav__support-btn--mobile,
    .site-nav__apply-btn--mobile,
    .site-nav__search-btn--mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 13px;
        margin-top: 8px;
        font-size: 17px;
        font-weight: 600;
        border-radius: var(--radius-sm);
        text-decoration: none;
    }

    .site-nav__support-btn--mobile {
        background: var(--color-accent-dark);
        color: #fff;
    }

    .site-nav__apply-btn--mobile {
        background: var(--color-primary);
        color: #fff;
    }

    .site-nav__search-btn--mobile {
        background: var(--color-bg);
        color: var(--color-primary);
        border: 2px solid var(--color-primary);
    }
}

/* --- Верхняя полоса шапки (логотип/контакты): отдельный бреикпойинт 925px --- */
/* На планшетах (926–1240px) верхняя полоса остаётся полной; компактной
   становится только на ≤925px (мобайл). */
@media (max-width: 925px) {
    .site-header__top {
        min-height: 64px;
        padding-block: 10px;
        gap: var(--space-2);
    }

    .site-header__logo-img {
        width: 48px;
        height: 44px;
    }

    .site-header__logo-subtitle {
        font-size: 11px;
    }

    .site-header__logo-title {
        font-size: 22px;
    }

    /* Контакты (телефон/email) и действия (поиск/заявка) прячем — переходят в панель */
    .site-header__contacts,
    .site-header__actions {
        display: none;
    }
}

@media (max-width: 620px) {
    .site-nav {
        padding-top: 11px;
    }

    .site-nav > .container {
        padding-inline: var(--gutter);
    }

    .site-header__logo-subtitle {
        display: none;
    }
    .site-header__logo-title {
        font-size: 18px;
    }
}

/* =========================================================
   Глобальная адаптация: a11y + touch (mobile/tablet)
   ========================================================= */

/* Минимальный размер цели касания для интерактивных элементов на сенсорных
   экранах (рекомендация WCAG 2.5.5). Точки hero и стрелки получают отдельные
   области 44×44 выше, без увеличения их внутренних иконок. */
@media (max-width: 925px) {
    a[href][class*="btn"],
    button[class*="btn"],
    button[type="submit"],
    button[type="button"]:not(.hero__bullet):not(.glide__bullet):not([class*="bullet"]):not(.faq-item__header),
    [role="button"]:not([aria-hidden="true"]) {
        min-height: 44px;
    }
}

/* Уважаем настройку «уменьшить анимацию»: отключаем плавную прокрутку,
   переходы и анимации, оставляя интерфейс функциональным. */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Главная, планшет 810px: геометрия из kiwi-снимка Figma. */
@media (min-width: 621px) and (max-width: 925px) {
    .site-header--home {
        top: 8px;
    }
    .site-header__top {
        height: 72px;
        min-height: 72px;
        padding-block: 0;
        gap: 9px;
        align-items: flex-start;
    }
    .site-header__logo {
        gap: 8px;
    }
    .site-header__logo-img {
        width: 64px;
        height: 60px;
    }
    .site-header__logo-subtitle {
        font-size: 16px;
    }
    .site-header__logo-title {
        font-size: 33px;
    }
    .site-header__contacts {
        display: flex;
        align-items: flex-end;
        margin-top: 10px;
    }
    .site-header__actions {
        display: none;
    }

    .hero {
        padding-block: 209px 55px;
    }
    .hero__slides,
    .hero__slide {
        /* Контентная высота: текст не обрезается жёсткой рамкой. */
        height: auto;
    }
    .hero__inner {
        display: block;
    }
    .hero__content {
        width: calc(50% + 20px);
        gap: 15px;
    }
    .hero__title {
        width: 100%;
        font-size: 30px;
        line-height: 34px;
    }
    .hero__desc {
        font-size: 16px;
        /* По макету Figma: AUTO line-height (~1.28), без обрезки. */
        line-height: 1.28;
    }
    .hero__btn {
        min-height: 44px;
        height: auto;
        max-width: 100%;
        padding-block: 8px;
    }
    .hero__photo {
        display: block;
        top: 235px;
        left: calc(50% + 33px);
        width: 272px;
        height: 329px;
        overflow: hidden;
        -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 45%, #000 58%, transparent 100%);
        mask-image: radial-gradient(ellipse 50% 60% at 50% 45%, #000 58%, transparent 100%);
        /* По макету Figma (Group 6, image 20): фото прямоугольное, без скругления. */
        border-radius: 0;
    }
    .hero__photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .hero__bullets {
        /* Буллеты в потоке после контента слайда (высота слайда теперь контентная). */
        position: relative;
        top: auto;
        left: auto;
        margin-top: 20px;
    }

    .stats {
        padding-block: 0 40px;
    }
    .stats__title {
        width: 548px;
        font-size: 40px;
        line-height: 39px;
        margin-bottom: 33px;
        white-space: nowrap;
    }
    .stats-card {
        min-height: 135px;
    }
    .stats-card__number {
        /* По макету Figma: число и подпись — один узел Bold 18px. */
        font-size: 18px;
        font-weight: 700;
        line-height: 1.3;
    }
    .stats-card__label {
        font-size: 18px;
        font-weight: 700;
        line-height: 1.3;
    }

    .about {
        padding-block: 40px;
    }
    .about__title {
        width: 612px;
        font-size: 40px;
        line-height: 45px;
        margin-bottom: 30px;
    }
    .about__content {
        gap: 20px;
    }
    .about__image {
        height: 230px;
        aspect-ratio: auto;
    }
    .about__text {
        width: 510px;
        gap: 8px;
        font-size: 16px;
        line-height: 1.4;
        min-height: 230px;
    }
    .about__btn {
        height: 44px;
        margin-top: 20px;
        padding-block: 8px;
    }

    .units {
        margin-top: 40px;
    }
    .news {
        margin-top: 40px;
    }

    .team {
        padding-block: 50px 54px;
        overflow: hidden;
    }
    .team__title {
        font-size: 40px;
        line-height: 37px;
        margin-bottom: 35px;
    }
    .team__tabs {
        height: 38px;
        margin-bottom: 18px;
        flex-wrap: nowrap;
        gap: 38px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
    }
    .team__tabs::-webkit-scrollbar {
        display: none;
    }
    .team__tab {
        font-size: 21px;
        white-space: nowrap;
    }
    .team__grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 295px;
        overflow-x: auto;
        /* Карусель только горизонтальная. */
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }
    .team__grid::-webkit-scrollbar {
        display: none;
    }
    .team-card {
        scroll-snap-align: start;
    }
    .team__more {
        display: none;
    }

    .footer-social-wrap {
        /* Плашка стоит вверху футера (в потоке). */
        height: auto;
        padding-top: 20px;
    }
    .footer-social {
        /* По макету Figma (tablet 810): карточка 610×118, центрирована, в потоке. */
        height: 118px;
        box-sizing: border-box;
        width: 610px;
        max-width: calc(100% - 40px);
        margin: 0 auto;
        padding: 29px 0;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        transform: none;
    }
    .footer-social__text,
    .footer-nav {
        display: none;
    }
    .footer-social__links {
        width: 294px;
        gap: 18px;
    }
    .footer-main {
        /* Серый фон заходит под нижнюю половину плашки (перекрытие 59px). */
        margin-top: -59px;
        position: relative;
        z-index: 0;
        min-height: 357px;
        padding-block: 99px 54px;
    }
    .footer-main__inner {
        display: block;
        position: relative;
        min-height: 204px;
    }
    .footer-main__about {
        width: 400px;
        min-height: 204px;
    }
    .footer-main__age {
        position: absolute;
        right: 100px;
        bottom: 0;
        width: 60px;
        height: 60px;
        font-size: 32px;
    }
    .site-main > section:last-of-type {
        padding-bottom: 0;
    }

}

/* Внутренние страницы: общий фон шапки без разрыва у меню, отступ после
   контента по Figma и соцкарточка на границе контентного/серого фонов. */
@media (max-width: 925px) {
    .site-header:not(.site-header--home) {
        background:
            radial-gradient(ellipse 60% 170% at 0% 0%, #EED1DA 0%, transparent 100%),
            var(--color-header-bg);
    }
    .site-header:not(.site-header--home) .site-nav {
        padding-bottom: 18px;
    }
    .site-header:not(.site-header--home) ~ .site-main > section:last-of-type {
        /* 70px воздуха по Figma + 59px под верхнюю половину соцкарточки. */
        padding-bottom: 129px;
    }
    .site-header:not(.site-header--home) ~ .site-main > .news:last-of-type {
        /* В news-компоненте собственный отступ от последнего контрола — 50px. */
        padding-bottom: 109px;
    }
    .site-header:not(.site-header--home) ~ .site-main .inner-page__body {
        padding-bottom: 40px;
    }
    .site-header:not(.site-header--home) ~ .site-main .inner-page__body > .container > :last-child {
        margin-bottom: 0;
    }
    .site-header:not(.site-header--home) ~ .site-footer .footer-social-wrap {
        height: 0;
        padding-top: 0;
    }
    .site-header:not(.site-header--home) ~ .site-footer .footer-social {
        transform: translateY(-50%);
    }
    .site-header:not(.site-header--home) ~ .site-footer .footer-main {
        margin-top: 0;
    }
}

/* Главная, мобильный 400px: точные размеры и последовательность kiwi-макета. */
@media (max-width: 620px) {
    .site-header--home {
        min-width: 360px;
    }
    .site-header__logo {
        width: 100%;
        min-width: 0;
        gap: 7px;
    }
    .site-header__top {
        height: 64px;
        min-height: 64px;
        padding-block: 10px 2px;
    }
    .site-header__logo-img {
        width: clamp(48px, 14vw, 56px);
        height: auto;
    }
    .site-header__logo-text {
        position: relative;
        display: block;
        flex: 1;
        min-width: 0;
        width: auto;
        height: 52px;
    }
    .site-header__logo-subtitle {
        display: block;
        position: absolute;
        top: 4px;
        font-size: clamp(12px, calc(4.4vw - 3.6px), 14px);
        line-height: 16.5px;
        white-space: nowrap;
    }
    .site-header__logo-title {
        position: absolute;
        top: 16px;
        font-size: clamp(25px, calc(9.5vw - 9px), 29px);
        line-height: clamp(34px, calc(10vw - 2px), 38px);
        white-space: nowrap;
    }
    .site-nav__inner > .site-nav__support-btn {
        width: 186px;
        justify-content: center;
    }

    .hero {
        padding-block: 384px 50px;
    }
    .hero__slides,
    .hero__slide,
    .hero__content {
        /* Контентная высота: заголовок+описание+кнопка без жёсткой рамки. */
        height: auto;
    }
    .hero__inner {
        display: block;
    }
    .hero__content {
        gap: 20px;
    }
    .hero__title {
        font-size: 26px;
        line-height: 27px;
    }
    .hero__desc {
        font-size: 16px;
        /* По макету Figma: AUTO line-height (~1.28). Высота текста определяется
           контентом, без жёсткой рамки и обрезки. */
        line-height: 1.28;
    }
    .hero__btn {
        width: 100%;
        min-height: 44px;
        height: auto;
        padding-block: 8px;
        justify-content: center;
    }
    .hero__photo {
        display: block;
        top: 125px;
        left: calc(50% - 149px);
        /* Рамка под реальные фото (квадратные ~878×764, ratio 1.15):
           ширина 299 как в Figma, высота увеличена с 145 до 260,
           чтобы фото было видно, а не узкой полосой. */
        width: 299px;
        height: 260px;
        overflow: hidden;
        /* По макету Figma (Group 6, image 20): фото прямоугольное, без скругления. */
        border-radius: 0;
    }
    .hero__photo img {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: cover;
        transform: translate(-50%, -50%);
    }
    .hero__bullets {
        /* Буллеты в потоке после контента слайда (высота слайда теперь контентная). */
        position: relative;
        top: auto;
        left: auto;
        margin-top: 20px;
    }

    .stats {
        padding-block: 0 40px;
    }
    .stats__title {
        font-size: 26px;
        line-height: 17px;
        margin-bottom: 20px;
        white-space: nowrap;
    }
    .stats-card {
        min-height: 122px;
        height: 122px;
    }
    .stats-card__icon {
        width: 81px;
        height: 81px;
    }
    .stats-card__number,
    .stats-card__label {
        font-size: 16px;
        /* По макету Figma: Bold 700 (не ExtraBold), line-height ~1.3. */
        font-weight: 700;
        line-height: 1.3;
    }
    .stats-card__number {
        font-size: 18px;
    }
    .stats-card__desc {
        font-size: 16px;
        line-height: 1.4;
    }

    .about {
        padding-block: 40px;
    }
    .about__title {
        font-size: 26px;
        line-height: 24.5px;
        margin-bottom: 20px;
    }
    .about__image {
        height: 230px;
        aspect-ratio: auto;
    }
    .about__text {
        gap: 8px;
        font-size: 16px;
        line-height: 1.4;
    }
    .about__btn {
        width: 100%;
        height: 44px;
        margin-top: 20px;
        padding-block: 8px;
        justify-content: center;
    }

    .team {
        padding-block: 40px 39px;
        overflow: hidden;
    }
    .team__title {
        font-size: 26px;
        line-height: 17px;
        margin-bottom: 20px;
    }
    .team__tabs {
        /* Высота по контенту вкладок (подсветка активной не обрезается). */
        margin-bottom: 20px;
        flex-wrap: nowrap;
        gap: 38px;
        overflow-x: auto;
        /* Меню вкладок — только горизонтальный скролл. */
        overflow-y: hidden;
        scrollbar-width: none;
    }
    .team__tabs::-webkit-scrollbar {
        display: none;
    }
    .team__tab {
        font-size: 18px;
        white-space: nowrap;
    }
    .team__grid {
        grid-auto-columns: 295px;
    }
    .team__more {
        display: none;
    }

    .footer-social__links {
        /* Без жёсткой ширины: flex с 4 кнопками 60px + gap 18 даёт ~294px.
           На узких экранах кнопки не вылезают за плашку. */
        gap: 18px;
    }
    .footer-nav {
        display: none;
    }
    .footer-main {
        min-height: 376px;
        padding-block: 99px 40px;
    }
    .footer-main__inner {
        display: block;
        position: relative;
        min-height: 237px;
    }
    .footer-main__about {
        min-height: 237px;
    }
    .footer-main__meta {
        justify-content: space-between;
        gap: 12px;
    }
    .footer-main__age {
        position: static;
        width: 40px;
        height: 40px;
        margin: 0;
        border-radius: 8px;
        box-shadow: none;
        font-size: 18px;
    }
    .partners {
        padding-top: 40px;
    }
    .site-main > section.partners:last-of-type {
        padding-bottom: 39px;
    }
}

/* Узкие телефоны: оставляем заголовок статистики в одну строку. */
@media (max-width: 414px) {
    .stats__title {
        font-size: 22px;
    }
}

/* Очень узкие телефоны (≤390px: iPhone SE 375, 14/15/16 390):
   4 соц-иконки 60px + gap не помещаются в плашку calc(100%-40px).
   Уменьшаем padding плашки и gap иконок, чтобы кнопки не вылезали за край. */
@media (max-width: 390px) {
    .footer-social {
        padding-inline: 14px;
    }
    .footer-social__links {
        gap: 10px;
    }
}

/* End */


/* Start:/local/templates/goodness-pantry-v2/css/content.css?17908481483273*/
/* =========================================================
   Типографика редакторского контента — .content
   Используется внутри детальных страниц и любых блоков,
   наполняемых через визуальный редактор Битрикс.
   ========================================================= */

.content {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-text);
}

.content h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-primary);
    text-transform: uppercase;
    line-height: 1.1;
    margin: 32px 0 16px;
}

.content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary-dark);
    line-height: 1.2;
    margin: 24px 0 12px;
}

.content h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin: 20px 0 10px;
}

.content p {
    margin-bottom: 16px;
}

.content p:last-child {
    margin-bottom: 0;
}

.content ul,
.content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.content strong,
.content b {
    font-weight: 700;
}

.content em,
.content i {
    font-style: italic;
}

.content a {
    color: var(--color-primary);
    text-decoration: underline;
}

.content a:hover {
    color: var(--color-primary-dark);
}

.content blockquote {
    border-left: 4px solid var(--color-primary);
    background: rgba(0, 85, 169, 0.05);
    border-radius: 0 8px 8px 0;
    padding: 14px 20px;
    margin: 24px 0;
    font-style: italic;
    color: #444;
}

.content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 16px 0;
}

.content img.float-left {
    float: left;
    margin: 0 20px 16px 0;
    max-width: 45%;
}

.content img.float-right {
    float: right;
    margin: 0 0 16px 20px;
    max-width: 45%;
}

.content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 16px;
}

.content th,
.content td {
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    text-align: left;
    vertical-align: top;
}

.content th {
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
}

.content tr:nth-child(even) td {
    background: rgba(0, 85, 169, 0.04);
}

/* Утилитарные классы для редактора */
.content .callout {
    border-radius: 8px;
    background: rgba(0, 85, 169, 0.06);
    border-left: 4px solid var(--color-primary);
    padding: 16px 20px;
    margin-bottom: 20px;
}

.content .callout--warning {
    background: #fff8e1;
    border-color: #f9a825;
}

.content .callout--success {
    background: #e8f5e9;
    border-color: #43a047;
}

.content::after {
    content: '';
    display: table;
    clear: both;
}

/* =========================================================
   Адаптив
   ========================================================= */

@media (max-width: 768px) {
    .content h2 { font-size: 26px; }
    .content h3 { font-size: 20px; }

    .content img.float-left,
    .content img.float-right {
        float: none;
        max-width: 100%;
        margin: 16px 0;
    }
}

/* End */


/* Start:/local/templates/goodness-pantry-v2/components/bitrix/news.list/volunteer-page/style.css?179084814116493*/
/* =========================================================
   Страница «Стать волонтёром»
   ========================================================= */

.volunteer-page__title {
    font-size: 48px;
    font-weight: 900;
    color: var(--color-primary);
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 32px;
}

/* =========================================================
   Таб-навигация
   ========================================================= */

.volunteer-tabs__nav {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.volunteer-tabs__btn {
    font-size: 32px;
    font-weight: 900;
    color: var(--color-primary);
    text-transform: uppercase;
    background: none;
    border: none;
    cursor: pointer;
    padding: 14px 40px;
    border-radius: 8px;
    line-height: normal;
    white-space: nowrap;
    transition: background-color var(--transition), color var(--transition);
    font-family: inherit;
    background: rgba(0, 85, 169, 0.08);
}

.volunteer-tabs__btn--active {
    background: var(--color-primary);
    color: #fff;
}

.volunteer-tabs__btn:hover:not(.volunteer-tabs__btn--active) {
    background: rgba(0, 85, 169, 0.12);
}

.volunteer-tabs__panel {
    display: none;
}

.volunteer-tabs__panel--active {
    display: block;
}

/* =========================================================
   Герой-блок: цитата + фото
   ========================================================= */

.volunteer-hero {
    display: grid;
    grid-template-columns: 1fr 55%;
    min-height: 450px;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.volunteer-hero__lead {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    line-height: 30px;
    padding-right: 32px;
    z-index: 2;
}

.volunteer-hero__media {
    position: relative;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
}

.volunteer-hero__media::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 1)   0%,
        rgba(255, 255, 255, 0.9) 30%,
        rgba(255, 255, 255, 0.5) 65%,
        rgba(255, 255, 255, 0)   100%
    );
}

@media (min-width: 1101px) {
    .volunteer-page .volunteer-hero__media::before {
        background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0.5) 0%,
            rgba(255, 255, 255, 0.12) 22%,
            rgba(255, 255, 255, 0) 45%
        );
    }
}

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

.volunteer-page--boxes .volunteer-hero__media picture {
    display: block;
    width: 100%;
    height: 100%;
}

/* =========================================================
   Вводный текст
   ========================================================= */

.volunteer-page__text-block {
    margin-bottom: 40px;
}

.volunteer-page__text-block p {
    font-size: 20px;
    font-weight: 400;
    color: #222;
    line-height: 30px;
    margin-bottom: 32px;
}

.volunteer-page__text-block p:last-child {
    margin-bottom: 0;
}

.volunteer-page__text-block ul {
    list-style: disc;
    padding-left: 28px;
    margin-bottom: 16px;
}

.volunteer-page__text-block li {
    font-size: 20px;
    font-weight: 400;
    color: #222;
    line-height: 30px;
    margin-bottom: 6px;
}

.volunteer-page__text-block li:last-child {
    margin-bottom: 0;
}

/* =========================================================
   Заголовок раздела «Как я могу помочь»
   ========================================================= */

.volunteer-page__section-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--color-primary);
    text-transform: uppercase;
    margin: 0 0 32px;
    line-height: normal;
}

/* =========================================================
   Секции «текст + фото»
   ========================================================= */

.volunteer-section {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: start;
    margin-bottom: 52px;
}

.volunteer-section--reversed {
    grid-template-columns: 400px 1fr;
}

.volunteer-section__heading {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    line-height: 30px;
    margin-bottom: 16px;
}

.volunteer-section__text p {
    font-size: 20px;
    font-weight: 400;
    color: #222;
    line-height: 30px;
    margin-bottom: 16px;
}

.volunteer-section__text p:last-child {
    margin-bottom: 0;
}

.volunteer-section__img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
    display: block;
}

/* Для reversed: медиа уже первое в DOM, выстраивается автоматически */

/* =========================================================
   Заключительный текст
   ========================================================= */

.volunteer-page__final {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    line-height: 30px;
    margin: 0 0 40px;
}

/* =========================================================
   Кнопки действий
   ========================================================= */

.volunteer-page__actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.volunteer-page__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px 10px 26px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    font-family: inherit;
    text-decoration: none;
    transition: background-color var(--transition);
}

.volunteer-page__btn--red {
    background: #e20000;
    color: #fff;
    box-shadow: 0 1px 0 #830000, 0 2px 4px #a90000;
}

.volunteer-page__btn--red:hover {
    background: #c00000;
    color: #fff;
}

.volunteer-page__btn--blue {
    background: var(--color-primary-dark);
    color: #fff;
    box-shadow: 0 1px 0 #003060, 0 2px 4px var(--color-primary);
}

.volunteer-page__btn--blue:hover {
    background: var(--color-primary);
    color: #fff;
}

.volunteer-page__btn--disabled,
.volunteer-page__btn--disabled:hover {
    background: var(--color-primary-dark);
    color: #fff;
    cursor: default;
}

.volunteer-page .volunteer-tabs__btn:focus-visible,
.volunteer-page .volunteer-page__btn:focus-visible,
.volunteer-page .volunteer-form__input:focus-visible,
.volunteer-page .volunteer-form__textarea:focus-visible,
.volunteer-page .volunteer-form__submit:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
}

/* =========================================================
   Форма заявки
   ========================================================= */

.volunteer-page__form-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--color-primary);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 12px;
}

.volunteer-page__form-desc {
    font-size: 18px;
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: 32px;
}

.volunteer-notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 1.5;
}

.volunteer-notice--success {
    background: #e8f5e9;
    border-left: 4px solid #43a047;
    color: #2e7d32;
}

.volunteer-notice--error {
    background: #fff3f3;
    border-left: 4px solid var(--color-accent);
    color: #c62828;
}

.volunteer-notice__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.volunteer-notice__text {
    font-weight: 400;
    margin: 0;
}

.volunteer-form {
    max-width: 800px;
}

.volunteer-form__row {
    display: grid;
    gap: 20px;
    margin-bottom: 0;
}

.volunteer-form__row--2 {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 0;
}

.volunteer-form__group {
    margin-bottom: 20px;
}

.volunteer-form__label {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.volunteer-form__label--req::after {
    content: ' *';
    color: var(--color-accent);
}

.volunteer-form__hint {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-muted);
}

.volunteer-form__input,
.volunteer-form__textarea {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    font-family: inherit;
    color: var(--color-text);
    background: #fff;
    box-sizing: border-box;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.volunteer-form__input:focus,
.volunteer-form__textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 85, 169, 0.12);
}

.volunteer-form__input--error,
.volunteer-form__textarea--error {
    border-color: #c62828;
    box-shadow: none;
}

.volunteer-form__textarea {
    min-height: 130px;
    resize: vertical;
}

.volunteer-form__error {
    margin-top: 8px;
    font-size: 16px;
    color: #c62828;
    line-height: 1.4;
}

.volunteer-form__checkboxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 32px;
    margin-top: 4px;
}

.volunteer-form__check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.volunteer-form__check-input {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.volunteer-form__check-label {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.4;
    cursor: pointer;
}

.volunteer-form__check-label--error,
.volunteer-form__label--error {
    color: #c62828;
}

.volunteer-form__agree-group {
    margin-top: 4px;
}

.volunteer-form__error--check {
    padding-left: 30px;
}

.volunteer-form__submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px 12px 28px;
    background: var(--color-accent);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 1px 0 #830000, 0 2px 4px #a90000;
    transition: background-color var(--transition);
    margin-top: 8px;
}

.volunteer-form__submit:hover {
    background: #c00000;
}

/* =========================================================
   Адаптив — lg ≤ 1100px
   ========================================================= */

@media (max-width: 1100px) {
    .volunteer-hero,
    .volunteer-section,
    .volunteer-section--reversed {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .volunteer-hero__media {
        height: 320px;
    }

    .volunteer-hero__media::before {
        background: none;
    }

    .volunteer-hero__lead {
        padding-right: 0;
        padding-bottom: 20px;
    }

    .volunteer-section__img {
        height: 280px;
    }

    /* На адаптиве у reversed: медиа уже первое в HTML, переставлять не нужно */
}

/* =========================================================
   Адаптив — md ≤ 925px
   ========================================================= */

@media (max-width: 925px) {
    .volunteer-page__title      { font-size: 36px; }
    .volunteer-page__section-title { font-size: 26px; }
    .volunteer-page__final      { font-size: 20px; }
    .volunteer-page__form-title { font-size: 26px; }

    .volunteer-tabs__btn { font-size: 24px; padding: 12px 28px; }
    .volunteer-tabs__nav { gap: 20px; }

    .volunteer-hero__lead        { font-size: 20px; line-height: 28px; }
    .volunteer-section__heading  { font-size: 22px; line-height: 28px; }

    .volunteer-page__text-block p,
    .volunteer-page__text-block li,
    .volunteer-section__text p   { font-size: 18px; line-height: 26px; }

    .volunteer-form__row--2      { grid-template-columns: 1fr; }
    .volunteer-form__checkboxes  { grid-template-columns: 1fr; }
}

/* =========================================================
   Адаптив — sm ≤ 620px
   ========================================================= */

@media (max-width: 620px) {
    .volunteer-page__title { font-size: 28px; }

    .volunteer-tabs__btn { font-size: 16px; padding: 8px 16px; white-space: normal; text-align: left; }
    .volunteer-tabs__nav { gap: 8px; }

    .volunteer-hero__media { height: 240px; }

    .volunteer-section__img { height: 220px; }

    .volunteer-page__text-block p,
    .volunteer-page__text-block li,
    .volunteer-section__text p { font-size: 16px; line-height: 24px; }

    .volunteer-section__heading { font-size: 22px; }

    .volunteer-page__final { font-size: 20px; }

    .volunteer-page__actions { flex-direction: column; align-items: flex-start; }

    .volunteer-page .volunteer-page__title {
        font-size: 26px;
        line-height: 32px;
        margin-bottom: 20px;
    }

    .volunteer-page .volunteer-tabs__nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 20px;
    }

    .volunteer-page .volunteer-tabs__btn {
        max-width: 100%;
        padding: 0;
        background: none;
        font-size: 24px;
        line-height: 1.2;
        white-space: normal;
        text-align: left;
    }

    .volunteer-page .volunteer-tabs__btn--active {
        max-width: 247px;
        padding: 14px 40px;
        background: var(--color-primary);
        line-height: 0.95;
    }

    .volunteer-page .volunteer-hero {
        margin-bottom: 20px;
    }

    .volunteer-page .volunteer-hero__lead {
        padding-bottom: 20px;
        font-size: 16px;
        line-height: 24px;
    }

    .volunteer-page .volunteer-hero__media {
        height: 200px;
    }

    .volunteer-page .volunteer-page__text-block {
        margin-bottom: 20px;
    }

    .volunteer-page .volunteer-page__text-block p,
    .volunteer-page .volunteer-page__text-block li,
    .volunteer-page .volunteer-section__text p {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 14px;
    }

    .volunteer-page .volunteer-page__section-title {
        margin-bottom: 20px;
        font-size: 18px;
    }

    .volunteer-page .volunteer-section,
    .volunteer-page .volunteer-section--reversed {
        gap: 20px;
        margin-bottom: 30px;
    }

    .volunteer-page .volunteer-section__media {
        order: -1;
    }

    .volunteer-page .volunteer-section__heading {
        margin-bottom: 10px;
        font-size: 18px;
        line-height: 24px;
    }

    .volunteer-page .volunteer-section--physical .volunteer-section__img,
    .volunteer-page .volunteer-section--participation .volunteer-section__img {
        height: 360px;
    }

    .volunteer-page .volunteer-section--information .volunteer-section__img {
        height: 250px;
    }

    .volunteer-page .volunteer-section--communication .volunteer-section__img,
    .volunteer-page .volunteer-section--professional .volunteer-section__img {
        height: 300px;
    }

    .volunteer-page .volunteer-section--transport .volunteer-section__img {
        height: 350px;
    }

    .volunteer-page .volunteer-page__final {
        margin-bottom: 20px;
        font-size: 18px;
        line-height: 1.4;
    }

    .volunteer-page .volunteer-page__actions {
        align-items: stretch;
        gap: 20px;
        margin-bottom: 26px;
    }

    .volunteer-page .volunteer-page__btn {
        justify-content: center;
        width: 100%;
        min-height: 44px;
        padding: 8px 18px;
        box-sizing: border-box;
    }

    .volunteer-page .volunteer-page__btn--red { order: 1; }
    .volunteer-page .volunteer-page__btn--blue { order: 2; }

    .volunteer-page--boxes .volunteer-page__actions {
        align-items: center;
    }

    .volunteer-page--boxes .volunteer-page__btn {
        width: 288px;
    }

    .volunteer-page .volunteer-page__form-title {
        font-size: 22px;
    }

    .volunteer-page .volunteer-form__submit {
        justify-content: center;
        width: 100%;
    }
}

/* End */
/* /local/templates/goodness-pantry-v2/fonts/fonts.css?17908481511485 */
/* /local/templates/goodness-pantry-v2/css/reset.css?1776552281662 */
/* /local/templates/goodness-pantry-v2/css/tokens.css?17908481501649 */
/* /local/templates/goodness-pantry-v2/css/framework.css?17837227764499 */
/* /local/templates/goodness-pantry-v2/css/style.css?179165779567055 */
/* /local/templates/goodness-pantry-v2/css/content.css?17908481483273 */
/* /local/templates/goodness-pantry-v2/components/bitrix/news.list/volunteer-page/style.css?179084814116493 */
