/* ==========================================================================
   Fast Rent — design tokens
   ========================================================================== */

:root {
  /* color */
  --bg: #F6F3EE;
  --bg-raised: #FFFFFF;
  --bg-steel: #22252A;
  --bg-steel-raised: #2B2F35;
  --ink: #1B1C1E;
  --ink-soft: #63676D;
  --ink-faint: #9A9D9F;
  --ink-on-steel: #F2F0EA;
  --ink-on-steel-soft: #A9ADB3;
  --line: #E3DED5;
  --line-steel: #383C42;
  --accent: #B15A2B;
  --accent-deep: #8C4620;
  --accent-tint: #F2E2D3;
  --accent-tint-steel: #4A3626;
  --good: #3F6B4F;
  --good-tint: #DFEAE2;

  /* type */
  --f-display: "Manrope", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* scale */
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 26px;
  --radius-pill: 999px;

  --gap: clamp(1.25rem, 2.5vw, 2.5rem);
  --section-pad: clamp(3.5rem, 8vw, 7rem);
  --container: 1220px;

  --shadow-card: 0 1px 2px rgba(27,28,30,0.04), 0 12px 28px -16px rgba(27,28,30,0.18);
  --shadow-raised: 0 8px 20px -10px rgba(27,28,30,0.28), 0 2px 6px rgba(27,28,30,0.10);

  --ease: cubic-bezier(.22,.61,.36,1);
}

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

/* ==========================================================================
   Reset / base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.section {
  padding: var(--section-pad) 0;
}
.section--steel {
  background: var(--bg-steel);
  color: var(--ink-on-steel);
}
.section--raised {
  background: var(--bg-raised);
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.eyebrow::before {
  content: "";
  width: 1.4em;
  height: 1px;
  background: var(--accent);
}

h2.section-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-top: 0.6em;
  max-width: 20ch;
}
.section-lede {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 56ch;
  line-height: 1.65;
}
.section--steel .section-lede { color: var(--ink-on-steel-soft); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.95em 1.7em;
  border-radius: var(--radius-pill);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

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

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--ghost-steel {
  background: transparent;
  border-color: var(--line-steel);
  color: var(--ink-on-steel);
}
.btn--ghost-steel:hover { border-color: var(--ink-on-steel); }

.btn--block { width: 100%; }
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 243, 238, 0.86);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(27,28,30,0.02);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.logo__mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}
.main-nav a {
  font-size: 0.94rem;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}
.main-nav a:hover { color: var(--ink); }

/* выпадающие подменю: разделов стало больше, чем помещается в строку */
.main-nav .has-sub { position: relative; }
.main-nav .has-sub > a {
  display: inline-flex;
  align-items: center;
  gap: 0.32em;
}
.main-nav .has-sub > a::after {
  content: "";
  width: 0.42em;
  height: 0.42em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.15em) rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.main-nav .has-sub:hover > a::after,
.main-nav .has-sub:focus-within > a::after { transform: translateY(0.05em) rotate(225deg); }

.sub-menu {
  position: absolute;
  top: 100%;
  left: -0.9rem;
  min-width: 16rem;
  padding: 0.45rem;
  margin-top: 0.7rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-raised);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
/* мостик, чтобы меню не закрывалось в зазоре между ссылкой и панелью */
.sub-menu::before {
  content: "";
  position: absolute;
  top: -0.8rem;
  left: 0;
  right: 0;
  height: 0.9rem;
}
.main-nav .has-sub:hover .sub-menu,
.main-nav .has-sub:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sub-menu a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-s);
  font-size: 0.91rem;
  line-height: 1.35;
  color: var(--ink);
  white-space: nowrap;
}
.sub-menu a:hover {
  background: var(--accent-tint);
  color: var(--accent-deep);
}
.sub-menu a small {
  display: block;
  font-size: 0.76rem;
  color: var(--ink-faint);
  margin-top: 0.1rem;
}
.sub-menu a:hover small { color: var(--accent-deep); opacity: 0.75; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.25;
}
.header-phone__num {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
}
.header-phone__hint {
  font-size: 0.75rem;
  color: var(--ink-faint);
}

