/* ==========================================================================
   АгроЭггз — стили лендинга
   Палитра из логотипа: лес / бронза / песок / лист + кремовая бумага.
   Правила проекта: классы через _, без gap во flex, px/%/vw/vh/dvh,
   картинки через <img>, контейнеры _inner, sticky footer.
   ========================================================================== */

:root {
    --forest:      #2e4b2c;
    --forest-deep: #223719;
    --bronze:      #d19b5d;
    --bronze-deep: #bd8442;
    --sand:        #b8a886;
    --leaf:        #739444;

    --paper:   #f6f2e7;   /* основной кремовый фон */
    --plaster: #fbf9f2;   /* шапка / карточки */
    --ink:     #23281d;   /* основной текст */
    --muted:   #6c7161;   /* приглушённый текст */
    --line:    rgba(46, 75, 44, 0.16);
    --accent:  var(--bronze);

    --ff-display: "Times New Roman", Times, serif;
    --ff-body:    "Times New Roman", Times, serif;
    --ff-mono:    "Times New Roman", Times, serif;

    --header-h: 92px;
    --maxw: 1400px;
    --radius: 14px;
    --shadow: 0 18px 50px rgba(34, 55, 25, 0.14);
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--ff-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;

    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--ff-display); font-weight: 600; line-height: 1.2; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
dl, dt, dd { margin: 0; }

.ff_mono { font-family: var(--ff-mono); }

/* ---------- контейнер ---------- */
[class$="_inner"] {
    position: relative;
    z-index: 2;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- общие элементы ---------- */
.eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bronze-deep);
    margin-bottom: 16px;
}

.section_head { max-width: 640px; margin-bottom: 44px; }
.section_head_title {
    font-size: clamp(28px, 4.4vw, 46px);
    text-transform: uppercase;
    letter-spacing: 0.005em;
}
.section_head_lede { margin-top: 18px; color: var(--muted); font-size: 17px; }
.section_head_light .eyebrow { color: var(--bronze); }
.section_head_light .section_head_title,
.section_head_light .section_head_lede { color: var(--plaster); }
.section_head_light .section_head_lede { color: rgba(251, 249, 242, 0.78); }

/* ---------- кнопки ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    padding: 0 28px;
    font-family: var(--ff-body);
    font-weight: 700;
    font-size: 16px;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn_primary { background: var(--bronze); color: #fff; }
.btn_primary:hover { background: var(--bronze-deep); }
.btn_ghost { background: transparent; color: var(--forest); border-color: var(--line); }
.btn_ghost:hover { border-color: var(--forest); }

/* ==========================================================================
   ШАПКА
   ========================================================================== */
.site_header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--header-h);
    background: var(--plaster);
    border-bottom: 1px solid var(--line);
}
/* заглушка над шапкой — закрывает «дырку» встроенного браузера Telegram */
.site_header::before {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: 100%;
    height: 184px;
    background: var(--plaster);
}
.site_header_inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand { display: flex; align-items: center; }
.brand_mark { width: auto; height: 84px; object-fit: contain; }

.site_nav { display: flex; align-items: center; }
.site_nav > * + * { margin-left: 28px; }
.site_nav_menu { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.site_nav_menu > li + li { margin-left: 28px; }
.site_nav_link,
.site_nav_menu > li > a { font-weight: 600; font-size: 15px; color: var(--ink); transition: color 0.2s ease; }
.site_nav_link:hover,
.site_nav_menu > li > a:hover { color: var(--bronze-deep); }
.site_nav_phones { display: flex; flex-direction: column; }
.site_nav_phone { font-size: 16px; font-weight: 700; color: var(--forest); }
.site_nav_phone:hover { color: var(--bronze-deep); }
.site_nav_phones .site_nav_phone + .site_nav_phone { margin-top: 3px; }
.site_nav_cta { height: 44px; padding: 0 20px; font-size: 15px; }

/* соцсети (шапка + подвал) */
.socials { display: flex; align-items: center; }
.socials > * + * { margin-left: 10px; }
.social_link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    line-height: 0;
    transition: transform 0.15s ease, background-color 0.2s ease;
}
.social_link img { width: 100%; height: 100%; object-fit: contain; display: block; vertical-align: middle; }
.social_link:hover { opacity: 0.85; }

/* в шапке — компактнее, без margin-left от .site_nav > * + * у детей */
.site_nav_socials { margin-left: 24px; }
.site_nav_socials .social_link { width: 28px; height: 28px; }

