/* Floreza — стили сайта. Цвета строго по гайду логотипа (Логотип Floreza/00_Гайд). */

@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Фирменные цвета */
  --green: #1E5544;
  --leaf-dark: #235C4A;
  --leaf-light: #79AA89;
  --bud: #F2C1B5;
  --cream: #FAF8F3;
  --mint: #EDF2EB;
  --dark: #133A2F;

  /* Производные для текста — контраст проверен tools/contrast.py (AA ≥ 4.5) */
  --text: #1B2F28;
  --muted: #4A5F56;
  --on-dark: #FAF8F3;
  --on-dark-muted: #BFD3C6;
  --line: #D5E0D6;
  --line-strong: #A9C1B0;
  --white: #FFFFFF;

  --radius: 20px;
  --radius-sm: 12px;
  --gutter: 16px;
  --maxw: 1160px;
  --header-h: 68px;
  --shadow: 0 1px 2px rgba(19, 58, 47, .06), 0 8px 24px rgba(19, 58, 47, .06);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
}

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

h1, h2, h3 {
  color: var(--green);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 500;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

a { color: var(--green); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--leaf-dark); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}
.section-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--bud); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 780px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--green); color: var(--cream);
  padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip:focus { top: 12px; color: var(--cream); }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon.star { width: .9em; height: 1em; color: var(--leaf-light); }

/* Надзаголовок — приём из подписи логотипа LIMPEZA & PLANTAS */
.eyebrow {
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--leaf-dark);
  margin: 0 0 .9rem;
}
.eyebrow-light { color: var(--on-dark-muted); }

.lead { font-size: 1.125rem; color: var(--muted); max-width: 46rem; }
.small { font-size: .9375rem; color: var(--muted); }
.muted { color: var(--muted); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.4em;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 500; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { text-decoration: none; }
.btn-sm { min-height: 44px; padding: .5em 1.1em; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn-wa { background: var(--green); color: var(--cream); }
.btn-wa:hover { background: var(--dark); color: var(--cream); }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: var(--cream); }
.btn-ghost-light { border-color: var(--on-dark-muted); color: var(--on-dark); margin-top: .75rem; }
.btn-ghost-light:hover { background: var(--cream); color: var(--dark); border-color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5rem 0; }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, .94);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { backdrop-filter: blur(8px); background: rgba(250, 248, 243, .85); }
}
.header-inner {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: nowrap;
  min-height: var(--header-h);
}
/* Охранное поле: не меньше высоты звезды (~29% высоты логотипа) */
.brand { display: block; flex: none; padding: 12px 0; margin-right: auto; border-radius: 6px; }
.brand img { width: 120px; height: auto; }
@media (min-width: 400px) { .brand img { width: 128px; } }
.lang-switch ul { display: flex; list-style: none; margin: 0; padding: 0; }
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 6px;
  font-size: .875rem; font-weight: 500; letter-spacing: .12em;
  color: var(--muted); text-decoration: none; border-radius: 8px;
}
.lang-switch abbr { text-decoration: none; }
.lang-switch a:hover { color: var(--green); background: var(--mint); }
.lang-switch a[aria-current="page"] { color: var(--green); box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }
.header-wa { padding: .5em .8em; }
.header-wa-label { display: none; }
/* iPhone с «Увеличенным» масштабом экрана — 320 px: ужимаем всё, кроме логотипа (по гайду не меньше 120 px) */
@media (max-width: 359px) {
  .header-inner { gap: 6px; }
  .lang-switch a { min-width: 36px; padding: 0 2px; letter-spacing: .06em; }
  .header-wa { padding: .5em .7em; }
  h1 { font-size: 1.75rem; hyphens: auto; }
}
@media (min-width: 560px) {
  .header-wa-label { display: inline; }
  .header-wa { padding: .5em 1.1em; }
  .brand img { width: 140px; }
}

