/* ===== Vanguard Polymer — стили сайта ===== */
@import url(../fonts/fonts.css);

:root {
  --navy: #14213d;
  --text: #2b3550;
  --muted: #58627e;      /* серый текст: контраст ≥ 4,5 и на белом, и на голубом фоне */
  --line: #e3e8f3;
  --bg: #ffffff;
  --tint: #f3f6fc;
  --accent: #d92d30;     /* красный шарик — главная кнопка (белый текст читается: 4,8:1) */
  --accent-dark: #b91f22;
  --accent-soft: #fff1f1;
  --wa: #0f7f3e; --wa-dark: #0d6e35;   /* WhatsApp, затемнён ради читаемости */
  --tg: #1a73b8; --tg-dark: #155d96;   /* Telegram */
  --focus: #3b82f6;
  --radius: 18px;
  /* цвета шариков */
  --red: #ff4d4f; --yellow: #ffc53d; --blue: #3b82f6; --green: #34c759; --pink: #ff6fb5; --orange: #ff8a3d;
  --font-text: "Golos Text", "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Rubik", "Golos Text", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-color: #b9c3da var(--tint); }
body { font-family: var(--font-text); color: var(--text); background: var(--bg); line-height: 1.55;
  -webkit-font-smoothing: antialiased; accent-color: var(--accent); caret-color: var(--accent); }
::selection { background: var(--yellow); color: var(--navy); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.15; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 28px; letter-spacing: -0.01em; }
h3 { font-size: 19px; margin-bottom: 6px; font-weight: 600; }
.container { width: min(1160px, 100% - 40px); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ----- кнопки ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: #fff;
  font-weight: 600; padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer; font: 600 16px/1.2 var(--font-text);
  box-shadow: 0 6px 18px rgba(217,45,48,.28); transition: background-color .2s, color .2s, transform .2s cubic-bezier(.2,.8,.2,1); }
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--small { padding: 9px 18px; font-size: 14px; box-shadow: none; }
.btn--ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--wa { background: var(--wa); box-shadow: none; }
.btn--wa:hover { background: var(--wa-dark); }
.btn--tg { background: var(--tg); box-shadow: none; }
.btn--tg:hover { background: var(--tg-dark); }
.btn .ico { font-size: 18px; }

/* ----- шапка ----- */
.header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font: 600 21px var(--font-display); color: var(--navy); letter-spacing: -0.01em; }
.logo__text b { color: var(--accent); font-weight: 700; }
.logo__balls { display: flex; }
.logo__balls i { width: 16px; height: 16px; border-radius: 50%; margin-right: -4px; box-shadow: inset -2px -3px 4px rgba(0,0,0,.18); }
.logo__balls i:nth-child(1) { background: var(--red); } .logo__balls i:nth-child(2) { background: var(--yellow); } .logo__balls i:nth-child(3) { background: var(--blue); }
.nav { display: flex; gap: 28px; font-weight: 500; }
.nav a { transition: color .2s; }
.nav a:hover { color: var(--accent); }
.header__right { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; border: 1px solid #d7ddeb; border-radius: 999px; overflow: hidden; font-size: 13px; font-weight: 600; }
.lang a { padding: 5px 11px; color: var(--muted); }
.lang .lang__active { background: var(--navy); color: #fff; }

/* ----- первый экран ----- */
.hero { background: linear-gradient(160deg, #fff7e8 0%, #eef4ff 60%, #fff 100%); padding: 64px 0 40px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 20px; letter-spacing: -0.02em; font-weight: 700; }
.hero__lead { font-size: 18px; color: var(--muted); max-width: 34em; margin-bottom: 30px; }
.hero__lead b { color: var(--navy); }
.hero__buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__photo { position: relative; }
.hero__photo img { width: 100%; display: block; border-radius: 32px; border: 10px solid #fff; box-shadow: 0 25px 60px rgba(20,33,61,.18); aspect-ratio: 4/3; object-fit: cover; }
.hero__sticker { position: absolute; left: -18px; bottom: 26px; background: var(--yellow); color: var(--navy); border-radius: 18px; padding: 12px 18px;
  display: flex; gap: 10px; align-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.15); transform: rotate(-4deg); }
.hero__sticker b { font: 700 30px var(--font-display); }
.hero__sticker span { font-size: 13px; line-height: 1.2; font-weight: 600; }

/* полоска коротких преимуществ */
.strip { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 12px; margin-top: 50px; }
.strip li { background: #fff; border-radius: 14px; padding: 14px; font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.3;
  display: flex; align-items: center; gap: 10px; box-shadow: 0 4px 14px rgba(20,33,61,.06); }
.strip .ico { font-size: 22px; color: var(--accent); }

/* ----- секции ----- */
.section { padding: 80px 0; }
.section--tint { background: var(--tint); }

/* ----- каталог ----- */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: -8px 0 10px; }
.tabs a { padding: 9px 18px; border-radius: 999px; background: var(--tint); font-weight: 600; color: var(--navy); font-size: 15px; transition: background-color .2s, color .2s; }
.tabs a:hover { background: var(--navy); color: #fff; }
.cat-title { font-size: 24px; margin: 44px 0 18px; scroll-margin-top: 90px; }
.note { display: flex; gap: 10px; align-items: flex-start; background: #fff8e1; border-radius: 12px; padding: 12px 16px; margin: -6px 0 18px; font-size: 15px; max-width: 60em; }
.note .ico { font-size: 20px; color: #a15c00; margin-top: 1px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.product { position: relative; background: #fff; border-radius: var(--radius); padding: 14px 14px 18px; box-shadow: 0 8px 24px rgba(20,33,61,.07); display: flex; flex-direction: column; }
.product--hit { box-shadow: 0 0 0 3px var(--yellow), 0 8px 24px rgba(20,33,61,.07); }
.product__tag { position: absolute; top: 24px; right: 24px; z-index: 1; background: var(--yellow); color: var(--navy); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.product img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; margin-bottom: 12px; background: var(--tint); }
.product h4 { font-size: 17px; margin-bottom: 4px; line-height: 1.25; font-weight: 600; }
.product__meta { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.product__price { font: 700 21px var(--font-display); color: var(--navy); margin: auto 0 12px; font-variant-numeric: tabular-nums; }
.product__price span { font: 400 14px var(--font-text); color: var(--muted); }
.product__buttons { display: flex; gap: 10px; }

/* ----- калькулятор ----- */
.calc { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 50px; align-items: center; }
.calc__text p { font-size: 18px; color: var(--muted); max-width: 30em; }
.calc__form { background: #fff; border-radius: 24px; padding: 28px; display: grid; gap: 16px; box-shadow: 0 10px 30px rgba(20,33,61,.08); }
.calc__shapes { display: flex; gap: 10px; border: 0; }
.calc__shapes label { flex: 1; position: relative; }
.calc__shapes input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.calc__shapes span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border: 2px solid #d7ddeb; border-radius: 12px; font-weight: 600; cursor: pointer; transition: border-color .2s, color .2s, background-color .2s; }
.calc__shapes span .ico { font-size: 20px; }
.calc__shapes input:checked + span { border-color: var(--accent); color: var(--accent-dark); background: var(--accent-soft); }
.calc__shapes input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc__row[hidden] { display: none; }
.calc__row label { font-size: 14px; color: var(--muted); display: grid; gap: 6px; }
.calc__row input, .calc__row select { padding: 11px 14px; border: 1px solid #d7ddeb; border-radius: 12px; font: inherit; font-size: 16px; color: var(--text); background: #fff; font-variant-numeric: tabular-nums; }
.calc__result { font-size: 22px; color: var(--navy); text-align: center; padding: 10px; background: var(--tint); border-radius: 12px; }
.calc__result b { font: 700 34px var(--font-display); color: var(--accent); font-variant-numeric: tabular-nums; }

/* ----- почему мы: список без карточек ----- */
.reasons { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 56px; }
.reasons li { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.reasons li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.reasons__ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 24px;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.55) 0 10%, rgba(255,255,255,0) 38%), var(--c);
  box-shadow: inset -4px -6px 10px rgba(0,0,0,.16); }
.reasons p { color: var(--muted); font-size: 15px; max-width: 40em; }

/* ----- шаги ----- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.steps li { background: #fff; border-radius: var(--radius); padding: 26px; }
.steps b { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; color: #fff;
  font: 700 20px var(--font-display); margin-bottom: 14px; box-shadow: inset -3px -5px 8px rgba(0,0,0,.16); }
.steps li:nth-child(1) b { background: var(--red); } .steps li:nth-child(2) b { background: #e9a400; }
.steps li:nth-child(3) b { background: var(--blue); } .steps li:nth-child(4) b { background: #21a346; }
.steps p { color: var(--muted); font-size: 15px; }

/* ----- галерея ----- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; display: block; background: var(--tint); }

/* ----- заявка ----- */
.order { background: var(--navy); color: #c9d2e8; }
.order h2 { color: #fff; }
.order__inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 50px; align-items: center; }
.order__text p { font-size: 18px; margin-bottom: 26px; max-width: 30em; }
.order__messengers { display: flex; gap: 12px; flex-wrap: wrap; }
.order :focus-visible { outline-color: var(--yellow); }
.form { background: #fff; border-radius: 24px; padding: 30px; display: grid; gap: 12px; }
.form input, .form textarea { width: 100%; padding: 13px 16px; border: 1px solid #d7ddeb; border-radius: 12px; font: inherit; font-size: 15px; color: var(--text); background: #fff; transition: border-color .2s; }
.form input::placeholder, .form textarea::placeholder { color: #6d7690; }
.form input:hover, .form textarea:hover { border-color: #b9c3da; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
.form .btn { width: 100%; }
.form__note { font-size: 12px; color: var(--muted); text-align: center; }

/* ----- подвал ----- */
.footer { background: #0d1629; color: #8f9bb8; padding: 50px 0 24px; font-size: 15px; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer h4 { color: #fff; margin-bottom: 10px; font-size: 16px; }
.footer a { transition: color .2s; }
.footer a:hover { color: #fff; }
.footer :focus-visible { outline-color: var(--yellow); }
.logo--light { color: #fff; margin-bottom: 12px; }
.footer__copy { border-top: 1px solid #1f2a44; padding-top: 20px; font-size: 13px; }

.wa-float { position: fixed; right: 22px; bottom: 22px; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; font-size: 28px; box-shadow: 0 10px 25px rgba(15,127,62,.4); z-index: 20; transition: transform .2s cubic-bezier(.2,.8,.2,1); }
.wa-float:hover { transform: scale(1.06); }

/* ----- планшеты ----- */
@media (max-width: 900px) {
  .nav { display: none; }
  .hero__inner, .order__inner, .calc, .footer__inner, .reasons { grid-template-columns: minmax(0,1fr); }
  .reasons li:nth-last-child(2) { border-bottom: 0; }
  .strip { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .grid4, .gallery, .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero__sticker { left: 10px; }
}
/* ----- телефоны ----- */
@media (max-width: 520px) {
  .section { padding: 56px 0; }
  .hero { padding: 36px 0 40px; }
  .hero__buttons .btn { flex: 1 1 auto; }
  .header__right .btn { display: none; }
  .strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps { grid-template-columns: minmax(0,1fr); }
  .grid4 { gap: 12px; }
  .product h4 { font-size: 15px; }
  .product__buttons { flex-direction: column; }
  .reasons li { grid-template-columns: 44px minmax(0,1fr); gap: 14px; }
  .reasons__ico { width: 44px; height: 44px; font-size: 20px; }
}

/* кто отключил анимацию в системе — без движения */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ----- докупка для работающих центров ----- */
.restock__inner { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 20px 56px; align-items: start; }
.restock h2 { margin-bottom: 16px; }
.restock__text p { font-size: 18px; color: var(--muted); max-width: 32em; }
.restock__list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.restock__list li { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--navy); }
.restock__list .ico { font-size: 24px; color: var(--wa); }
.restock__btn { justify-self: start; }
@media (max-width: 900px) { .restock__inner { grid-template-columns: minmax(0,1fr); } .restock__btn { grid-row: auto; } }
@media (max-width: 520px) { .restock__btn { justify-self: stretch; } }
.restock { background: #effaf3; }
.tabs small { font-size: 12px; font-weight: 700; color: var(--muted); margin-left: 4px; font-variant-numeric: tabular-nums; }
.tabs a:hover small { color: #c9d2e8; }
.product img { height: auto; }

/* ===== каталог: плитки на главной, переключатель размера, страница каталога ===== */
.cat-head { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.cat-head h2, .cat-head h1 { margin: 0; }
.cat-head--page h1 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.02em; }
.size-switch { display: inline-flex; align-items: center; gap: 4px; background: var(--tint); border-radius: 999px; padding: 4px; }
.size-switch__label { font-size: 14px; color: var(--muted); padding: 0 8px 0 12px; }
.size-switch label { position: relative; }
.size-switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.size-switch span:not(.size-switch__label) { display: block; padding: 9px 20px; border-radius: 999px; font: 600 16px var(--font-display); color: var(--navy); cursor: pointer; transition: background-color .2s, color .2s; }
.size-switch input:checked + span { background: var(--navy); color: #fff; }
.size-switch input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }


.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #b9c3da; }
.catalog-page { padding-top: 32px; }
.catalog-page .tabs { position: sticky; top: 70px; z-index: 5; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); padding: 10px 0; margin: 0; }
.cat-sec { scroll-margin-top: 140px; }
.cat-sec .cat-title { margin-top: 36px; }
.cat-title small { font: 600 15px var(--font-text); color: var(--muted); margin-left: 6px; }
.product[hidden], .note[hidden] { display: none; }
.note a { color: var(--accent-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.nav a[aria-current="page"] { color: var(--accent); }
.cat-cta { margin-top: 64px; padding: 36px; border-radius: 24px; background: var(--tint); display: grid; gap: 12px; justify-items: start; }
.cat-cta h2 { margin: 0; }
.cat-cta p { color: var(--muted); font-size: 17px; max-width: 36em; }

@media (max-width: 520px) {
  .catalog-page .tabs { top: 70px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .catalog-page .tabs a { white-space: nowrap; }
  .cat-cta { padding: 24px; }
}

/* главная: строки разделов каталога с кнопкой «Посмотреть все» */
.cat-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin: 44px 0 18px; scroll-margin-top: 90px; }
.cat-row .cat-title { margin: 0; }
.cat-row + .note { margin-top: 0; }
.cat-row__all { flex: none; }
@media (max-width: 520px) { .cat-row__all { width: 100%; } }

/* короткая форма заявки: видимые подписи полей */
.form { gap: 14px; }
.field { display: grid; gap: 6px; }
.field__label { font-size: 14px; font-weight: 600; color: var(--navy); }
.field__label i { font-style: normal; font-weight: 400; color: var(--muted); }
.field__req { color: var(--accent); font-weight: 700; }
.form input:user-invalid { border-color: var(--accent); background: var(--accent-soft); }

/* страница каталога: заметная кнопка «На главную» */
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; margin-bottom: 18px; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 2px var(--navy); color: var(--navy); font-weight: 600; font-size: 15px; transition: background-color .2s, color .2s; }
.back:hover { background: var(--navy); color: #fff; }
.cat-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ----- меню-бургер (телефон и планшет) ----- */
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--tint); cursor: pointer; place-content: center; gap: 5px; }
.menu-btn span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__order { display: none; }
@media (max-width: 900px) {
  .menu-btn { display: grid; }
  .nav.is-open { display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; padding: 8px 20px 20px; box-shadow: 0 20px 40px rgba(20,33,61,.15); border-bottom: 1px solid var(--line); }
  .nav.is-open a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__order { display: flex; justify-content: center; margin-top: 14px; border: 0; color: #fff; padding: 14px; }
}

/* ----- яркая кнопка «Посмотреть все цвета» ----- */
.cat-row__all.btn { background: var(--yellow); color: var(--navy); box-shadow: 0 8px 20px rgba(255,197,61,.45); font-weight: 700; }
.cat-row__all.btn:hover { background: #ffb800; color: var(--navy); }
@media (max-width: 520px) {
  .header__inner { gap: 10px; }
  .logo { font-size: 17px; gap: 8px; }
  .logo__balls i { width: 13px; height: 13px; }
  .header__right { gap: 8px; }
  .lang a { padding: 5px 9px; }
}

/* ===== Движение (по итогам find-animation-opportunities, Emil Kowalski) ===== */
:root { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); }

/* 3. Кнопки: ощущение нажатия — сжатие до 97% за 0,16 с */
.btn, .back, .wa-float, .menu-btn { transition: background-color .2s, color .2s, box-shadow .2s, transform 160ms var(--ease-out); }
.btn:active, .back:active, .menu-btn:active { transform: scale(0.97); }
.wa-float:active { transform: scale(0.94); }

/* «Залипание» на телефоне: подъём и увеличение при наведении — только для мыши */
@media (hover: none), (pointer: coarse) {
  .btn:hover, .wa-float:hover { transform: none; }
  .btn:active { transform: scale(0.97); }
  .wa-float:active { transform: scale(0.94); }
}

/* 1. Меню на телефоне: выезжает из шапки за 0,2 с, закрывается за 0,15 с */
@media (max-width: 900px) {
  .nav { opacity: 0; transform: translateY(-8px); transform-origin: top;
    transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out), display 150ms allow-discrete; }
  .nav.is-open { opacity: 1; transform: none; transition-duration: 200ms; }
  @starting-style { .nav.is-open { opacity: 0; transform: translateY(-8px); } }
}

/* 2. Переключатель 5/7 см: новые карточки проявляются за 0,2 с (не при загрузке страницы) */
.motion-ready .product { transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
@starting-style { .motion-ready .product { opacity: 0; transform: scale(0.98); } }

/* Уменьшенное движение в системе: без сдвигов и масштаба, только мягкое проявление */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important;
    transition-property: opacity, color, background-color, border-color, box-shadow !important; }
  .btn:active, .back:active, .menu-btn:active, .wa-float:active, .btn:hover, .wa-float:hover { transform: none !important; }
  .nav, .nav.is-open { transform: none !important; }
  @starting-style { .motion-ready .product { transform: none; } }
}

/* калькулятор на телефоне не шире экрана (fieldset по умолчанию не сжимается) */
.calc__shapes { min-width: 0; }
.calc__row { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.calc__row input, .calc__row select { width: 100%; min-width: 0; }
.nav.is-open .nav__order { transition: background-color .2s, transform 160ms var(--ease-out); }
.nav.is-open .nav__order:active { transform: scale(0.97); }

/* ----- цены (27.11.2026) ----- */
.cat-note { margin: -8px 0 24px; color: var(--muted); font-size: 15px; max-width: 60em; }
.cat-note a { color: var(--navy); font-weight: 600; }
.product__price--ask { font-size: 17px; }

/* форма заявки: согласие, ловушка для ботов, ответ сервера */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 12.5px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; padding: 0; accent-color: var(--navy); cursor: pointer; }
.consent a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.form .btn:disabled { opacity: .6; cursor: progress; }
.form__note:empty { display: none; }
.form__note.is-ok { color: var(--wa); font-size: 14px; font-weight: 600; }
.form__note.is-err { color: var(--accent-dark); font-size: 14px; font-weight: 600; }

/* страница «Политика конфиденциальности» */
.policy-page { padding-top: 32px; }
.policy { max-width: 46em; }
.policy h1 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.02em; margin-bottom: 10px; }
.policy__date { color: var(--muted); margin-bottom: 32px; }
.policy h2 { font-size: clamp(20px, 2.2vw, 24px); margin: 36px 0 12px; }
.policy p, .policy li { margin-bottom: 10px; }
.policy ul { padding-left: 1.3em; margin-bottom: 10px; }
.policy li { list-style: disc; }
.policy a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.policy__card { background: var(--tint); border-radius: var(--radius); padding: 20px 24px; margin: 6px 0 10px; }
.footer__copy a { text-decoration: underline; text-underline-offset: 3px; }