/* бургер */
.burger {
    display: none;
    width: 44px; height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
}
.burger span {
    position: absolute;
    left: 11px; right: 11px;
    height: 2px;
    background: var(--forest);
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero_section {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 64px) 0 72px;
    background: var(--forest-deep);
    overflow: hidden;
}
/* фон: баннер справа + градиент цвета слева (как в блоке «Доставка») */
.hero_bg {
    position: absolute;
    top: 0; right: 0; left: auto; bottom: 0;
    width: auto; height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
    -webkit-mask-image:
        linear-gradient(180deg, transparent 0%, #000 10%, #000 100%),
        linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
    mask-image:
        linear-gradient(180deg, transparent 0%, #000 10%, #000 100%),
        linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}
.hero_section::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg,
        var(--forest) 0%,
        var(--forest) 15%,
        rgba(34, 55, 25, 0.5) 34%,
        rgba(34, 55, 25, 0.15) 50%,
        rgba(34, 55, 25, 0) 62%);
    z-index: 1;
}
.hero_section_inner {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
}

.hero_copy { max-width: 760px; }
.hero_title {
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.005em;
    color: var(--plaster);
}
.hero_copy .accent_word { color: var(--bronze); }
.hero_lede { margin-top: 22px; color: rgba(246, 242, 231, 0.82); font-size: 18px; }

.hero_actions { display: flex; flex-wrap: wrap; margin-top: 30px; }
.hero_actions > * { margin: 12px 12px 0 0; }

.hero_copy .btn_ghost { color: var(--plaster); border-color: rgba(246, 242, 231, 0.5); }
.hero_copy .btn_ghost:hover { border-color: var(--plaster); background: rgba(246, 242, 231, 0.08); }

.hero_copy .eyebrow { color: var(--bronze); }
.hero_points { margin-top: 30px; }
.hero_point { position: relative; padding-left: 30px; font-size: 15px; color: rgba(246, 242, 231, 0.9); }
.hero_point + .hero_point { margin-top: 12px; }
.hero_point::before {
    content: "";
    position: absolute;
    left: 0; top: 7px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--leaf);
    box-shadow: inset 0 0 0 3px var(--paper), 0 0 0 2px rgba(115,148,68,0.35);
}

.hero_stats {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 26px;
    border-top: 1px solid rgba(246, 242, 231, 0.22);
}
.hero_stat + .hero_stat {
    margin-left: 22px;
    padding-left: 22px;
    border-left: 1px solid rgba(246, 242, 231, 0.22);
}
.hero_stat_num {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
    color: var(--plaster);
    text-transform: uppercase;
    white-space: nowrap;
}
.hero_stat_label { display: block; margin-top: 8px; font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(246, 242, 231, 0.7); white-space: nowrap; }

/* ==========================================================================
   АССОРТИМЕНТ
   ========================================================================== */
.assortment_section { position: relative; overflow: hidden; padding: 96px 0; }
.cat_grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat_card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--plaster);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.cat_card:hover { box-shadow: var(--shadow); border-color: transparent; }
.cat_card_row {
    display: flex;
    align-items: center;
}
.cat_card_main {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}
.cat_card_bird {
    flex: 0 0 auto;
    width: 120px;
    max-width: 34%;
    height: auto;
    max-height: 130px;
    object-fit: contain;
    margin-left: 18px;
}
.cat_card_country {
    text-align: right;
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.35;
    color: var(--muted);
}
.cat_card_head { display: flex; align-items: center; margin-bottom: 16px; }
.cat_card_title { font-size: 23px; text-transform: uppercase; color: var(--forest); }
.cat_list li { position: relative; padding-left: 20px; font-size: 15px; }
.cat_list li + li { margin-top: 10px; }
.cat_list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--bronze); }

.assortment_cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 34px;
    padding: 30px 34px;
    background: var(--forest);
    border-radius: var(--radius);
}
.assortment_cta_text { margin: 8px 24px 8px 0; }
.assortment_cta_title { font-size: 26px; text-transform: uppercase; color: var(--plaster); }
.assortment_cta_lede { margin-top: 6px; color: rgba(246, 242, 231, 0.78); font-size: 15px; }
.assortment_cta .btn { margin: 8px 0; }

/* ==========================================================================
   ДОСТАВКА (тёмная секция)
   ========================================================================== */