/* Подсказка «Português?» */
.pt-hint { background: var(--mint); border-bottom: 1px solid var(--line); font-size: .9375rem; }
.pt-hint-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pt-hint p { margin: 0; padding: 8px 0; }
.pt-hint-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; background: transparent; color: var(--green);
  border-radius: 8px; cursor: pointer;
}
.pt-hint-close:hover { background: var(--cream); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 40px 0 56px; }
/* Узор только на широких экранах: на телефоне он отодвигал заголовок вниз */
.hero-pattern { display: none; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 96px;
  background: linear-gradient(to bottom, rgba(250, 248, 243, 0), var(--cream));
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-text { max-width: 640px; }
.hero h1 { margin-bottom: .35em; }
.hero-sub { font-size: 1.1875rem; color: var(--muted); }
.hero-price {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .25em .5em;
  margin: .5rem 0 0; padding: .7em 1.2em;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-price-from { color: var(--muted); }
.hero-price strong { font-size: 2.1rem; font-weight: 600; color: var(--green); line-height: 1; }
.hero-price-note { font-size: .9375rem; color: var(--muted); }
.hero-langs { display: flex; gap: .6em; align-items: baseline; font-size: .9375rem; color: var(--muted); margin: 0; }
.hero-langs .icon.star { transform: translateY(.12em); }

@media (min-width: 900px) {
  .hero { padding: 88px 0 104px; }
  .hero-pattern {
    display: block;
    background: url("/assets/img/pattern-light.svg") center / cover no-repeat;
    position: absolute; inset: 0 0 0 46%;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 38%);
    mask-image: linear-gradient(to right, transparent, #000 38%);
  }
  .hero-text { max-width: 600px; }
}

/* ---------- Секции ---------- */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section-mint { background: var(--mint); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-dark h2 { color: var(--on-dark); }

/* ---------- Карточки основных уборок ---------- */
.cards {
  display: grid; gap: 16px; margin-top: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--mint); border-radius: var(--radius);
  padding: 28px 24px 24px; border: 2px solid transparent;
}
.card h3 { margin-bottom: .2em; }
.card-featured { background: var(--white); border-color: var(--green); box-shadow: var(--shadow); }
.badge {
  position: absolute; top: -14px; left: 20px; margin: 0;
  display: inline-flex; align-items: center; gap: .4em;
  background: var(--bud); color: var(--green);
  font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding: .35em .9em; border-radius: 999px;
}
.badge .icon.star { color: var(--green); width: .75em; }
.card-freq { font-size: .9375rem; color: var(--muted); margin-bottom: 1rem; }
.card-prices { list-style: none; margin: 0 0 1rem; padding: 0; }
.card-prices li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: .45em 0; border-top: 1px solid var(--line);
}
.card-prices li:last-child { border-bottom: 1px solid var(--line); }
.card-prices strong { font-size: 1.375rem; font-weight: 600; color: var(--green); }
.card-prices .muted span:last-child { font-size: .9375rem; }
.card-desc { font-size: .9375rem; color: var(--muted); flex: 1; }
.card-link {
  display: inline-flex; align-items: center; gap: .4em; align-self: flex-start;
  min-height: 44px; font-weight: 500; text-decoration: none;
}
.card-link:hover { text-decoration: underline; }
.card-link .icon { width: 1.1em; transition: transform .15s; }
.card-link:hover .icon { transform: translateX(3px); }

.note {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 24px; padding: 16px 20px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: .9375rem;
}
.note p { margin: 0; }
.note .icon { color: var(--leaf-dark); margin-top: .15em; }
.note strong { color: var(--green); font-weight: 600; }

/* ---------- Что входит ---------- */
.features {
  list-style: none; margin: 2rem 0; padding: 0;
  display: grid; gap: 24px 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(5, 1fr); } }
.feature h3 { font-size: 1.0625rem; font-weight: 600; margin: .8rem 0 .25rem; }
.feature p { font-size: .9375rem; color: var(--muted); margin: 0; }
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--cream); color: var(--leaf-dark);
}
.feature-icon .icon { width: 26px; height: 26px; }

/* ---------- Раскрывающиеся блоки ---------- */
.disclosure {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); margin-top: 12px;
}
.disclosure summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 12px 20px;
  font-weight: 500; font-size: 1.0625rem; color: var(--green);
  cursor: pointer; list-style: none; border-radius: var(--radius-sm);
}
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary:hover { background: var(--mint); }
.disclosure .chevron { color: var(--leaf-dark); transition: transform .2s; }
.disclosure[open] > summary .chevron { transform: rotate(180deg); }
.disclosure-body { padding: 4px 20px 20px; }
.disclosure-body > :last-child { margin-bottom: 0; }

.rooms { margin: 0 0 1rem; }
.rooms div { padding: .6em 0; border-bottom: 1px solid var(--line); }
.rooms dt { font-weight: 600; color: var(--green); }
.rooms dd { margin: 0; color: var(--text); }
@media (min-width: 700px) {
  .rooms div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; }
}