/* телефон + мессенджеры в шапке */
.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  line-height: 1.2;
}
.header-contact .header-phone__num { display: block; }

/* ссылки на мессенджеры — рядом с телефоном и с кнопками заявки */
.msg-links {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.msg-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-tint);
  color: var(--accent-deep);
  flex-shrink: 0;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.msg-links a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.msg-links svg { width: 19px; height: 19px; }
.msg-links__max {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 0.66rem;
  letter-spacing: 0.02em;
}
.msg-links--sm a { width: 27px; height: 27px; }
.msg-links--sm svg { width: 14px; height: 14px; }
.msg-links--sm .msg-links__max { font-size: 0.55rem; }
.msg-links--lg a { width: 46px; height: 46px; }
.msg-links--lg svg { width: 22px; height: 22px; }
.msg-links--lg .msg-links__max { font-size: 0.74rem; }
/* на тёмном фоне */
.section--steel .msg-links a {
  background: var(--accent-tint-steel);
  color: var(--accent);
}
.section--steel .msg-links a:hover { background: var(--accent); color: #fff; }
/* подпись «или напишите» перед иконками */
.msg-links__label {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-right: 0.15rem;
}
.section--steel .msg-links__label { color: var(--ink-on-steel-soft); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.4rem;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 880px) {
  .main-nav { display: none; }
  .header-phone,
  .header-contact { display: none; }
  .header-cta .btn--primary { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 460px) {
  .logo { font-size: 1.02rem; }
  .logo__mark { width: 26px; height: 26px; }
}

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

.hero {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
}

.hero__eyebrow { margin-bottom: 1.1rem; }

.hero h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.15rem, 4.6vw, 3.55rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 15ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero__sub {
  margin-top: 1.4rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
  line-height: 1.6;
}

.spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.8rem;
}
.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.55em 1.05em;
  border-radius: var(--radius-pill);
  background: var(--accent-tint);
  color: var(--accent-deep);
  font-size: 0.9rem;
  font-weight: 600;
}
.spec-pill svg { width: 1em; height: 1em; }

.situation-picker {
  margin-top: 2.4rem;
  padding: 1.4rem;
  background: var(--bg-raised);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
}
.situation-picker__label {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 0.9rem;
  font-weight: 500;
}
.situation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}
@media (max-width: 560px) {
  .situation-grid { grid-template-columns: repeat(2, 1fr); }
}
.situation-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-s);
  border: 1.5px solid var(--line);
  background: var(--bg);
  text-align: left;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.situation-chip:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.situation-chip.is-active {
  border-color: var(--accent);
  background: var(--accent-tint);
}
.situation-chip svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.situation-chip span {
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

/* мессенджеры под телефоном в финальном блоке заявки */
.cta-final__msg {
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
/* мессенджеры в мобильном меню */
.mobile-nav__phone .msg-links { margin-top: 0.8rem; }

.hero__media {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-raised);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.hero__media-tag {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  background: rgba(27,28,30,0.72);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.6em 1em;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.hero__media-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6FBE8A;
  box-shadow: 0 0 0 3px rgba(111,190,138,0.25);
}

/* ==========================================================================
   Spec / trust bar
   ========================================================================== */

.spec-bar {
  padding: clamp(2.4rem, 5vw, 3.4rem) 0;
}
.spec-bar__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem 1rem;
}
@media (max-width: 900px) {
  .spec-bar__grid { grid-template-columns: repeat(2, 1fr); }
}
.spec-bar__item {
  border-left: 1.5px solid var(--line-steel);
  padding-left: 1.1rem;
}
.spec-bar__num {
  font-family: var(--f-mono);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 500;
  color: var(--ink-on-steel);
  letter-spacing: -0.01em;
}
.spec-bar__label {
  margin-top: 0.35rem;
  font-size: 0.86rem;
  color: var(--ink-on-steel-soft);
  line-height: 1.4;
}

/* ==========================================================================
   Segment cards ("как мы подбираем")
   ========================================================================== */

.segment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
@media (max-width: 980px) { .segment-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .segment-grid { grid-template-columns: 1fr; } }

.segment-card {
  background: var(--bg-raised);
  border-radius: var(--radius-m);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.segment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-raised);
}
.segment-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-s);
  background: var(--accent-tint);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.segment-card__icon svg { width: 22px; height: 22px; }