.delivery_section { position: relative; padding: 96px 0; background: var(--forest-deep); overflow: hidden; }
.delivery_bg { position: absolute; top: 0; right: 0; left: auto; width: 60%; height: 100%; object-fit: cover; opacity: 1; z-index: 0; }
.delivery_section::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg,
        var(--forest-deep) 0%,
        var(--forest-deep) 40%,
        rgba(34, 55, 25, 0.7) 60%,
        rgba(34, 55, 25, 0.28) 100%);
    z-index: 1;
}
.delivery_grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.delivery_card {
    background: rgba(246, 242, 231, 0.06);
    border: 1px solid rgba(246, 242, 231, 0.14);
    border-radius: var(--radius);
    padding: 26px 22px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.delivery_card:hover { background: rgba(246, 242, 231, 0.1); border-color: var(--bronze); }
.delivery_card_num {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 8px;
    background: var(--bronze);
    color: #fff;
    font-size: 20px;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}
.delivery_card_title { font-size: 20px; text-transform: uppercase; color: var(--plaster); margin-bottom: 8px; }
.delivery_card_text { color: rgba(246, 242, 231, 0.7); font-size: 14px; }

.delivery_promo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 34px;
    padding-top: 30px;
    border-top: 1px solid rgba(246, 242, 231, 0.16);
}
.delivery_promo_text { margin: 8px 24px 8px 0; max-width: 640px; font-family: var(--ff-display); font-weight: 500; font-size: 24px; text-transform: uppercase; color: var(--plaster); line-height: 1.2; }
.delivery_promo .btn { margin: 8px 0; }

/* ==========================================================================
   ГАРАНТИИ
   ========================================================================== */
.quality_section { position: relative; overflow: hidden; padding: 96px 0; }
.quality_grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 22px; }
.quality_card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--plaster);
    border-left: 4px solid var(--leaf);
}
.quality_card_title { font-size: 21px; line-height: 1.2; text-transform: uppercase; color: var(--forest); margin-bottom: 0; }
.quality_note {
    margin-top: 32px;
    font-size: 20px;
    font-weight: 600;
    color: var(--forest);
}

/* ==========================================================================
   ЗАЯВКА: форма + FAQ
   ========================================================================== */