/* ---------- Гарантия ---------- */
.guarantee { position: relative; overflow: hidden; }
.guarantee-pattern {
  position: absolute; inset: 0;
  background: url("/assets/img/pattern-dark.svg") center / cover no-repeat;
  opacity: .22;
  -webkit-mask-image: linear-gradient(to right, transparent 20%, #000);
  mask-image: linear-gradient(to right, transparent 20%, #000);
}
.guarantee-inner { position: relative; }
.guarantee-inner > * { max-width: 860px; }
.guarantee h2 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem); }
.guarantee p:last-child { color: var(--on-dark-muted); font-size: 1.125rem; margin: 0; }

/* ---------- Прайс ---------- */
.price-block summary { font-size: 1.25rem; }
.price-table { width: 100%; border-collapse: collapse; margin-bottom: .5rem; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: .65em .4em; border-bottom: 1px solid var(--line); text-align: right; }
.price-table thead th { font-weight: 600; color: var(--leaf-dark); letter-spacing: .12em; font-size: .875rem; }
.price-table tbody th { text-align: left; font-weight: 400; padding-left: 0; }
.price-table td { font-weight: 600; color: var(--green); white-space: nowrap; }
.price-table td .muted { font-weight: 400; font-size: .875rem; white-space: normal; }
.price-rows { list-style: none; margin: 0 0 1rem; padding: 0; font-variant-numeric: tabular-nums; }
.price-rows li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: .65em 0; border-bottom: 1px solid var(--line);
}
.price-rows strong { font-weight: 600; color: var(--green); white-space: nowrap; text-align: right; }
.price-rows small { color: var(--muted); font-size: .875rem; }
.footnote { margin-top: .5rem; }
.fn-ref { text-decoration: none; padding: 0 .15em; font-weight: 600; }
.note-inline { display: flex; gap: .5em; align-items: flex-start; color: var(--green); font-weight: 500; }
.note-inline .icon { margin-top: .2em; color: var(--leaf-dark); }

/* ---------- Растения ---------- */
.plants {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--mint), var(--cream));
}
.plants-deco {
  position: absolute; right: -60px; top: -40px; width: 340px; height: 380px;
  background: url("/assets/img/mark.svg") center / contain no-repeat;
  opacity: .12; transform: rotate(-12deg);
}
.plants .wrap { position: relative; }
.eyebrow-plants {
  display: inline-block; background: var(--bud); color: var(--green);
  padding: .35em .9em .35em 1.1em; border-radius: 999px;
}
.plant-grid {
  display: grid; gap: 16px; margin: 2rem 0;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .plant-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .plant-grid { grid-template-columns: repeat(4, 1fr); } }
.plant-card {
  background: var(--white); border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--line); border-top: 4px solid var(--bud);
}
.plant-card h3 { display: flex; align-items: center; gap: .5em; font-size: 1.125rem; }
.plant-card h3 .icon { color: var(--leaf-dark); }
.plant-card h3 .icon.star { color: var(--leaf-dark); width: .8em; }
.plant-card .price-rows { margin: 0; }
.plant-card .price-rows li:last-child { border-bottom: 0; }

/* ---------- Конструктор ---------- */
.order { display: grid; gap: 24px; margin-top: 2rem; align-items: start; }
@media (min-width: 960px) { .order { grid-template-columns: 1fr 340px; gap: 32px; } }
.order-options {
  background: var(--white); border-radius: var(--radius);
  padding: 8px 20px 20px; border: 1px solid var(--line);
}
.field { border: 0; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.field:last-child { border-bottom: 0; }
.field[hidden] { display: none; }
.field legend {
  padding: 0; margin-bottom: .75rem;
  font-size: .8125rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--leaf-dark);
}
.optional { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: .4em 1.05em;
  border: 1.5px solid var(--line-strong); border-radius: 999px;
  background: var(--cream); color: var(--text); font-weight: 500; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip input:hover + span { border-color: var(--green); }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: var(--cream); }
.chip input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }

.addons { list-style: none; margin: 0; padding: 0; }
.addon {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
  padding: 4px 0;
}
.addon .check { flex: 1 1 12rem; }
.addon-price { font-size: .9375rem; color: var(--muted); white-space: nowrap; margin-left: auto; }
.addon.is-included .addon-price { color: var(--leaf-dark); font-weight: 500; }
.addon.is-included .check span { color: var(--muted); }
.check { display: inline-flex; align-items: center; gap: .7em; min-height: 44px; cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none; margin: 0; flex: none;
  width: 22px; height: 22px; border: 1.5px solid var(--leaf-dark); border-radius: 6px;
  background: var(--white); display: grid; place-content: center; cursor: pointer;
}
.check input::before {
  content: ""; width: 12px; height: 12px;
  clip-path: polygon(14% 44%, 0 59%, 40% 100%, 100% 23%, 86% 9%, 39% 70%);
  background: var(--cream); transform: scale(0); transition: transform .12s;
}
.check input:checked { background: var(--green); border-color: var(--green); }
.check input:checked::before { transform: scale(1); }
.check input:disabled { border-color: var(--line-strong); background: var(--mint); cursor: not-allowed; }
.check input:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.addon-count { display: inline-flex; align-items: center; gap: .4em; font-size: .9375rem; color: var(--muted); }
.addon-count input, .stepper input, .date-input {
  font: inherit; color: var(--text);
  min-height: 44px; border: 1.5px solid var(--line-strong); border-radius: 10px;
  background: var(--cream); padding: 0 .6em;
}
.addon-count input { width: 4.2em; text-align: center; }
.addon-count input:disabled { opacity: .55; }
.stepper { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.stepper input { width: 4.5em; text-align: center; }
.step {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--green); background: transparent; color: var(--green); cursor: pointer;
}
.step:hover { background: var(--green); color: var(--cream); }
.stepper-note { color: var(--muted); }
.date-input { width: 100%; max-width: 15rem; }
.addon-count input:focus-visible, .stepper input:focus-visible, .date-input:focus-visible {
  outline: 3px solid var(--green); outline-offset: 1px;
}

.order-summary {
  background: var(--dark); color: var(--on-dark); border-radius: var(--radius);
  padding: 24px;
}
@media (min-width: 960px) { .order-summary { position: sticky; top: calc(var(--header-h) + 24px); } }
.order-summary h3 {
  color: var(--on-dark-muted); font-size: .8125rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: .4rem;
}
.estimate { font-size: 2.6rem; font-weight: 600; line-height: 1.1; margin: 0 0 .4rem; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.estimate.is-text { font-size: 1.6rem; }
.estimate-note { color: var(--on-dark-muted); font-size: .9375rem; }
.order-summary .btn-wa { background: var(--cream); color: var(--dark); }
.order-summary .btn-wa:hover { background: var(--bud); color: var(--dark); }

/* ---------- Условия ---------- */
.terms {
  list-style: none; margin: 2rem 0 0; padding: 0;
  display: grid; gap: 16px; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .terms { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .terms { grid-template-columns: repeat(4, 1fr); } }
.terms li {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--mint); border-radius: var(--radius); padding: 20px;
}
.terms h3 { font-size: 1.0625rem; font-weight: 600; margin: .2rem 0 .25rem; }
.terms p { margin: 0; font-size: .9375rem; }
.terms .feature-icon { width: 44px; height: 44px; flex: none; }
.terms .feature-icon .icon { width: 22px; height: 22px; }

/* ---------- FAQ ---------- */
.faq { margin-top: 1.5rem; max-width: 820px; }

/* ---------- Подвал ---------- */
.site-footer { background: var(--dark); color: var(--on-dark); padding: 56px 0 24px; font-size: .9375rem; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--bud); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand img { width: 150px; height: auto; margin: 0 0 1rem; }
.footer-brand p { color: var(--on-dark-muted); max-width: 22rem; }
.footer-h {
  color: var(--on-dark-muted); font-size: .8125rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: .75rem;
}
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li a, .footer-list li span {
  display: inline-flex; align-items: center; gap: .6em; min-height: 44px; text-decoration: none;
}
.footer-list li a:hover { text-decoration: underline; }
.footer-list .icon { color: var(--leaf-light); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px;
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(250, 248, 243, .15);
  color: var(--on-dark-muted);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Политика и 404 ---------- */
.legal h1 { margin-bottom: .3em; }
.legal h2 { font-size: 1.375rem; margin-top: 2rem; }
.notfound { min-height: 100vh; display: flex; align-items: center; padding: 48px 0; }
.notfound-logo { display: inline-block; padding: 16px 16px 16px 0; margin-bottom: 1.5rem; }
.notfound-logo img { width: 170px; height: auto; }
.notfound-block { padding: 1rem 0; border-top: 1px solid var(--line); }
.notfound-block h1 { font-size: 1.6rem; margin-bottom: .2em; }
.notfound-block p { margin: 0; }

/* Таблица цен на 320 px: базовые правила объявлены выше, поэтому переопределяем здесь */
@media (max-width: 359px) {
  .price-table th, .price-table td { padding-left: .25em; padding-right: .25em; }
}