.segment-card h3 {
  font-family: var(--f-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.segment-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
}
.segment-card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 0.2rem;
}
.segment-card__link svg { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.segment-card:hover .segment-card__link svg { transform: translateX(3px); }

/* ==========================================================================
   Catalog
   ========================================================================== */

.cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(2.4rem, 5vw, 3.6rem);
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
}
.cat-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55em 1.05em;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  color: var(--ink-soft);
  transition: all 0.2s var(--ease);
}
.cat-nav a:hover, .cat-nav a.is-active {
  border-color: var(--accent);
  color: var(--accent-deep);
  background: var(--accent-tint);
}

.cat-group {
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
  scroll-margin-top: 6rem;
}
.cat-group__head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}
@media (max-width: 780px) {
  .cat-group__head { grid-template-columns: 1fr; }
}
.cat-group__banner {
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: var(--shadow-card);
}
.cat-group__banner img { width: 100%; height: 100%; object-fit: cover; }
.cat-group__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.01em;
}
.cat-group__desc {
  margin-top: 0.6rem;
  color: var(--ink-soft);
  max-width: 48ch;
  line-height: 1.6;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
@media (max-width: 980px) { .model-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .model-grid { grid-template-columns: 1fr; } }

.model-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 1.4rem 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.model-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.model-card__photo {
  margin: -1.4rem -1.4rem 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-m) var(--radius-m) 0 0;
  overflow: hidden;
  background: var(--bg);
}
.model-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.model-card__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.3;
}
/* метка наличия: что стоит на складе прямо сейчас, а что везём под запрос */
.model-card__badge {
  align-self: flex-start;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35em 0.75em;
  border-radius: var(--radius-pill);
  background: var(--good-tint);
  color: var(--good);
  margin-bottom: -0.35rem;
}
.model-card__badge--order {
  background: var(--accent-tint);
  color: var(--accent-deep);
}
.model-card__price-ask {
  font-family: var(--f-mono);
  font-size: 0.86rem;
  color: var(--ink-soft);
  background: var(--bg);
  border-radius: var(--radius-s);
  padding: 0.7em 0.9em;
  text-align: center;
}
.model-card__specs {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  font-family: var(--f-mono);
  font-size: 0.79rem;
  color: var(--ink-soft);
}
.model-card__specs b { color: var(--ink); font-weight: 500; }
.model-card__note {
  font-size: 0.83rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.model-card__prices {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.2rem;
}
.price-chip {
  flex: 1;
  text-align: center;
  padding: 0.5em 0.3em;
  border-radius: var(--radius-s);
  background: var(--bg);
}
.price-chip__val {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink);
}
.price-chip__unit {
  font-size: 0.68rem;
  color: var(--ink-faint);
  margin-top: 0.1rem;
}
.model-card .btn {
  margin-top: 0.3rem;
  padding: 0.75em 1.2em;
  font-size: 0.88rem;
}

/* ==========================================================================
   Process steps
   ========================================================================== */

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  counter-reset: step;
}
@media (max-width: 980px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-list { grid-template-columns: 1fr; } }

.process-step {
  position: relative;
  padding-top: 2.6rem;
}
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--f-mono);
  font-size: 0.85rem;
  color: var(--accent);
  position: absolute;
  top: 0;
  left: 0;
  letter-spacing: 0.05em;
}
.process-step::after {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 2.6rem;
  right: 0;
  height: 1px;
  background: var(--line);
}
@media (max-width: 980px) {
  .process-step::after { display: none; }
}
.process-step h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.08rem;
  margin-bottom: 0.55rem;
}
.process-step p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* ==========================================================================
   Delivery / guarantee split
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.check-list { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.6rem; }
.check-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.check-list__icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--good-tint);
  color: var(--good);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.check-list__icon svg { width: 14px; height: 14px; }
