/* =========================================================================
   Цвета и базовые настройки. Чтобы поменять акцентный цвет — измените --accent.
   ========================================================================= */
:root {
  --ink: #111316;
  --graphite: #16181b;
  --graphite-2: #1e2125;
  --steel: #2a2e34;
  --text: #1c1f23;
  --muted: #646a73;
  --line: #e4e4e0;
  --bg: #ffffff;
  --bg-muted: #f4f4f1;
  --accent: #ff6a13;        /* сигнальный оранжевый — только для действий */
  --accent-hover: #ea5a05;
  --accent-soft: rgba(255, 106, 19, .12);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(17,19,22,.05), 0 8px 24px rgba(17,19,22,.06);
  --shadow-lg: 0 2px 6px rgba(17,19,22,.06), 0 24px 48px rgba(17,19,22,.12);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* =========================================================================
   Кнопки
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(255,106,19,.28); }
.btn--accent:hover { background: var(--accent-hover); box-shadow: 0 8px 24px rgba(255,106,19,.36); }
.btn--dark { background: var(--graphite); color: #fff; }
.btn--dark:hover { background: var(--steel); }
.btn--light { background: #fff; color: var(--ink); }
.btn--outline-light { border-color: rgba(255,255,255,.28); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn--outline { border-color: var(--line); color: var(--text); background: #fff; }
.btn--outline:hover { border-color: var(--text); }

.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.eyebrow--light { color: var(--accent); }
.link-arrow { font-weight: 600; color: var(--text); border-bottom: 1.5px solid var(--line); padding-bottom: 2px; transition: border-color .2s; }
.link-arrow:hover { border-color: var(--accent); }

/* =========================================================================
   Шапка
   ========================================================================= */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(22,24,27,.92); backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #fff;
}
.header__inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__mark {
  width: 34px; height: 34px; border-radius: 9px; position: relative;
  background: linear-gradient(135deg, var(--accent), #ff9b4a);
}
.logo__mark::after {
  content: ""; position: absolute; inset: 9px 9px 9px 9px; border-radius: 3px;
  border: 2.5px solid rgba(17,19,22,.85); border-top-color: transparent;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-weight: 800; font-size: 19px; letter-spacing: .12em; }
.logo__tagline { font-size: 12px; color: rgba(255,255,255,.55); }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav__link {
  padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,.72); transition: color .2s, background .2s;
}
.nav__link:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav__link.is-active { color: #fff; background: rgba(255,255,255,.1); }

.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone { font-weight: 600; font-size: 15px; white-space: nowrap; }
.header__phone:hover { color: var(--accent); }

.burger { display: none; width: 42px; height: 42px; border: 0; background: transparent; border-radius: 10px; padding: 10px; }
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   Главный экран
   ========================================================================= */
.hero {
  background:
    radial-gradient(900px 500px at 85% 40%, rgba(255,106,19,.14), transparent 60%),
    linear-gradient(180deg, var(--graphite) 0%, var(--ink) 100%);
  color: #fff; overflow: hidden; position: relative;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}
.hero__inner {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 48px; align-items: center; padding-top: 96px; padding-bottom: 104px;
}
.hero__title { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; margin-bottom: 22px; }
.hero__subtitle { font-size: 19px; color: rgba(255,255,255,.7); max-width: 560px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 0; margin: 0; list-style: none; color: rgba(255,255,255,.6); font-size: 15px; }
.hero__points li { display: flex; align-items: center; gap: 10px; }
.hero__points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.hero__visual { position: relative; height: 420px; }
.hero__bucket { position: absolute; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.hero__bucket--1 { left: 4%; bottom: 8%; z-index: 2; transform: rotate(-4deg); }
.hero__bucket--2 { right: 2%; bottom: 0; z-index: 3; }
.hero__bucket--3 { left: 34%; top: 0; z-index: 1; transform: scale(.82) rotate(5deg); opacity: .9; }
.hero__visual:hover .hero__bucket--1 { transform: rotate(-6deg) translateY(-6px); }
.hero__visual:hover .hero__bucket--2 { transform: translateY(-10px); }
.hero__glow { position: absolute; left: 10%; right: 10%; bottom: -30px; height: 60px; border-radius: 50%; background: rgba(0,0,0,.55); filter: blur(24px); }

/* =========================================================================
   Ведро (картинка товара, если нет фото)
   ========================================================================= */
.bucket { --c: #6b737d; position: relative; width: 150px; aspect-ratio: .86; }
.bucket--sm { width: 110px; }
.bucket--lg { width: 190px; }
.bucket--xl { width: 260px; }
.bucket--primer { --c: #6b737d; }
.bucket--enamel { --c: #1f5f9e; }
.bucket--primer_enamel { --c: #2e7358; }
.bucket--2k_primer { --c: #85693a; }
.bucket--2k_enamel { --c: #23272d; }
.bucket--2k_primer_enamel { --c: #4a3f8c; }
.bucket--fire { --c: #b3261e; }

.bucket__handle {
  position: absolute; left: 14%; right: 14%; top: 0; height: 34%;
  border: 3px solid #9aa0a8; border-bottom: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.bucket__lid {
  position: absolute; left: 0; right: 0; top: 17%; height: 9%; border-radius: 6px;
  background: linear-gradient(180deg, #f2f3f5 0%, #c9ccd1 100%);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.12);
  z-index: 2;
}
.bucket__body {
  position: absolute; left: 3%; right: 3%; top: 24%; bottom: 0;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%);
  background:
    linear-gradient(90deg, rgba(0,0,0,.14) 0%, rgba(255,255,255,.0) 22%, rgba(255,255,255,.35) 38%, rgba(255,255,255,0) 55%, rgba(0,0,0,.18) 100%),
    linear-gradient(180deg, #fbfbfc 0%, #e5e7ea 100%);
  display: flex; align-items: center; justify-content: center;
}
.bucket__body::before { /* рёбра жёсткости */
  content: ""; position: absolute; left: 0; right: 0; top: 6%; height: 6%;
  border-top: 2px solid rgba(0,0,0,.07); border-bottom: 2px solid rgba(0,0,0,.07);
}
.bucket__label {
  width: 100%; margin-top: 6%; padding: 9% 13%;
  background: var(--c); color: #fff; text-align: center;
  display: flex; flex-direction: column; gap: 3px;
  box-shadow: inset 0 3px 0 rgba(255,255,255,.12), inset 0 -3px 0 rgba(0,0,0,.15);
}
.bucket__type { font-size: .62em; text-transform: uppercase; letter-spacing: .1em; opacity: .75; font-weight: 600; }
.bucket__name {
  font-weight: 800; line-height: 1.15; font-size: .82em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bucket--sm .bucket__label { font-size: 11px; }
.bucket--md .bucket__label { font-size: 13px; }
.bucket--lg .bucket__label { font-size: 15px; }
.bucket--xl .bucket__label { font-size: 19px; }

/* =========================================================================
   Секции
   ========================================================================= */
.section { padding: 96px 0; }
.section--tight { padding: 48px 0 96px; }
.section--muted { background: var(--bg-muted); }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section__title { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; }
.section__title--sm { font-size: 26px; margin-bottom: 32px; }
.section__lead { font-size: 18px; color: var(--muted); margin-top: 16px; }

.page-head {
  background: linear-gradient(180deg, var(--graphite) 0%, var(--ink) 100%); color: #fff;
  padding: 72px 0 64px;
}
.page-head--short { padding: 56px 0 48px; }
.page-head__title { font-size: clamp(30px, 4vw, 48px); font-weight: 800; max-width: 860px; }
.page-head__lead { color: rgba(255,255,255,.66); font-size: 18px; max-width: 680px; margin-top: 16px; }

/* Преимущества */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .25s, box-shadow .25s, transform .25s; }
.feature:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.feature__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--graphite); display: grid; place-items: center; margin-bottom: 20px; }
.feature__icon svg { width: 24px; height: 24px; fill: var(--accent); }
.feature__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature__text { color: var(--muted); font-size: 15px; }

/* Сегменты */
.segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.segment {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 32px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.segment:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.segment__title { font-size: 22px; font-weight: 800; }
.segment__text { color: var(--muted); flex: 1; }
.segment__link { font-weight: 600; font-size: 15px; }
.segment:hover .segment__link { color: var(--accent); }
.segment--premium { background: var(--graphite); color: #fff; border-color: var(--graphite); }
.segment--premium .segment__text { color: rgba(255,255,255,.65); }

/* Метки сегментов */
.badge {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
}
.badge--econom { background: #eceeef; color: #4a5059; }
.badge--middle { background: #e3eaf3; color: #1f4f80; }
.badge--premium { background: var(--ink); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(255,106,19,.45); }
.segment--premium .badge--premium { background: rgba(255,106,19,.12); }

/* Категории */
.categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category {
  --c: #6b737d;
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px;
  align-items: center; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.category:hover { border-color: var(--c); box-shadow: var(--shadow); }
.category__swatch { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; background: var(--c); box-shadow: inset 0 -6px 0 rgba(0,0,0,.15); }
.category__name { font-weight: 700; }
.category__count { font-size: 13px; color: var(--muted); }
.category--primer { --c: #6b737d; }
.category--enamel { --c: #1f5f9e; }
.category--primer_enamel { --c: #2e7358; }
.category--2k_primer { --c: #85693a; }
.category--2k_enamel { --c: #23272d; }
.category--2k_primer_enamel { --c: #4a3f8c; }
.category--fire { --c: #b3261e; }

/* Цифры */
.stats { background: var(--graphite); color: #fff; padding: 64px 0; }
.stats__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding-left: 20px; border-left: 2px solid var(--accent); }
.stat__value { font-size: clamp(32px, 3.6vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.stat__label { color: rgba(255,255,255,.6); font-size: 15px; margin-top: 6px; }

/* Портфолио */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.portfolio-grid--preview { grid-template-columns: repeat(4, 1fr); }
.ptile {
  margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3;
  background: var(--bg-muted); cursor: pointer;
}
.ptile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ptile:hover img { transform: scale(1.05); }
.ptile__placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: rgba(255,255,255,.35); font-size: 13px;
}
.ptile__placeholder--0 { background: linear-gradient(135deg, #2a2e34, #16181b); }
.ptile__placeholder--1 { background: linear-gradient(135deg, #3a3f46, #1e2125); }
.ptile__placeholder--2 { background: linear-gradient(135deg, #23272d, #2f343b); }
.ptile__placeholder--3 { background: linear-gradient(135deg, #1e2125, #3a3f46); }
.ptile__caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.78)); color: #fff;
  display: flex; flex-direction: column; gap: 2px;
}
.ptile__title { font-weight: 700; font-size: 16px; line-height: 1.3; }
.ptile__materials { font-size: 13px; color: rgba(255,255,255,.7); }

/* Призыв к действию */
.cta { background: var(--ink); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,106,19,.22), transparent 65%); }
.cta__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta__title { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 12px; }
.cta__text { color: rgba(255,255,255,.65); max-width: 560px; font-size: 17px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

/* =========================================================================
   Ассортимент
   ========================================================================= */
.filters { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.filters__group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters__label { font-size: 14px; color: var(--muted); margin-right: 4px; }
.chip {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 14px; font-weight: 500; color: var(--text); transition: all .2s;
}
.chip:hover { border-color: var(--text); }
.chip.is-active { background: var(--graphite); color: #fff; border-color: var(--graphite); }
.chip--sm { padding: 6px 13px; font-size: 13px; }

.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s;
}
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.pcard__visual {
  display: flex; align-items: center; justify-content: center; height: 240px; padding: 24px;
  background: radial-gradient(circle at 50% 70%, #ffffff 0%, var(--bg-muted) 70%);
}
.pvisual__img { max-height: 100%; width: auto; object-fit: contain; }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.pcard__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.pcard__type { font-size: 13px; color: var(--muted); font-weight: 500; }
.pcard__title { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.pcard__title a:hover { color: var(--accent); }
.pcard__desc { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.pcard__specs { margin: 0 0 18px; font-size: 13.5px; display: grid; gap: 6px; }
.pcard__specs div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px dashed var(--line); }
.pcard__specs dt { color: var(--muted); }
.pcard__specs dd { margin: 0; font-weight: 500; text-align: right; }
.pcard__footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }
.price { font-size: 15px; color: var(--muted); white-space: nowrap; }
.price b { font-size: 22px; color: var(--text); font-weight: 800; letter-spacing: -0.02em; }
.price--request { color: var(--text); font-weight: 600; }

.empty { text-align: center; padding: 64px 24px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.empty--big { padding: 120px 24px; }
.empty__code { font-size: 96px; font-weight: 800; color: var(--accent); line-height: 1; }

/* Карточка товара */
.breadcrumbs { font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.breadcrumbs a:hover { color: var(--accent); }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.product__visual {
  position: sticky; top: 100px; display: flex; align-items: center; justify-content: center;
  min-height: 460px; padding: 40px; border-radius: var(--radius);
  background: radial-gradient(circle at 50% 70%, #fff 0%, var(--bg-muted) 75%);
}
.product__visual .pvisual__img { max-height: 520px; }
.product__title { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; margin: 6px 0 14px; }
.product__lead { font-size: 18px; color: var(--muted); }
.product__price { margin: 28px 0 6px; }
.product__price .price b { font-size: 34px; }
.product__note { font-size: 14px; color: var(--muted); }
.product__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.specs { margin: 0 0 32px; border-top: 1px solid var(--line); }
.specs__row { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 500; }

.prose { color: #3a3f46; }
.prose--lg { font-size: 18px; }
.prose--narrow { max-width: 780px; }

/* =========================================================================
   О нас
   ========================================================================= */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.dealer { background: var(--graphite); color: #fff; border-radius: var(--radius); padding: 36px; }
.dealer p { color: rgba(255,255,255,.7); }
.dealer__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 20px; }
.dealer__icon svg { width: 28px; height: 28px; fill: var(--accent); }
.dealer__title { font-size: 22px; font-weight: 800; margin-bottom: 12px; }

.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert { display: flex; flex-direction: column; gap: 12px; }
.cert img, .cert__pdf {
  aspect-ratio: 3 / 4; width: 100%; object-fit: cover; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--bg-muted); transition: box-shadow .25s, transform .25s;
}
.cert:hover img, .cert:hover .cert__pdf { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.cert--placeholder:hover .cert__pdf { box-shadow: none; transform: none; }
.cert__pdf { display: grid; place-items: center; }
.cert__pdf span { font-weight: 800; color: var(--muted); letter-spacing: .1em; }
.cert__title { font-weight: 600; font-size: 15px; }

/* =========================================================================
   Контакты
   ========================================================================= */
.contacts { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: stretch; }
.contacts__info { display: flex; flex-direction: column; gap: 26px; }
.contact-item { display: flex; flex-direction: column; gap: 4px; }
.contact-item__label { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.contact-item__value { font-size: 18px; font-weight: 500; }
.contact-item__value--big { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
a.contact-item__value:hover { color: var(--accent); }
.contacts__messengers { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.contacts__map { min-height: 440px; border-radius: var(--radius); overflow: hidden; background: var(--bg-muted); }
.contacts__map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; }
.map-static {
  height: 100%; min-height: 440px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: 32px; text-align: center; color: #fff;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(135deg, var(--steel), var(--graphite));
}
.map-static__pin { color: var(--accent); }
.map-static__address { font-size: 18px; font-weight: 600; max-width: 360px; }

/* Кнопки мессенджеров */
.messenger {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 14px;
  font-weight: 600; color: #fff; transition: transform .2s, filter .2s;
}
.messenger:hover { transform: translateY(-2px); filter: brightness(1.06); }
.messenger--tg { background: #229ed9; }
.messenger--wa { background: #25d366; color: #0b2e17; }

/* =========================================================================
   Подвал
   ========================================================================= */
.footer { background: var(--ink); color: rgba(255,255,255,.62); font-size: 15px; padding-top: 64px; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col a:hover { color: #fff; }
.footer__brand { color: #fff; font-weight: 800; font-size: 20px; }
.footer__text { max-width: 360px; }
.footer__title { color: #fff; font-weight: 700; margin-bottom: 4px; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px;
}
.footer__bottom a:hover { color: #fff; }

/* =========================================================================
   Плавающая кнопка, окно связи, лайтбокс
   ========================================================================= */
.fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  display: flex; align-items: center; gap: 10px; padding: 14px 22px 14px 18px;
  border: 0; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700;
  box-shadow: 0 10px 30px rgba(255,106,19,.45);
  transition: transform .2s, background .2s;
}
.fab:hover { background: var(--accent-hover); transform: translateY(-2px); }
.fab::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--accent);
  animation: fab-pulse 2.6s ease-out infinite; pointer-events: none;
}
@keyframes fab-pulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.25); opacity: 0; } }

.contact-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.contact-modal__backdrop { position: absolute; inset: 0; background: rgba(10,11,13,.6); backdrop-filter: blur(4px); animation: fade .2s; }
.contact-modal__box {
  position: relative; width: 100%; max-width: 420px; background: #fff; border-radius: 20px; padding: 36px 32px 28px;
  display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-lg); animation: pop .25s cubic-bezier(.2,.8,.2,1);
}
.contact-modal__close { position: absolute; right: 14px; top: 10px; border: 0; background: none; font-size: 30px; line-height: 1; color: var(--muted); padding: 6px; }
.contact-modal__title { font-size: 24px; font-weight: 800; }
.contact-modal__text { color: var(--muted); font-size: 15px; margin-bottom: 8px; }
.contact-modal__phone { text-align: center; color: var(--muted); font-size: 14px; margin-top: 6px; }
.contact-modal__phone:hover { color: var(--text); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }


.lightbox { position: fixed; inset: 0; z-index: 110; background: rgba(8,9,10,.94); display: flex; align-items: center; justify-content: center; padding: 40px 72px; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: 100%; }
.lightbox__figure img { max-height: calc(100vh - 140px); max-width: 100%; border-radius: 8px; object-fit: contain; }
.lightbox__figure figcaption { color: rgba(255,255,255,.8); text-align: center; }
.lightbox__close { position: absolute; top: 16px; right: 20px; border: 0; background: none; color: #fff; font-size: 40px; line-height: 1; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); border: 0; background: rgba(255,255,255,.08); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 32px; line-height: 1; }
.lightbox__nav:hover { background: rgba(255,255,255,.18); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

/* =========================================================================
   Адаптив
   ========================================================================= */
@media (max-width: 1100px) {
  .header__phone { display: none; }
  .features, .categories { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid--preview { grid-template-columns: repeat(2, 1fr); }
  .certs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .burger { display: block; }
  .header__actions .btn { display: none; }
  .header__actions { margin-left: auto; }
  .nav {
    position: fixed; left: 0; right: 0; top: 72px; flex-direction: column; gap: 0; padding: 12px 16px 24px;
    background: var(--graphite); border-bottom: 1px solid rgba(255,255,255,.08);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: 14px 16px; font-size: 17px; border-radius: 10px; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 72px; }
  .hero__visual { height: 300px; max-width: 420px; width: 100%; margin: 0 auto; }
  .hero__visual .bucket--lg { width: 150px; }
  .segments, .catalog-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .stats__inner { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .product, .about, .contacts { grid-template-columns: 1fr; gap: 36px; }
  .product__visual { position: static; min-height: 340px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__inner .footer__col:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .section { padding: 64px 0; }
  .section--tight { padding: 32px 0 64px; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .logo__tagline { display: none; }
  .hero__title { font-size: 32px; }
  .hero__subtitle { font-size: 17px; }
  .hero__actions .btn { width: 100%; }
  .features, .segments, .categories, .catalog-grid, .portfolio-grid, .portfolio-grid--preview { grid-template-columns: 1fr; }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .specs__row { grid-template-columns: 1fr; gap: 2px; }
  .cta__actions, .cta__actions .btn, .product__actions .btn { width: 100%; }
  .footer__inner { grid-template-columns: 1fr; }
  .fab { right: 16px; bottom: 16px; padding: 16px; }
  .fab__label { display: none; }
  .lightbox { padding: 20px 12px; }
  .lightbox__nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Расшифровка МИПО: первые буквы слов выделены */
.ini { color: var(--accent); font-weight: 800; }
.logo__tagline { font-size: 11.5px; letter-spacing: .01em; }
.footer__decode { color: rgba(255,255,255,.75); font-size: 15px; margin: -4px 0 4px; }
.page-head__decode { color: rgba(255,255,255,.75); font-size: 20px; margin-top: 12px; }

/* Блок «Склад» вместо карты */
.warehouse {
  border-radius: var(--radius); padding: 40px; color: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(135deg, var(--steel), var(--graphite));
}
.warehouse__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.warehouse__title { font-size: 26px; font-weight: 800; }
.warehouse__text { color: rgba(255,255,255,.75); font-size: 17px; margin: 0; }
.warehouse__list { margin: 4px 0 10px; padding-left: 20px; color: rgba(255,255,255,.75); display: flex; flex-direction: column; gap: 6px; }
.warehouse__list li::marker { color: var(--accent); }
@media (max-width: 640px) { .warehouse { padding: 28px 22px; } .page-head__decode { font-size: 17px; } }
.logo__tagline { max-width: 190px; line-height: 1.25; margin-top: 2px; }
.nav__link { white-space: nowrap; }
.header__inner { gap: 24px; }
@media (max-width: 1240px) { .header__phone { display: none; } }
