/* ==========================================================================
   ustanovka-filtra.ru — установка фильтров для воды под мойку
   Палитра: глубокая синь / чистая вода / белый
   ========================================================================== */

:root {
  --navy: #0b2447;
  --navy-2: #163a6b;
  --blue: #0a6ee0;
  --blue-dark: #0858b4;
  --cyan: #22c3e6;
  --aqua: #eaf5ff;
  --aqua-2: #d6ebff;
  --ink: #0f1b2d;
  --body: #3c4a5c;
  --muted: #6b7b8f;
  --line: #dce7f3;
  --paper: #fff;
  --bg: #f6fafe;
  --green: #12a150;
  --green-bg: #e7f7ee;
  --amber: #f59e0b;

  --radius: 20px;
  --radius-sm: 14px;
  --shadow-s: 0 1px 2px rgba(11, 36, 71, .06), 0 6px 18px -8px rgba(11, 36, 71, .18);
  --shadow: 0 2px 6px rgba(11, 36, 71, .05), 0 26px 50px -24px rgba(11, 36, 71, .35);
  --shadow-blue: 0 10px 30px -10px rgba(10, 110, 224, .55);

  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --maxw: 1200px;
  --pad: clamp(16px, 4vw, 28px);
}

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

/* Атрибут hidden должен скрывать элемент всегда. Без !important его перебивает
   любое правило с display (например, .modal__chosen { display: flex }), и блок
   остаётся на экране пустым. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 { color: var(--ink); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 4.6vw, 54px); }
h2 { font-size: clamp(25px, 3.4vw, 40px); }
h3 { font-size: clamp(18px, 2vw, 22px); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding: clamp(48px, 7vw, 92px) 0; }
.section--tight { padding: clamp(34px, 4.5vw, 56px) 0; }
.section--white { background: var(--paper); }
.section--aqua { background: linear-gradient(180deg, var(--aqua) 0%, #f6fafe 100%); }
.section--navy { background: var(--navy); color: #c3d3e8; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--cyan); }
.section--navy .eyebrow { color: var(--cyan); }

.lead { font-size: clamp(16.5px, 1.8vw, 19px); color: var(--muted); max-width: 64ch; }
.section-head { max-width: 780px; margin-bottom: clamp(26px, 3.5vw, 44px); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border: 2px solid transparent; border-radius: 14px;
  font-size: 16px; font-weight: 800; letter-spacing: -.01em;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
  text-align: center; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn--primary:hover { background: var(--blue-dark); }
.btn--ghost { border-color: var(--line); background: var(--paper); color: var(--ink); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--light { background: #fff; color: var(--navy); }
.btn--wa { background: #25d366; color: #fff; }
.btn--tg { background: #29a9eb; color: #fff; }
.btn--block { width: 100%; }
.btn--lg { padding: 19px 36px; font-size: 17px; }
.btn svg { width: 19px; height: 19px; flex: none; }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(170%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header.is-stuck { border-color: var(--line); box-shadow: 0 4px 20px -12px rgba(11, 36, 71, .3); }
.header__in { display: flex; align-items: center; gap: 22px; height: 76px; }

.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 13px; flex: none;
  background: linear-gradient(145deg, var(--blue), var(--cyan));
  display: grid; place-items: center; color: #fff;
  box-shadow: var(--shadow-blue);
}
.brand__mark svg { width: 23px; height: 23px; }
.brand__name { display: block; font-size: 17px; font-weight: 800; color: var(--ink); line-height: 1.15; letter-spacing: -.02em; }
.brand__sub { display: block; font-size: 11.5px; color: var(--muted); }

.nav { display: flex; gap: 24px; }
.nav a { font-size: 15px; font-weight: 600; color: var(--body); position: relative; padding: 4px 0; white-space: nowrap; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; border-radius: 2px; background: var(--blue); transition: right .25s ease; }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { right: 0; }

.header__cta { display: flex; align-items: center; gap: 14px; }
.header__phone { display: block; font-weight: 800; font-size: 17px; color: var(--ink); white-space: nowrap; letter-spacing: -.01em; }
.header__phone small { display: block; font-size: 11px; font-weight: 600; color: var(--green); letter-spacing: 0; }

.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: .25s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Первый экран ---------- */
.hero { position: relative; padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; z-index: -2; inset: -220px 0 auto -10%;
  height: 760px; border-radius: 50%;
  background: radial-gradient(60% 60% at 70% 40%, rgba(34, 195, 230, .20), rgba(10, 110, 224, 0) 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(26px, 4vw, 56px); align-items: center; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--green-bg); color: var(--green);
  font-size: 13.5px; font-weight: 800; padding: 8px 15px; border-radius: 999px; margin-bottom: 18px;
}
.hero__badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(18,161,80,.55); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(18,161,80,0); } 100% { box-shadow: 0 0 0 0 rgba(18,161,80,0); } }