.check-list div b {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}
.check-list div span {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.prep-card {
  background: var(--bg-raised);
  border-radius: var(--radius-m);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
.prep-card h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1.3rem;
}
.prep-steps { display: flex; flex-direction: column; gap: 1.1rem; }
.prep-steps li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.prep-steps b { color: var(--ink); }
.prep-steps__num {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  color: var(--accent);
  flex-shrink: 0;
  padding-top: 0.15em;
}

/* ==========================================================================
   Zones
   ========================================================================== */

.zone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.6rem;
}
.zone-tags span {
  font-size: 0.85rem;
  padding: 0.45em 0.9em;
  border-radius: var(--radius-pill);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
  max-width: 780px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  cursor: pointer;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.02rem;
}
.faq-item summary h2,
.faq-item summary h3 {
  margin: 0;
  font: inherit;
  color: inherit;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.faq-item summary .plus::before { width: 10px; height: 1.4px; }
.faq-item summary .plus::after { width: 1.4px; height: 10px; transition: opacity 0.2s var(--ease); }
.faq-item[open] summary .plus { transform: rotate(45deg); border-color: var(--accent); }
.faq-item[open] summary .plus::after { opacity: 0; }
.faq-item p {
  padding-bottom: 1.6rem;
  color: var(--ink-soft);
  max-width: 68ch;
  line-height: 1.65;
  font-size: 0.97rem;
}
.faq-item .sub-h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  margin: 1.1rem 0 0.5rem;
  max-width: 68ch;
}
.faq-item .sub-h3:first-child { margin-top: 0; }
.faq-item p.sub-p {
  padding-bottom: 0;
  margin-bottom: 1.1rem;
}
.faq-item p.sub-p:last-child { padding-bottom: 1.6rem; margin-bottom: 0; }

/* ==========================================================================
   Final CTA + form
   ========================================================================== */

.cta-final {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 900px) { .cta-final { grid-template-columns: 1fr; } }

.cta-final h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.cta-final__lede {
  margin-top: 1rem;
  color: var(--ink-on-steel-soft);
  font-size: 1.05rem;
  max-width: 42ch;
  line-height: 1.6;
}
.cta-final__phone {
  margin-top: 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.cta-final__phone a {
  font-family: var(--f-mono);
  font-size: 1.4rem;
  color: #fff;
}
.cta-final__phone-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-tint-steel);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cta-final__phone-icon svg { width: 19px; height: 19px; }

.order-form {
  background: var(--bg-raised);
  border-radius: var(--radius-l);
  padding: clamp(1.8rem, 3.5vw, 2.4rem);
  box-shadow: var(--shadow-raised);
}
@media (max-width: 640px) {
  /* leave room so the fixed messenger buttons don't sit on top of the fields */
  .order-form { margin-right: 3.6rem; }
}
.form-row { margin-bottom: 1.15rem; }
.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.85em 1em;
  border-radius: var(--radius-s);
  border: 1.5px solid var(--line);
  background: var(--bg);
  font: inherit;
  font-size: 0.96rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.form-row textarea { resize: vertical; min-height: 5.5rem; }
.form-consent {
  font-size: 0.78rem;
  color: var(--ink-faint);
  line-height: 1.5;
  margin-top: 0.9rem;
}
.form-note {
  display: none;
  margin-top: 1rem;
  padding: 0.9em 1.1em;
  border-radius: var(--radius-s);
  background: var(--good-tint);
  color: var(--good);
  font-size: 0.9rem;
  font-weight: 600;
}
.form-note.is-visible { display: block; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 2.2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 2.2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--line-steel);
}
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p {
  color: var(--ink-on-steel-soft);
  font-size: 0.9rem;
  max-width: 32ch;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-on-steel-soft);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a, .footer-col span {
  font-size: 0.92rem;
  color: var(--ink-on-steel);
}
.footer-col a { transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.6rem;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* highlight pulse for anchor-jump target */
.cat-group.is-pulsed {
  animation: pulseHighlight 1.4s var(--ease);
}
@keyframes pulseHighlight {
  0% { box-shadow: inset 0 0 0 0 rgba(177,90,43,0); }
  20% { box-shadow: inset 0 0 0 2px rgba(177,90,43,0.35); }
  100% { box-shadow: inset 0 0 0 0 rgba(177,90,43,0); }
}

/* mobile nav sheet */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  transform: translateY(-100%);
  /* закрытая панель стоит над экраном: без visibility её содержимое, если оно
     не помещается по высоте, вылезает вниз и печатается поверх шапки */
  visibility: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  transition: transform 0.35s var(--ease), visibility 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 1.2rem clamp(1.25rem, 4vw, 3rem) 2rem;
}
.mobile-nav.is-open { transform: translateY(0); visibility: visible; }
.mobile-nav__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}
.mobile-nav__close { background: none; border: none; padding: 0.4rem; }
.mobile-nav__close svg { width: 24px; height: 24px; }
/* разделов стало семь — интервалы и кегль подобраны так, чтобы список
   помещался на экране телефона целиком, без прокрутки */
