:root{
  /* Цвет */
  --ink:            #232323;  /* основной текст */
  --ink-soft:       #3D4842;  /* абзацы в карточках */
  --muted:          #6B7269;  /* подписи, вторичный текст */
  --faint:          #9A9689;  /* мета, плейсхолдеры */
  --muted-text:     #676D64;  /* мелкий текст: 4.63+ на светлом фоне */
  --paper:          #F6F4EE;  /* фон страницы */
  --surface:        #FFFFFF;  /* карточки */
  --line:           #DFDBD0;  /* рамки, разделители */
  --line-soft:      #EAE6DC;  /* внутренние линии таблиц */
  --green-900:      #12301F;  /* тёмные блоки, шапка таблиц */
  --green-700:      #1F6B33;  /* кнопки, ссылки, акценты */
  --green-brand:    #57B947;  /* фирменный, только на тёмном */
  --green-soft:     #E9F2E4;  /* мягкая подложка, активный пункт */
  --amber:          #C98A2B;  /* надзаголовки, метки разделов */
  --amber-text:     #8A5A10;  /* янтарный текст: 5.38+ на светлом фоне */
  --footer:         #232323;

  /* Типографика */
  --font-display: 'Literata', Georgia, serif;
  --font-text:    'Onest', system-ui, -apple-system, sans-serif;
  --font-mono:    ui-monospace, Menlo, monospace;

  /* Сетка */
  --container: 1280px;
  --gutter:    32px;

  /* Скругления */
  --r-chip:  3px;
  --r-btn:   5px;
  --r-field: 5px;
  --r-tile:  7px;
  --r-card:  9px;
  --r-block: 11px;

  /* Тени — не используются, глубина строится рамкой --line */
}
@font-face{font-family:'Onest';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/files/onest-400-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Onest';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/files/onest-400-latin.woff2') format('woff2');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}
@font-face{font-family:'Onest';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/files/onest-500-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Onest';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/files/onest-500-latin.woff2') format('woff2');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}
@font-face{font-family:'Onest';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/files/onest-600-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Onest';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/files/onest-600-latin.woff2') format('woff2');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}
@font-face{font-family:'Onest';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/files/onest-700-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Onest';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/files/onest-700-latin.woff2') format('woff2');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}
@font-face{font-family:'Onest';font-style:normal;font-weight:800;font-display:swap;src:url('../fonts/files/onest-800-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Onest';font-style:normal;font-weight:800;font-display:swap;src:url('../fonts/files/onest-800-latin.woff2') format('woff2');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}
@font-face{font-family:'Literata';font-style:italic;font-weight:400;font-display:swap;src:url('../fonts/files/literata-400-i-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Literata';font-style:italic;font-weight:400;font-display:swap;src:url('../fonts/files/literata-400-i-latin.woff2') format('woff2');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}
@font-face{font-family:'Literata';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/files/literata-400-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Literata';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/files/literata-400-latin.woff2') format('woff2');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}
@font-face{font-family:'Literata';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/files/literata-600-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Literata';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/files/literata-600-latin.woff2') format('woff2');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}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-menu-open,
body.is-modal-open {
  overflow: hidden;
}

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

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

button,
[type='button'],
[type='submit'] {
  cursor: pointer;
}

a {
  color: var(--green-700);
  text-decoration: none;
}

a:hover {
  color: var(--green-brand);
}

p {
  margin-block: 0 1em;
  text-wrap: pretty;
}

h1,
h2,
h3 {
  color: inherit;
  font-family: var(--font-display);
  font-weight: 600;
  text-wrap: pretty;
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.06;
  letter-spacing: -.02em;
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -.015em;
}

h3 {
  margin: 0 0 16px;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
}

::selection {
  background: var(--green-brand);
  color: var(--surface);
}

:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--surface);
  color: var(--green-900);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: 72px;
}

.lead {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.55;
}

