/* pamyatnik.net — стили лендинга */

:root {
  --graphite: #2A2C2E;
  --graphite-deep: #1E2022;
  --stone: #EEEBE6;
  --stone-2: #E3E0DA;
  --line: #DCD8D2;
  --line-soft: #E2DED8;
  --muted: #5B5E61;
  --text-2: #4A4D50;
  --on-dark: #C9CBCD;
  --accent: #7B1F2D;
  --radius: 2px;
  --font-display: 'Spectral', Georgia, 'Times New Roman', serif;
  --font-body: 'Golos Text', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 73px;
}

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

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

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--accent); }
button, input { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--graphite); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: #FFFFFF; }

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

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  padding: 12px 16px;
  background: var(--graphite); color: #FFFFFF;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: #FFFFFF; }

/* Сетка и типографика */

.container { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--stone { background: var(--stone); }

.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.section-top {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: flex-end;
  gap: 24px 40px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.h3 { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.3; }
.h3--display { font-family: var(--font-display); font-weight: 500; font-size: 28px; line-height: 1.2; }

.lead { margin: 0; max-width: 36em; font-size: 17px; line-height: 1.6; color: var(--muted); }
.text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-2); }

/* Кнопки */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 16px; font-weight: 500; line-height: 1.2;
  text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color .15s, color .15s, filter .15s;
}
.btn--lg { min-height: 54px; padding: 0 30px; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 15px; }