.mobile-nav ul { display: flex; flex-direction: column; gap: 1.05rem; }
.mobile-nav a { font-family: var(--f-display); font-weight: 700; font-size: 1.32rem; }
.mobile-nav__phone {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.mobile-nav__phone a {
  font-family: var(--f-mono);
  font-size: 1.3rem;
  color: var(--accent);
}

/* messenger FAB */
.messenger-fab {
  position: fixed;
  right: clamp(1rem, 3vw, 1.8rem);
  bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.messenger-fab__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--ink-on-steel);
  box-shadow: 0 8px 20px rgba(27,28,30,0.22);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.messenger-fab__btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(177,90,43,0.3);
}
.messenger-fab__btn svg { width: 24px; height: 24px; }
.messenger-fab__btn--max {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .messenger-fab__btn { width: 46px; height: 46px; }
  .messenger-fab__btn svg { width: 21px; height: 21px; }
}

/* inline messenger row (e.g. на странице «Спасибо») */
.msg-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 0.9rem 0 0;
}
.msg-inline__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--ink-on-steel);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.msg-inline__btn:hover { background: var(--accent); transform: translateY(-2px); }
.msg-inline__btn svg { width: 22px; height: 22px; }
.msg-inline__btn--max {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Юридические страницы
   ========================================================================== */

.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 8vw, 6rem);
}
.legal h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.legal .legal__updated {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-bottom: 2.5rem;
}
.legal h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 2.4rem;
  margin-bottom: 0.9rem;
}
.legal p, .legal li {
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 0.97rem;
}
.legal p { margin-bottom: 1rem; }
.legal ul, .legal ol {
  margin: 0 0 1rem;
  padding-left: 1.3rem;
  list-style: disc;
}
.legal ol { list-style: decimal; }
.legal li { margin-bottom: 0.4rem; }
.legal strong { color: var(--ink); }
.legal__requisites {
  margin-top: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}
.legal__requisites p { margin-bottom: 0.35rem; font-size: 0.92rem; }
.legal__requisites p:last-child { margin-bottom: 0; }
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 2rem;
}
.legal__back:hover { color: var(--accent); }

/* ==========================================================================
   Внутренние страницы (костыли): крошки, карточка товара, таблицы
   ========================================================================== */

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

.crumbs {
  font-size: 0.82rem;
  color: var(--ink-faint);
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-current] { color: var(--ink-faint); }
.crumbs__sep { color: var(--line); }

/* карточка одной модели — фото + характеристики + цены */
.product-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-card);
}
@media (max-width: 820px) { .product-panel { grid-template-columns: 1fr; } }

.product-panel__media {
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--bg);
  aspect-ratio: 1 / 1;
}
.product-panel__media img { width: 100%; height: 100%; object-fit: contain; }
.product-panel__media--photo img { object-fit: cover; }

.product-panel h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: 0.6rem;
}
.product-panel__lede {
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 52ch;
}

.spec-rows {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1.5rem;
}
@media (max-width: 520px) { .spec-rows { grid-template-columns: 1fr; } }
.spec-rows div {
  border-top: 1px solid var(--line);
  padding-top: 0.6rem;
}
.spec-rows dt,
.spec-rows__label {
  font-size: 0.78rem;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.spec-rows dd,
.spec-rows__val {
  margin: 0.2rem 0 0;
  font-family: var(--f-mono);
  font-size: 0.94rem;
  color: var(--ink);
}

.price-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
}
.price-row .price-chip {
  flex: 1 1 6rem;
  padding: 0.75em 0.5em;
  border: 1px solid var(--line);
}
.price-row .price-chip__val { font-size: 1.15rem; }
.price-row .price-chip__unit { font-size: 0.74rem; }