.caption {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.eyebrow {
  color: var(--amber-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.grain-on-dark .eyebrow {
  color: var(--amber);
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.button--large {
  min-height: 52px;
  padding: 17px 26px;
  font-size: 16px;
}

.button--primary {
  background: var(--green-700);
  color: var(--surface);
}

.button--primary:hover {
  background: var(--green-900);
  color: var(--surface);
}

.button--on-dark {
  background: var(--green-brand);
  color: var(--green-900);
}

.button--on-dark:hover {
  background: #6BC95B;
  color: var(--green-900);
}

.button--secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button--secondary:hover {
  border-color: var(--green-700);
  color: var(--green-700);
}

.button--ghost {
  background: transparent;
  color: var(--green-700);
}

.button--ghost:hover {
  background: var(--green-soft);
  color: var(--green-900);
}

.chip,
.filter {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  padding: 10px 18px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.chip:hover,
.filter:hover,
.chip.is-active,
.filter.is-active,
.chip[aria-pressed='true'],
.filter[aria-pressed='true'] {
  border-color: var(--green-700);
  background: var(--green-soft);
  color: var(--green-900);
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--r-chip);
  padding: 5px 9px;
  background: var(--green-soft);
  color: var(--green-700);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}

.metric-grid {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  gap: 1px;
  background: var(--line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-tile {
  padding: 20px;
  background: var(--surface);
}

.metric-tile__label {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .04em;
}

.metric-tile__value {
  margin-top: 6px;
  color: var(--green-700);
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.1;
}

.spec-table {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-spacing: 0;
  border-radius: var(--r-card);
  background: var(--surface);
  border-collapse: separate;
}

.spec-table th,
.spec-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
}

.spec-table th {
  background: var(--green-900);
  color: var(--surface);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}

.spec-table tr:last-child td {
  border-bottom: 0;
}

.cta-dark {
  border-radius: var(--r-block);
  padding: clamp(28px, 4vw, 52px);
  background-color: var(--green-900);
  color: var(--surface);
}

.cta-dark p {
  color: #CBDACF;
}

label {
  display: inline-block;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

input:not([type='checkbox']):not([type='radio']),
textarea,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--r-field);
  padding: 12px 14px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .18s ease, background .18s ease;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:not([type='checkbox']):not([type='radio']):focus,
textarea:focus,
select:focus {
  border-color: var(--green-700);
  outline: 0;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted-text);
}

.grain-warm {
  background-image: url('../img/grain-warm.svg');
  background-position: 0 0;
  background-repeat: repeat;
  background-size: 200px;
}

.grain-on-dark {
  background-image: url('../img/grain-onDark.svg');
  background-position: 0 0;
  background-repeat: repeat;
  background-size: 200px;
}

.hay-strip {
  height: 26px;
  background-image: url('../img/hay-strip.svg');
  background-repeat: repeat-x;
  background-size: 260px 26px;
}

.hay-strip--dark {
  background-image: url('../img/hay-strip-dark.svg');
  opacity: .6;
}

.contact-bar {
  background: var(--green-900);
  color: #BFD3C4;
  font-size: 13px;
}

.contact-bar__inner,
.contact-bar__contacts,
.social-links {
  display: flex;
  align-items: center;
}

.contact-bar__inner {
  min-height: 38px;
  justify-content: space-between;
  gap: 20px;
  padding-block: 7px;
}

.contact-bar__contacts {
  flex-wrap: wrap;
  gap: 6px 20px;
}

.contact-bar a {
  color: #BFD3C4;
}

.contact-bar a:hover {
  color: var(--surface);
}

.contact-bar__phone {
  color: var(--paper) !important;
  font-weight: 600;
}

.social-links {
  flex-wrap: wrap;
  gap: 10px;
}

.social-links--top {
  gap: 14px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 244, 238, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background .18s ease;
}

.site-header.is-scrolled {
  background: rgba(246, 244, 238, .86);
}

.site-header__inner {
  display: flex;
  min-height: 73px;
  align-items: center;
  gap: 26px;
  padding-block: 11px;
}

.site-branding {
  flex: 0 0 auto;
}

.site-branding .custom-logo-link,
.site-branding__fallback {
  display: block;
}

.site-branding img {
  width: auto;
  height: 48px;
}

.primary-navigation {
  min-width: 0;
  flex: 1 1 auto;
}

.primary-menu,
.footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}

.primary-menu a {
  display: flex;
  min-height: 44px;
  align-items: center;
  border-radius: 4px;
  padding: 8px 11px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current-menu-ancestor > a {
  background: var(--green-soft);
  color: var(--green-700);
}

.primary-menu .sub-menu {
  margin: 0;
  padding-left: 16px;
  list-style: none;
}

.site-header__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.site-header__price {
  padding-inline: 20px;
  white-space: nowrap;
}

.site-header__call,
.menu-toggle,
.primary-navigation__price {
  display: none;
}

.site-content {
  min-height: 40vh;
}

.site-footer {
  background-color: var(--footer);
  color: #9FA69F;
}

.site-footer__grid {
  display: grid;
  padding-top: 60px;
  padding-bottom: 28px;
  gap: 36px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-footer__logo {
  display: inline-block;
}

.site-footer__logo img {
  width: auto;
  height: 56px;
}

.site-footer__about p {
  max-width: 320px;
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.6;
}

.social-links--footer {
  margin-top: 18px;
}

.social-links--footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid rgba(246, 244, 238, .2);
  border-radius: 4px;
  padding: 8px 14px;
  color: #DCE7DF;
  font-size: 13.5px;
}

.social-links--footer a:hover {
  border-color: rgba(246, 244, 238, .55);
  color: var(--surface);
}

.site-footer__title {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-text);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-menu,
.site-footer__contacts {
  display: grid;
  margin-top: 16px;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
}

.footer-menu a,
.site-footer__contacts a {
  color: #9FA69F;
}

.footer-menu a:hover,
.site-footer__contacts a:hover {
  color: var(--paper);
}

.site-footer__contacts address {
  font-style: normal;
}

.site-footer__contacts .site-footer__phone {
  color: var(--paper);
  font-size: 17px;
  font-weight: 700;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(246, 244, 238, .12);
  padding-top: 18px;
  padding-bottom: 36px;
  font-size: 13.5px;
}

.site-footer__requisites {
  text-align: right;
}

.modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  visibility: hidden;
  padding: var(--gutter);
  place-items: center;
  background: rgba(18, 48, 31, .72);
  opacity: 0;
  transition: opacity .18s ease, visibility .18s ease;
}

.modal[aria-hidden='false'] {
  visibility: visible;
  opacity: 1;
}

.modal__panel {
  position: relative;
  width: min(100%, 600px);
  max-height: calc(100vh - (var(--gutter) * 2));
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-block);
  padding: clamp(28px, 4vw, 48px);
  background: var(--surface);
}

.modal__panel h2 {
  padding-right: 36px;
}

.modal__panel p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  padding: 0;
  place-items: center;
  background: var(--surface);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.modal__close:hover {
  border-color: var(--green-700);
  color: var(--green-700);
}

.fallback-content > h1 {
  font-size: clamp(32px, 3.4vw, 46px);
}

.post-list {
  display: grid;
  gap: 18px;
}

.post-list__item {
  padding: 24px;
}

.post-list__title {
  margin-bottom: 10px;
  font-family: var(--font-text);
  font-size: 22px;
}

.post-list__title a {
  color: var(--ink);
}

.post-list__title a:hover {
  color: var(--green-700);
}

.post-list__excerpt > :last-child {
  margin-bottom: 0;
}

@media (max-width: 1279px) {
  :root {
    --gutter: 24px;
  }

  .site-header__inner {
    gap: 16px;
  }

  .primary-menu a {
    padding-inline: 8px;
    font-size: 13.5px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 720px) and (max-width: 959px) {
  .contact-bar__inner {
    align-items: flex-start;
  }

  .site-header__inner {
    flex-wrap: wrap;
  }

  .primary-navigation {
    order: 3;
    flex-basis: 100%;
  }

  .primary-menu {
    justify-content: center;
  }

  .site-header__actions {
    margin-left: auto;
  }
}

@media (max-width: 719px) {
  :root {
    --gutter: 16px;
  }

  html {
    scroll-behavior: auto;
  }

  .section {
    padding-block: 48px;
  }

  .contact-bar {
    display: none;
  }

  .site-header__inner {
    min-height: 68px;
    flex-wrap: nowrap;
    gap: 12px;
    padding-block: 9px;
  }

  .site-branding img {
    height: 44px;
  }

  /* backdrop-filter шапки делает её containing block для fixed-панели меню —
     на мобильном отключаем блюр, иначе панель получает высоту шапки. */
  .site-header {
    background: var(--paper);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .primary-navigation {
    position: fixed;
    z-index: 1;
    top: var(--menu-top, 68px);
    right: 0;
    bottom: 0;
    left: 0;
    visibility: hidden;
    overflow-y: auto;
    padding: 28px var(--gutter) 48px;
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  .primary-navigation.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .primary-menu {
    display: block;
  }

  .primary-menu > li {
    border-bottom: 1px solid var(--line);
  }

  .primary-menu a {
    min-height: 58px;
    border-radius: 0;
    padding: 14px 0;
    color: var(--ink);
    font-size: 19px;
    font-weight: 600;
  }

  .primary-menu a:hover,
  .primary-menu .current-menu-item > a,
  .primary-menu .current-menu-ancestor > a {
    background: transparent;
  }

  .primary-menu .sub-menu a {
    min-height: 48px;
    color: var(--muted);
    font-size: 16px;
  }

  .primary-navigation__price {
    display: inline-flex;
    width: 100%;
    min-height: 52px;
    margin-top: 24px;
  }

  .site-header__actions {
    margin-left: auto;
  }

  .site-header__price {
    display: none;
  }

  .site-header__call {
    display: inline-flex;
    min-height: 44px;
    padding: 10px 13px;
    font-size: 13.5px;
  }

  .menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: var(--r-btn);
    padding: 0;
    background: var(--surface);
  }

  .menu-toggle__line {
    width: 19px;
    height: 2px;
    background: var(--green-900);
    transition: transform .18s ease, opacity .18s ease;
  }

  .menu-toggle[aria-expanded='true'] .menu-toggle__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded='true'] .menu-toggle__line:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded='true'] .menu-toggle__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

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

  .spec-table,
  .spec-table tbody,
  .spec-table tr,
  .spec-table td {
    display: block;
    width: 100%;
  }

  .spec-table thead {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .spec-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    border-bottom: 1px solid var(--line-soft);
  }

  .spec-table tr:last-child {
    border-bottom: 0;
  }

  .spec-table td {
    border: 0;
    padding: 13px 16px;
  }

  .spec-table td:last-child {
    color: var(--green-900);
    font-weight: 700;
    text-align: right;
  }

  .site-footer__grid {
    padding-top: 48px;
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
  }

  .site-footer__requisites {
    text-align: left;
  }

  .modal {
    align-items: end;
    padding: 12px;
  }

  .modal__panel {
    max-height: calc(100vh - 24px);
    padding: 28px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Home page -------------------------------------------------------------- */
.home-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--green-900);
  color: var(--paper);
}

.home-hero__glow,
.home-hero__rings {
  position: absolute;
  pointer-events: none;
}

.home-hero__glow {
  inset: 0;
  background: radial-gradient(circle at 78% 8%, var(--green-700), transparent 54%);
  opacity: .55;
}

.home-hero__rings {
  top: -160px;
  right: -120px;
  width: 520px;
  height: 520px;
  border: 1px solid var(--green-brand);
  border-radius: 50%;
  opacity: .22;
}

.home-hero__rings::after {
  position: absolute;
  top: 100px;
  right: 100px;
  width: 320px;
  height: 320px;
  border: 1px solid var(--green-brand);
  border-radius: 50%;
  content: '';
  opacity: .65;
}

.home-hero__inner {
  position: relative;
  display: grid;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 84px;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .88fr);
}

.home-hero__badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--muted);
  border-radius: var(--r-btn);
  padding: 7px 13px;
  color: var(--line);
  font-size: 13px;
  line-height: 1.4;
  gap: 10px;
}

.home-hero__badge span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 2px;
  background: var(--green-brand);
}

.home-hero h1 {
  max-width: 650px;
  margin-top: 20px;
  margin-bottom: 0;
}

.home-hero__lead {
  max-width: 590px;
  margin-top: 20px;
  color: var(--line);
}

.home-hero__lead > :last-child,
.home-b2b__lead > :last-child,
.home-contract__lead > :last-child,
.home-documents__copy > div > :last-child {
  margin-bottom: 0;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  gap: 12px;
}

.home-hero__secondary {
  border-color: var(--faint);
  background: transparent;
  color: var(--paper);
}

.home-hero__secondary:hover {
  border-color: var(--paper);
  color: var(--surface);
}

.home-hero__notes {
  display: flex;
  flex-wrap: wrap;
  margin-top: 38px;
  color: var(--faint);
  font-size: 13.5px;
  line-height: 1.4;
  gap: 8px 24px;
}

