/* MEETSHOP — насыщенный жёлто-оранжевый + глубокий чёрный */
:root {
  --y: #ffb400;
  --y-soft: #ffd666;
  --o: #ff6a00;
  --ink: #0a0b0d;
  --muted: #3d4450;
  --line: #e2d5c0;
  --bg: #f4ebe0;
  --soft: #ffe3a8;
  --card: #ffffff;
  --deep: #141820;
  --deep-2: #1c2430;
  --radius: 18px;
  --max: 1160px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Manrope", "Segoe UI", sans-serif;
  --shadow: 0 22px 55px rgba(10, 12, 18, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 55% at 100% -5%, rgba(255, 180, 0, 0.38), transparent 55%),
    radial-gradient(ellipse 70% 45% at 0% 25%, rgba(255, 106, 0, 0.22), transparent 52%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(20, 24, 32, 0.08), transparent 60%),
    var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--y); outline-offset: 2px; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

/* ===== Header ===== */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 18, 18, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 3px solid var(--y);
  color: #fff;
}
.top__inner {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  min-height: 72px;
  display: flex; align-items: center; gap: 1rem;
}
.top__brand {
  display: flex; align-items: center; gap: .65rem;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
}
.top__brand img {
  width: 42px; height: 42px; border-radius: 50%;
  box-shadow: 0 0 0 3px var(--y);
}
.top__nav {
  display: none;
  margin-left: auto;
  gap: 1.25rem;
  font-size: .95rem;
  font-weight: 600;
}
.top__nav a {
  text-decoration: none;
  color: rgba(255,255,255,.72);
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
}
.top__nav a:hover,
.top__nav a.is-active {
  color: #fff;
  border-bottom-color: var(--y);
}
.top__actions {
  display: flex; align-items: center; gap: .6rem; margin-left: auto;
}
.top__phone {
  display: none;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
  color: var(--y);
}
.menu-btn {
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  font-size: 1.15rem;
}

