/* ===== Основа ===== */
:root {
  --brand: #d9822b;
  --brand-dark: #b8601f;
  --brand-grad: linear-gradient(135deg, #e3a136 0%, #d0702e 100%);
  --brand-soft: #fbefe2;
  --ink: #1c2229;
  --muted: #5e6873;
  --line: #e8e2da;
  --bg: #ffffff;
  --soft: #f7f4f0;
  --dark: #1a1f26;
  --ok: #2f9e5b;
  --err: #d0433a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(20, 24, 30, .05), 0 8px 28px rgba(20, 24, 30, .07);
  --shadow-lg: 0 18px 50px rgba(20, 24, 30, .14);
  --container: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font: 400 16px/1.6 Manrope, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 5vw, 54px); letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(217, 130, 43, .55); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

/* ===== Кнопки ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand-grad) border-box; border-color: transparent; color: #fff; box-shadow: 0 6px 18px rgba(208, 112, 46, .35); }
.btn--primary:hover { color: #fff; box-shadow: 0 10px 26px rgba(208, 112, 46, .45); transform: translateY(-1px); }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { color: var(--brand-dark); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { color: var(--brand-dark); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ===== Шапка ===== */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 40px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text b { font-size: 16px; font-weight: 800; }
.brand__text small { font-size: 12px; color: var(--muted); }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light small { color: rgba(255, 255, 255, .6); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: 15px; white-space: nowrap;
}
.nav a:hover { background: var(--soft); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--brand-dark); background: var(--brand-soft); }
.nav__phone { display: none; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none;
  color: var(--ink); white-space: nowrap; padding: 8px 4px 8px 12px;
}
.header__phone .icon { color: var(--brand); }
.cart-btn, .burger {
  position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; display: inline-grid; place-items: center; cursor: pointer;
}
.cart-btn .icon { width: 20px; height: 20px; }
.cart-btn__count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center;
}
.burger { display: none; }
.burger span, .burger span::before, .burger span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .2s;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1140px) {
  .header__phone span { display: none; }
  .header__phone { width: 44px; height: 44px; padding: 0; justify-content: center; border: 1px solid var(--line); border-radius: 50%; }
}
@media (max-width: 960px) {
  .burger { display: inline-grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s ease;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 12px; font-size: 17px; border-radius: 12px; }
  .nav__phone { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--brand-dark) !important; font-weight: 800 !important; }
  .header__inner { gap: 12px; }
  .header__actions { margin-left: auto; }
}
@media (max-width: 420px) {
  .brand__text small { display: none; }
  .brand__text b { font-size: 15px; }
}

/* ===== Секции ===== */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--soft { background: var(--soft); }
.section--tight { padding: clamp(40px, 6vw, 64px) 0; }
.section__title { text-align: center; margin-bottom: 12px; }
.section__lead { text-align: center; color: var(--muted); max-width: 680px; margin: 0 auto 40px; font-size: 18px; }
.section__title + .grid, .section__title + .gallery, .section__title + .clients { margin-top: 36px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  color: var(--brand-dark); background: var(--brand-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}

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

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }

/* ===== Первый экран ===== */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--dark); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20, 24, 30, .88) 0%, rgba(20, 24, 30, .72) 45%, rgba(20, 24, 30, .25) 100%);
}
.hero__inner { position: relative; padding: clamp(64px, 11vw, 132px) 20px; }
.hero__content { max-width: 640px; }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(17px, 2vw, 20px); color: rgba(255, 255, 255, .85); margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn--ghost { color: #fff; }
.hero .btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 36px 0 0; padding: 0; list-style: none; }
.hero__facts li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: rgba(255, 255, 255, .9); }
.hero__facts .icon { color: #f0b25a; width: 22px; height: 22px; }
@media (max-width: 640px) {
  .hero__bg::after { background: linear-gradient(180deg, rgba(20, 24, 30, .78), rgba(20, 24, 30, .9)); }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* Главная: две двери */
.home-hero { background: radial-gradient(1200px 500px at 85% -10%, #fde7cf 0%, transparent 60%), var(--soft); }
.home-hero__inner { padding: clamp(48px, 8vw, 96px) 20px clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.home-hero__text p { font-size: 19px; color: var(--muted); max-width: 560px; }
.home-hero__logo { justify-self: center; width: min(360px, 80%); filter: drop-shadow(0 30px 40px rgba(208, 112, 46, .25)); }
.home-hero h1 em { font-style: normal; color: var(--brand); }
@media (max-width: 860px) {
  .home-hero__inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .home-hero__text p { margin-left: auto; margin-right: auto; }
  .home-hero__logo { width: 160px; order: -1; }
  .home-hero .hero__actions { justify-content: center; }
}

.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: -8px; }
.door {
  display: flex; gap: 20px; align-items: flex-start; padding: 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.door:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #f0c999; color: var(--ink); }
.door__icon { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-grad); color: #fff; }
.door__icon .icon { width: 28px; height: 28px; }
.door h3 { font-size: 21px; margin-bottom: 6px; }
.door p { color: var(--muted); margin: 0 0 12px; }
.door__more { font-weight: 700; color: var(--brand-dark); display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 760px) { .doors { grid-template-columns: 1fr; } }

/* Карточки услуг */
.service {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s;
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.service__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service:hover .service__img img { transform: scale(1.04); }
.service__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.service__body p { color: var(--muted); flex: 1; }
.service__price { font-weight: 800; color: var(--brand-dark); }

/* Преимущества */
.feature { padding: 4px; }
.feature__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-dark); margin-bottom: 16px; }
.feature__icon .icon { width: 26px; height: 26px; }
.feature p { color: var(--muted); margin: 0; }
.section--soft .feature, .feature--card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }

/* Комплекты с ценами */
.kit { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.kit__img { background: #fff; border-bottom: 1px solid var(--line); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 20px; }
.kit__img img { width: 100%; height: 100%; object-fit: contain; }
.kit__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.kit__body > p { color: var(--muted); }
.kit__list { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.kit__list li { display: flex; gap: 10px; padding: 7px 0; border-top: 1px dashed var(--line); }
.kit__list li:first-child { border-top: 0; }
.kit__list .icon { color: var(--ok); margin-top: 3px; }
.kit__price { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.kit__price b { font-size: 28px; color: var(--ink); font-weight: 800; }
.kit--accent { border-color: #f0c999; box-shadow: 0 0 0 3px var(--brand-soft), var(--shadow); }

/* Чередующиеся блоки «картинка + текст» */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split + .split { margin-top: clamp(48px, 7vw, 88px); }
.split--rev .split__media { order: 2; }
.split__media { border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--contain { background: linear-gradient(180deg, #faf7f3, #f1ece5); padding: 24px; }
.split__media--contain img { object-fit: contain; max-height: 380px; margin: 0 auto; width: auto; }
.split h3 { font-size: clamp(22px, 2.6vw, 28px); }
.split p { color: var(--muted); font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 16px 0 0; }
.checks li { display: flex; gap: 10px; padding: 6px 0; font-weight: 600; }
.checks .icon { color: var(--ok); margin-top: 3px; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
}

/* Галерея работ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery__item { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--soft); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery--tall .gallery__item { aspect-ratio: 3 / 4; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(10, 12, 16, .92); display: grid; place-items: center; padding: 20px; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 12px; }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; }

/* Клиенты */
.clients { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; align-items: center; }
.clients__item { background: #fff; border-radius: var(--radius-sm); height: 96px; display: grid; place-items: center; padding: 14px; border: 1px solid var(--line); }
.clients__item img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .3s; }
.clients__item:hover img { filter: none; opacity: 1; }
.clients__text { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.clients__text li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--muted); }
@media (max-width: 1000px) { .clients { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .clients { grid-template-columns: repeat(2, 1fr); } .clients__item { height: 80px; } }

/* Блок заявки */
.cta { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(227, 161, 54, .35), transparent 65%); }
.cta__inner { position: relative; display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: center; }
.cta__text p { color: rgba(255, 255, 255, .78); font-size: 18px; }
.cta__contacts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.cta__contacts li { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .85); }
.cta__contacts .icon { color: #f0b25a; }
.cta__contacts a { color: #fff; font-weight: 800; font-size: 20px; text-decoration: none; }
.cta__form { color: var(--ink); }
@media (max-width: 900px) { .cta__inner { grid-template-columns: 1fr; } }

/* ===== Формы ===== */
.form { display: grid; gap: 14px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.field .req { color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff;
  font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(217, 130, 43, .15); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--err); }
.field__error { color: var(--err); font-size: 13px; margin-top: 4px; }
.form__note { font-size: 12px; color: var(--muted); margin: 0; }
.form__status:empty { display: none; }
.form__status { padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; }
.form__status.is-ok { background: #e7f6ed; color: #1e7a45; }
.form__status.is-err { background: #fdecea; color: #a8322b; }
.form.is-sent .field, .form.is-sent .form__note, .form.is-sent button { display: none; }
.form-success { text-align: center; padding: 12px 0; }
.form-success .icon { width: 56px; height: 56px; color: var(--ok); margin: 0 auto 12px; display: block; }

/* ===== Страница «Абонентам» ===== */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.subnav__inner { display: flex; gap: 6px; overflow-x: auto; padding: 10px 20px; scrollbar-width: none; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav__inner > :first-child { margin-left: auto; }
.subnav__inner > :last-child { margin-right: auto; }
.subnav a { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--soft); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px; }
.subnav a:hover, .subnav a.is-active { background: var(--brand-soft); color: var(--brand-dark); }

.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quick a {
  display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); font-weight: 700; box-shadow: var(--shadow); transition: .2s;
}
.quick a:hover { transform: translateY(-2px); border-color: #f0c999; color: var(--ink); }
.quick .icon { width: 28px; height: 28px; color: var(--brand); }
.quick small { font-weight: 500; color: var(--muted); }
@media (max-width: 900px) { .quick { grid-template-columns: repeat(2, 1fr); } }

.notice { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius); background: var(--brand-soft); border: 1px solid #f3d3ad; }
.notice .icon { width: 26px; height: 26px; color: var(--brand-dark); margin-top: 2px; }
.notice p:last-child { margin: 0; }

.news { display: grid; gap: 14px; }
.news__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.news__item summary { list-style: none; cursor: pointer; padding: 20px 22px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; }
.news__item summary::-webkit-details-marker { display: none; }
.news__date { font-size: 13px; font-weight: 800; color: var(--brand-dark); background: var(--brand-soft); padding: 6px 10px; border-radius: 8px; white-space: nowrap; }
.news__title { font-weight: 700; font-size: 17px; }
.news__item .icon { transition: transform .2s; color: var(--muted); }
.news__item[open] .icon { transform: rotate(180deg); }
.news__body { padding: 0 22px 22px; color: #39424c; }
.news__body p:last-child { margin: 0; }
.news__more { text-align: center; margin-top: 18px; }
@media (max-width: 600px) { .news__item summary { grid-template-columns: 1fr auto; } .news__date { grid-column: 1 / -1; justify-self: start; } }

.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--muted); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .faq__body { padding: 0 18px 16px; color: #39424c; }
.faq .faq__body p:last-child { margin: 0; }
.faq-group + .faq-group { margin-top: 28px; }
.faq-group h3 { display: flex; gap: 10px; align-items: center; }
.faq-group h3 .icon { color: var(--brand); }

/* Каталог */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.tabs button { border: 1.5px solid var(--line); background: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs button small { font-weight: 600; opacity: .6; margin-left: 4px; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; transition: box-shadow .2s; }
.product:hover { box-shadow: var(--shadow); }
.product__img { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius-sm); background: #fff; overflow: hidden; margin-bottom: 12px; border: 1px solid #f1ede8; }
.product__img img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.product__title { font-weight: 700; font-size: 15px; line-height: 1.3; flex: 1; margin-bottom: 10px; }
.product__foot { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.product__price { font-weight: 800; font-size: 17px; white-space: nowrap; }
.product .btn { padding: 9px 12px; font-size: 14px; width: 100%; }
.product .btn.is-added { background: var(--ok); box-shadow: none; }
.products--center { display: flex; flex-wrap: wrap; justify-content: center; }
.products--center .product { width: 220px; }
@media (max-width: 480px) { .products { grid-template-columns: repeat(2, 1fr); gap: 10px; } .product { padding: 10px; } .products--center .product { width: calc(50% - 5px); } }

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.info-cards > div { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius); background: var(--soft); }
.info-cards .icon { width: 26px; height: 26px; color: var(--brand); flex: none; margin-top: 2px; }
.info-cards p { margin: 0; color: var(--muted); font-size: 15px; }
.info-cards b { display: block; color: var(--ink); margin-bottom: 2px; }
@media (max-width: 860px) { .info-cards { grid-template-columns: 1fr; } }

/* Корзина */
.cart { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.cart.is-open { visibility: visible; }
.cart__overlay { position: absolute; inset: 0; background: rgba(15, 18, 22, .5); opacity: 0; transition: opacity .25s; }
.cart.is-open .cart__overlay { opacity: 1; }
.cart__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s ease; box-shadow: var(--shadow-lg);
}
.cart.is-open .cart__panel { transform: none; }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart__head h2 { font-size: 22px; margin: 0; }
.cart__close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--soft); cursor: pointer; display: grid; place-items: center; }
.cart__body { flex: 1; overflow-y: auto; padding: 8px 20px 20px; }
.cart__empty { text-align: center; color: var(--muted); padding: 48px 0; }
.cart__empty .icon { width: 48px; height: 48px; margin: 0 auto 12px; display: block; opacity: .4; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: #faf8f5; }
.cart-item__title { font-weight: 700; font-size: 14px; line-height: 1.3; }
.cart-item__price { color: var(--muted); font-size: 13px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 32px; height: 32px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; }
.cart__total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 800; padding: 16px 0; }
.cart__checkout h3 { margin-top: 8px; }

/* ===== Сигнализация: прайс ===== */
.price-group + .price-group { margin-top: 36px; }
.price-group h3 { font-size: 20px; margin-bottom: 14px; }
.price-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.price-item { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.price-item img { width: 72px; height: 72px; object-fit: contain; }
.price-item h4 { margin: 0 0 2px; font-size: 16px; }
.price-item p { margin: 0 0 4px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.price-item b { color: var(--brand-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 40px; padding: 0; list-style: none; }
.chips li { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-weight: 700; }
.chips .icon { color: var(--brand); }

/* ===== Текстовые страницы ===== */
.page-head { background: var(--soft); padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); }
.page-head p { color: var(--muted); font-size: 18px; max-width: 720px; }
.prose { max-width: 780px; }
.prose h2 { font-size: 24px; margin-top: 1.6em; }
.prose li { margin-bottom: .4em; }

/* ===== Подвал ===== */
.footer { background: var(--dark); color: rgba(255, 255, 255, .72); padding: 56px 0 24px; font-size: 15px; }
.footer h3 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer a:hover { color: #f0b25a; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr; gap: 36px; }
.footer__about { margin-top: 16px; }
.footer__links, .footer__contacts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__contacts li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contacts .icon { color: #f0b25a; margin-top: 3px; }
.footer__req p { margin: 0 0 6px; font-size: 14px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* Кнопка звонка на телефоне */
.call-fab {
  position: fixed; left: 16px; bottom: 16px; z-index: 45; width: 56px; height: 56px; border-radius: 50%;
  background: var(--brand-grad); color: #fff; display: none; place-items: center; box-shadow: 0 10px 24px rgba(208, 112, 46, .45);
}
.call-fab .icon { width: 24px; height: 24px; }
@media (max-width: 760px) { .call-fab { display: grid; } }

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

/* Заявка в модальном окне */
.cta--compact .cta__inner { grid-template-columns: 1fr auto; }
.cta--compact .cta__action .btn { padding: 18px 36px; font-size: 18px; }
@media (max-width: 900px) { .cta--compact .cta__action .btn { width: 100%; } }
.modal { border: 0; padding: 0; border-radius: var(--radius); width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 32px); box-shadow: var(--shadow-lg); color: var(--ink); }
.modal::backdrop { background: rgba(15, 18, 22, .6); }
.modal[open] { animation: modal-in .2s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } }
.modal__box { padding: 28px; position: relative; }
.modal__box h2 { font-size: 26px; margin-bottom: 4px; padding-right: 40px; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--soft); cursor: pointer; display: grid; place-items: center; }