.home-hero__media,
.home-hero__media-row {
  display: grid;
  gap: 14px;
}

.home-hero__media-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-hero__image {
  overflow: hidden;
  border: 1px solid var(--muted);
  background: var(--green-900);
}

.home-hero__image--wide {
  border-radius: var(--r-block);
  aspect-ratio: 4 / 3;
}

.home-hero__image--square {
  border-radius: var(--r-tile);
  aspect-ratio: 1;
}

.home-hero__image img,
.home-case__logo img,
.home-document__preview img,
.home-post__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-facts {
  border-bottom: 1px solid var(--line);
  background-color: var(--surface);
}

.home-facts__grid {
  display: grid;
  padding-top: 32px;
  padding-bottom: 32px;
  gap: 28px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-fact {
  display: grid;
  align-content: start;
  gap: 8px;
}

.home-fact strong {
  color: var(--green-700);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
}

.home-fact span {
  max-width: 240px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.home-facts__hay {
  opacity: .55;
}

.home-ration {
  padding-top: 72px;
}

.home-section-heading,
.home-blog__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.home-section-heading h2,
.home-blog__header h2 {
  margin-top: 12px;
  margin-bottom: 0;
}

.home-section-heading > p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.home-directions__grid,
.home-cases__grid,
.home-blog__grid {
  display: grid;
  margin-top: 30px;
  gap: 18px;
}

.home-directions__grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.home-cases__grid,
.home-blog__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-direction {
  display: flex;
  min-height: 196px;
  flex-direction: column;
  border-radius: var(--r-block);
  padding: 26px;
  color: var(--ink);
  gap: 13px;
  transition: border-color .18s ease, transform .18s ease;
}

.home-direction:hover {
  border-color: var(--green-700);
  color: var(--ink);
  transform: translateY(-2px);
}

.home-direction__icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: var(--r-btn);
  background: var(--green-soft);
  color: var(--green-700);
  place-items: center;
}

.home-direction__icon svg {
  width: 24px;
  height: 24px;
}

.home-direction h3 {
  margin: 0;
  font-family: var(--font-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.home-direction__description {
  flex: 1 1 auto;
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.home-direction__count {
  margin-top: auto;
  color: var(--green-700);
  font-size: 14px;
  font-weight: 600;
}

.home-cases,
.home-documents,
.home-blog {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-color: var(--surface);
}

.home-cases__grid {
  margin-top: 28px;
}

.home-case {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-block);
  padding: 26px;
  background: var(--paper);
  gap: 16px;
}

.home-case__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-case__logo {
  width: 44px;
  height: 44px;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 6px;
}

.home-case__header h3 {
  margin: 0;
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.home-case__header span {
  color: var(--muted);
  font-size: 13px;
}

.home-case__metrics {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-case__metrics div {
  display: grid;
  align-content: start;
  gap: 5px;
}

.home-case__metrics strong {
  color: var(--green-700);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}

.home-case__metrics span {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.35;
}

.home-case blockquote {
  margin: auto 0 0;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
}

.home-case blockquote > :last-child {
  margin-bottom: 0;
}

.home-b2b,
.home-contract {
  border-radius: 12px;
  padding: clamp(28px, 4vw, 52px);
  color: var(--paper);
}

.home-b2b {
  background-color: var(--green-900);
}

.home-b2b__grid {
  display: grid;
  align-items: start;
  gap: 48px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-b2b .eyebrow {
  color: var(--green-brand);
}

.home-b2b h2,
.home-contract h2,
.home-documents h2 {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
}

.home-b2b__lead {
  max-width: 520px;
  margin-top: 16px;
  color: var(--line);
  font-size: 16.5px;
  line-height: 1.55;
}

.home-b2b__button {
  margin-top: 26px;
  background: var(--paper);
  color: var(--green-900);
}

.home-b2b__button:hover,
.home-contract__button:hover {
  background: var(--surface);
  color: var(--green-700);
}

.home-b2b__terms {
  display: grid;
  margin: 0;
}

.home-b2b__terms > div {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--muted);
  padding: 15px 0;
  font-size: 15.5px;
  gap: 20px;
}

.home-b2b__terms dt {
  color: var(--line);
}

.home-b2b__terms dd {
  margin: 0;
  color: var(--paper);
  font-weight: 700;
  text-align: right;
}

.home-documents__grid {
  display: grid;
  align-items: start;
  gap: 56px;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
}

.home-documents__copy > div:not(.eyebrow) {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.6;
}

.home-documents__copy .button {
  margin-top: 20px;
  background: var(--paper);
}

.home-documents__list {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-document {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
  padding: 14px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .18s ease;
}

a.home-document:hover {
  border-color: var(--green-700);
  color: var(--ink);
}

.home-document__preview {
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 3 / 4;
}

.home-document strong {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.35;
}

.home-document > span {
  margin-top: 4px;
  color: var(--muted-text);
  font-size: 12px;
  line-height: 1.35;
}

.home-contract {
  display: grid;
  align-items: center;
  background: var(--green-700);
  gap: 44px;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr);
}

.home-contract .eyebrow {
  color: var(--green-soft);
}

.home-contract__lead {
  max-width: 560px;
  margin-top: 18px;
  color: var(--green-soft);
  font-size: 16.5px;
  line-height: 1.55;
}

.home-contract__actions {
  display: grid;
  gap: 12px;
}

.home-contract__button {
  background: var(--paper);
  color: var(--green-900);
}

.home-contract__phone {
  border-color: var(--green-soft);
  background: transparent;
  color: var(--surface);
}

.home-contract__phone:hover {
  border-color: var(--surface);
  color: var(--surface);
}

.home-links {
  padding-bottom: 72px;
}

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

.home-link {
  padding: 32px;
  color: var(--ink);
  transition: border-color .18s ease, transform .18s ease;
}

.home-link:hover {
  border-color: var(--green-700);
  color: var(--ink);
  transform: translateY(-2px);
}

.home-link h2 {
  margin: 0;
  font-family: var(--font-text);
  font-size: 25px;
  font-weight: 700;
}

.home-link p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
}

.home-link span {
  display: inline-block;
  margin-top: 16px;
  color: var(--green-700);
  font-size: 14px;
  font-weight: 600;
}

.home-blog {
  border-bottom: 0;
}

.home-blog__header h2 {
  margin-top: 0;
}

.home-blog__header > a {
  font-size: 15px;
  font-weight: 600;
}

.home-blog__grid {
  margin-top: 28px;
  gap: 22px;
}

.home-post__image {
  display: block;
  overflow: hidden;
  border-radius: var(--r-tile);
  aspect-ratio: 3 / 2;
}

.home-post__meta {
  display: flex;
  flex-wrap: wrap;
  margin-top: 14px;
  color: var(--muted-text);
  font-size: 12.5px;
  line-height: 1.4;
  gap: 6px 14px;
}

.home-post__meta span {
  color: var(--amber-text);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-post h3 {
  margin: 8px 0 0;
  font-family: var(--font-text);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}

.home-post h3 a {
  color: var(--ink);
}

.home-post h3 a:hover {
  color: var(--green-700);
}

@media (max-width: 1279px) {
  .home-hero__inner {
    gap: 40px;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr);
  }

  .home-documents__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 959px) {
  .home-hero__inner {
    align-items: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero__notes {
    display: grid;
    gap: 8px;
  }

  .home-facts__grid,
  .home-cases__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-b2b__grid,
  .home-documents__grid,
  .home-contract {
    grid-template-columns: 1fr;
  }

  .home-contract__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .home-hero__inner {
    padding-top: 48px;
    padding-bottom: 52px;
    gap: 36px;
    grid-template-columns: 1fr;
  }

  .home-hero__rings {
    top: -210px;
    right: -300px;
  }

  .home-hero__actions .button {
    width: 100%;
  }

  .home-hero__notes {
    margin-top: 28px;
  }

  .home-facts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }

  .home-fact strong {
    font-size: 29px;
  }

  .home-ration {
    padding-top: 48px;
  }

  .home-section-heading,
  .home-blog__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-directions__grid,
  .home-cases__grid,
  .home-blog__grid,
  .home-links__grid {
    grid-template-columns: 1fr;
  }

  .home-direction {
    min-height: 196px;
  }

  .home-case,
  .home-link {
    padding: 22px;
  }

  .home-b2b-wrap,
  .home-contract-wrap {
    padding-inline: 0;
  }

  .home-b2b,
  .home-contract {
    border-radius: 0;
  }

  .home-b2b__terms > div {
    display: grid;
    gap: 4px;
  }

  .home-b2b__terms dd {
    text-align: left;
  }

  .home-documents__grid {
    gap: 36px;
  }

  .home-documents__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-document {
    padding: 10px;
  }

  .home-contract__actions {
    grid-template-columns: 1fr;
  }

  .home-links {
    padding-bottom: 48px;
  }
}

@media (max-width: 374px) {
  .home-facts__grid,
  .home-documents__list,
  .home-case__metrics {
    grid-template-columns: 1fr;
  }
}

/* Catalogue and product pages ------------------------------------------- */
.screen-reader-text {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.breadcrumbs {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 4px 8px;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 8px;
  color: var(--faint);
  content: '/';
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--green-700);
}

.breadcrumbs [aria-current='page'] {
  color: var(--ink);
}

.submenu-toggle {
  display: none;
}

@media (min-width: 720px) {
  .primary-menu {
    flex-wrap: nowrap;
  }

  .primary-menu > .menu-item {
    position: relative;
    flex: 0 0 auto;
  }

  .primary-menu .sub-menu {
    position: absolute;
    z-index: 5;
    top: calc(100% + 6px);
    left: 0;
    visibility: hidden;
    width: max-content;
    min-width: 220px;
    max-width: 320px;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    padding: 8px;
    background: var(--surface);
    list-style: none;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  .primary-menu .sub-menu::before {
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 8px;
    content: '';
  }

  .primary-menu .sub-menu a {
    min-height: 40px;
    white-space: normal;
  }

  .primary-menu .menu-item-has-children:hover > .sub-menu,
  .primary-menu .menu-item-has-children:focus-within > .sub-menu,
  .primary-menu .menu-item-has-children.is-submenu-open > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: none;
  }
}

.catalog-page,
.product-page {
  padding-top: 26px;
  padding-bottom: 72px;
}

.catalog-header {
  margin-top: 14px;
}

.catalog-header h1 {
  margin-bottom: 0;
  font-size: clamp(30px, 3.6vw, 44px);
}

.catalog-header__lead {
  max-width: 740px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.55;
}

.catalog-header__lead > :last-child {
  margin-bottom: 0;
}

.catalog-conditions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 16px;
  gap: 10px;
}

.catalog-conditions span {
  border-radius: 4px;
  padding: 7px 13px;
  background: var(--green-soft);
  color: var(--green-700);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.catalog-layout {
  display: grid;
  align-items: start;
  margin-top: 34px;
  gap: 32px;
  grid-template-columns: 300px minmax(0, 1fr);
}

.catalog-sidebar {
  display: grid;
  gap: 20px;
}

.catalog-filter {
  padding: 20px;
}

.catalog-filter h2,
.product-packs h2 {
  margin: 0 0 12px;
  color: var(--muted);
  font-family: var(--font-text);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.catalog-filter__list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 2px;
}

.catalog-filter__list a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  border-radius: 4px;
  padding: 9px 12px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.3;
  gap: 10px;
}

.catalog-filter__list a:hover,
.catalog-filter__list a.is-active {
  background: var(--green-soft);
  color: var(--green-700);
}

.catalog-filter__list a.is-active {
  font-weight: 700;
}

.catalog-filter__list small {
  color: var(--muted-text);
  font-size: 13px;
  font-weight: 400;
}

.catalog-filter__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-filter__chips .filter {
  min-height: 38px;
  padding: 7px 11px;
  font-size: 13.5px;
}

.catalog-filter-reset {
  margin-top: -8px;
  font-size: 14px;
  font-weight: 600;
}

.catalog-consult {
  border-radius: var(--r-card);
  padding: 20px;
  background: var(--green-soft);
}

.catalog-consult h2 {
  margin: 0;
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.catalog-consult p {
  margin: 10px 0 14px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.catalog-consult .button {
  width: 100%;
  min-height: 44px;
  padding: 12px 14px;
  font-size: 14px;
}

.catalog-results {
  min-width: 0;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14.5px;
  gap: 16px;
}

.catalog-toolbar p {
  margin: 0;
}

.catalog-order {
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalog-order label {
  color: var(--muted);
  font-weight: 400;
}

.catalog-order select {
  width: auto;
  min-height: 40px;
  border: 0;
  padding: 6px 30px 6px 8px;
  background-color: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

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

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 16px;
  transition: border-color .18s ease, transform .18s ease;
}

.product-card:hover,
.product-card:focus-within {
  border-color: var(--green-700);
  transform: translateY(-2px);
}

.product-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: var(--green-soft);
  aspect-ratio: 1;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  border-radius: var(--r-chip);
  padding: 5px 10px;
  background: var(--green-900);
  color: var(--paper);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
  white-space: normal;
}

.product-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.product-card h2 {
  margin: 14px 0 0;
  font-family: var(--font-text);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.3;
}

.product-card h2 a {
  color: var(--ink);
}

.product-card h2 a:hover {
  color: var(--green-700);
}

.product-card__note {
  flex: 1 1 auto;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.product-card__metrics {
  display: flex;
  flex-wrap: wrap;
  margin-top: 12px;
  color: var(--green-700);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  gap: 5px 14px;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
  gap: 10px;
}

.product-card__footer > span {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.35;
}

.product-card__request {
  min-height: 38px;
  flex: 0 0 auto;
  padding: 10px 12px;
  font-size: 13px;
}

.catalog-pagination {
  margin-top: 32px;
}

.catalog-pagination ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 6px;
}

.catalog-pagination a,
.catalog-pagination span {
  display: grid;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  padding: 8px 12px;
  place-items: center;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.catalog-pagination a:hover,
.catalog-pagination .current {
  border-color: var(--green-700);
  background: var(--green-soft);
  color: var(--green-700);
}

.catalog-empty {
  padding: 32px;
}

.catalog-empty h2 {
  font-family: var(--font-text);
  font-size: 22px;
}

.product-page > .breadcrumbs {
  margin-bottom: 24px;
}

.product-hero {
  display: grid;
  align-items: start;
  gap: 52px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-gallery {
  display: grid;
  gap: 14px;
}

.product-gallery__main {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-block);
  background: var(--surface);
  aspect-ratio: 1;
}

.product-gallery__main img,
.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery__thumbs {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-gallery__thumb {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  padding: 0;
  background: var(--surface);
  aspect-ratio: 1;
}

.product-gallery__thumb:hover,
.product-gallery__thumb.is-active {
  border-color: var(--green-700);
}

.product-summary__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge--dark {
  background: var(--green-900);
  color: var(--paper);
}

.product-summary h1 {
  margin: 16px 0 0;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
}

.product-summary__lead {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
}

.product-summary__lead > :last-child {
  margin-bottom: 0;
}

.product-metrics,
.product-packs,
.product-price-box {
  margin-top: 24px;
}

.product-metrics .metric-tile {
  padding: 16px;
}

.product-metrics .metric-tile__value {
  font-size: 24px;
}

.product-packs > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-packs .filter {
  min-height: 48px;
  padding: 12px 20px;
  font-size: 15px;
}

.product-price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  gap: 20px;
}

.product-price-box h2 {
  margin: 0;
  font-size: 25px;
}

.product-price-box p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.product-price-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-price-box__actions .button {
  min-height: 50px;
  padding: 15px 22px;
}

.product-summary__notes {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
  gap: 8px 24px;
}

.product-tabs {
  margin-top: 60px;
  border-top: 1px solid var(--line);
}

.product-tabs__list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 18px;
  gap: 4px;
}

.product-tabs__list button {
  min-height: 44px;
  border: 0;
  border-radius: var(--r-btn);
  padding: 11px 18px;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.product-tabs__list button:hover,
.product-tabs__list button[aria-selected='true'] {
  background: var(--green-soft);
  color: var(--green-700);
}

.product-tab-panel {
  margin-top: 26px;
  padding-bottom: 18px;
}

.product-tab-panel + .product-tab-panel {
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.product-tabs--ready .product-tab-panel + .product-tab-panel {
  border-top: 0;
  padding-top: 0;
}

.product-tab-panel[hidden] {
  display: none;
}

.product-description-grid {
  display: grid;
  max-width: 1100px;
  gap: 52px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-description-grid h2,
.product-storage-grid h2 {
  margin: 0 0 12px;
  font-family: var(--font-text);
  font-size: 20px;
  font-weight: 700;
}

.product-description-grid p,
.product-storage-grid p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

.product-tab-panel .spec-table {
  max-width: 760px;
}

.product-storage-grid {
  display: grid;
  max-width: 1100px;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-storage-grid .card {
  padding: 22px;
}

.product-storage-grid p:last-child {
  margin-bottom: 0;
}

.next-stage {
  margin-top: 42px;
  padding-top: 18px;
}

.next-stage > h2 {
  font-size: clamp(24px, 2.6vw, 32px);
}

.next-stage__grid {
  display: grid;
  margin-top: 22px;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.next-stage-card {
  display: flex;
  align-items: center;
  padding: 16px;
  color: var(--ink);
  gap: 16px;
  transition: border-color .18s ease, transform .18s ease;
}

.next-stage-card:hover {
  border-color: var(--green-700);
  color: var(--ink);
  transform: translateY(-2px);
}

.next-stage-card__image {
  width: 86px;
  height: 86px;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 6px;
  background: var(--green-soft);
}

.next-stage-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.next-stage-card h3 {
  margin: 0;
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.next-stage-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.4;
}

.modal__product {
  color: var(--ink-soft) !important;
}

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

  .product-hero {
    gap: 36px;
  }

  .product-price-box {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 959px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-filter-reset,
  .catalog-consult {
    grid-column: 1 / -1;
  }

  .catalog-consult {
    display: grid;
    align-items: center;
    gap: 8px 20px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .catalog-consult p {
    margin-bottom: 0;
  }

  .catalog-consult .button {
    width: auto;
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .product-hero {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    max-width: 680px;
  }

  .next-stage__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .primary-menu > .menu-item-has-children {
    position: relative;
  }

  .primary-menu > .menu-item-has-children > a {
    padding-right: 56px;
  }

  .submenu-toggle {
    position: absolute;
    top: 7px;
    right: 0;
    display: grid;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--r-btn);
    padding: 0;
    place-items: center;
    background: var(--surface);
    color: var(--green-900);
    font-size: 22px;
    line-height: 1;
  }

  .submenu-toggle span {
    transition: transform .18s ease;
  }

  .submenu-toggle[aria-expanded='true'] span {
    transform: rotate(180deg);
  }

  .primary-menu .sub-menu {
    display: none;
    padding: 0 0 12px 16px;
  }

  .primary-menu .is-submenu-open > .sub-menu {
    display: block;
  }

  .catalog-page,
  .product-page {
    padding-top: 20px;
    padding-bottom: 48px;
  }

  .catalog-layout {
    margin-top: 28px;
    gap: 26px;
  }

  .catalog-sidebar,
  .product-grid,
  .product-description-grid,
  .product-storage-grid,
  .next-stage__grid {
    grid-template-columns: 1fr;
  }

  .catalog-consult {
    display: block;
  }

  .catalog-consult p {
    margin-bottom: 14px;
  }

  .catalog-consult .button {
    width: 100%;
  }

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-order {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .catalog-order select {
    width: 100%;
  }

  .product-card__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .product-card__request {
    width: 100%;
  }

  .product-hero {
    gap: 34px;
  }

  .product-gallery__thumbs {
    gap: 8px;
  }

  .product-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-metrics .metric-tile {
    padding: 14px;
  }

  .product-metrics .metric-tile__value {
    font-size: 20px;
  }

  .product-price-box,
  .product-storage-grid .card {
    padding: 20px;
  }

  .product-price-box__actions,
  .product-price-box__actions .button {
    width: 100%;
  }

  .product-tabs {
    margin-top: 48px;
  }

  .product-tabs__list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-tabs__list button {
    width: 100%;
    text-align: left;
  }

  .product-description-grid {
    gap: 28px;
  }
}

/* Wave 5: inner pages */
.inner-page-standard {
  padding-top: 26px;
  padding-bottom: 72px;
}

.standard-page-header {
  margin-top: 14px;
}

.standard-page-header h1 {
  margin-bottom: 12px;
  font-size: clamp(30px, 3.6vw, 44px);
}

.standard-page-header > div {
  max-width: 720px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.55;
}

.standard-page-header > div > :last-child,
.rich-text > :last-child {
  margin-bottom: 0;
}

.inner-hero {
  background-color: var(--green-900);
  color: var(--paper);
}

.inner-hero__inner {
  padding-top: 52px;
  padding-bottom: 64px;
}

.inner-hero .breadcrumbs,
.inner-hero .breadcrumbs a,
.inner-hero .breadcrumbs [aria-current='page'] {
  color: var(--green-soft);
}

.inner-hero .breadcrumbs li:not(:last-child)::after {
  color: var(--green-brand);
}

.inner-hero h1 {
  max-width: 900px;
  margin: 18px 0 0;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.08;
}

.inner-hero__lead {
  max-width: 720px;
  margin-top: 18px;
  color: var(--line);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
}

.inner-hero__lead > :last-child {
  margin-bottom: 0;
}

.inner-section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.inner-section--surface {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.inner-section h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.media-placeholder {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}

.media-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-mission {
  display: grid;
  align-items: start;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
}

.about-mission__copy .rich-text,
.about-production__lead {
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.65;
}

.about-mission__image {
  margin-top: 26px;
  aspect-ratio: 16 / 10;
}

.about-tasks {
  border-radius: var(--r-block);
  padding: 32px;
  background-color: var(--green-900);
  color: var(--paper);
}

.about-tasks h2 {
  margin: 0;
  font-family: var(--font-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.about-tasks ol {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.about-tasks li {
  display: grid;
  border-top: 1px solid var(--green-700);
  padding: 15px 0;
  color: var(--green-soft);
  font-size: 15.5px;
  line-height: 1.45;
  gap: 16px;
  grid-template-columns: 28px minmax(0, 1fr);
}

.about-tasks li span {
  padding-top: 2px;
  color: var(--green-brand);
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.about-production h2 {
  margin-bottom: 12px;
}

.about-production__lead {
  max-width: 780px;
}

.about-numbers {
  display: grid;
  margin-top: 26px;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-number {
  border-radius: var(--r-card);
  padding: 24px;
  background: var(--paper);
}

.about-number strong {
  display: block;
  color: var(--green-700);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
}

.about-number span {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.about-documents {
  padding-bottom: 36px;
}

.about-documents__grid {
  display: grid;
  margin-top: 26px;
  gap: 16px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.about-document {
  min-width: 0;
  padding: 16px;
}

.about-document img {
  width: 100%;
  border-radius: var(--r-btn);
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.about-document h3 {
  margin: 12px 0 0;
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
}

.about-document p {
  margin: 5px 0 0;
  color: var(--muted-text);
  font-size: 12.5px;
  line-height: 1.4;
}

.about-partners {
  padding-bottom: 56px;
}

.about-partner {
  display: grid;
  align-items: center;
  border-radius: var(--r-block);
  padding: 32px;
  background: var(--green-soft);
  gap: 36px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
}

.about-partner + .about-partner {
  margin-top: 18px;
}

.about-partner h2 {
  margin: 12px 0 8px;
  font-family: var(--font-text);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.about-partner .media-placeholder {
  aspect-ratio: 4 / 3;
}

.contract-hero {
  position: relative;
  overflow: hidden;
}

.contract-hero::after {
  position: absolute;
  top: -180px;
  right: -80px;
  width: 520px;
  height: 520px;
  border: 80px solid var(--green-700);
  border-radius: 50%;
  content: '';
  opacity: .22;
  pointer-events: none;
}

.contract-hero .inner-hero__inner {
  position: relative;
  z-index: 1;
}

.contract-hero__terms {
  display: flex;
  flex-wrap: wrap;
  margin-top: 32px;
  color: var(--green-soft);
  gap: 18px 34px;
}

.contract-hero__terms div {
  display: flex;
  flex-direction: column;
}

.contract-hero__terms strong {
  color: var(--green-brand);
  font-size: 16px;
}

.contract-hero__terms span {
  font-size: 13.5px;
}

.contract-formats {
  padding-bottom: 0;
}

.contract-formats__grid {
  display: grid;
  margin-top: 26px;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contract-format {
  padding: 28px;
}

.contract-format header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contract-format header > span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: var(--r-btn);
  background: var(--green-soft);
  color: var(--green-700);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  place-items: center;
}

.contract-format h3 {
  margin: 0;
  font-family: var(--font-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.contract-format p,
.contract-format li {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.contract-format p {
  margin: 14px 0 0;
}

.contract-format ul,
.contract-branding__list ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.contract-format li,
.contract-branding__list li {
  position: relative;
  padding: 7px 0 7px 16px;
}

.contract-format li::before,
.contract-branding__list li::before {
  position: absolute;
  top: 15px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--green-brand);
  content: '';
}

.contract-branding-wrap {
  padding-top: 56px;
  padding-bottom: 56px;
}

.contract-branding {
  display: grid;
  border-radius: 12px;
  padding: clamp(28px, 4vw, 48px);
  background-color: var(--green-900);
  color: var(--paper);
  gap: 48px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contract-branding h2 {
  margin: 14px 0 0;
  font-size: clamp(26px, 3vw, 36px);
}

.contract-branding__image {
  margin-top: 24px;
  border-color: var(--green-700);
  aspect-ratio: 16 / 10;
}

.contract-branding__details {
  display: grid;
  gap: 26px;
}

.contract-branding__list h3 {
  margin: 0;
  color: var(--green-soft);
  font-family: var(--font-text);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.contract-branding__list li {
  border-top: 1px solid var(--green-700);
  color: var(--green-soft);
  font-size: 15px;
  line-height: 1.45;
}

.contract-branding__terms {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--green-700);
  border-radius: var(--r-tile);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contract-branding__terms div {
  padding: 18px;
}

.contract-branding__terms div + div {
  border-left: 1px solid var(--green-700);
}

.contract-branding__terms strong,
.contract-branding__terms span {
  display: block;
}

.contract-branding__terms strong {
  color: var(--green-brand);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
}

.contract-branding__terms span {
  margin-top: 6px;
  color: var(--green-soft);
  font-size: 12.5px;
  line-height: 1.4;
}

.contract-steps__grid {
  display: grid;
  margin-top: 26px;
  gap: 18px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.contract-steps__grid article {
  border-radius: var(--r-card);
  padding: 22px;
  background: var(--paper);
}

.contract-steps__grid article > span {
  color: var(--amber-text);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.contract-steps__grid h3 {
  margin: 12px 0 0;
  font-family: var(--font-text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.contract-steps__grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.contract-steps__grid strong {
  display: block;
  margin-top: 12px;
  color: var(--green-700);
  font-size: 12.5px;
}

.contract-bottom {
  display: grid;
  align-items: start;
  gap: 52px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr);
}

.contract-caps dl,
.requisites-list {
  margin: 20px 0 0;
}

.contract-caps dl div,
.requisites-list div {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 15px 0;
  font-size: 15px;
  gap: 20px;
}

.contract-caps dt,
.requisites-list dt {
  color: var(--muted);
}

.contract-caps dd,
.requisites-list dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.contract-faq {
  margin-top: 44px;
}

.contract-faq > div {
  display: grid;
  gap: 12px;
}

.contract-faq details {
  padding: 20px;
}

.contract-faq summary {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.contract-faq p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.contract-application {
  position: sticky;
  top: 96px;
  padding: 32px;
}

.contract-application h2 {
  margin: 0;
  font-family: var(--font-text);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
}

.contract-application > p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.form-shortcode {
  margin-top: 20px;
}

.form-shortcode p {
  margin-bottom: 14px;
}

.form-shortcode input:not([type='checkbox']):not([type='radio']):not([type='submit']),
.form-shortcode textarea,
.form-shortcode select {
  width: 100%;
}

.form-shortcode input[type='submit'] {
  border: 0;
  border-radius: var(--r-btn);
  padding: 14px 20px;
  background: var(--green-700);
  color: var(--surface);
  font-weight: 700;
}

.dealers-categories {
  display: flex;
  flex-wrap: wrap;
  margin-top: 26px;
  gap: 10px;
}

.dealers-map,
.contacts-map {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-block);
  background: var(--surface);
}

.dealers-map {
  margin-top: 22px;
  aspect-ratio: 21 / 9;
}

.dealers-map > img,
.contacts-map > img,
.dealers-map__canvas,
.contacts-map__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.dealers-map > img,
.contacts-map > img {
  object-fit: cover;
}

.dealers-map__canvas,
.contacts-map__canvas {
  z-index: 1;
  opacity: 0;
}

.dealers-map.is-ready .dealers-map__canvas,
.contacts-map.is-ready .contacts-map__canvas {
  opacity: 1;
}

.dealers-map.is-ready > img,
.contacts-map.is-ready > img {
  visibility: hidden;
}

.dealers-map__empty {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 1001;
  width: min(520px, calc(100% - 28px));
  margin: 0;
  border-radius: var(--r-card);
  padding: 10px 14px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 2px 12px rgba(21, 48, 31, .16);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.dealers-layout {
  display: grid;
  align-items: start;
  margin-top: 32px;
  gap: 32px;
  grid-template-columns: 290px minmax(0, 1fr);
}

.dealers-sidebar {
  padding: 18px;
}

.dealers-sidebar > h2 {
  margin: 0 0 12px;
  color: var(--muted);
  font-family: var(--font-text);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.dealers-regions {
  display: grid;
  gap: 2px;
}

.dealers-regions button {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 4px;
  padding: 9px 12px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
  gap: 10px;
}

.dealers-regions button[hidden],
.dealer-card[hidden] {
  display: none;
}

.dealers-regions button:hover,
.dealers-regions button.is-active {
  background: var(--green-soft);
  color: var(--green-700);
}

.dealers-regions button.is-active {
  font-weight: 700;
}

.dealers-regions small {
  color: var(--muted-text);
  font-size: 13px;
  font-weight: 400;
}

.dealers-become {
  margin-top: 16px;
  border-radius: 6px;
  padding: 16px;
  background: var(--green-soft);
}

.dealers-become h3 {
  margin: 0;
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.dealers-become p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.5;
}

.dealers-results {
  min-width: 0;
}

.dealers-summary {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14.5px;
}

.dealers-list {
  display: grid;
  gap: 14px;
}

.dealer-card {
  display: grid;
  align-items: center;
  padding: 22px;
  gap: 20px;
  grid-template-columns: minmax(220px, 1.4fr) minmax(140px, .8fr) minmax(180px, .8fr);
}

.dealer-card--mappable {
  cursor: pointer;
}

.dealer-card--mappable:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 3px;
}

.dealer-map-popup {
  display: grid;
  min-width: 180px;
  gap: 5px;
}

.dealer-map-popup strong {
  font-size: 14px;
}

.dealer-map-popup p {
  margin: 0;
}

.dealer-map-popup a {
  overflow-wrap: anywhere;
}

.dealer-card h3 {
  margin: 0;
  font-family: var(--font-text);
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.3;
}

.dealer-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.dealer-card__contacts {
  display: grid;
  gap: 4px;
}

.dealer-card__contacts a:first-child {
  color: var(--green-700);
  font-size: 16px;
  font-weight: 700;
}

.dealer-card__contacts a:last-child:not(:first-child) {
  overflow-wrap: anywhere;
  color: var(--muted-text);
  font-size: 13.5px;
}

.dealers-empty {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 24px;
  background: var(--surface);
  color: var(--muted);
}

.shipping-grid {
  display: grid;
  margin-top: 32px;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shipping-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 24px;
  gap: 10px;
}

.shipping-card > span,
.department-card > span {
  color: var(--amber-text);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.shipping-card h2 {
  margin: 0;
  font-family: var(--font-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.shipping-card p {
  flex: 1 1 auto;
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.shipping-card strong {
  color: var(--green-700);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}

.delivery-phone-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  border-radius: 10px;
  padding: 26px 30px;
  background: var(--green-brand);
  color: var(--green-900);
  gap: 24px;
}

.delivery-phone-strip > strong {
  font-size: 19px;
}

.delivery-phone-strip a {
  border-radius: var(--r-btn);
  padding: 13px 24px;
  background: var(--green-900);
  color: var(--paper);
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}

.delivery-bottom {
  display: grid;
  align-items: start;
  margin-top: 52px;
  gap: 36px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.delivery-bottom > section > h2 {
  font-size: clamp(24px, 2.8vw, 32px);
}

.payment-items {
  display: grid;
  gap: 14px;
}

.payment-items article {
  padding: 22px;
}

.payment-items h3,
.production-address h2,
.contacts-requisites h2 {
  margin: 0;
  font-family: var(--font-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.payment-items p,
.production-address div {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.requisites-list--dark {
  border-radius: var(--r-card);
  padding: 8px 24px;
  background-color: var(--green-900);
  color: var(--paper);
}

.requisites-list--dark div {
  border-color: var(--green-700);
}

.requisites-list--dark dt {
  color: var(--green-soft);
}

.departments-grid {
  display: grid;
  margin-top: 30px;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.department-card {
  padding: 26px;
}

.department-card h2 {
  margin: 12px 0 0;
  font-family: var(--font-text);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}

.department-card a {
  display: block;
  margin-top: 6px;
}

.department-card__phone {
  margin-top: 12px !important;
  color: var(--green-700);
  font-size: 22px;
  font-weight: 700;
}

.department-card p,
.department-card address {
  margin: 10px 0 0;
  color: var(--muted-text);
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
}

.contacts-layout {
  display: grid;
  align-items: start;
  margin-top: 32px;
  gap: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contacts-map {
  aspect-ratio: 4 / 3;
}

.production-address,
.contacts-requisites {
  margin-top: 18px;
  padding: 24px;
}

.production-address address {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 16px;
  font-style: normal;
  line-height: 1.6;
}

.contacts-requisites {
  margin-top: 0;
}

.contacts-requisites .requisites-list {
  margin-top: 14px;
}

.contacts-requisites .requisites-list div {
  padding: 13px 0;
}

.contacts-partner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  border-radius: 10px;
  padding: 26px;
  background-color: var(--green-900);
  color: var(--green-soft);
  gap: 24px;
}

.contacts-partner h2 {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-text);
  font-size: 19px;
  font-weight: 700;
}

.contacts-partner p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.6;
}

.contacts-partner a {
  display: inline-block;
  margin-top: 14px;
  color: var(--green-brand);
  font-weight: 600;
}

.contacts-partner img {
  width: 110px;
  max-height: 86px;
  flex: 0 0 auto;
  object-fit: contain;
}

@media (max-width: 1279px) {
  .about-documents__grid,
  .contract-steps__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-numbers,
  .shipping-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dealer-card {
    grid-template-columns: minmax(220px, 1.3fr) minmax(180px, .7fr);
  }

  .dealer-card__hours {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 959px) {
  .about-mission,
  .contract-branding,
  .contract-bottom,
  .dealers-layout,
  .delivery-bottom,
  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .contract-formats__grid,
  .departments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contract-application {
    position: static;
  }

  .dealers-sidebar {
    display: grid;
    align-items: start;
    gap: 16px 24px;
    grid-template-columns: minmax(0, 1fr) minmax(240px, .7fr);
  }

  .dealers-sidebar > h2 {
    grid-column: 1 / -1;
  }

  .dealers-become {
    margin-top: 0;
  }
}

@media (max-width: 719px) {
  .inner-page-standard {
    padding-top: 20px;
    padding-bottom: 48px;
  }

  .inner-hero__inner,
  .inner-section {
    padding-top: 42px;
    padding-bottom: 44px;
  }

  .inner-hero h1 {
    margin-top: 14px;
  }

  .about-mission,
  .contract-branding {
    gap: 32px;
  }

  .about-tasks,
  .contract-format,
  .contract-application,
  .about-partner {
    padding: 22px;
  }

  .about-numbers,
  .about-documents__grid,
  .contract-formats__grid,
  .contract-steps__grid,
  .shipping-grid,
  .departments-grid {
    grid-template-columns: 1fr;
  }

  .about-partner {
    grid-template-columns: 1fr;
  }

  .contract-branding-wrap {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .contract-branding__terms {
    grid-template-columns: 1fr;
  }

  .contract-branding__terms div + div {
    border-top: 1px solid var(--green-700);
    border-left: 0;
  }

  .dealers-map {
    min-height: 230px;
    aspect-ratio: auto;
  }

  .dealers-sidebar {
    display: block;
  }

  .dealers-become {
    margin-top: 16px;
  }

  .dealer-card {
    padding: 18px;
    grid-template-columns: 1fr;
  }

  .dealer-card__hours {
    grid-column: auto;
    grid-row: auto;
  }

  .shipping-card {
    min-height: 0;
  }

  .delivery-phone-strip {
    align-items: stretch;
    flex-direction: column;
    padding: 22px;
  }

  .delivery-phone-strip a {
    text-align: center;
  }

  .contract-caps dl div,
  .requisites-list div {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .contract-caps dd,
  .requisites-list dd {
    text-align: left;
  }

  .contacts-partner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 374px) {
  .dealers-categories .filter {
    width: 100%;
    justify-content: center;
  }

  .about-tasks,
  .contract-branding,
  .contract-application,
  .department-card,
  .production-address,
  .contacts-requisites {
    padding: 18px;
  }
}
/* Wave 6: blog and article */
.blog-page {
  padding-top: 26px;
  padding-bottom: 72px;
}

.blog-header {
  margin-top: 14px;
}

.blog-header h1 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
}

.blog-header__lead {
  max-width: 660px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.55;
}

.blog-header__lead > :last-child {
  margin-bottom: 0;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  margin-top: 24px;
  gap: 10px;
}

.blog-grid {
  display: grid;
  margin-top: 28px;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card {
  min-width: 0;
}

.blog-card__image {
  display: block;
  overflow: hidden;
  border-radius: var(--r-tile);
  background: var(--green-soft);
  aspect-ratio: 3 / 2;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}

.blog-card:focus-within .blog-card__image img,
.blog-card:hover .blog-card__image img {
  transform: scale(1.02);
}

.blog-card__meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 14px;
  color: var(--muted-text);
  font-size: 13px;
  line-height: 1.4;
  gap: 6px 12px;
}

.blog-card__meta a,
.article-meta a {
  color: var(--amber-text);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.blog-card__meta a:hover,
.article-meta a:hover {
  color: var(--green-700);
}

.blog-card__title {
  margin: 8px 0 0;
  font-family: var(--font-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.blog-card__title a {
  color: var(--ink);
}

.blog-card__title a:hover {
  color: var(--green-700);
}

.blog-card__lead {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.blog-pagination {
  margin-top: 34px;
}

.blog-empty {
  margin-top: 28px;
  padding: 28px;
}

.blog-empty h2 {
  margin: 0;
  font-family: var(--font-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.blog-empty p {
  margin: 8px 0 0;
  color: var(--muted);
}

.blog-search {
  display: grid;
  max-width: 760px;
  margin-top: 22px;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.blog-search input[type='search'] {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--r-field);
  padding: 12px 14px;
  background: var(--surface);
  color: var(--ink);
}

.blog-search input[type='search']::placeholder {
  color: var(--muted-text);
}

.article-page__wrap {
  padding-top: 26px;
  padding-bottom: 0;
}

.article-header {
  max-width: 760px;
  margin-inline: auto;
}

.article-header .article-meta {
  margin-top: 26px;
}

.article-header h1 {
  margin: 16px 0 0;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.1;
}

.article-lead {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.6;
}

.article-cover {
  overflow: hidden;
  max-width: 760px;
  margin: 28px auto 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.article-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-cover figcaption,
.article-content figcaption {
  padding: 10px 12px 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.article-cover--embed {
  border: 0;
  background: transparent;
  aspect-ratio: 16 / 9;
}

.article-cover--embed iframe,
.article-cover--embed video,
.article-cover--embed embed,
.article-cover--embed object {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

.article-content {
  max-width: 760px;
  margin: 26px auto 0;
  color: var(--ink);
  font-size: 17.5px;
  line-height: 1.75;
}

.article-content > * {
  margin-top: 0;
  margin-bottom: 26px;
}

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

.article-content h2,
.article-content h3,
.article-content h4 {
  margin-top: 34px;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

.article-content h2 {
  font-size: 28px;
}

.article-content h3 {
  font-size: 23px;
}

.article-content h4 {
  font-size: 20px;
}

.article-content ul,
.article-content ol {
  padding-left: 1.25em;
}

.article-content li + li {
  margin-top: 8px;
}

.article-content blockquote {
  margin: 30px 0;
  border-left: 3px solid var(--green-brand);
  padding: 4px 0 4px 22px;
  color: var(--green-900);
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  line-height: 1.5;
}

.article-content blockquote > :last-child {
  margin-bottom: 0;
}

.article-content table {
  display: block;
  overflow-x: auto;
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}

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

.article-content th {
  background: var(--green-900);
  color: var(--paper);
  font-weight: 700;
}

.article-content figure {
  max-width: 100%;
  margin-right: 0;
  margin-left: 0;
}

.article-content img {
  border-radius: var(--r-tile);
}

.article-content .wp-caption {
  max-width: 100%;
}

.article-content .wp-block-embed,
.article-content .wp-block-video {
  overflow: hidden;
  border-radius: 10px;
}

.article-content .wp-block-embed__wrapper {
  position: relative;
}

.article-content .wp-block-embed__wrapper iframe,
.article-content iframe {
  width: 100%;
  max-width: 100%;
  border: 0;
}

.article-page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-page-links a,
.article-page-links .post-page-numbers {
  display: inline-grid;
  min-width: 40px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  padding: 6px 10px;
  place-items: center;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.article-page-links .current {
  border-color: var(--green-700);
  background: var(--green-soft);
  color: var(--green-700);
}

.article-cta {
  display: flex;
  max-width: 760px;
  align-items: center;
  margin: 40px auto 0;
  border-radius: 10px;
  padding: 28px;
  background: var(--green-soft);
  gap: 20px;
}

.article-cta img {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 6px;
  object-fit: cover;
}

.article-cta div {
  flex: 1 1 220px;
}

.article-cta h2 {
  margin: 0;
  font-family: var(--font-text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.article-cta p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.5;
}

.article-cta .button {
  flex: 0 0 auto;
}

.article-related {
  padding-top: 56px;
  padding-bottom: 72px;
}

.article-related h2 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 32px);
}

.blog-grid--related {
  margin-top: 22px;
}

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

@media (max-width: 719px) {
  .blog-page {
    padding-top: 20px;
    padding-bottom: 48px;
  }

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

  .blog-card__title {
    font-size: 19px;
  }

  .blog-search {
    grid-template-columns: 1fr;
  }

  .blog-search .button {
    width: 100%;
  }

  .article-page__wrap {
    padding-top: 20px;
  }

  .article-header .article-meta {
    margin-top: 22px;
  }

  .article-lead {
    font-size: 18px;
    line-height: 1.55;
  }

  .article-content {
    font-size: 16.5px;
    line-height: 1.7;
  }

  .article-content h2 {
    font-size: 24px;
  }

  .article-content blockquote {
    padding-left: 18px;
    font-size: 20px;
  }

  .article-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .article-cta .button {
    width: 100%;
  }

  .article-related {
    padding-top: 48px;
    padding-bottom: 52px;
  }
}

@media (max-width: 374px) {
  .blog-filters .filter {
    width: 100%;
    justify-content: center;
  }
}


/* Wave 6 ration picker */
.ration-panel {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-block);
  padding: 26px;
  background: var(--surface);
}

.ration-picker__group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ration-picker__button {
  min-height: 46px;
  padding-right: 20px;
  padding-left: 20px;
}

.ration-picker__button--stage {
  min-height: 42px;
  font-weight: 500;
}

.ration-picker__divider {
  height: 1px;
  margin: 22px 0;
  background: var(--line-soft);
}

.ration-picker__label {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ration-results {
  margin-top: 24px;
  border-radius: var(--r-card);
  padding: 22px;
  background: var(--paper);
}

.ration-results__status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.ration-results__grid {
  display: grid;
  margin-top: 16px;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.ration-product {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
  background: var(--surface);
  color: var(--ink);
  grid-template-columns: 92px minmax(0, 1fr);
  transition: border-color .18s ease, transform .18s ease;
}

.ration-product:hover {
  border-color: var(--green-700);
  color: var(--ink);
  transform: translateY(-2px);
}

.ration-product__image {
  min-height: 100%;
  background: var(--green-soft);
}

.ration-product__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ration-product__body {
  display: grid;
  min-width: 0;
  align-content: start;
  padding: 16px;
  gap: 8px;
}

.ration-product__title {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.ration-product__note {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.35;
}

.ration-product__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.ration-calculator {
  display: grid;
  align-items: start;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ration-calculator[hidden] {
  display: none;
}

.ration-calculator__form h3 {
  margin: 10px 0 0;
  font-family: var(--font-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.ration-calculator__form p {
  margin: 10px 0 16px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.ration-calculator__form label {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}

.ration-calculator__form input {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: var(--r-field);
  padding: 14px;
  background: var(--paper);
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
}

.ration-calculator__form input:focus {
  border-color: var(--green-700);
  outline: none;
}

.ration-calculator__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.ration-calculator__preset {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 13.5px;
}

.ration-calculator__results {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--line);
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ration-calculator__cell {
  min-width: 0;
  min-height: 126px;
  padding: 20px;
  background: var(--surface);
}

.ration-calculator__cell span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .05em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ration-calculator__cell strong {
  display: block;
  margin-top: 6px;
  color: var(--green-700);
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.ration-calculator--no-rate .ration-calculator__cell:first-child strong {
  font-family: var(--font-text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.ration-calculator__cell small {
  display: block;
  margin-top: 4px;
  color: var(--muted-text);
  font-size: 12.5px;
  line-height: 1.35;
}

.ration-noscript {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}

@media (max-width: 719px) {
  .ration-panel {
    padding: 18px;
  }

  .ration-picker__button,
  .ration-picker__button--stage {
    min-height: 40px;
    padding: 9px 13px;
    font-size: 13.5px;
  }

  .ration-results {
    padding: 16px;
  }

  .ration-results__grid,
  .ration-calculator {
    grid-template-columns: 1fr;
  }

  .ration-product {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .ration-product__body {
    padding: 14px;
  }

  .ration-calculator__results {
    grid-template-columns: 1fr;
  }

  .ration-calculator__cell {
    min-height: 0;
    padding: 16px;
  }
}


/* Wave 6 forms ---------------------------------------------------------- */
.morozovo-form {
  display: grid;
  gap: 14px;
}

.morozovo-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
}

.morozovo-form .wpcf7-form-control-wrap {
  display: block;
}

.morozovo-form input:not([type='checkbox']):not([type='radio']):not([type='submit']),
.morozovo-form textarea,
.morozovo-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--r-field);
  padding: 12px 14px;
  background: var(--paper);
  color: var(--ink);
}

.morozovo-form textarea {
  min-height: 116px;
}

.morozovo-form input:not([type='checkbox']):not([type='radio']):not([type='submit']):focus,
.morozovo-form textarea:focus,
.morozovo-form select:focus {
  border-color: var(--green-700);
  outline: 0;
}

.morozovo-form .button,
.morozovo-form input[type='submit'] {
  width: 100%;
  border: 0;
  border-radius: var(--r-btn);
  padding: 14px 20px;
  background: var(--green-700);
  color: var(--surface);
  font-weight: 700;
}

.morozovo-form .button:hover,
.morozovo-form input[type='submit']:hover {
  background: var(--green-900);
  color: var(--surface);
}

.morozovo-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  color: var(--amber-text);
  font-size: 12.5px;
  font-weight: 600;
}

.form-shortcode .wpcf7 form .wpcf7-response-output {
  margin: 14px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--r-field);
  padding: 11px 13px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.45;
}

.form-shortcode .wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--green-700);
  background: var(--green-soft);
  color: var(--green-900);
}

.form-shortcode .wpcf7 form.invalid .wpcf7-response-output,
.form-shortcode .wpcf7 form.unaccepted .wpcf7-response-output,
.form-shortcode .wpcf7 form.spam .wpcf7-response-output,
.form-shortcode .wpcf7 form.failed .wpcf7-response-output {
  border-color: var(--amber);
}

.form-shortcode .wpcf7-spinner {
  margin: 10px auto 0;
  background-color: var(--green-700);
}

.form-shortcode .wpcf7 form p {
  margin: 0;
}

.form-shortcode .wpcf7 br {
  display: none;
}

.form-unavailable {
  margin: 14px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--r-field);
  padding: 12px 14px;
  background: var(--paper);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.modal .form-shortcode {
  margin-top: 18px;
}

.modal .morozovo-form {
  gap: 12px;
}

.modal .morozovo-form textarea {
  min-height: 96px;
}

.catalog-consult__form {
  margin-top: 14px;
}

.catalog-consult__form > summary {
  width: 100%;
  list-style: none;
}

.catalog-consult__form > summary::-webkit-details-marker {
  display: none;
}

.catalog-consult__form[open] > summary {
  border-color: var(--green-900);
  background: var(--green-900);
  color: var(--surface);
}

.catalog-consult__form .form-shortcode {
  margin-top: 14px;
}

.catalog-consult__form .morozovo-form {
  gap: 12px;
}

.catalog-consult__form .morozovo-form label {
  font-size: 13px;
}

.catalog-consult__form .morozovo-form input:not([type='checkbox']):not([type='radio']):not([type='submit']),
.catalog-consult__form .morozovo-form textarea,
.catalog-consult__form .morozovo-form select {
  background: var(--surface);
}

@media (max-width: 959px) {
  .catalog-consult__form[open] {
    grid-column: 1 / -1;
  }
}

@media (max-width: 719px) {
  .morozovo-form {
    gap: 12px;
  }

  .catalog-consult__form {
    margin-top: 12px;
  }
}