.btn--primary { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.btn--primary:hover { color: #FFFFFF; filter: brightness(0.86); }

.btn--outline { background: transparent; border-color: var(--graphite); color: var(--graphite); }
.btn--outline:hover { background: var(--graphite); color: #FFFFFF; }

.btn--light { background: transparent; border-color: #FFFFFF; color: #FFFFFF; }
.btn--light:hover { background: #FFFFFF; color: var(--graphite); }

.btn svg { flex-shrink: 0; }
.btn[disabled] { opacity: .6; cursor: progress; }
.nowrap { white-space: nowrap; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.icon-btn {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  padding: 0; border: 0; background: none;
  color: var(--graphite);
  cursor: pointer;
}

/* Шапка */

.header {
  position: sticky; top: 0; z-index: 30;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line-soft);
}
.header__inner {
  min-height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 32px;
}

.logo { display: flex; flex-direction: column; line-height: 1.2; text-decoration: none; color: var(--graphite); }
.logo:hover { color: var(--graphite); }
.logo__name { font-family: var(--font-display); font-size: 25px; font-weight: 500; letter-spacing: -0.01em; }
.logo__sub { font-size: 13px; color: var(--muted); }

.nav { display: flex; flex-wrap: wrap; gap: 0 28px; font-size: 15px; }
.nav a { padding: 12px 0; text-decoration: none; }

.header__contact { display: flex; align-items: center; gap: 20px; }
.phone { display: flex; flex-direction: column; line-height: 1.3; text-decoration: none; }
.phone__num { font-weight: 600; }
.phone__hours { font-size: 13px; color: var(--muted); }

/* Мобильное меню */

.mmenu {
  position: fixed; inset: 0; z-index: 50;
  display: flex; flex-direction: column;
  background: #FFFFFF;
  overflow-y: auto;
}
.mmenu[hidden] { display: none; }

.mmenu__head {
  flex-shrink: 0;
  min-height: 64px;
  padding: 0 12px 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line-soft);
}
.mmenu__head .icon-btn { display: inline-flex; }

.mmenu__nav { padding: 8px 20px 0; display: flex; flex-direction: column; }
.mmenu__link {
  display: flex; align-items: center;
  min-height: 60px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-display); font-size: 24px; font-weight: 500;
  text-decoration: none;
}
.mmenu__link--plain { border-bottom: 0; }
.mmenu__cats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.mmenu__cats a {
  display: flex; align-items: center;
  min-height: 48px; padding: 0 14px;
  background: var(--stone); border-radius: var(--radius);
  font-size: 15px; text-decoration: none;
}
.mmenu__foot {
  margin-top: auto;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 12px;
  background: var(--stone);
}
.mmenu__phone { font-size: 22px; font-weight: 600; text-decoration: none; }
.mmenu__hours { margin: -8px 0 4px; font-size: 14px; color: var(--muted); }
.mmenu__foot .btn { width: 100%; }
.messengers { display: flex; gap: 8px; }
.messengers .btn { flex: 1 1 0; }
.mmenu__foot .btn--outline { background: #FFFFFF; }
.mmenu__foot .btn--outline:hover { background: var(--graphite); }

/* Фото */

.photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--stone-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-16x9 { aspect-ratio: 16 / 9; }

/* Первый экран */

.hero { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 104px); }
.hero__text { display: flex; flex-direction: column; gap: 28px; max-width: 560px; }
.hero__sub { margin: 0; max-width: 30em; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--text-2); }
.hero__actions { display: flex; flex-direction: column; gap: 14px; }
.hero__note { margin: 0; font-size: 14px; color: var(--muted); }

.facts {
  margin: 8px 0 0; padding: 24px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.fact__num { display: block; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.1; }
.fact__label { display: block; margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--muted); }

/* Почему мы */

.why__body { display: flex; flex-direction: column; gap: 40px; }
.features {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 36px 40px;
}
.feature { display: flex; flex-direction: column; gap: 10px; }
.feature svg { color: var(--accent); }

/* Каталог */

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 16px;
  border: 1px solid #CFCAC3; border-radius: var(--radius);
  background: #FFFFFF; color: var(--graphite);
  font-size: 15px;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.chip:hover { border-color: var(--graphite); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }

.catalog__grid {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 264px), 1fr));
  gap: 24px;
}
.card {
  display: flex; flex-direction: column;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.card[hidden] { display: none; }
.card__img { aspect-ratio: 4 / 3; background: var(--stone-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { flex-grow: 1; display: flex; flex-direction: column; gap: 4px; padding: 20px 20px 22px; }
.card__title { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.3; }
.card__meta { margin: 0; font-size: 15px; color: var(--muted); }
.card__foot {
  margin-top: auto; padding-top: 18px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px;
}
.price { font-family: var(--font-display); font-size: 21px; line-height: 1.2; }

.callout {
  margin-top: 40px;
  padding: 28px 32px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px 32px;
  background: var(--stone); border-radius: var(--radius);
}
.callout p { margin: 0; max-width: 36em; font-size: 17px; line-height: 1.5; }

/* Этапы */

.steps {
  margin: 48px 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 32px 28px;
}
.step { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid var(--graphite); }
.step__num { font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--accent); }
.step p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.step__time { margin-top: 4px; font-size: 14px; font-weight: 500; }

.season {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 32px; align-items: stretch;
}
.season__card {
  display: flex; flex-direction: column; justify-content: center; gap: 16px;
  padding: clamp(28px, 3vw, 44px);
  background: #FFFFFF; border-radius: var(--radius);
}
.season__card .btn { align-self: flex-start; margin-top: 8px; }

/* Материалы */

.stones {
  margin: 48px 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 40px 28px;
}
.stone { display: flex; flex-direction: column; gap: 14px; }
.stone__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.stone__origin { font-size: 14px; color: var(--muted); }
.stone p { margin: 4px 0 0; font-size: 15px; line-height: 1.55; color: var(--text-2); }

/* Образцы камня нарисованы CSS. Когда появятся фото, вставьте <img> внутрь .swatch */
.swatch {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius);
  background-size: 7px 9px, 17px 13px, 5px 6px;
  background-position: 0 0, 4px 7px, 2px 3px;
}
.swatch img { width: 100%; height: 100%; object-fit: cover; }
.swatch--gabbro {
  background-color: #1D1E20;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.10) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(110,116,122,.35) 0 1.4px, transparent 2.2px),
    radial-gradient(circle, rgba(0,0,0,.5) 0 .9px, transparent 1.5px);
}
.swatch--shanxi {
  background-color: #28292C;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.07) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(84,88,94,.4) 0 1.4px, transparent 2.2px),
    radial-gradient(circle, rgba(0,0,0,.35) 0 .9px, transparent 1.5px);
}
.swatch--mansur {
  background-color: #7C8179;
  background-image:
    radial-gradient(circle, rgba(40,44,40,.6) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(196,202,190,.65) 0 1.4px, transparent 2.2px),
    radial-gradient(circle, rgba(92,98,90,.7) 0 .9px, transparent 1.5px);
}
.swatch--sultay {
  background-color: #9A9B98;
  background-image:
    radial-gradient(circle, rgba(40,40,42,.65) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(210,210,205,.7) 0 1.4px, transparent 2.2px),
    radial-gradient(circle, rgba(118,118,116,.6) 0 .9px, transparent 1.5px);
}
.swatch--vozr {
  background-color: #7A4A3F;
  background-image:
    radial-gradient(circle, rgba(30,20,18,.55) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(200,146,124,.55) 0 1.4px, transparent 2.2px),
    radial-gradient(circle, rgba(150,95,80,.6) 0 .9px, transparent 1.5px);
}
.swatch--koelga {
  background-color: #E7E5E0;
  background-image:
    linear-gradient(118deg, transparent 38%, rgba(160,156,150,.35) 39%, transparent 41.5%, transparent 62%, rgba(170,166,160,.25) 63%, transparent 64.5%),
    radial-gradient(circle, rgba(150,150,150,.22) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255,255,255,.85) 0 1.4px, transparent 2.2px),
    radial-gradient(circle, rgba(185,182,176,.35) 0 .9px, transparent 1.5px);
  background-size: 100% 100%, 7px 9px, 17px 13px, 5px 6px;
  background-position: 0 0, 0 0, 4px 7px, 2px 3px;
}

