/* ============================================================
   Стили сайта «Пульт 64» — фирменный стиль MAK-ON:
   оранжевый #FB6010, тёмный #070B0F, белый; шрифт Montserrat;
   скруглённые «пилюли» — основной графический элемент бренда.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f7f6f5;
  --card: #ffffff;
  --text: #070b0f;
  --muted: #5d6670;
  --line: #e8e6e3;
  --dark: #070b0f;
  --primary: #fb6010;
  --primary-dark: #d94e05;
  --primary-soft: #fff0e7;
  --accent: #fb6010;
  --accent-dark: #d94e05;
  --green: #1f9d55;
  --green-soft: #e8f7ee;
  --radius: 18px;
  --shadow: 0 2px 10px rgba(7, 11, 15, .07);
  --shadow-hover: 0 8px 24px rgba(7, 11, 15, .13);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Montserrat", "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 15.5px;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

h1 { font-size: 34px; line-height: 1.2; }
h2 { font-size: 27px; line-height: 1.25; }
h3 { font-size: 19px; }
.section { padding: 52px 0; }
.section-title { margin-bottom: 8px; }
.section-sub { color: var(--muted); margin-bottom: 28px; max-width: 720px; }

/* ---------- Верхняя полоска ---------- */
.topbar {
  background: var(--dark);
  color: #c9cdd2;
  font-size: 13px;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 36px; gap: 16px; flex-wrap: wrap;
}
.topbar a { color: #fff; }

/* ---------- Шапка ---------- */
.header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header .container {
  display: flex; align-items: center; gap: 24px;
  min-height: 72px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; color: var(--text); }
.logo:hover { color: var(--text); }
/* Логотип из брендбука MAK-ON ALARM: название набирается только фирменным
   начертанием, поэтому в шапке стоит изображение, а не текст. */
.logo-img {
  width: 186px; height: 21px; flex-shrink: 0;
  background: url(../img/logo.png) no-repeat left center / contain;
}
.logo-descr {
  font-size: 10.5px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted); line-height: 1.35; max-width: 20ch;
  padding-left: 12px; border-left: 1px solid rgba(255,255,255,.12);
}
@media (max-width: 760px){ .logo-descr { display: none } .logo-img { width: 156px; height: 18px } }
.logo small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); line-height: 1.2; }

.header-search { flex: 1; min-width: 200px; position: relative; }
.header-search input {
  width: 100%; padding: 11px 42px 11px 16px;
  border: 2px solid var(--line); border-radius: 10px; font-size: 15px;
  outline: none; transition: border-color .15s;
}
.header-search input:focus { border-color: var(--primary); }
.header-search button {
  position: absolute; right: 4px; top: 4px; bottom: 4px; width: 38px;
  border: none; background: none; cursor: pointer; color: var(--muted);
}
.header-contacts { text-align: right; }
.header-phone { font-weight: 800; font-size: 17px; color: var(--text); display: block; }
.header-phone:hover { color: var(--primary); }
.header-phone2 { font-weight: 600; font-size: 13.5px; color: var(--muted); display: block; }
.header-phone2:hover { color: var(--primary); }
.header-contacts .hint { font-size: 12px; color: var(--primary-dark); font-weight: 600; }