.lead_section { padding: 96px 0; background: var(--sand); background: linear-gradient(180deg, var(--paper), #efe9d8); }
.lead_section_inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 48px;
}
.lead_socials { margin-top: 26px; }

.lead_title { font-size: clamp(28px, 4vw, 44px); text-transform: uppercase; color: var(--forest); }
.lead_lede { margin-top: 18px; color: var(--muted); }
.lead_contacts { margin-top: 24px; }
.lead_contacts li { font-size: 16px; }
.lead_contacts li + li { margin-top: 8px; }
.lead_contacts a { color: var(--forest); font-weight: 600; }
.lead_contacts a:hover { color: var(--bronze-deep); }

/* --- форма (контракт .contact_form / CF7) --- */
.contact_form,
.wpcf7-form {
    background: var(--plaster);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.contact_form > * + *,
.wpcf7-form > * + * { margin-top: 22px; }
.contact_form_head { display: flex; align-items: baseline; justify-content: space-between; }
.contact_form_num { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bronze-deep); }
.contact_form_meta { font-size: 13px; color: var(--muted); }

.form_field { display: block; position: relative; }
.form_label { display: block; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.form_field input,
.form_field textarea {
    width: 100%;
    font-family: var(--ff-body);
    font-size: 16px;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    outline: none;
    transition: border-color 0.2s ease;
}
.form_field textarea { resize: vertical; height: calc(2 * 1.4em + 24px + 1px); }
.form_field input:focus,
.form_field textarea:focus { border-bottom-color: var(--forest); }
.form_field input::placeholder,
.form_field textarea::placeholder { color: rgba(108, 113, 97, 0.55); }

.form_actions {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    row-gap: 14px;
    padding-top: 12px;
}
.form_submit {
    grid-column: 1; grid-row: 1;
    height: 56px;
    padding: 0 30px;
    background: var(--bronze);
    color: #fff;
    font-family: var(--ff-body);
    font-weight: 700;
    font-size: 16px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.form_submit:hover { background: var(--bronze-deep); }
.form_note { grid-column: 1 / -1; grid-row: 2; margin: 0; font-size: 12px; color: var(--muted); }

/* --- Contact Form 7 — подгон под .contact_form --- */
/* обёртку CF7 делаем прозрачной, реальный контейнер формы — .wpcf7-form */
.wpcf7 { display: contents; }

/* защита от автообёртки <p>/<br> */
.wpcf7-form p  { margin: 0; }
.wpcf7-form br { display: none; }

/* служебные hidden в fieldset — скрыть, и не давать верхнего отступа следующему полю */
.wpcf7-form > fieldset.hidden-fields-container { display: none; }
.wpcf7-form > fieldset.hidden-fields-container + * { margin-top: 0; }

/* SR-only ARIA-блок */
.wpcf7 .screen-reader-response {
    position: absolute; left: -9999px; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0);
}

/* input завёрнут в span — он должен занимать всю ширину поля и не тянуть margin */
.form_field > .wpcf7-form-control-wrap { display: block; position: relative; width: 100%; margin-top: 0; }
/* гасим size/maxlength-ширину инпутов и rows textarea из вывода CF7 */
.form_field .wpcf7-form-control { width: 100%; }
.form_field textarea.wpcf7-textarea { height: calc(2 * 1.4em + 24px + 1px); }

/* невалидное поле после сабмита — подсветка акцентом */
.form_field input.wpcf7-not-valid,
.form_field textarea.wpcf7-not-valid { border-bottom-color: var(--bronze-deep); color: var(--bronze-deep); }
.form_field input.wpcf7-not-valid::placeholder,
.form_field textarea.wpcf7-not-valid::placeholder { color: var(--bronze-deep); opacity: 0.6; }

/* сообщение об ошибке поля — впритык под инпутом, не двигает layout */
.wpcf7-not-valid-tip {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 2px;
    font-size: 11px;
    color: var(--bronze-deep);
    font-family: var(--ff-mono);
    pointer-events: none;
}

/* спиннер — крутится в правом крае кнопки */
.wpcf7-spinner {
    grid-column: 1; grid-row: 1;
    justify-self: end;
    align-self: center;
    margin: 0 16px 0 0;
    width: 16px; height: 16px;
    background: transparent;
    border: 2px solid transparent;
    border-top-color: #fff;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    animation: agroeggs_spinner_rotate 0.9s linear infinite;
}
.wpcf7-spinner::before { display: none; }
.wpcf7-form.submitting .wpcf7-spinner { opacity: 1; visibility: visible; }
@keyframes agroeggs_spinner_rotate { to { transform: rotate(360deg); } }

/* общий ответ формы — полоска-уведомление, специфичность как у плагина (.wpcf7 form ...) */
.wpcf7 form .wpcf7-response-output {
    margin: 18px 0 0;
    padding: 10px 14px;
    border: 0;
    border-left: 3px solid var(--line);
    border-radius: 0 4px 4px 0;
    background: rgba(20, 19, 15, 0.04);
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
    font-family: var(--ff-mono);
}
.wpcf7 form .wpcf7-response-output:empty { display: none; }
.wpcf7 form.invalid    .wpcf7-response-output,
.wpcf7 form.failed     .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output { border-left-color: var(--bronze-deep); color: var(--bronze-deep); }
.wpcf7 form.sent .wpcf7-response-output { border-left-color: #1f8a4c; color: #1f8a4c; }

/* ==========================================================================
   FAQ (отдельная секция)
   ========================================================================== */
.faq_section { position: relative; overflow: hidden; padding: 96px 0; }
.faq_item { border-bottom: 1px solid var(--line); }
.faq_q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
    font-family: var(--ff-body);
    font-weight: 600;
    font-size: 17px;
    color: var(--ink);
}
.faq_icon { position: relative; flex: none; width: 18px; height: 18px; margin-left: 16px; }
.faq_icon::before, .faq_icon::after { content: ""; position: absolute; background: var(--bronze-deep); transition: transform 0.25s ease; }
.faq_icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq_icon::after  { top: 0; left: 8px; width: 2px; height: 18px; }
.faq_q[aria-expanded="true"] .faq_icon::after { transform: scaleY(0); }
.faq_a { overflow: hidden; max-height: 0; transition: max-height 0.3s ease; }
.faq_a p { padding: 0 0 18px; color: var(--muted); font-size: 15px; }

/* ==========================================================================
   ПОДВАЛ
   ========================================================================== */
.site_footer { margin-top: auto; background: var(--forest-deep); color: var(--plaster); padding: 60px 0 0; }
.site_footer_inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer_brand { display: flex; flex-direction: column; }
.footer_mark { width: 300px; height: 78px; object-fit: contain; background: var(--plaster); border-radius: 10px; padding: 5px; }
.footer_tagline { margin-top: 16px; max-width: 320px; color: rgba(246, 242, 231, 0.72); font-size: 15px; }
.footer_col { display: flex; flex-direction: column; }
.site_footer_inner > .footer_col:last-child { align-items: flex-end; text-align: right; }
.footer_col_title { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bronze); margin-bottom: 16px; }
.footer_col a { color: rgba(246, 242, 231, 0.82); font-size: 15px; transition: color 0.2s ease; }
.footer_col > a + a { margin-top: 12px; }
.footer_col a:hover { color: var(--bronze); }
.footer_menu { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.footer_menu > li + li { margin-top: 12px; }
.site_footer_inner > .footer_col:last-child .footer_menu { align-items: flex-end; }

.footer_socials { margin-top: 20px; }
.footer_socials .social_link { width: 32px; height: 32px; border-radius: 8px; }
.site_footer_bottom {
    border-top: 1px solid rgba(246, 242, 231, 0.14);
    padding: 20px 0;
}
.site_footer_bottom {
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.site_footer_bottom span { font-size: 12px; color: rgba(246, 242, 231, 0.6); margin: 6px 24px 6px 0; }

/* ==========================================================================
   АДАПТИВ
   ========================================================================== */
@media (max-width: 1024px) {
    .cat_grid { grid-template-columns: repeat(2, 1fr); }
    .quality_grid { grid-template-columns: repeat(2, 1fr); }
    .delivery_grid { grid-template-columns: repeat(2, 1fr); }
    .hero_section_inner { gap: 40px; }
}

@media (max-width: 850px) {
    body { font-size: 16px; }

    /* компактная шапка на мобильном */
    :root { --header-h: 66px; }
    .brand_mark { height: 56px; }

    /* мобильное меню */
    .burger { display: block; }
    .site_nav {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--plaster);
        border-bottom: 1px solid var(--line);
        padding: 16px 24px 24px;
        transform: translateY(-140%);
        transition: transform 0.3s ease;
        box-shadow: var(--shadow);
    }
    .site_nav.is_open { transform: translateY(0); }
    .site_nav > * + * { margin-left: 0; margin-top: 16px; }
    .site_nav_menu { flex-direction: column; align-items: flex-start; }
    .site_nav_menu > li + li { margin-left: 0; margin-top: 16px; }
    .site_nav_cta { height: 50px; }

    .hero_section { padding-top: calc(var(--header-h) + 32px); }
    .hero_bg {
        top: 0; right: 0; bottom: 0; left: 0;
        width: 100%; height: 100%;
        object-position: right center;
        -webkit-mask-image: none;
        mask-image: none;
    }
    .hero_section::before {
        background: linear-gradient(180deg,
            rgba(34, 55, 25, 0.86) 0%,
            rgba(34, 55, 25, 0.8) 100%);
    }
    .hero_copy .eyebrow { display: none; }
    .hero_points { display: none; }

    .assortment_section,
    .delivery_section,
    .quality_section,
    .lead_section,
    .faq_section { padding: 64px 0; }

    .lead_section_inner { grid-template-columns: 1fr; }
    .faq_a p { font-size: 15px; }

    /* hero: центрирование текста, скрытие показателей */
    .hero_copy { max-width: 560px; margin-left: auto; margin-right: auto; text-align: center; }
    .hero_lede { margin-left: auto; margin-right: auto; }
    .hero_stats { display: none; }

    /* кнопки на всю ширину */
    .hero_actions { flex-direction: column; align-items: stretch; }
    .hero_actions > * { margin: 12px 0 0 0; }
    .hero_actions > *:first-child { margin-top: 0; }
    .btn { width: 100%; }
    .form_actions { grid-template-columns: 1fr; }
    .form_submit { width: 100%; }

    /* мелкий текст крупнее для читаемости */
    .eyebrow,
    .form_label,
    .form_note,
    .contact_form_meta,
    .footer_col_title,
    .site_footer_bottom span { font-size: 14px; }

    /* доставка: центрируем промо-текст */
    .delivery_promo { justify-content: center; }
    .delivery_promo_text { text-align: center; margin-right: 0; }
}

@media (max-width: 640px) {
    .cat_grid,
    .quality_grid,
    .delivery_grid { grid-template-columns: 1fr; }
    /* подвал: бренд по центру сверху, ниже — 2 колонки */
    .site_footer_inner { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer_brand { grid-column: 1 / -1; align-items: center; text-align: center; }
    .footer_tagline { margin-left: auto; margin-right: auto; }
    .site_footer_bottom { justify-content: center; text-align: center; }
    .site_footer_bottom span { width: 100%; margin: 6px 0; }

    .hero_stats { justify-content: center; }
    .hero_stat { text-align: center; margin-top: 16px; }
    .hero_stat + .hero_stat { margin-left: 24px; padding-left: 0; border-left: 0; }
}

@media (max-width: 380px) {
    [class$="_inner"] { padding: 0 16px; }
    .contact_form { padding: 24px 20px; }
}

/* доступность */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; scroll-behavior: auto; }
}
:focus-visible { outline: 2px solid var(--bronze-deep); outline-offset: 2px; border-radius: 4px; }

/* ==========================================================================
   ВНУТРЕННИЕ СТРАНИЦЫ (page / single / search / archive / 404)
   Стоковые _s-шаблоны выводят <main class="site-main"> + .entry-*/.page-*.
   Шапка fixed → обязательный padding-top под неё.
   ========================================================================== */
.site-main {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: calc(var(--header-h) + 56px) 24px 96px;
}

.page-title,
.entry-title {
    font-family: var(--ff-display);
    font-size: clamp(28px, 4.4vw, 46px);
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--forest);
    margin-bottom: 24px;
}
.entry-title a { color: inherit; transition: color 0.2s ease; }
.entry-title a:hover { color: var(--bronze-deep); }