.note-line {
  margin: 48px 0 0; padding-top: 24px;
  max-width: 48em;
  border-top: 1px solid var(--line);
  font-size: 16px; line-height: 1.6; color: var(--text-2);
}

/* Наши работы */

.works {
  margin: 48px 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 36px 28px;
}
.work { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.work .photo { aspect-ratio: 4 / 3; }
.work figcaption { display: flex; flex-direction: column; gap: 2px; }
.work__title { font-size: 17px; font-weight: 600; line-height: 1.35; }
.work__meta { font-size: 15px; color: var(--muted); }

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

.lead-section { background: var(--graphite); color: #FFFFFF; }
.lead-section .split { align-items: start; }
.lead-info { display: flex; flex-direction: column; gap: 28px; }
.lead-info .h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; }
.lead-info .lead { max-width: 30em; color: var(--on-dark); }

.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.5; }
.checks svg { flex-shrink: 0; margin-top: 1px; }

.lead-phone { display: flex; flex-direction: column; gap: 4px; padding-top: 24px; border-top: 1px solid #4A4D50; }
.lead-phone span { font-size: 15px; color: var(--on-dark); }
.lead-phone > a { font-family: var(--font-display); font-size: 30px; line-height: 1.2; color: #FFFFFF; text-decoration: none; }
.lead-phone > a:hover { color: #FFFFFF; text-decoration: underline; }
.lead-msg { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--on-dark); }
.lead-msg a { color: #FFFFFF; }
.lead-msg a:hover { color: #FFFFFF; }

.form-card {
  padding: clamp(24px, 3vw, 40px);
  background: #FFFFFF; color: var(--graphite);
  border-radius: var(--radius);
}
.form { position: relative; display: flex; flex-direction: column; gap: 28px; }
.form[hidden] { display: none; }

.fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.fieldset legend { margin-bottom: 12px; padding: 0; font-size: 16px; font-weight: 600; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; display: inline-flex; }
.pill input {
  position: absolute; inset: 0;
  width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: pointer;
}
.pill span {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 16px;
  border: 1px solid #CFCAC3; border-radius: var(--radius);
  background: #FFFFFF;
  font-size: 15px;
  transition: background-color .15s, color .15s, border-color .15s;
}
.pill:hover span { border-color: var(--graphite); }
.pill input:checked + span { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.pill input:focus-visible + span { outline: 2px solid var(--graphite); outline-offset: 3px; }

.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 15px; font-weight: 500; }
.input {
  min-height: 52px; padding: 0 14px;
  border: 1px solid #BDB8B1; border-radius: var(--radius);
  background: #FFFFFF; color: var(--graphite);
  font-size: 16px;
}
.input::placeholder { color: #7D8083; }
.input:hover { border-color: var(--muted); }
.input[aria-invalid="true"] { border-color: var(--accent); }

.error { margin: 0; font-size: 14px; color: var(--accent); }
.error:empty { display: none; }

.summary { margin: 0; padding: 14px 16px; background: var(--stone); border-radius: var(--radius); font-size: 15px; line-height: 1.5; }
.summary__label { color: var(--muted); }

.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent input { flex-shrink: 0; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }
.consent a { color: var(--muted); }

.form .btn-row .btn { flex: 1 1 200px; }

.form-status {
  margin: 0; padding: 12px 14px;
  border: 1px solid var(--accent); border-radius: var(--radius);
  font-size: 15px; color: var(--accent);
}
.form-status[hidden] { display: none; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.success { display: flex; flex-direction: column; gap: 18px; padding-block: 12px; }
.success[hidden] { display: none; }
.success:focus { outline: none; }
.success svg { color: var(--accent); }
.success .btn { align-self: flex-start; }

/* Контакты */

.contacts-grid { align-items: stretch; }
.contacts { display: flex; flex-direction: column; gap: 32px; }
.dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px 32px; }
.dl dt { font-size: 14px; color: var(--muted); }
.dl dd { margin: 4px 0 0; font-size: 17px; line-height: 1.5; }
.dl .wide { grid-column: 1 / -1; }
.dl a { text-decoration: none; font-weight: 600; }
.dl a:hover { text-decoration: underline; }

.map { position: relative; min-height: 360px; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--stone-2); }
.map img, .map iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }

/* Подвал */

.footer { background: var(--graphite-deep); color: var(--on-dark); }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: #FFFFFF; }
.footer__inner { padding-block: 64px 32px; display: flex; flex-direction: column; gap: 48px; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px 32px; }
.footer__about { display: flex; flex-direction: column; gap: 12px; }
.footer__about p { margin: 0; font-size: 15px; line-height: 1.55; }
.footer .logo__name { color: #FFFFFF; }
.footer__title { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 600; color: #FFFFFF; }
.footer nav { display: flex; flex-direction: column; gap: 2px; }
.footer nav a { padding: 6px 0; font-size: 15px; }
.footer__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer__phone { font-size: 18px; font-weight: 600; color: #FFFFFF !important; }
.footer__contact .btn { margin-top: 8px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer__links a { text-decoration: underline; }
.footer__contact .btn--light:hover { color: var(--graphite); }
.footer__bottom {
  padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  border-top: 1px solid #3A3D40;
  font-size: 14px; color: #A9ACAF;
}
.footer__bottom a { color: #A9ACAF; text-decoration: underline; }

/* Нижняя панель на телефоне */

.mbar { display: none; }

/* Планшет: меню прячется в бургер */

@media (max-width: 1100px) {
  .nav, .header__cta { display: none; }
  .icon-btn--menu { display: inline-flex; }
  .header__contact { gap: 8px; }
}

/* Телефон */

@media (max-width: 640px) {
  :root { --header-h: 64px; }

  .header .container { padding-right: 12px; }
  .header__inner { min-height: 64px; }
  .logo__name { font-size: 21px; }
  .logo__sub { font-size: 12px; }
  .phone { display: none; }
  .icon-btn--call { display: inline-flex; }
  .header__contact { gap: 4px; }

  .hero { padding-top: 0; }
  .hero .split { gap: 22px; }
  .hero__photo {
    order: -1;
    margin-inline: calc(-1 * var(--gutter));
    aspect-ratio: 39 / 25;
    border-radius: 0;
  }
  .hero__text { gap: 18px; }
  .hero__actions .btn { width: 100%; }
  .facts { gap: 12px; padding-top: 16px; }
  .fact__label { font-size: 12px; line-height: 1.3; }

  .section-top > .btn { width: 100%; }

  /* Карточки каталога на телефоне — горизонтальные, чтобы список был короче */
  .catalog__grid { gap: 12px; margin-top: 28px; }
  .card { flex-direction: row; }
  .card__img { flex: 0 0 40%; aspect-ratio: auto; }
  .card__body { padding: 14px 14px 16px; }
  .card__title { font-size: 16px; }
  .card__meta { font-size: 14px; }
  .card__foot { padding-top: 10px; gap: 8px; }
  .price { font-size: 18px; }
  .callout { padding: 24px 20px; }
  .callout .btn-row, .callout .btn { width: 100%; }
  .season__card .btn { align-self: stretch; }
  .contacts .btn-row .btn { flex: 1 1 100%; }

  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    display: flex; gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #FFFFFF;
    border-top: 1px solid var(--line-soft);
    transition: transform .2s ease;
  }
  .mbar .btn { padding: 0 14px; font-size: 15px; white-space: nowrap; }
  .mbar .btn--primary { flex: 1 1 auto; }
  .mbar.is-hidden { transform: translateY(110%); }
  body { padding-bottom: calc(77px + env(safe-area-inset-bottom)); }
}

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