.product-panel__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}
.product-panel__hint {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--ink-faint);
  line-height: 1.5;
}

/* карточка с ценой в hero — там, где фото модели ещё нет */
.offer-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-raised);
}
.offer-card__label {
  font-family: var(--f-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.offer-card .price-row { margin-top: 1rem; }
.offer-card__list {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.offer-card__list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.offer-card__list b { color: var(--ink); font-weight: 600; }
.offer-card__list svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--good);
}
.offer-card .btn { margin-top: 1.5rem; }
.offer-card__note {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--ink-faint);
  line-height: 1.45;
  text-align: center;
}

/* таблицы: размеры по росту, сравнение типов костылей */
.table-scroll {
  overflow-x: auto;
  margin-top: 2rem;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: var(--bg-raised);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 34rem;
  font-size: 0.92rem;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table thead th {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  background: var(--bg);
  white-space: nowrap;
}
.spec-table tbody th {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.spec-table td { color: var(--ink-soft); line-height: 1.5; }
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: none; }
.spec-table .num { font-family: var(--f-mono); color: var(--ink); }
.spec-table .is-current {
  background: var(--accent-tint);
  color: var(--accent-deep);
}
.spec-table thead .is-current { color: var(--accent-deep); }

/* акцентные заметки: «важно» и «не подойдёт» */
.note-card {
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-m);
  background: var(--good-tint);
  border-left: 4px solid var(--good);
  max-width: 68ch;
}
.note-card h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.note-card p, .note-card li {
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.6;
}
.note-card ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin-top: 0.5rem;
}
.note-card li { margin-bottom: 0.35rem; }
.note-card--warn {
  background: var(--accent-tint);
  border-left-color: var(--accent);
}

/* текстовый SEO-блок на внутренней странице */
.text-block {
  max-width: 68ch;
  margin-top: 2rem;
}
.text-block h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 1.8rem 0 0.6rem;
}
.text-block h3:first-child { margin-top: 0; }
.text-block p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.68;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Быстрая заявка — модальное окно
   ========================================================================== */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(27,28,30,0.55);
  backdrop-filter: blur(2px);
  z-index: 200;
  padding: 1.25rem;
  align-items: center;
  justify-content: center;
}
.modal-overlay.is-open { display: flex; }
.modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  background: var(--bg-raised);
  border-radius: var(--radius-l);
  padding: clamp(1.8rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-raised);
  animation: modal-in 0.28s var(--ease);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--bg-raised);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.modal-close:hover { border-color: var(--accent); color: var(--accent); }
.modal-close svg { width: 16px; height: 16px; }
.modal-card h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.2;
  margin-right: 2.5rem;
  margin-bottom: 0.6rem;
}
.modal-lede {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 1.6rem;
}
.modal-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  margin: 0.4rem 0 1.4rem;
}
.modal-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--accent);
  cursor: pointer;
}
.modal-consent span {
  font-size: 0.78rem;
  color: var(--ink-faint);
  line-height: 1.5;
}
.modal-consent a { color: var(--ink-soft); text-decoration: underline; }
.modal-consent a:hover { color: var(--accent); }
body.modal-open { overflow: hidden; }

/* ==========================================================================
   Галерея фото модели (страницы Ortonica)
   ========================================================================== */

.model-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.model-gallery__item {
  margin: 0;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.model-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  transition: transform 0.35s var(--ease);
}
.model-gallery__item:hover img { transform: scale(1.04); }

@media (max-width: 640px) {
  .model-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* --- Антиспам-ловушка: поле скрыто от человека, видно только ботам --------- */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- Сообщение об ошибке отправки заявки ---------------------------------- */
.form-note.is-error {
  color: #8f2f2f;
  background: #fbeceb;
  border-color: #e6c3c0;
}