.entry-meta,
.posted-on,
.byline,
.entry-footer,
.cat-links,
.tags-links {
    font-family: var(--ff-mono);
    font-size: 13px;
    color: var(--muted);
}
.entry-meta { margin-bottom: 24px; }
.entry-meta a,
.entry-footer a { color: var(--muted); }
.entry-meta a:hover,
.entry-footer a:hover { color: var(--bronze-deep); }
.entry-footer { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); }

.entry-content > * + * { margin-top: 20px; }
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    font-family: var(--ff-display);
    color: var(--forest);
    line-height: 1.25;
    margin-top: 36px;
}
.entry-content h2 { font-size: 30px; }
.entry-content h3 { font-size: 24px; }
.entry-content h4 { font-size: 20px; }
.entry-content a { color: var(--bronze-deep); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--forest); }
.entry-content ul,
.entry-content ol { padding-left: 22px; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: 8px; }
.entry-content blockquote {
    margin: 0;
    padding: 14px 22px;
    border-left: 4px solid var(--leaf);
    background: var(--plaster);
    color: var(--muted);
    font-style: italic;
}
.entry-content img { border-radius: var(--radius); }

/* пагинация постов/архивов */
.posts-navigation,
.post-navigation,
.pagination { margin-top: 48px; }
.posts-navigation a,
.post-navigation a,
.pagination a { color: var(--bronze-deep); font-weight: 600; }
.posts-navigation a:hover,
.post-navigation a:hover,
.pagination a:hover { color: var(--forest); }