.hero h1 { margin-bottom: 16px; }
.hero h1 .accent { background: linear-gradient(120deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(16.5px, 1.75vw, 19px); color: var(--muted); margin-bottom: 26px; max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }

.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__fact { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: var(--body); }
.hero__fact svg { width: 19px; height: 19px; color: var(--green); flex: none; }

.hero__media { position: relative; }
.hero__card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px 26px 22px;
}
.hero__art { border-radius: var(--radius-sm); background: linear-gradient(160deg, var(--aqua), #fff); padding: 10px; margin-bottom: 20px; }
.hero__art svg { width: 100%; height: auto; }

.price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.price-row b { font-size: clamp(32px, 4vw, 42px); font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.price-row span { font-size: 15px; color: var(--muted); font-weight: 600; }
.hero__card p { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.hero__note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 14px; justify-content: center; }
.hero__note svg { width: 15px; height: 15px; color: var(--green); }

/* ---------- Полоса цифр ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats__item { background: var(--paper); padding: 26px 20px; text-align: center; }
.stats__num { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: 7px; letter-spacing: -.03em; }
.stats__label { font-size: 13.5px; color: var(--muted); line-height: 1.4; }

/* ---------- Что входит ---------- */
.included__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(26px, 4vw, 56px); align-items: center; }
.included__art { background: linear-gradient(160deg, var(--aqua), #fff); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.checks li { position: relative; padding-left: 36px; font-size: 16px; color: var(--body); }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 8px;
  background: var(--green-bg);
}
.checks li::after {
  content: ''; position: absolute; left: 7px; top: 9px; width: 10px; height: 5px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}

/* ---------- Этапы ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)); gap: 18px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; position: relative; overflow: hidden; }
.step__n { font-size: 15px; font-weight: 800; color: #fff; background: linear-gradient(145deg, var(--blue), var(--cyan)); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { margin-bottom: 7px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- Преимущества ---------- */
.adv { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.adv__item { background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 26px 24px; }
.adv__icon { width: 46px; height: 46px; border-radius: 13px; background: rgba(34,195,230,.16); color: var(--cyan); display: grid; place-items: center; margin-bottom: 16px; }
.adv__icon svg { width: 23px; height: 23px; }
.adv__item h3 { font-size: 20px; margin-bottom: 8px; }
.adv__item p { font-size: 15px; color: #a9bdd6; }

/* ---------- Марки ---------- */
.brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.brand-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; }
.brand-card h3 { font-size: 18px; margin-bottom: 12px; color: var(--blue); }
.brand-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.brand-card li { font-size: 13px; font-weight: 600; background: var(--aqua); color: var(--navy-2); padding: 6px 11px; border-radius: 8px; }

/* ---------- География ---------- */
.geo__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(195px, 1fr)); gap: 9px; }
.geo__link {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 15px; font-size: 14.5px; font-weight: 600; color: var(--body); transition: .18s;
}
.geo__link:hover { border-color: var(--blue); color: var(--blue); transform: translateX(2px); }
.geo__link small { color: var(--muted); font-weight: 500; font-size: 12px; white-space: nowrap; }
.geo__all { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 700; color: var(--blue); }

.geo-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.geo-jump a { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-size: 14.5px; font-weight: 700; }
.geo-group { margin-top: 30px; }
.geo-group h3 { display: flex; align-items: baseline; gap: 10px; font-size: 19px; margin-bottom: 14px; }
.geo-group h3 span { font-size: 13px; font-weight: 700; color: var(--muted); background: var(--aqua); padding: 3px 9px; border-radius: 7px; }
.geo-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 7px; }
.geo-list a { display: flex; justify-content: space-between; gap: 8px; padding: 10px 13px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.geo-list a:hover { border-color: var(--blue); color: var(--blue); }
.geo-list small { color: var(--muted); font-size: 11.5px; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; padding: 22px 48px 22px 0;
  font-size: clamp(17px, 1.9vw, 20px); font-weight: 700; color: var(--ink);
  position: relative; line-height: 1.35; letter-spacing: -.01em;
}
.faq__q::before, .faq__q::after {
  content: ''; position: absolute; right: 6px; top: 50%;
  width: 16px; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--blue);
  transition: transform .25s ease, opacity .25s ease;
}
.faq__q::after { transform: rotate(90deg); }
.faq__item.is-open .faq__q::after { transform: rotate(0deg); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 40px 24px 0; color: var(--muted); font-size: 16px; }

/* ---------- Форма ---------- */
.order { background: linear-gradient(150deg, var(--navy) 0%, #0d2d58 100%); border-radius: clamp(18px, 3vw, 30px); overflow: hidden; }
.order__grid { display: grid; grid-template-columns: .9fr 1.1fr; }
.order__left { padding: clamp(30px, 4vw, 54px); color: #b9cce5; }
.order__left h2 { color: #fff; margin-bottom: 14px; }
.order__left p { font-size: 16px; }
.order__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 13px; }
.order__list li { padding-left: 32px; position: relative; font-size: 15.5px; }
.order__list li::before { content: ''; position: absolute; left: 0; top: 2px; width: 21px; height: 21px; border-radius: 7px; background: rgba(34,195,230,.2); }
.order__list li::after { content: ''; position: absolute; left: 6px; top: 9px; width: 9px; height: 5px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }
.order__phone { display: inline-flex; flex-direction: column; margin-top: 28px; }
.order__phone b { font-size: clamp(24px, 3vw, 31px); color: #fff; font-weight: 800; letter-spacing: -.02em; }
.order__phone span { font-size: 13.5px; color: #8fa9c9; }
.order__socials { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

.order__form { background: var(--paper); padding: clamp(26px, 3.5vw, 44px); }
.field { margin-bottom: 18px; }
.field > label, .field__label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.field__label .req { color: #e0485b; }
.field input[type=text], .field input[type=tel], .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--bg); font: inherit; font-size: 15.5px; color: var(--ink); transition: .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(10,110,224,.12); }
.field textarea { min-height: 86px; resize: vertical; }
.field__hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

.toggle { display: inline-flex; background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 4px; gap: 4px; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle label { padding: 10px 24px; border-radius: 9px; font-size: 14.5px; font-weight: 700; color: var(--muted); cursor: pointer; transition: .15s; }
.toggle input:checked + label { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }

.radios { display: grid; gap: 9px; }
.radio { display: flex; align-items: center; gap: 11px; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: .15s; background: var(--bg); }
.radio:hover { border-color: var(--aqua-2); }
.radio input { width: 19px; height: 19px; accent-color: var(--blue); flex: none; margin: 0; }
.radio span { font-size: 15px; }
.radio:has(input:checked) { border-color: var(--blue); background: #fff; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }

.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.5; margin-bottom: 14px; }
.consent input { width: 19px; height: 19px; flex: none; margin-top: 1px; accent-color: var(--blue); }
.consent a { color: var(--blue); text-decoration: underline; }

.form__msg { font-size: 15px; padding: 14px 18px; border-radius: 12px; display: none; margin-top: 14px; }
.form__msg.ok { display: block; background: var(--green-bg); color: var(--green); }
.form__msg.err { display: block; background: #fdeaec; color: #c0392b; }

/* ---------- Подвал ---------- */
.footer { background: #08182e; color: #7f94ae; padding: clamp(40px, 5vw, 64px) 0 26px; font-size: 14.5px; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 32px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer h4 { color: #fff; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 15px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__phone { color: #fff; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.footer__geo { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.08); display: grid; gap: 12px; }
.footer__geo-row { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.footer__geo-label { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #5d7490; min-width: 118px; }
.footer__geo-links { display: flex; flex-wrap: wrap; gap: 7px 16px; font-size: 13.5px; }
.footer__legal { padding-top: 22px; font-size: 12.5px; color: #5d7490; display: grid; gap: 9px; }
.footer__legal p { margin: 0; line-height: 1.55; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; margin-top: 4px; }

/* ---------- Мобильная панель ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none; gap: 8px;
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
}
.callbar .btn { flex: 1; padding: 14px 10px; font-size: 15px; }

/* ---------- Юридическая страница ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(21px, 2.5vw, 27px); margin-top: 1.9em; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal__meta { color: var(--muted); font-size: 14px; }

/* ---------- Появление ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Адаптив ---------- */
@media (max-width: 1000px) {
  .hero__grid, .included__grid, .order__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; }
  .included__art { max-width: 420px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav, .header__phone { display: none; }
  .burger { display: block; }
  .header__in { height: 64px; }
  .header__cta .btn--primary { display: none; }
  .nav.is-open {
    display: grid; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 14px var(--pad) 22px; gap: 2px; box-shadow: var(--shadow);
  }
  .nav.is-open a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .callbar { display: flex; }
  body { padding-bottom: 74px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer__geo-row { flex-direction: column; gap: 6px; }
}

@media print { .header, .callbar, .order, .burger { display: none !important; } body { background: #fff; } }

/* ---------- Каталог моделей ---------- */
.models__group { margin-bottom: 34px; }
.models__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.models__head h3 { margin: 0; font-size: clamp(19px, 2.2vw, 24px); }
.models__head span { font-size: 13.5px; color: var(--muted); }
.models__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: 14px; }

.model {
  display: flex; flex-direction: column; gap: 8px; text-align: left;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 18px 16px; position: relative; width: 100%;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.model:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow-blue); }
.model:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.model__type {
  align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 7px; background: var(--aqua); color: var(--blue);
}
.model__type--osmo { background: #e8f8f4; color: #0e8f73; }
.model__name { font-size: 16.5px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.model__desc { font-size: 13.5px; color: var(--muted); flex: 1; }
.model__go { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 800; color: var(--blue); margin-top: 4px; }
.model__go svg { width: 15px; height: 15px; transition: transform .18s ease; }
.model:hover .model__go svg { transform: translateX(3px); }

/* ---------- Модальное окно заявки ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(8, 24, 46, .62); backdrop-filter: blur(4px);
  padding: 20px; overflow-y: auto;
}
.modal.is-open { display: flex; align-items: flex-start; justify-content: center; }
.modal__box {
  background: var(--paper); border-radius: var(--radius); width: 100%; max-width: 560px;
  margin: auto; box-shadow: 0 40px 90px -30px rgba(8, 24, 46, .7); position: relative;
  animation: modalIn .22s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal__head { padding: 28px 30px 0; }
.modal__head h2 { font-size: clamp(22px, 2.6vw, 27px); margin-bottom: 6px; }
.modal__head p { font-size: 14.5px; color: var(--muted); }
.modal__close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--paper); color: var(--muted);
  display: grid; place-items: center; font-size: 22px; line-height: 1; transition: .15s;
}
.modal__close:hover { border-color: var(--ink); color: var(--ink); }
.modal__body { padding: 22px 30px 30px; }
.modal__chosen {
  display: flex; align-items: center; gap: 10px; background: var(--aqua);
  border-radius: 12px; padding: 12px 15px; margin-bottom: 20px; font-size: 14.5px;
}
.modal__chosen b { color: var(--ink); font-weight: 800; }
.modal__chosen svg { width: 19px; height: 19px; color: var(--blue); flex: none; }
@media (max-width: 560px) {
  .modal { padding: 0; }
  .modal__box { border-radius: 0; min-height: 100%; }
  .modal__head { padding: 24px 20px 0; }
  .modal__body { padding: 18px 20px 28px; }
}
body.is-locked { overflow: hidden; }

/* ---------- Выбор материала ---------- */
.swatch { width: 28px; height: 28px; flex: none; border-radius: 8px; }
.radio__badge {
  margin-left: auto; font-style: normal; font-size: 11px; font-weight: 800;
  letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
  background: #fff4e2; color: #a45b00; border: 1px solid #f3dcb8;
  padding: 4px 9px; border-radius: 7px;
}
.radio--off { opacity: .72; }
.radio--off:has(input:checked) { border-color: var(--amber); background: #fffaf2; opacity: 1; }
.notice {
  display: flex; gap: 10px; margin-top: 4px; margin-bottom: 18px;
  background: #fff8ec; border: 1px solid #f3dcb8; border-radius: 12px;
  padding: 14px 16px; font-size: 14px; color: #7a4a06; line-height: 1.5;
}
.notice::before { content: '!'; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--amber); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; }

/* ---------- Фото моделей ---------- */
.model--photo { padding-top: 14px; }
.model__photo {
  display: block; background: linear-gradient(170deg, var(--aqua), #fff);
  border-radius: 12px; padding: 10px; margin-bottom: 10px;
}
.model__photo img { width: 100%; height: 150px; object-fit: contain; mix-blend-mode: multiply; }
.hero__art img { width: 100%; height: auto; border-radius: var(--radius-sm); }
@media (max-width: 560px) { .model__photo img { height: 130px; } }