/* ---------- Навигация ---------- */
.nav { background: var(--card); border-bottom: 1px solid var(--line); }
.nav .container { display: flex; gap: 4px; overflow-x: auto; }
.nav a {
  padding: 12px 14px; color: var(--text); font-weight: 600; font-size: 14.5px;
  white-space: nowrap; border-bottom: 3px solid transparent;
}
.nav a:hover, .nav a.active { color: var(--primary); border-bottom-color: var(--primary); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 30px; border: none; cursor: pointer;
  font-size: 15px; font-weight: 700; font-family: inherit;
  transition: background .15s, transform .1s, box-shadow .15s;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff !important; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-blue { background: var(--primary); color: #fff !important; }
.btn-blue:hover { background: var(--primary-dark); }
.btn-outline { background: var(--card); color: var(--primary) !important; border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary-soft); }
.btn-tg { background: #2aabee; color: #fff !important; }
.btn-tg:hover { background: #1f96d6; }
.btn-max { background: #4d2df0; color: #fff !important; }
.btn-max:hover { background: #3d20cf; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 30px; }
.btn-block { width: 100%; }

/* ---------- Hero и подборщик ---------- */
/* Тёмный фон #070B0F + увеличенная эмблема ON под углом — фирменная графика MAK-ON */
.hero {
  background-color: var(--dark);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520' viewBox='0 0 24 24' fill='none' stroke='%23fb6010' stroke-width='1.1' stroke-linecap='round' opacity='.14'%3E%3Cg transform='rotate(-18 12 12)'%3E%3Cpath d='M12 3v8'/%3E%3Cpath d='M17.7 6.3a8 8 0 1 1-11.4 0'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right -120px top -100px;
  color: #fff; padding: 56px 0 62px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 14px; }
.hero p.lead { color: #c9cdd2; font-size: 17px; margin-bottom: 22px; max-width: 520px; }
.hero-trust { list-style: none; display: grid; gap: 10px; }
.hero-trust li { display: flex; gap: 10px; align-items: flex-start; color: #dfe2e5; font-size: 14.5px; }
.hero-trust svg { flex-shrink: 0; margin-top: 2px; }

.finder {
  background: var(--card); color: var(--text);
  border-radius: 24px; padding: 26px; box-shadow: 0 14px 40px rgba(0,0,0,.35);
  border-top: 5px solid var(--primary);
}
.finder h3 { margin-bottom: 4px; font-size: 20px; }
.finder .finder-sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.finder label { display: block; font-size: 13.5px; font-weight: 700; margin: 12px 0 5px; }
.finder select, .finder input {
  width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; background: #fff; outline: none;
}
.finder select:focus { border-color: var(--primary); }
.finder .btn { margin-top: 18px; }
.finder-help { margin-top: 14px; font-size: 13.5px; color: var(--muted); text-align: center; }

/* Оранжевая «пилюля» — как плашка ALARM в логотипе MAK-ON */
.hero-badge {
  display: inline-block; background: var(--primary);
  color: #fff; font-size: 12.5px; font-weight: 700; padding: 7px 18px; border-radius: 30px;
  margin-bottom: 16px; letter-spacing: 1px; text-transform: uppercase;
}
.hero-cta { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.btn-lg { padding: 15px 30px; font-size: 16.5px; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff !important; border: 2px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }

/* ---------- Два пути (сам / под ключ) ---------- */
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.path-card {
  background: var(--card); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px;
  border: 2px solid transparent;
}
.path-card.featured { border-color: var(--accent); position: relative; }
.path-tag {
  align-self: flex-start; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px;
  background: var(--primary-soft); color: var(--primary-dark); padding: 4px 12px; border-radius: 20px;
}
.path-tag.accent { background: #fff1e5; color: var(--accent-dark); }
.path-card p { color: var(--muted); font-size: 14.5px; }
.path-list { list-style: none; display: grid; gap: 7px; margin: 4px 0 8px; }
.path-list li { padding-left: 26px; position: relative; font-size: 14.5px; }
.path-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 800;
}
.path-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Блок выезда мастера ---------- */
.master-section {
  background-color: var(--dark);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 24 24' fill='none' stroke='%23fb6010' stroke-width='1.1' stroke-linecap='round' opacity='.12'%3E%3Cg transform='rotate(15 12 12)'%3E%3Cpath d='M12 3v8'/%3E%3Cpath d='M17.7 6.3a8 8 0 1 1-11.4 0'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left -110px bottom -110px;
}
.master-cta {
  margin-top: 28px; background: rgba(251,96,16,.12); border: 1px solid rgba(251,96,16,.35);
  border-radius: 30px; padding: 20px 30px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  color: #dfe2e5; font-size: 15px;
}
.master-cta b { color: #fff; }

/* ---------- Прайс услуг ---------- */
.price-table-wrap { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th {
  text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: .5px;
  color: var(--muted); padding: 14px 22px; border-bottom: 2px solid var(--line); background: #fafbfc;
}
.price-table td { padding: 15px 22px; border-bottom: 1px solid var(--line); font-size: 15px; }
.price-table tr:last-child td { border-bottom: none; }
.price-table td a { color: var(--text); font-weight: 600; }
.price-table td a:hover { color: var(--primary); }
.price-cell { font-weight: 800; white-space: nowrap; }
.price-action { text-align: right; white-space: nowrap; }
.price-note { margin-top: 14px; color: var(--muted); font-size: 14px; }

/* ---------- Наши работы ---------- */
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.work-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: box-shadow .15s, transform .15s;
}
.work-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.work-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.work-card figcaption { padding: 12px 16px 14px; display: flex; flex-direction: column; gap: 2px; }
.work-card figcaption b { font-size: 14.5px; }
.work-card figcaption span { font-size: 12.5px; color: var(--muted); }
.works-cta {
  margin-top: 24px; display: flex; justify-content: center; align-items: center;
  gap: 20px; flex-wrap: wrap; font-weight: 600;
}

/* ---------- Предложение выезда в карточке товара ---------- */
.callout-note {
  background: #fff7ef; border: 1px solid #ffd9b3; border-radius: 10px;
  padding: 12px 16px; font-size: 14px; color: #8a4b0f; margin: 0 0 16px;
}
.callout-note a { font-weight: 700; }

.nav a.nav-accent { color: var(--accent-dark); }
.nav a.nav-accent:hover { border-bottom-color: var(--accent); }

/* ---------- Категории ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-grid.five { grid-template-columns: repeat(5, 1fr); }
.cat-card {
  background: var(--card); border-radius: var(--radius); padding: 24px 20px;
  box-shadow: var(--shadow); color: var(--text); display: block;
  transition: box-shadow .15s, transform .15s; border: 1px solid transparent;
}
.cat-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); color: var(--text); border-color: #d6e4fb; }
.cat-card .cat-icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--primary-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--primary);
}
.cat-card h3 { margin-bottom: 6px; }
.cat-card p { color: var(--muted); font-size: 13.5px; }

/* ---------- Карточки товаров ---------- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: box-shadow .15s, transform .15s; position: relative;
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.product-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 800;
  padding: 4px 10px; border-radius: 20px;
}
.product-badge.free { background: var(--green); }
.product-img { aspect-ratio: 4 / 3; background: #eef1f5; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-img img, .product-img svg { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 16px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.product-brand { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.product-name { font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--text); }
a.product-name:hover { color: var(--primary); }
.product-price-row { margin-top: auto; display: flex; align-items: baseline; gap: 8px; }
.product-price { font-size: 20px; font-weight: 800; }
.product-old-price { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.product-actions { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; }
.icon-btn {
  width: 42px; height: 42px; border: none; border-radius: 8px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.icon-btn.tg { background: #2aabee; } .icon-btn.tg:hover { background: #1f96d6; }
.icon-btn.max { background: #4d2df0; } .icon-btn.max:hover { background: #3d20cf; }

/* ---------- Шаги / преимущества ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps-grid.four { grid-template-columns: repeat(4, 1fr); }
.step-card {
  background: var(--card); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); position: relative;
}
.step-num {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 800; font-size: 17px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.step-card h3 { margin-bottom: 8px; font-size: 17px; }
.step-card p { color: var(--muted); font-size: 14px; }

.benefit { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.benefit-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; }
.benefit h3 { font-size: 15.5px; margin-bottom: 4px; }
.benefit p { font-size: 13.5px; color: var(--muted); }

/* ---------- Блок «не знаете модель» ---------- */
.identify {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 34px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
}
.identify-actions { display: flex; flex-direction: column; gap: 10px; min-width: 250px; }

/* ---------- FAQ ---------- */
.faq-item { background: var(--card); border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 10px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; padding: 18px 52px 18px 20px; border: none; background: none;
  font-family: inherit; font-size: 16px; font-weight: 700; color: var(--text); cursor: pointer;
  position: relative;
}
.faq-q::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 24px; color: var(--primary); font-weight: 400; transition: transform .2s;
}
.faq-item.open .faq-q::after { content: "–"; }
.faq-a { display: none; padding: 0 20px 18px; color: var(--muted); font-size: 15px; }
.faq-item.open .faq-a { display: block; }

/* ---------- Форма заявки ---------- */
.request-box {
  background-color: var(--dark);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='340' viewBox='0 0 24 24' fill='none' stroke='%23fb6010' stroke-width='1.1' stroke-linecap='round' opacity='.13'%3E%3Cg transform='rotate(-18 12 12)'%3E%3Cpath d='M12 3v8'/%3E%3Cpath d='M17.7 6.3a8 8 0 1 1-11.4 0'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right -80px bottom -80px;
  border-radius: var(--radius); color: #fff; padding: 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center;
}
.request-box h2 { color: #fff; margin-bottom: 10px; }
.request-box p { color: #c9cdd2; font-size: 15px; }
.form { display: grid; gap: 12px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 13px 15px; border: none; border-radius: 10px;
  font-size: 15px; font-family: inherit; outline: none;
}
.form textarea { resize: vertical; min-height: 80px; }
.form .note { font-size: 12.5px; color: #9fb2cc; }
.form-status { font-weight: 700; font-size: 14.5px; }
.form-status.ok { color: #7ce3a5; }

/* ---------- Каталог ---------- */
.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.filters { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; position: sticky; top: 90px; }
.filters h3 { font-size: 15px; margin-bottom: 10px; }
.filters .filter-group { margin-bottom: 20px; }
.filter-option { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 14.5px; cursor: pointer; color: var(--text); }
.filter-option input { accent-color: var(--primary); width: 16px; height: 16px; cursor: pointer; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.catalog-count { color: var(--muted); font-size: 14.5px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 7px 14px; border-radius: 20px; border: 1.5px solid var(--line);
  background: var(--card); font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: inherit;
  color: var(--text);
}
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.empty-note { background: var(--card); border-radius: var(--radius); padding: 36px; text-align: center; color: var(--muted); box-shadow: var(--shadow); }
.empty-note .btn { margin-top: 14px; }

/* ---------- Страница товара ---------- */
.breadcrumbs { font-size: 13.5px; color: var(--muted); margin: 20px 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--primary); }
.product-page { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: start; }
.product-page-img {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.product-page-img img, .product-page-img svg { width: 100%; height: 100%; object-fit: cover; }
.product-page-info h1 { font-size: 26px; margin-bottom: 6px; }
.product-page-sku { color: var(--muted); font-size: 13.5px; margin-bottom: 16px; }
.price-box { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.price-box .cur { font-size: 32px; font-weight: 800; }
.price-box .old { font-size: 18px; color: var(--muted); text-decoration: line-through; }
.stock { color: var(--green); font-weight: 700; font-size: 14.5px; margin-bottom: 18px; }
.order-buttons { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin-bottom: 12px; }
.order-buttons .btn-primary { grid-column: 1 / -1; }
.compat-note {
  background: var(--green-soft); border: 1px solid #bfe8cf; border-radius: 10px;
  padding: 12px 16px; font-size: 14px; color: #14683a; margin: 16px 0;
}
.specs-table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.specs-table td { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.specs-table td:first-child { color: var(--muted); width: 45%; }
.compat-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; }
.compat-tag { background: var(--primary-soft); color: var(--primary-dark); font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 20px; }

/* ---------- Модальное окно ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(10, 20, 40, .55); z-index: 100;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--card); border-radius: var(--radius); padding: 28px;
  width: 100%; max-width: 440px; position: relative; max-height: 90vh; overflow-y: auto;
}
.modal h3 { margin-bottom: 4px; }
.modal .modal-sub { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.modal-close {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px;
  border: none; background: var(--bg); border-radius: 50%; font-size: 18px; cursor: pointer; color: var(--muted);
}
.modal .form input, .modal .form textarea {
  border: 2px solid var(--line);
}
.modal .form input:focus, .modal .form textarea:focus { border-color: var(--primary); }
.modal .note { color: var(--muted); }
.modal .form-status.ok { color: var(--green); }

/* ---------- Плавающая кнопка Telegram ---------- */
.float-tg {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #2aabee; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(42, 171, 238, .45);
  transition: transform .15s;
}
.float-tg:hover { transform: scale(1.08); color: #fff; }

/* ---------- Подвал ---------- */
.footer { background: var(--dark); color: #a7adb4; padding: 44px 0 26px; margin-top: 60px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; margin-bottom: 30px; }
.footer h4 { color: var(--primary); font-size: 15px; margin-bottom: 12px; }
.footer a { color: #a7adb4; display: block; padding: 3px 0; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1c2229; padding-top: 18px; font-size: 13px; color: #6e767f; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Адаптивность ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cat-grid, .cat-grid.five, .products-grid, .steps-grid.four, .works-grid { grid-template-columns: repeat(2, 1fr); }
  .path-grid { grid-template-columns: 1fr; }
  .price-action { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .request-box { grid-template-columns: 1fr; padding: 28px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .product-page { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .identify { grid-template-columns: 1fr; }
  h1 { font-size: 27px; }
}
@media (max-width: 560px) {
  .cat-grid, .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-actions { grid-template-columns: 1fr; }
  .product-actions .icon-btn { display: none; }
  .header .container { gap: 12px; }
  .header-contacts { display: none; }
  .order-buttons { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Ловушка для спам-ботов: скрыта от людей, видна автозаполнялкам */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none; }

/* Заголовок раздела внутри таблицы цен */
.price-table tr.price-group td {
  background: #f4f5f7;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #5a6472;
  padding-top: 14px;
  padding-bottom: 14px;
}