/* форма поиска */
.search-form {
    display: flex;
    flex-wrap: wrap;
    max-width: 520px;
}
.search-form .search-field {
    flex: 1 1 auto;
    min-width: 0;
    font-family: var(--ff-body);
    font-size: 16px;
    color: var(--ink);
    background: var(--plaster);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 16px;
    outline: none;
}
.search-form .search-field:focus { border-color: var(--forest); }
.search-form .search-submit {
    flex: 0 0 auto;
    margin-left: 12px;
    height: 48px;
    padding: 0 24px;
    background: var(--bronze);
    color: #fff;
    font-family: var(--ff-body);
    font-weight: 700;
    font-size: 15px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.search-form .search-submit:hover { background: var(--bronze-deep); }

.page-header { margin-bottom: 32px; }
.page-content > * + * { margin-top: 20px; }

/* ---------- 404 ---------- */
.error404_section {
    display: flex;
    align-items: center;
    min-height: calc(100dvh - var(--header-h) - 200px);
    padding: calc(var(--header-h) + 56px) 0 96px;
    text-align: center;
}
.error404_section_inner { max-width: 640px; text-align: center; }
.error404_code {
    font-size: clamp(64px, 14vw, 130px);
    line-height: 1;
    letter-spacing: 0.04em;
    color: var(--bronze);
    margin-bottom: 12px;
}
.error404_title {
    font-size: clamp(30px, 5vw, 52px);
    text-transform: uppercase;
    color: var(--forest);
}
.error404_title .accent_word { color: var(--bronze); }
.error404_text { margin: 20px 0 32px; color: var(--muted); font-size: 18px; }

@media (max-width: 850px) {
    .site-main { padding: calc(var(--header-h) + 32px) 24px 64px; }
    .error404_section { padding: calc(var(--header-h) + 32px) 0 64px; }
}