/* --- Поиск по товарам --- */
.search-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  transition: background .15s ease;
}
.search-btn:hover { background: rgba(255,255,255,.18); }
.search-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(10,11,13,.55);
  backdrop-filter: blur(3px);
  display: flex; justify-content: center; align-items: flex-start;
  padding: 4.5rem 1rem 1rem;
}
.search-overlay[hidden] { display: none !important; }
.search-panel {
  width: min(640px, 100%);
  max-height: calc(100dvh - 5.5rem);
  display: flex; flex-direction: column;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.search-bar {
  display: flex; align-items: center; gap: .6rem;
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.search-input {
  flex: 1; min-width: 0;
  border: 0; outline: 0;
  font: 600 1.05rem/1.3 var(--font);
  color: var(--ink);
  background: transparent;
}
.search-input::placeholder { color: #9aa1ad; font-weight: 500; }
.search-close {
  width: 38px; height: 38px; flex: 0 0 auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: .95rem;
  cursor: pointer;
}
.search-hints {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem;
  padding: .65rem 1rem;
  font-size: .82rem; color: var(--muted);
}
.search-hints button {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 999px;
  padding: .3rem .7rem;
  font: 600 .8rem var(--font);
  color: var(--ink);
  cursor: pointer;
}
.search-hints button:hover { border-color: var(--y); background: var(--soft); }
.search-results { overflow-y: auto; padding: .35rem; }
.search-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .55rem .65rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
}
.search-item:hover, .search-item:focus { background: var(--bg); }
.search-item img {
  width: 52px; height: 52px; flex: 0 0 auto;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
}
.search-item__body { flex: 1; min-width: 0; }
.search-item__name {
  display: block;
  font-weight: 700; font-size: .9rem; line-height: 1.25;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.search-item__meta { display: block; font-size: .78rem; color: var(--muted); margin-top: .1rem; }
.search-item__side { text-align: right; flex: 0 0 auto; }
.search-item__price { display: block; font-weight: 800; font-size: .92rem; white-space: nowrap; }
.search-item__stock { display: block; font-size: .72rem; color: #1e9e4a; }
.search-item__stock--out { color: #c2410c; }
.search-empty { padding: 1.4rem 1rem 1.6rem; text-align: center; color: var(--muted); }
.search-empty .btn { margin-top: .8rem; }
@media (max-width: 560px) {
  .search-overlay { padding: .6rem .6rem 0; }
  .search-panel { max-height: calc(100dvh - 1.2rem); }
  .search-item__name { font-size: .84rem; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px;
  padding: .8rem 1.4rem;
  border-radius: 14px;
  border: 2px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn[hidden] { display: none !important; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--accent {
  background: linear-gradient(135deg, var(--y), var(--o));
  color: #1a1a1a;
  border: none;
}
.btn--primary {
  background: var(--ink);
  color: var(--y);
}
.btn--ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.btn--wa {
  background: #25d366;
  color: #fff;
  border: none;
}
/* Send-to-WhatsApp CTAs: recognizable WA green */
.btn[data-aconf-wa],
.btn[data-quiz-wa],
.btn[data-kit-wa],
.btn.product__buy,
#pmodal-wa.btn {
  background: #25d366;
  color: #fff;
  border: none;
  box-shadow: 0 8px 20px rgba(37, 211, 102, .35);
}
.btn[data-aconf-wa]:hover,
.btn[data-quiz-wa]:hover,
.btn[data-kit-wa]:hover,
.btn.product__buy:hover,
#pmodal-wa.btn:hover,
.btn[data-aconf-wa]:focus-visible,
.btn[data-quiz-wa]:focus-visible,
.btn[data-kit-wa]:focus-visible,
.btn.product__buy:focus-visible,
#pmodal-wa.btn:focus-visible {
  background: #1fbd59;
  color: #fff;
}
.btn--dark { background: var(--ink); color: #fff; border: none; }

.kaspi {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  margin-top: 1rem;
  max-width: 22rem;
  padding: .85rem 1rem;
  background: #e41836;
  color: #fff;
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(228, 24, 54, .28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.kaspi:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(228, 24, 54, .36);
}
.kaspi img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #e41836;
}
.kaspi span {
  display: grid;
  gap: .15rem;
  min-width: 0;
}
.kaspi strong {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: .01em;
}
.kaspi em {
  font-style: normal;
  font-size: .82rem;
  line-height: 1.35;
  color: rgba(255,255,255,.88);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 0 .75rem;
  color: #1a1a1a;
  isolation: isolate;
  border-bottom: 4px solid var(--y);
  background: #fff6e8;
  box-sizing: border-box;
}
.hero__bg {
  display: none;
}
.hero__media {
  flex: 0 0 auto;
  width: 100%;
  line-height: 0;
  background: #fff6e8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__media picture {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}
.hero__banner {
  display: block !important;
  /* Панорамный баннер на всю ширину; текст и кнопки лежат поверх */
  width: 100%;
  height: auto !important;
  max-width: 100%;
  max-height: calc(100svh - 96px);
  object-fit: cover;
  object-position: center 42%;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.hero__grid {
  flex: 0 0 auto;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  display: grid;
  position: relative;
  z-index: 1;
  justify-items: center;
  padding-top: .55rem;
}
.hero__copy {
  max-width: 44rem;
  text-align: center;
}
.hero__brand,
.hero__brand-inline {
  display: none;
}
.hero__title-seo {
  margin: 0 0 .55rem;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.15;
  font-weight: 800;
  color: #1a1a1a;
  text-wrap: balance;
}
.hero h1 {
  margin: 0 0 .55rem;
}
.hero__lead {
  display: none;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
  margin-top: 0;
}
.hero .btn--ghost {
  background: #fff;
  border-color: rgba(26, 26, 26, .2);
  color: #1a1a1a;
}
.hero .btn--accent {
  box-shadow: 0 10px 26px rgba(255, 138, 26, .28);
}
.hero__meta,
.hero__visual,
.hero__logo,
.hero__shot {
  display: none;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.visual-strip {
  padding: 0;
  overflow: hidden;
  background: var(--ink);
}
.visual-strip__track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.visual-strip__track img {
  flex: 0 0 100%;
  width: 100%;
  height: 168px;
  object-fit: cover;
  object-position: center;
  scroll-snap-align: start;
  filter: saturate(1.05) contrast(1.05);
  opacity: .95;
}

/* ===== IMOU news banner (home) ===== */
.news-banner {
  position: relative;
  padding: 1.75rem 0 2rem;
  background:
    radial-gradient(ellipse 70% 90% at 0% 50%, rgba(255,195,0,.35), transparent 55%),
    linear-gradient(105deg, #1a1f2a 0%, #2a3344 48%, #1e2533 100%);
  color: #fff;
  overflow: hidden;
}
.news-banner::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 55%;
  height: 140%;
  background: radial-gradient(circle, rgba(255,160,0,.22), transparent 62%);
  pointer-events: none;
}
.news-banner__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 1.5rem 2rem;
  align-items: center;
}
.news-banner__kicker {
  margin: 0 0 .35rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--y);
}
.news-banner__title {
  margin: 0 0 .55rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.news-banner__lead {
  margin: 0 0 1rem;
  max-width: 36rem;
  color: rgba(255,255,255,.82);
  font-size: .98rem;
  line-height: 1.45;
}
.news-banner__list {
  margin: 0;
  padding: 1rem 1.15rem;
  list-style: none;
  display: grid;
  gap: .45rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
}
.news-banner__list li {
  font-size: .9rem;
  color: rgba(255,255,255,.88);
  line-height: 1.35;
}
.news-banner__list strong { color: #fff; font-weight: 700; }
.news-banner--brand .news-banner__inner {
  grid-template-columns: 1fr;
}
.news-banner--brand .news-banner__lead { max-width: 48rem; }
@media (max-width: 820px) {
  .news-banner__inner { grid-template-columns: 1fr; gap: 1.1rem; }
  .news-banner { padding: 1.4rem 0 1.6rem; }
}

/* ===== Sections ===== */
.section { padding: 3.5rem 0; }
.section--soft {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(255,180,0,.28), transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(255,106,0,.18), transparent 50%),
    linear-gradient(180deg, #ffe7b0 0%, #f4ebe0 100%);
  color: var(--ink);
}
.section--soft.section--brand {
  background:
    linear-gradient(180deg, rgba(20,24,32,.86), rgba(28,36,48,.78)),
    url("/images/section-security-bg.jpg") center/cover fixed;
  color: #fff;
}
.section--soft.section--brand .section__kicker { color: var(--y); }
.section--soft.section--brand .section__lead { color: rgba(255,255,255,.82); }
.section--soft.section--brand .product,
.section--soft.section--brand .product p,
.section--soft.section--brand .product__name,
.section--soft.section--brand .product__meta,
.section--soft.section--brand .product__price,
.section--soft.section--brand .product__more {
  color: var(--ink);
}
.section__head { margin-bottom: 1.75rem; max-width: 36rem; }
.section__kicker {
  margin: 0 0 .4rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--o);
}
.section__head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  line-height: 1.25;
  letter-spacing: 0;
  font-weight: 700;
}
.section__lead {
  margin: .7rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

/* ===== Paths (удобный выбор) ===== */
.paths { display: grid; gap: 1rem; }
.path {
  display: grid;
  gap: .35rem;
  padding: 1.35rem 1.3rem;
  background: linear-gradient(155deg, #ff8f1a 0%, #ff6a00 48%, #e25500 100%);
  border: 2px solid rgba(0, 0, 0, .08);
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(255, 106, 0, .22);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.path:hover {
  border-color: rgba(0, 0, 0, .18);
  box-shadow: 0 16px 36px rgba(255, 106, 0, .32);
  transform: translateY(-2px);
}
.path__tag {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(18, 18, 18, .72);
}
.path__title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #121212;
}
.path__desc {
  margin: 0;
  color: rgba(18, 18, 18, .78);
  font-size: .98rem;
}
.path__go {
  margin-top: .4rem;
  font-weight: 800;
  color: #121212;
}
.path__go span { color: #121212; }

/* ===== Kits ===== */
.kits { display: grid; gap: 1.1rem; }
.kit {
  background: linear-gradient(160deg, #ff8f1a 0%, #ff6a00 50%, #e25500 100%);
  border: 2px solid rgba(0, 0, 0, .08);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: 0 10px 28px rgba(255, 106, 0, .2);
  display: grid;
  gap: .35rem;
}
.kit__label {
  margin: 0;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(18, 18, 18, .7);
}
.kit h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  color: #121212;
}
.kit ul {
  margin: .5rem 0 .3rem;
  padding: 0;
  list-style: none;
}
.kit li {
  position: relative;
  padding: .3rem 0 .3rem 1.1rem;
  color: rgba(18, 18, 18, .78);
  font-size: .98rem;
}
.kit li::before {
  content: "";
  position: absolute; left: 0; top: .7rem;
  width: 7px; height: 7px; border-radius: 50%;
  background: #121212;
}
.kit__price {
  margin-top: .4rem;
  font-family: var(--display);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #121212;
}
.kit__note {
  margin: 0;
  font-size: .88rem;
  color: rgba(18, 18, 18, .7);
}
.kit .btn { margin-top: .75rem; justify-self: start; }

/* ===== Ajax scenario cards ===== */
.scenarios {
  display: grid;
  gap: 1.15rem;
}
.scenario {
  display: grid;
  gap: .7rem;
  align-content: start;
  padding: 1.35rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(18, 18, 18, .05);
}
.scenario__tag {
  margin: 0;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--o);
}
.scenario h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  line-height: 1.25;
  color: var(--ink);
}
.scenario__price {
  margin: 0;
  display: grid;
  gap: .15rem;
}
.scenario__price small {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.scenario__price strong {
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.scenario__for {
  margin: 0;
  color: var(--muted);
  font-size: .98rem;
}
.scenario__label {
  margin: .35rem 0 0;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
}
.scenario ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .4rem;
}
.scenario li {
  position: relative;
  padding: .15rem 0 .15rem 1.1rem;
  color: var(--ink);
  font-size: .95rem;
  line-height: 1.4;
}
.scenario li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--o);
}
.scenario__hook {
  margin: .25rem 0 0;
  padding: .85rem 1rem;
  background: linear-gradient(135deg, rgba(255, 195, 0, .2), rgba(255, 106, 0, .12));
  border-left: 3px solid var(--o);
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1.4;
}
.scenario .btn {
  margin-top: .35rem;
  justify-self: start;
  min-height: 48px;
}
@media (min-width: 900px) {
  .scenarios {
    grid-template-columns: 1fr 1fr;
  }
  .scenario--wide {
    grid-column: 1 / -1;
  }
}

/* Ajax configurator */
.aconf {
  display: grid;
  gap: 1rem;
}
.aconf__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.aconf__tab {
  min-height: 42px;
  border: 1px solid rgba(255, 106, 0, 0.55);
  background: linear-gradient(145deg, #ffc94d 0%, #ff8a1a 52%, #ff6a00 100%);
  border-radius: 999px;
  padding: .45rem 1rem;
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  font-family: inherit;
  color: #121212;
  box-shadow: 0 4px 14px rgba(255, 106, 0, 0.18);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.aconf__tab.is-on,
.aconf__tab:hover {
  border-color: #ff4d00;
  box-shadow: 0 8px 22px rgba(255, 106, 0, 0.32);
  transform: translateY(-1px);
}
.aconf__layout {
  display: grid;
  gap: 1rem;
}
.aconf__list {
  display: grid;
  gap: .65rem;
  max-height: 560px;
  overflow: auto;
  padding-right: .25rem;
}
.aconf__item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: .75rem;
  align-items: center;
  background: linear-gradient(145deg, #ffc94d 0%, #ff8a1a 52%, #ff6a00 100%);
  border: 1px solid rgba(255, 106, 0, 0.55);
  border-radius: 14px;
  padding: .65rem .75rem;
  box-shadow: 0 6px 18px rgba(255, 106, 0, 0.18);
  color: #121212;
}
.aconf__thumb {
  border: 0;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 12px;
  padding: .35rem;
  cursor: pointer;
}
.aconf__thumb img { width: 64px; height: 64px; object-fit: contain; }
.aconf__name { margin: 0; font-weight: 700; font-size: .92rem; line-height: 1.3; }
.aconf__price { margin: .2rem 0 0; font-weight: 800; color: var(--ink); }
.aconf__qty {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}
.aconf__qty button {
  width: 34px; height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 106, 0, 0.35);
  background: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  cursor: pointer;
}
.aconf__qty input {
  width: 48px;
  height: 34px;
  text-align: center;
  border: 1px solid rgba(255, 106, 0, 0.35);
  border-radius: 10px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.92);
}
.aconf__cart {
  background: linear-gradient(145deg, #ffc94d 0%, #ff8a1a 52%, #ff6a00 100%);
  color: #121212;
  border-radius: 18px;
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(255, 106, 0, 0.55);
  box-shadow: 0 10px 26px rgba(255, 106, 0, 0.25);
}
.aconf__cart h3 { margin: 0 0 .75rem; color: #121212; }
.aconf__cart-items { display: grid; gap: .45rem; min-height: 4rem; margin-bottom: 1rem; }
.aconf__cart-items .muted { color: rgba(18, 18, 18, 0.65); }
.aconf__cart-row {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  font-size: .88rem;
  color: rgba(18, 18, 18, 0.88);
}
.aconf__total-label { margin: 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(18, 18, 18, 0.6); }
.aconf__total { margin: .2rem 0 1rem; font-size: 1.6rem; font-weight: 800; color: #121212; }
.aconf__cart .btn--ghost {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(18, 18, 18, 0.25);
  color: #121212;
}
@media (min-width: 900px) {
  .aconf__layout { grid-template-columns: 1.5fr .9fr; align-items: start; }
  .aconf__cart { position: sticky; top: 88px; }
}

/* ===== Products ===== */
.products { display: grid; gap: 1rem; }
.product {
  display: grid;
  gap: .85rem;
  padding: 0;
  background: var(--card);
  color: var(--ink);
  border: 1px solid rgba(20,24,32,.12);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(10,12,18,.1);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.product:hover {
  transform: translateY(-3px);
  border-color: rgba(255,106,0,.55);
  box-shadow: var(--shadow);
}
.product__hit {
  display: grid;
  gap: .75rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-decoration: none;
}
a.product__hit:hover .product__name { color: var(--accent, #ff7a00); }
.product__img {
  position: relative;
  background: #fff;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: .65rem .65rem 0;
}
.product__img img {
  width: 100%;
  height: 100%;
  max-height: 230px;
  object-fit: contain;
  background: #fff;
}
.product__new {
  position: absolute;
  top: .7rem;
  left: .7rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: .28rem .65rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #1a1200;
  background: linear-gradient(135deg, #ffe14a, #ff8a00);
  box-shadow: 0 6px 16px rgba(255,138,0,.35);
}
.product--new {
  border-color: rgba(255,138,0,.45);
  box-shadow: 0 12px 34px rgba(255,138,0,.16);
}
.product__badge {
  display: inline-flex;
  margin-bottom: .35rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  background: linear-gradient(135deg, var(--y), var(--o));
  border-radius: 999px;
  padding: .28rem .65rem;
}
.product__badge--new {
  color: #fff;
  background: linear-gradient(135deg, #e85d04, #ff3d00);
  box-shadow: 0 4px 12px rgba(232,93,4,.35);
}
.product__body { min-width: 0; padding: 0 1rem; }
.product__name { margin: 0; font-weight: 800; font-size: 1.02rem; line-height: 1.35; }
.product__meta { margin: .25rem 0 0; font-size: .88rem; color: var(--muted); }
.product__row {
  margin-top: .55rem;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .55rem .85rem;
}
.product__price {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
}
.product__stock {
  margin: 0;
  font-size: .8rem;
  font-weight: 700;
  color: #0f7a3f;
  background: #e8f8ee;
  border-radius: 999px;
  padding: .2rem .55rem;
}
.product__stock--order {
  color: #9a5b00;
  background: #fff1d6;
}
.product__stock--out {
  color: #8a1f1f;
  background: #fde8e8;
}
.product__more {
  display: inline-block;
  margin-top: .55rem;
  font-size: .88rem;
  font-weight: 700;
  color: var(--o);
}
.product__details {
  margin: -.25rem 1rem 0;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
.product__details:hover,
.product__details:focus-visible {
  color: var(--o);
  text-decoration: underline;
}
.product__buy {
  margin: 0;
  width: 100%;
  min-height: 44px;
  padding: .45rem .9rem;
  font-size: .9rem;
}
.product__actions {
  display: grid;
  gap: .45rem;
  margin: 0 1rem 1rem;
}
.product__actions .btn { width: 100%; min-height: 44px; }
.btn--kaspi,
a.btn--kaspi,
.btn.btn--kaspi,
.product-page__cta.btn--kaspi,
.product-mobile-bar .btn--kaspi,
#pmodal-kaspi.btn--kaspi {
  background: #e41836 !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 8px 18px rgba(228, 24, 54, .28);
  text-decoration: none;
}
.btn--kaspi:hover,
.btn--kaspi:focus-visible,
a.btn--kaspi:hover,
.product-page__cta.btn--kaspi:hover {
  background: #c9142f !important;
  color: #fff !important;
}
#pmodal-kaspi.btn--kaspi { margin-top: .15rem; }

/* ===== Static product pages ===== */
.product-page {
  padding: clamp(1rem, 3vw, 2rem) 0 clamp(2.5rem, 7vw, 5rem);
  background:
    radial-gradient(circle at 88% 8%, rgba(255,195,0,.2), transparent 30rem),
    linear-gradient(180deg, #fffaf0 0%, #fff 70%);
}
.product-page__crumb {
  display: flex;
  gap: .45rem;
  align-items: center;
  overflow-x: auto;
  padding: .25rem 0 1rem;
  color: var(--muted);
  font-size: .82rem;
  white-space: nowrap;
}
.product-page__crumb a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.product-page__grid {
  display: grid;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.product-page__visual {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: clamp(1rem, 4vw, 2.25rem);
  border: 1px solid rgba(20,24,32,.1);
  border-radius: clamp(22px, 5vw, 36px);
  background: #fff;
  box-shadow: 0 18px 55px rgba(20,24,32,.1);
}
.product-page__visual img {
  width: min(100%, 560px);
  height: auto;
  max-height: 560px;
  object-fit: contain;
}
.product-page__eyebrow--new {
  display: inline-flex;
  color: #fff;
  background: linear-gradient(135deg, #e85d04, #ff3d00);
  border-radius: 999px;
  padding: .28rem .7rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.product-page__eyebrow {
  display: inline-flex;
  margin: 0 0 .75rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--y), var(--o));
  color: var(--ink);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.product-page__content h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 7vw, 3.5rem);
  line-height: 1.06;
  text-wrap: balance;
}
.product-page__lead {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.65;
}
.product-page__benefits {
  display: grid;
  gap: .55rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}
.product-page__benefits li {
  position: relative;
  padding-left: 1.65rem;
  font-weight: 700;
}
.product-page__benefits li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: #0f7a3f;
  font-weight: 900;
}
.product-page__offer {
  display: grid;
  gap: 1rem;
  margin-top: 1.35rem;
  padding: 1.15rem;
  border: 1px solid rgba(255,106,0,.25);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(20,24,32,.09);
}
.product-page__offer div {
  display: grid;
  gap: .15rem;
}
.product-page__offer span,
.product-page__offer small {
  color: var(--muted);
}
.product-page__offer strong {
  font-family: var(--display);
  font-size: clamp(1.7rem, 7vw, 2.5rem);
  line-height: 1.05;
}
.product-page__cta {
  min-height: 54px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px rgba(37,211,102,.3);
}
.product-page__cta-group {
  display: grid;
  gap: .55rem;
  min-width: min(100%, 260px);
}
.product-page__cta-group .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}
.product-page__cta-group .btn--kaspi {
  min-height: 48px;
}
.product-page__trust {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}
.product-page__section {
  max-width: 940px;
}
.product-page__specs {
  display: grid;
  gap: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}
.product-page__specs div {
  display: grid;
  grid-template-columns: minmax(110px, .8fr) 1.2fr;
  gap: .85rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--line);
}
.product-page__specs div:last-child { border-bottom: 0; }
.product-page__specs dt { color: var(--muted); }
.product-page__specs dd { margin: 0; font-weight: 700; }
.product-page__about {
  display: grid;
  gap: 1rem;
}
.product-page__about p {
  margin: 0;
  font-size: clamp(1rem, 2.4vw, 1.08rem);
  line-height: 1.7;
}
.product-page__fit {
  display: grid;
  gap: .7rem;
  margin: .4rem 0 0;
  padding: 0;
  list-style: none;
}
.product-page__fit li {
  position: relative;
  padding: .9rem 1rem .9rem 2.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff 0%, #fff8ea 100%);
  font-weight: 700;
  line-height: 1.45;
}
.product-page__fit li::before {
  position: absolute;
  top: .85rem;
  left: 1rem;
  content: "→";
  color: var(--o);
  font-weight: 900;
}
@media (min-width: 720px) {
  .product-page__fit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.product-page__related {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.product-page__related a {
  display: grid;
  gap: .5rem;
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(20,24,32,.07);
}
.product-page__related img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}
.product-page__related strong { font-size: .9rem; line-height: 1.35; }
.product-page__related span { color: var(--o); font-weight: 800; }
.product-page__catalog-link { margin: 1.25rem 0 0; text-align: center; }
.foot__copy { margin-top: 1.5rem; opacity: .55; font-size: .82rem; }
.product-mobile-bar {
  position: fixed;
  z-index: 120;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(118px, 42vw);
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  padding: .65rem max(.8rem, env(safe-area-inset-right)) calc(.65rem + env(safe-area-inset-bottom)) max(.8rem, env(safe-area-inset-left));
  border-top: 1px solid rgba(20,24,32,.12);
  background: rgba(255,255,255,.97);
  box-shadow: 0 -10px 30px rgba(20,24,32,.14);
  backdrop-filter: blur(14px);
  box-sizing: border-box;
  max-width: 100vw;
}
.product-mobile-bar div { display: grid; line-height: 1.05; }
.product-mobile-bar span { color: var(--muted); font-size: .72rem; }
.product-mobile-bar strong { font-family: var(--display); font-size: 1.25rem; }
.product-mobile-bar .btn { width: 100%; min-width: 0; min-height: 48px; }
.product-mobile-bar__actions {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: .4rem;
  min-width: 0;
}
.product-mobile-bar__actions:has(> :nth-child(2)) {
  grid-template-columns: .85fr 1.15fr;
}
.product-mobile-bar .btn.product-page__cta {
  background: #25d366;
  color: #fff;
}
.product-detail { padding-bottom: 74px; }
.product-detail .fab { display: none; }
.product-detail .top__inner { min-height: 68px; gap: .5rem; overflow: hidden; }
/* На мобильном оставляем поиск и бургер; кнопку "Заказать" прячем — CTA есть в нижней панели */
.product-detail .top__actions .btn--primary { display: none; }
.product-detail .top .brand {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 3px var(--y);
  flex-shrink: 0;
}
.product-detail .top .brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.product-detail .top__actions .btn {
  min-height: 42px;
  padding: .55rem .8rem;
  font-size: .82rem;
}
.local-proof {
  display: grid;
  gap: .2rem;
  margin-top: .75rem;
  padding: .9rem 1rem;
  border: 1px solid rgba(18,170,80,.28);
  border-radius: 16px;
  background: linear-gradient(135deg, #effcf4, #fff);
  color: var(--ink);
  text-decoration: none;
}
.local-proof strong { color: #087a37; font-size: 1.05rem; }
.local-proof span { color: var(--muted); font-size: .86rem; line-height: 1.45; }
.local-proof:hover,
.local-proof:focus-visible {
  border-color: #12aa50;
  box-shadow: 0 10px 24px rgba(18,170,80,.12);
}

@media (min-width: 760px) {
  .product-detail { padding-bottom: 0; }
  .product-detail .fab { display: grid; }
  .product-detail .top__actions .btn--primary { display: inline-flex; }
  .product-mobile-bar { display: none; }
  .product-detail .top .brand,
  .product-detail .top .brand img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
  }
  .product-page__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .product-page__offer { grid-template-columns: 1fr auto; align-items: center; }
  .product-page__cta { min-width: 220px; }
  .product-page__related { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.product--pick {
  position: relative;
  grid-template-columns: 1fr;
}
.product--pick .product__hit { padding-top: 2.4rem; }
.product__pick {
  position: absolute;
  top: .7rem; left: .7rem;
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .75rem;
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .25rem .55rem;
  cursor: pointer;
  z-index: 2;
}

/* Product modal */
.pmodal[hidden] { display: none !important; }
.pmodal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.pmodal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,.72);
  backdrop-filter: blur(4px);
}
.pmodal__panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  display: grid;
  background: #fff;
  border-radius: 22px;
  border: 3px solid var(--y);
  box-shadow: var(--shadow);
  animation: pop .22s ease;
}
@keyframes pop {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.pmodal__close {
  position: absolute;
  top: .7rem; right: .7rem;
  z-index: 2;
  width: 42px; height: 42px;
  border: 0;
  border-radius: 50%;
  background: #121212;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}
.pmodal__media {
  background: #f7f4ef;
  padding: 1.5rem;
  display: grid;
  place-items: center;
}
.pmodal__media img {
  width: min(100%, 360px);
  max-height: 320px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
}
.pmodal__tech {
  margin: .75rem 0 0;
  padding: .85rem 1rem;
  border-radius: 12px;
  background: #f7f4ef;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: .92rem;
  line-height: 1.5;
}
.pmodal__content { padding: 1.25rem 1.35rem 1.6rem; }
.pmodal__badge {
  margin: 0 0 .4rem;
  display: inline-flex;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--y), var(--o));
  padding: .25rem .6rem;
  border-radius: 999px;
}
.pmodal__content h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  line-height: 1.3;
}
.pmodal__meta { margin: .4rem 0 0; color: var(--muted); }
.pmodal__desc { margin: 1rem 0 0; color: var(--ink); line-height: 1.55; }
.pmodal__benefits {
  margin: .85rem 0 0;
  padding: 0 0 0 1.1rem;
  display: grid;
  gap: .35rem;
  color: var(--ink);
}
.pmodal__benefits li { line-height: 1.4; }
.pmodal__row {
  display: flex; flex-wrap: wrap; gap: .7rem 1rem;
  align-items: baseline;
  margin: 1.1rem 0 1.25rem;
}
.pmodal__price {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
}
.pmodal__stock { margin: 0; font-weight: 700; color: #0f7a3f; }
.pmodal__actions {
  display: grid;
  gap: .55rem;
}
.pmodal__actions .btn,
.pmodal__content .btn { width: 100%; }
.pmodal__specs-wrap { margin-top: 1.1rem; }
.pmodal__specs-title {
  margin: 0 0 .55rem;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--o);
}
.pmodal__specs {
  margin: 0;
  display: grid;
  gap: .35rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .75rem .9rem;
}
.pmodal__spec {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: .5rem;
  font-size: .92rem;
  padding: .28rem 0;
  border-bottom: 1px dashed rgba(0,0,0,.08);
}
.pmodal__spec:last-child { border-bottom: 0; }
.pmodal__spec dt { margin: 0; color: var(--muted); font-weight: 600; }
.pmodal__spec dd { margin: 0; font-weight: 700; color: var(--ink); }

.builder__empty {
  margin: 0;
  padding: 1.25rem;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}
.builder__filters { grid-template-columns: 1fr; }

/* Lead quiz */
.quiz {
  background: linear-gradient(165deg, #1a222e, #12171f 60%);
  border: 1px solid rgba(255,180,0,.35);
  border-radius: 22px;
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  color: #fff;
}
.quiz__progress {
  height: 6px;
  background: rgba(255,255,255,.12);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: .75rem;
}
.quiz__progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--y), var(--o));
  transition: width .25s ease;
}
.quiz__step-label {
  margin: 0 0 1rem;
  font-size: .85rem;
  font-weight: 700;
  color: rgba(255,255,255,.65);
}
.quiz__q {
  margin: 0 0 .85rem;
  font-size: 1.25rem;
  color: #fff;
}
.quiz__hint {
  color: rgba(255,255,255,.7);
}
.quiz__opt {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
}
.quiz__opt:hover { border-color: var(--y); }
.quiz__opt.is-on {
  background: linear-gradient(135deg, var(--y), var(--o));
  border-color: transparent;
  color: #121212;
}
.quiz__opt.is-on span { color: rgba(18,18,18,.75); }
.quiz__check,
.quiz__radio {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
}
.quiz__check--accent {
  background: rgba(255,180,0,.12);
  border-color: rgba(255,180,0,.4);
}
.quiz__clear { color: var(--y-soft); }
.quiz__form label { color: rgba(255,255,255,.85); }
.quiz__form input[type="text"],
.quiz__form input[type="tel"] {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
  color: #fff;
}
.quiz__who legend { color: #fff; }
.quiz__summary {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
}
.quiz .btn--ghost {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.28);
  color: #fff;
}

/* Kit builder bar on brand catalogs */
.kitbar {
  position: sticky;
  bottom: 1rem;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #161c26, #1e2836);
  border: 1px solid rgba(255,180,0,.4);
  color: #fff;
  box-shadow: var(--shadow);
}
.kitbar[hidden] { display: none !important; }
.kitbar strong { color: var(--y); font-size: 1.15rem; }
.kitbar__meta { font-size: .9rem; color: rgba(255,255,255,.75); }
.product--pick { position: relative; }
.product--pick .product__hit { padding-top: 2.4rem; }
.product__pick {
  position: absolute;
  top: .7rem; left: .7rem;
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .75rem;
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .25rem .55rem;
  cursor: pointer;
  z-index: 2;
}
.quiz__options--grid {
  display: grid;
  gap: .7rem;
  grid-template-columns: 1fr 1fr;
}
.quiz__opt {
  min-height: 72px;
  border-radius: 16px;
  padding: .85rem .9rem;
  font-family: inherit;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.quiz__opt span {
  display: block;
  margin-top: .2rem;
  font-size: .82rem;
  font-weight: 600;
}
.quiz__checks { display: grid; gap: .55rem; margin-bottom: .85rem; }
.quiz__check,
.quiz__radio {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .85rem 1rem;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 600;
}
.quiz__check input,
.quiz__radio input { margin-top: .15rem; width: 18px; height: 18px; accent-color: var(--o); }
.quiz__clear {
  border: 0;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  margin: 0 0 1rem;
  text-decoration: underline;
}
.quiz__form {
  display: grid;
  gap: .85rem;
}
.quiz__form label {
  display: grid;
  gap: .35rem;
  font-size: .85rem;
  font-weight: 700;
}
.quiz__form input[type="text"],
.quiz__form input[type="tel"] {
  min-height: 48px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  padding: .65rem .9rem;
  font: inherit;
  color: #fff;
  background: rgba(255,255,255,.08);
}
.quiz__who {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: .55rem;
}
.quiz__who legend {
  margin-bottom: .35rem;
  font-size: .85rem;
  font-weight: 700;
}
.quiz__summary {
  border-radius: 16px;
  padding: 1rem 1.1rem;
  display: grid;
  gap: .45rem;
}
.quiz__summary p { margin: 0; }
.quiz__nav {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.35rem;
}
.quiz__nav .btn { flex: 1 1 140px; }

/* Solutions / builder / chips */
.solutions {
  display: grid;
  gap: 1rem;
}
.nav-grid.solutions {
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .nav-grid.solutions {
    grid-template-columns: repeat(2, 1fr);
  }
}
.solution, .solution--link {
  display: grid;
  gap: .45rem;
  padding: 1.25rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.solution--link:hover {
  border-color: var(--y);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.solution h3, .solution--link h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
}
.solution p, .solution--link p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}
/* Service page: company logos */
.solution__logo {
  width: auto;
  max-width: 180px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.solution__logo--tapo {
  width: auto;
  height: 52px;
  max-width: 180px;
  border-radius: 0;
}
/* Brand steps: compact product thumbs */
.solution--link > img:not(.solution__img):not(.solution__logo) {
  width: 120px;
  height: 88px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--soft);
  padding: .25rem;
}
.solution:not(.solution--link) img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 14px;
  background: var(--soft);
  padding: .35rem;
}
@media (min-width: 900px) {
  .solutions--photos {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .solutions--photos {
    grid-template-columns: repeat(4, 1fr);
  }
}
.solution--photo {
  padding: 0;
  gap: 0;
  overflow: hidden;
}
.solution--photo img {
  width: 100% !important;
  max-width: none !important;
  height: clamp(200px, 28vw, 280px) !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0 !important;
  background: #111 !important;
  padding: 0 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}
.solution--photo h3,
.solution--photo p {
  padding-left: 1.15rem;
  padding-right: 1.15rem;
}
.solution--photo h3 { margin: 1rem 0 .35rem; }
.solution--photo p { margin: 0 0 1.15rem; }
.solution--product img {
  object-fit: contain !important;
  object-position: center !important;
  background: #fff !important;
  height: clamp(180px, 26vw, 250px) !important;
  padding: .75rem !important;
}
/* Orange step tiles (patrol / brand how-it-works) */
.solutions--accent .solution {
  background: linear-gradient(160deg, #ff8f1a 0%, #ff6a00 45%, #e25500 100%);
  border: 2px solid rgba(0, 0, 0, .12);
  box-shadow: 0 12px 30px rgba(226, 85, 0, .28);
  color: #121212;
}
.solutions--accent .solution:hover {
  border-color: rgba(0, 0, 0, .2);
  box-shadow: 0 18px 40px rgba(255, 106, 0, .34);
  transform: translateY(-3px);
}
.solutions--accent .solution h3 {
  color: #121212;
  font-weight: 800;
}
.solutions--accent .solution p {
  color: rgba(18, 18, 18, .78);
}
.solutions--accent .solution img {
  background: rgba(255, 255, 255, .92);
}
/* Homepage only: orange photo tiles */
#solutions .solution--link {
  padding: 0;
  gap: 0;
  overflow: hidden;
  background: linear-gradient(160deg, #ff8f1a 0%, #ff6a00 45%, #e25500 100%);
  border: 2px solid rgba(0, 0, 0, .12);
  box-shadow: 0 12px 30px rgba(226, 85, 0, .28);
  color: #121212;
}
#solutions .solution--link:hover {
  border-color: rgba(0, 0, 0, .2);
  box-shadow: 0 18px 40px rgba(255, 106, 0, .34);
  transform: translateY(-3px);
}
#solutions .solution__img {
  width: 100%;
  max-width: none;
  height: 200px;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  background: #1a1a1a;
  border-bottom: 3px solid rgba(0, 0, 0, .1);
}
.solution__body {
  display: grid;
  gap: .45rem;
  padding: 1.05rem 1.15rem 1.2rem;
}
#solutions .solution--link h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 800;
  color: #121212;
}
#solutions .solution--link p {
  margin: 0;
  color: rgba(18, 18, 18, .78);
  font-size: .95rem;
}
#solutions .solution--link .path__go {
  color: #121212;
  font-weight: 800;
}

.line-cards {
  display: grid;
  gap: .85rem;
}
.line-card {
  display: grid;
  gap: .25rem;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255,195,0,.18), rgba(255,138,26,.08)),
    #fff;
  text-decoration: none;
}
.line-card strong {
  font-family: var(--display);
  font-size: 1.1rem;
}
.line-card span { color: var(--muted); font-size: .92rem; }
.line-cards--ajax,
.line-cards--imou {
  margin-bottom: 1.25rem;
}
.line-cards--ajax .line-card,
.line-cards--imou .line-card {
  background: linear-gradient(145deg, #ffc94d 0%, #ff8a1a 52%, #ff6a00 100%);
  border-color: rgba(255, 106, 0, 0.55);
  box-shadow: 0 8px 22px rgba(255, 106, 0, 0.22);
  color: #121212;
}
.line-cards--ajax .line-card strong,
.line-cards--imou .line-card strong {
  color: #121212;
}
.line-cards--ajax .line-card span,
.line-cards--imou .line-card span {
  color: rgba(18, 18, 18, 0.82);
}
.line-cards--ajax .line-card:hover,
.line-cards--ajax .line-card:focus-visible,
.line-cards--imou .line-card:hover,
.line-cards--imou .line-card:focus-visible {
  border-color: #ff4d00;
  box-shadow: 0 12px 28px rgba(255, 106, 0, 0.32);
}

.catalog-toolbar {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.chip-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.chip {
  min-height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: .45rem .9rem;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  font-family: inherit;
}
.chip.is-on,
.chip:hover {
  background: linear-gradient(135deg, var(--y), var(--o));
  border-color: transparent;
  color: #1a1a1a;
}

.builder {
  display: grid;
  gap: 1.25rem;
  padding: 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}
.builder__filters {
  display: grid;
  gap: .75rem;
}
.builder__field {
  display: grid;
  gap: .35rem;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.builder__field select {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .6rem .8rem;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  text-transform: none;
  letter-spacing: 0;
}
.builder__summary {
  display: grid;
  gap: .9rem;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff4cc, #ffe0b5);
  border: 1px solid rgba(255,138,26,.25);
}
.builder__total-label {
  margin: 0;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.builder__total {
  margin: .2rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.b2b {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(circle at 100% 0%, rgba(255,195,0,.35), transparent 50%),
    #fff;
  border: 1px solid var(--line);
}
.b2b h2 { margin: 0; font-family: var(--display); font-size: clamp(1.4rem, 3vw, 1.9rem); }
.b2b__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .55rem;
}
.b2b__list li {
  padding: .7rem .85rem .7rem 1.1rem;
  border-left: 4px solid var(--y);
  background: var(--soft);
  border-radius: 0 12px 12px 0;
  font-weight: 600;
}

/* ===== Trust ===== */
.trust {
  display: grid;
  gap: 1rem;
}
.trust__item {
  padding: 1.1rem 1.15rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.trust__item strong {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  margin-bottom: .15rem;
}
.trust__item span { color: var(--muted); font-size: .92rem; }

/* Orange trust tiles (patrol page) */
.trust--accent .trust__item {
  background: linear-gradient(160deg, #ff8f1a 0%, #ff6a00 45%, #e25500 100%);
  border: 2px solid rgba(0, 0, 0, .12);
  box-shadow: 0 12px 30px rgba(226, 85, 0, .28);
  color: #121212;
}
.trust--accent .trust__item strong { color: #121212; }
.trust--accent .trust__item span { color: rgba(18, 18, 18, .78); }

/* ===== Features / steps ===== */
.features { display: grid; gap: 1rem; }
.feature {
  padding: 1.1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.feature h3 {
  margin: 0 0 .35rem;
  font-family: var(--display);
  font-size: 1.05rem;
}
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

.steps { display: grid; gap: 1rem; counter-reset: step; }
.step {
  position: relative;
  padding: 1.1rem 1.15rem 1.1rem 3.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 1rem; top: 1.1rem;
  width: 1.8rem; height: 1.8rem;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--y);
  font-weight: 800;
  font-size: .85rem;
}
.step h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ===== Calc ===== */
.calc {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}
.calc__q {
  margin: 0 0 1rem;
  font-weight: 800;
  font-size: 1.15rem;
}
.calc__opts { display: flex; flex-wrap: wrap; gap: .6rem; }
.calc__opt {
  min-height: 48px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: .7rem 1.1rem;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
}
.calc__opt:hover,
.calc__opt.is-active {
  background: var(--ink);
  color: var(--y);
  border-color: var(--ink);
}
.calc__result {
  display: none;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.calc__result.is-on { display: block; }
.calc__price {
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 800;
}

.visit-offer {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
  padding: 1.35rem 1.3rem;
  background:
    linear-gradient(135deg, rgba(255, 195, 0, .18), rgba(255, 106, 0, .08)),
    #fff;
  border: 1px solid rgba(255, 106, 0, .35);
  border-radius: var(--radius);
}
.visit-offer__kicker {
  margin: 0 0 .35rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--o);
}
.visit-offer h3 {
  margin: 0 0 .55rem;
  font-size: 1.25rem;
}
.visit-offer__body p { margin: 0; color: var(--muted); }
.visit-offer__note {
  margin-top: .75rem !important;
  color: var(--ink) !important;
  font-weight: 600;
}
.visit-offer__price {
  display: grid;
  gap: .35rem;
  align-content: start;
}
.visit-offer__amount {
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 2.55rem);
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}
.visit-offer__unit {
  margin-bottom: .55rem;
  color: var(--muted);
  font-size: .92rem;
}
.visit-offer__price .btn { justify-self: start; }
@media (min-width: 720px) {
  .visit-offer {
    grid-template-columns: 1.4fr auto;
    align-items: center;
    padding: 1.5rem 1.6rem;
  }
  .visit-offer__price { text-align: right; justify-items: end; }
}

/* ===== FAQ ===== */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--o);
  font-size: 1.4rem;
  font-weight: 500;
}
.faq details[open] summary::after { content: "–"; }
.faq__body { overflow: hidden; }
.faq__body p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 1rem;
}

/* ===== Contacts / footer ===== */
.contacts { display: grid; gap: 1.5rem; }
.contacts .phone {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 800;
  text-decoration: none;
}
.contacts__map {
  min-height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.contacts__map iframe { width: 100%; height: 300px; border: 0; }
.muted { color: var(--muted); }

.foot {
  padding: 2.75rem 0 6rem;
  background: #1a1a1a;
  color: rgba(255,255,255,.72);
  font-size: .95rem;
}
.foot a { color: rgba(255,255,255,.8); text-decoration: none; }
.foot a:hover { color: var(--y); }
.foot__grid { display: grid; gap: 1.5rem; }
.foot__brand {
  display: flex; align-items: center; gap: .55rem;
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
}
.foot__brand img { width: 34px; height: 34px; border-radius: 50%; }
.foot__cols { display: grid; gap: .4rem; }
.foot__cols strong { color: #fff; margin-bottom: .15rem; }

.fab {
  position: fixed;
  right: 1rem; bottom: 1rem;
  z-index: 60;
  min-width: 58px; height: 58px;
  padding: 0 1.1rem;
  border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #25d366;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.4);
}

.mobile-nav {
  display: none;
  position: fixed; inset: 0; z-index: 80;
  background: rgba(0,0,0,.4);
}
.mobile-nav.is-open { display: block; }
.mobile-nav__panel {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: min(90vw, 360px);
  background: #fff;
  padding: 1.35rem;
  display: grid;
  gap: .1rem;
  align-content: start;
  box-shadow: var(--shadow);
}
.mobile-nav a {
  text-decoration: none;
  font-weight: 700;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
}

/* ===== Inner page hero ===== */
.page-hero {
  position: relative;
  display: grid;
  align-content: center;
  min-height: clamp(260px, 34vw, 520px);
  padding: 3rem 0 2.75rem;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(10,12,18,.92), rgba(255,106,0,.5)),
    url("/images/page-hero-install.jpg") center/cover no-repeat;
  overflow: hidden;
  border-bottom: 4px solid var(--y);
}
.page-hero--install {
  background:
    linear-gradient(115deg, rgba(8,10,14,.9), rgba(255,106,0,.48)),
    url("/images/page-hero-install.jpg") 62% center / cover no-repeat;
}
.page-hero--patrol {
  background:
    linear-gradient(115deg, rgba(8,10,14,.92), rgba(255,106,0,.5)),
    url("/images/page-hero-patrol.jpg") center 28% / cover no-repeat;
}
.page-hero--ajax {
  background:
    linear-gradient(105deg, rgba(10,12,16,.92) 0%, rgba(10,12,16,.55) 42%, rgba(10,12,16,.15) 72%),
    url("/images/page-hero-ajax.jpg") center / cover no-repeat;
}
.page-hero--ajax .wrap {
  position: relative;
  z-index: 1;
}
.page-hero--imou {
  background:
    linear-gradient(105deg, rgba(10,12,16,.9) 0%, rgba(10,12,16,.42) 46%, rgba(255,106,0,.18) 100%),
    url("/images/page-hero-imou.jpg") 58% center / cover no-repeat;
}
.page-hero--tapo {
  background:
    linear-gradient(115deg, rgba(8,14,18,.88), rgba(0,140,150,.48)),
    url("/images/page-hero-tapo.jpg") center/cover no-repeat;
}
.page-hero--tapo .page-hero__brand img {
  height: clamp(56px, 10vw, 96px);
  max-width: min(360px, 88vw);
}
.page-hero__brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  margin: 0 0 1rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}
.page-hero__brand img {
  width: auto;
  height: clamp(48px, 8vw, 72px);
  max-width: min(280px, 78vw);
  object-fit: contain;
  object-position: left center;
  background: transparent !important;
  border-radius: 0;
  padding: 0;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.45));
}
.page-hero__brand span {
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
  font-size: 1rem;
}
.section--patrol {
  background:
    linear-gradient(180deg, rgba(20,24,32,.82), rgba(20,24,32,.72)),
    url("/images/section-patrol-bg.jpg") center/cover fixed;
  color: #fff;
}
.section--patrol .section__kicker { color: var(--y); }
.section--patrol .section__head h2 { color: #fff; }
.section--patrol .section__lead { color: rgba(255,255,255,.82); }
.section--patrol .product,
.section--patrol .product p,
.section--patrol .product__name,
.section--patrol .product__meta,
.section--patrol .product__price,
.section--patrol .product__more {
  color: var(--ink);
}
.section--patrol .product__stock { color: #0f7a3f; }
.section--patrol .chip {
  color: var(--ink);
  background: #fff;
}
.section--patrol .chip.is-on {
  color: #121212;
  background: var(--y);
}
.section--brand {
  background:
    linear-gradient(180deg, rgba(20,24,32,.86), rgba(28,36,48,.78)),
    url("/images/section-security-bg.jpg") center/cover fixed;
  color: #fff;
}
.section--brand .section__kicker { color: var(--y); }
.section--brand .section__head h2 { color: #fff; }
.section--brand .section__lead,
.section--brand .benefits__item span { color: rgba(255,255,255,.8); }
.section--brand .benefits__item {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  color: #fff;
}
.section--brand .benefits__item strong { color: #fff; }
.section--brand .product,
.section--brand .product p,
.section--brand .product__name,
.section--brand .product__meta,
.section--brand .product__price,
.section--brand .product__more {
  color: var(--ink);
}
.section--brand .solution {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.14);
  color: #fff;
}
.section--brand .solution h3 { color: #fff; }
.section--brand .solution p { color: rgba(255,255,255,.78); }
.section--brand .solution img {
  width: 100%;
  max-width: 140px;
  height: 100px;
  object-fit: contain;
  border-radius: 0;
  background: #fff;
  padding: 0;
  border: 0;
  mix-blend-mode: normal;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.35));
}
.section--brand .solution--photo {
  background: #fff;
  color: var(--ink);
  border-color: rgba(255,255,255,.2);
}
.section--brand .solution--photo h3 { color: var(--ink); }
.section--brand .solution--photo p { color: var(--muted); }
.section--brand .solution--photo img {
  width: 100% !important;
  max-width: none !important;
  height: clamp(200px, 28vw, 280px) !important;
  object-fit: cover !important;
  object-position: center !important;
  background: #111 !important;
  padding: 0 !important;
  filter: none !important;
  display: block;
}
.line-card {
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.line-card:hover,
.line-card:focus-visible {
  border-color: var(--y);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  outline: none;
}
.benefits {
  display: grid;
  gap: .75rem;
  margin-top: 1rem;
}
.benefits__item {
  display: grid;
  gap: .25rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.benefits__item strong {
  font-size: 1.05rem;
}
.benefits__item span {
  color: var(--muted);
  line-height: 1.45;
}
.pmodal__desc {
  white-space: pre-wrap;
}
.pmodal__specs {
  max-height: min(40vh, 320px);
  overflow: auto;
}
.page-hero .crumb {
  margin: 0 0 .7rem;
  font-size: .88rem;
  color: rgba(255,255,255,.7);
}
.page-hero .crumb a { color: var(--y); text-decoration: none; font-weight: 700; }
.page-hero h1 {
  margin: 0;
  max-width: min(40rem, 100%);
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: 0;
  color: #fff;
  text-wrap: balance;
}
.page-hero p {
  margin: .85rem 0 0;
  max-width: 40ch;
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
}
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.15rem;
}
.page-hero--ajax .btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.page-hero--ajax .btn--ghost:hover,
.page-hero--ajax .btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  color: #fff;
}

@media (min-width: 820px) {
  .menu-btn { display: none; }
  .top__nav { display: flex; }
  .top__phone { display: inline; }
  .top__actions { margin-left: 0; }
  .hero {
    padding: 0;
    display: flex;
    flex-direction: column;
    background: #fff6e8;
  }
  .hero__banner {
    width: 100%;
    height: auto !important;
    max-height: calc(100svh - 96px);
    object-fit: cover;
    object-position: center 42%;
  }
  /* Заголовок и кнопки поверх баннера — секция всегда помещается в экран */
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.1rem;
    padding-top: 0;
    z-index: 2;
  }
  .hero__copy { max-width: 46rem; }
  .hero__title-seo {
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
    margin: 0 0 .55rem;
    color: #fff;
    text-shadow: 0 2px 14px rgba(20, 8, 0, .75), 0 0 2px rgba(20, 8, 0, .9);
  }
  .hero .btn--ghost {
    background: rgba(255, 255, 255, .92);
    border-color: transparent;
  }
  /* Лёгкое затемнение снизу для читаемости текста поверх города */
  .hero__media { position: relative; }
  .hero__media::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 38%;
    background: linear-gradient(180deg, rgba(30, 10, 0, 0), rgba(30, 10, 0, .58));
    pointer-events: none;
  }
  .paths { grid-template-columns: 1fr 1fr; }
  .kits { grid-template-columns: repeat(3, 1fr); }
  .products { grid-template-columns: 1fr 1fr 1fr; }
  .products--builder { grid-template-columns: 1fr 1fr; }
  .pmodal__panel { grid-template-columns: .95fr 1.05fr; }
  .trust { grid-template-columns: repeat(4, 1fr); }
  .features { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .contacts { grid-template-columns: 1fr 1.15fr; }
  .contacts__map iframe { height: 100%; min-height: 340px; }
  .foot__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .foot__grid--5 { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; }
  .solutions { grid-template-columns: repeat(2, 1fr); }
  .nav-grid.solutions { grid-template-columns: repeat(4, 1fr); }
  .line-cards { grid-template-columns: repeat(4, 1fr); }
  .builder__filters { grid-template-columns: repeat(5, 1fr); }
  .quiz__options--grid { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .builder__summary {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .b2b { grid-template-columns: 1.3fr 1fr; align-items: center; }
  .catalog-toolbar {
    grid-template-columns: 1fr;
  }
  .visual-strip__track img { height: 168px; }
  .visual-strip__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow-x: visible;
    scroll-snap-type: none;
  }
  .visual-strip__track img {
    flex: unset;
    scroll-snap-align: unset;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* ===== Mobile-first tweaks ===== */
@media (max-width: 819px) {
  html { overflow-x: hidden; }
  body { font-size: 16px; }
  .wrap,
  .hero__grid,
  .top__inner { width: min(100% - 1.25rem, var(--max)); }
  .top__inner { min-height: 64px; gap: .65rem; }
  .top__brand { font-size: 1rem; }
  .top__brand img { width: 36px; height: 36px; }
  .hero {
    padding: 0 0 .85rem;
    display: flex;
    flex-direction: column;
    background: #fff6e8;
  }
  .hero__banner {
    width: 100%;
    height: auto !important;
    max-height: calc(100svh - 250px);
    object-fit: cover;
    object-position: center 42%;
  }
  .hero__grid { justify-items: center; padding-top: .5rem; }
  .hero__copy { max-width: none; }
  .hero__title-seo {
    font-size: clamp(1.15rem, 4.5vw, 1.4rem);
    margin: 0 0 .5rem;
  }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; min-height: 48px; }
  .visual-strip__track img { height: 150px; }
  .section { padding: 2.5rem 0; }
  .section__title { font-size: clamp(1.35rem, 6vw, 1.75rem); }
  .paths,
  .kits,
  .products,
  .solutions,
  .line-cards,
  .features,
  .trust,
  .steps,
  .benefits,
  .contacts,
  .foot__grid { grid-template-columns: 1fr; }
  .page-hero {
    min-height: clamp(200px, 45vw, 320px);
    padding: 2.25rem 0 2rem;
    background-position: center 35%;
  }
  .page-hero--imou { background-position: 62% center; }
  .page-hero--patrol { background-position: center 25%; }
  .page-hero--ajax {
    background:
      linear-gradient(180deg, rgba(10,12,16,.9) 0%, rgba(10,12,16,.5) 45%, rgba(10,12,16,.2) 100%),
      url("/images/page-hero-ajax.jpg") center 55% / cover no-repeat;
  }
  .page-hero--install { background-position: 70% 35%; }
  .page-hero h1 { max-width: min(36rem, 100%); font-size: clamp(1.4rem, 6vw, 1.9rem); }
  .page-hero p { max-width: none; font-size: .98rem; }
  .page-hero__brand { margin-bottom: .5rem; }
  .page-hero__brand img {
    max-width: min(240px, 72vw);
    width: auto;
    height: auto;
    max-height: 56px;
    object-fit: contain;
  }
  .kitbar {
    position: fixed;
    left: .75rem;
    right: .75rem;
    bottom: calc(.75rem + env(safe-area-inset-bottom, 0px));
    margin-top: 0;
    flex-direction: column;
    align-items: stretch;
    padding: .85rem .95rem;
  }
  .kitbar .btn { width: 100%; }
  body.has-kitbar { padding-bottom: 7.5rem; }
  .quiz__options--grid { grid-template-columns: 1fr; }
  .quiz__opt { min-height: 64px; font-size: .95rem; }
  .quiz__nav { flex-direction: column; }
  .quiz__nav .btn { width: 100%; }
  .catalog-toolbar { gap: .65rem; }
  .catalog-toolbar .btn,
  .builder__filters button { width: 100%; }
  .builder__filters { grid-template-columns: 1fr 1fr; }
  .pmodal__panel {
    width: min(100vw - 1rem, 520px);
    max-height: 92vh;
    overflow-y: auto;
    grid-template-columns: 1fr;
  }
  .pmodal__media img { max-height: 220px; object-fit: contain; }
  .fab {
    right: .75rem;
    bottom: calc(.75rem + env(safe-area-inset-bottom, 0px));
    min-width: 52px;
    height: 52px;
    font-size: .9rem;
    padding: 0 .9rem;
  }
  body.has-kitbar .fab { bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
  .contacts__map iframe { min-height: 240px; }
}

@media (min-width: 1100px) {
  .solutions { grid-template-columns: repeat(4, 1fr); }
  .nav-grid.solutions { grid-template-columns: repeat(4, 1fr); }
  .kits { grid-template-columns: repeat(3, 1fr); }
  .products { grid-template-columns: repeat(4, 1fr); }
}

/* ===== Pains (подбор по боли) — откат: удалить этот блок ===== */
.pains { display: grid; gap: 1.15rem; }
.pains[hidden] { display: none !important; }
.pains__cats {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.pains__cat {
  appearance: none;
  border: 1px solid rgba(20, 24, 32, 0.14);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: .9rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  min-height: 44px;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.pains__cat:hover {
  border-color: var(--y);
  transform: translateY(-1px);
}
.pains__cat.is-on {
  background: var(--o);
  border-color: var(--o);
  color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 106, 0, 0.35);
}
.pains__grid {
  display: grid;
  gap: .65rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .pains__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .pains__grid { grid-template-columns: repeat(3, 1fr); }
}
.pains__chip {
  appearance: none;
  text-align: left;
  border: 1px solid transparent;
  background: linear-gradient(145deg, #ff8f2a 0%, var(--o) 55%, #e85d00 100%);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: .98rem;
  line-height: 1.35;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  cursor: pointer;
  min-height: 64px;
  box-shadow: 0 10px 22px rgba(255, 106, 0, 0.22);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, filter .15s ease;
}
.pains__chip:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 14px 28px rgba(255, 106, 0, 0.32);
}
.pains__chip.is-on {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--ink), 0 14px 28px rgba(255, 106, 0, 0.28);
  filter: none;
}
.pains__chip-brand {
  display: block;
  margin-top: .35rem;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}
.pains__result {
  border-radius: calc(var(--radius) + 4px);
  background: var(--deep);
  color: #fff;
  padding: 1.35rem 1.25rem 1.4rem;
  display: grid;
  gap: .85rem;
  box-shadow: var(--shadow);
  animation: pains-in .28s ease;
}
.pains__result[hidden] { display: none !important; }
@keyframes pains-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.pains__result-kicker {
  margin: 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--y);
}
.pains__result h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  line-height: 1.25;
  font-weight: 800;
}
.pains__hook {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.02rem;
}
.pains__solution {
  margin: 0;
  font-weight: 700;
  color: var(--y-soft);
}
.pains__items {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .4rem;
}
.pains__items li {
  position: relative;
  padding-left: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: .95rem;
}
.pains__items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--y);
}
.pains__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .45rem .85rem;
  padding-top: .25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.pains__price {
  font-family: var(--display);
  font-size: clamp(1.55rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--y);
  letter-spacing: -0.02em;
}
.pains__price-meta {
  font-size: .9rem;
  color: rgba(255, 255, 255, 0.65);
}
.pains__note {
  margin: 0;
  font-size: .9rem;
  color: rgba(255, 255, 255, 0.7);
}
.pains__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: .15rem;
}
.pains__actions .btn { min-height: 48px; }
.pains__result .btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.pains__result .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
}
@media (max-width: 560px) {
  .pains__actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}

.kit__note--mount {
  margin-top: .35rem;
  font-weight: 600;
  color: var(--muted);
}

/* ===== Delivery calculator (Avis) ===== */
.delivery-calc {
  margin-top: 2rem;
  padding: 1.35rem 1.25rem 1.5rem;
  border-radius: 18px;
  background: linear-gradient(165deg, #fff 0%, #fff8ee 100%);
  border: 1px solid rgba(26, 26, 26, 0.08);
  box-shadow: 0 12px 36px rgba(40, 20, 0, 0.06);
}
.delivery-calc__title {
  margin: 0 0 .35rem;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  font-weight: 800;
  line-height: 1.2;
}
.delivery-calc__lead {
  margin: 0 0 1.15rem;
  color: var(--muted);
  max-width: 40rem;
}
.delivery-calc__grid {
  display: grid;
  gap: .85rem;
}
@media (min-width: 720px) {
  .delivery-calc__grid {
    grid-template-columns: 1.3fr 0.7fr 1fr 1fr;
    align-items: end;
  }
}
.delivery-calc__field label {
  display: block;
  margin-bottom: .35rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.delivery-calc__field input,
.delivery-calc__field select {
  width: 100%;
  min-height: 48px;
  padding: .65rem .85rem;
  border-radius: 12px;
  border: 1px solid rgba(26, 26, 26, 0.16);
  background: #fff;
  font: inherit;
  font-size: 1rem;
}
.delivery-calc__field input:focus,
.delivery-calc__field select:focus {
  outline: 2px solid rgba(255, 138, 26, 0.45);
  border-color: #ff8a1a;
}
.delivery-calc__city-wrap { position: relative; }
.delivery-calc__city-list {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 240px;
  overflow: auto;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}
.delivery-calc__city-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: .7rem .9rem;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.delivery-calc__city-item:hover,
.delivery-calc__city-item:focus {
  background: #fff3e0;
}
.delivery-calc__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
  align-items: center;
}
.delivery-calc__actions .btn { min-height: 48px; }
.delivery-calc__hint {
  font-size: .85rem;
  color: var(--muted);
}
.delivery-calc__status {
  margin: 1rem 0 0;
  min-height: 1.3em;
  font-weight: 600;
}
.delivery-calc__status--error { color: #b42318; }
.delivery-calc__results {
  display: grid;
  gap: .85rem;
  margin-top: 1rem;
}
@media (min-width: 820px) {
  .delivery-calc__results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.delivery-calc__card {
  padding: 1rem 1.05rem 1.1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.1);
}
.delivery-calc__card--best {
  border-color: rgba(255, 138, 26, 0.55);
  box-shadow: 0 10px 24px rgba(255, 138, 26, 0.12);
}
.delivery-calc__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .55rem;
}
.delivery-calc__badge {
  display: inline-block;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: #ff8a1a;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.delivery-calc__price {
  font-size: 1.45rem;
  font-weight: 800;
  color: #1a1a1a;
}
.delivery-calc__card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .75rem;
  margin-bottom: .85rem;
  color: var(--muted);
  font-size: .92rem;
}
.delivery-calc__wa {
  width: 100%;
  justify-content: center;
}
.delivery-calc__note {
  margin: 1.1rem 0 0;
  font-size: .86rem;
  color: var(--muted);
}

