/* =========================================================
   ПРОФСЕРВИС-КОМИ — общие стили сайта
   ========================================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --white: #ffffff;
  --bg: #f5f5f7;
  --ink: #0b0c0e;
  --ink-2: #15171b;
  --ink-3: #1d2025;
  --red: #c8102e;
  --red-dark: #a00d25;
  --red-soft: rgba(200, 16, 46, 0.08);
  --text: #111216;
  --muted: #6b6d75;
  --line: #e6e6ea;
  --line-dark: rgba(255, 255, 255, 0.09);
  --radius: 6px;
  --radius-lg: 12px;
  --nav-h: 80px;
  --gutter: clamp(16px, 4vw, 56px);
  --container: 1360px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 1px 2px rgba(11, 12, 14, 0.04), 0 8px 24px -12px rgba(11, 12, 14, 0.12);
  --shadow-lg: 0 30px 60px -20px rgba(11, 12, 14, 0.25);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  background: var(--white);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ========== КУРСОР (только мышь) ========== */
.cursor, .cursor-bucket { display: none; }
html.custom-cursor body, html.custom-cursor a, html.custom-cursor button { cursor: none; }
html.custom-cursor input, html.custom-cursor textarea, html.custom-cursor select { cursor: text; }
html.custom-cursor .cursor, html.custom-cursor .cursor-bucket { display: block; }
.cursor {
  position: fixed; left: 0; top: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); pointer-events: none; z-index: 10001;
  margin: -3px 0 0 -3px;
}
.cursor-bucket {
  position: fixed; left: 0; top: 0; width: 44px; height: 34px; margin: -17px 0 0 -22px;
  color: var(--red); pointer-events: none; z-index: 10000;
  filter: drop-shadow(0 0 4px rgba(200, 16, 46, 0.45));
}
.cursor-bucket svg { width: 100%; height: 100%; display: block; transition: transform 0.4s var(--ease); }
.cursor-bucket.hover svg { transform: scale(1.35) rotate(-8deg); }

/* ========== КНОПКИ ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 30px;
  font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.3s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(200, 16, 46, 0.6); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.22); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--red); }
.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 12px; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

/* ========== ШАПКА ========== */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, 0.3); }
.site-nav .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.logo-mark { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; overflow: hidden; transition: transform 0.3s var(--ease); }
.logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.logo:hover .logo-mark { transform: rotate(-8deg); }
.logo-text { font-size: 15px; font-weight: 800; letter-spacing: 1.6px; line-height: 1.1; white-space: nowrap; }
.logo-text small { display: block; font-size: 8.5px; letter-spacing: 1.8px; color: var(--muted); font-weight: 600; margin-top: 4px; }

.nav-links { display: flex; gap: 6px; list-style: none; }
.nav-links a {
  display: block; padding: 10px 14px; border-radius: var(--radius);
  color: var(--text); text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: 0.4px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { background: var(--bg); }
.nav-links a.active { color: var(--red); }

.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-phone { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 700; white-space: nowrap; letter-spacing: 0.2px; }
.nav-phone small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.nav-phone:hover { color: var(--red); }

.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; cursor: pointer; position: relative; flex-shrink: 0;
}
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.2s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: #fff; padding: 24px var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a.mm-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: 22px; font-weight: 700; letter-spacing: -0.4px; text-decoration: none; color: var(--ink);
}
.mobile-menu a.mm-link::after { content: '→'; color: var(--red); font-weight: 500; }
.mobile-menu .mm-bottom { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.mobile-menu .mm-phone { font-size: 24px; font-weight: 800; color: var(--ink); text-decoration: none; }
.mobile-menu .mm-meta { color: var(--muted); font-size: 14px; }

/* ========== HERO ========== */
.hero {
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--nav-h) + 72px) 0 140px;
  position: relative; display: flex; align-items: center;
  background: var(--ink); color: #fff; overflow: hidden; isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 70% 45%, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 45%, #000 15%, transparent 72%);
}
.hero::after {
  content: ''; position: absolute; z-index: -1; right: -15%; top: -20%;
  width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.28), transparent 62%);
  filter: blur(20px);
}
.hero .container { width: 100%; display: grid; grid-template-columns: 1.35fr 1fr; gap: 80px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--red); margin-bottom: 24px;
}
.eyebrow::before { content: ''; width: 32px; height: 1.5px; background: currentColor; }
.hero .eyebrow { color: rgba(255, 255, 255, 0.6); }
.hero .eyebrow::before { background: var(--red); }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 92px);
  font-weight: 900; line-height: 0.98; letter-spacing: -0.04em;
  margin-bottom: 32px;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero h1 .word { display: inline-block; animation: slideUp 1s var(--ease) both; }
.hero h1 .line:nth-child(2) .word { animation-delay: 0.12s; }
.hero h1 .line:nth-child(3) .word { animation-delay: 0.24s; }
.hero h1 .accent { color: var(--red); }
.hero-lead { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.7; color: rgba(255,255,255,0.62); max-width: 560px; margin-bottom: 44px; animation: fadeUp 0.9s 0.4s var(--ease) both; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeUp 0.9s 0.55s var(--ease) both; }

.hero-card {
  background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  padding: 32px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  animation: fadeUp 0.9s 0.7s var(--ease) both;
}
.hero-card-title { font-size: 11px; font-weight: 700; letter-spacing: 2.6px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 10px; }
.spec-item { padding: 18px 0; border-bottom: 1px solid var(--line-dark); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.spec-item:last-child { border-bottom: none; padding-bottom: 0; }
.spec-name { font-size: 12px; letter-spacing: 1.4px; color: rgba(255,255,255,0.5); text-transform: uppercase; font-weight: 600; }
.spec-value { font-size: 19px; font-weight: 800; letter-spacing: -0.3px; text-align: right; }

.hero-brands {
  position: absolute; bottom: 0; left: 0; right: 0;
  border-top: 1px solid var(--line-dark); background: rgba(0, 0, 0, 0.28);
  animation: fadeUp 1s 0.9s var(--ease) both;
}
.hero-brands .container { display: flex; align-items: center; gap: 40px; padding-block: 22px; }
.hero-brands-label { font-size: 10px; letter-spacing: 2.6px; color: rgba(255,255,255,0.35); text-transform: uppercase; font-weight: 700; flex-shrink: 0; }
.brand { font-size: 15px; font-weight: 800; letter-spacing: 3px; color: rgba(255,255,255,0.55); text-transform: uppercase; }

@keyframes slideUp { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ========== БЕГУЩАЯ СТРОКА ========== */
.marquee { background: var(--red); overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee-track span {
  color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; white-space: nowrap;
  display: flex; align-items: center; gap: 28px; padding-right: 28px;
}
.marquee-track span::after { content: ''; width: 6px; height: 6px; background: rgba(255,255,255,0.7); border-radius: 50%; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ========== СЕКЦИИ ========== */
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section.alt { background: var(--bg); }
.section.dark { background: var(--ink); color: #fff; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; margin-bottom: clamp(40px, 5vw, 72px); align-items: end; }
.section-head.single { grid-template-columns: 1fr; }
.section-title { font-size: clamp(32px, 4.4vw, 60px); font-weight: 900; letter-spacing: -0.035em; line-height: 1.02; color: var(--ink); }
.section.dark .section-title { color: #fff; }
.section-title em { font-style: normal; color: var(--red); }
.section-desc { color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 520px; }
.section.dark .section-desc { color: rgba(255,255,255,0.55); }
.section-head-link { justify-self: end; }

/* ========== НАПРАВЛЕНИЯ (главная) ========== */
.dir-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dir-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--ink); color: #fff; text-decoration: none;
  min-height: 420px; padding: 40px; display: flex; flex-direction: column; justify-content: space-between;
  isolation: isolate; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.dir-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 85% 15%, rgba(200,16,46,0.45), transparent 55%);
  transition: opacity 0.5s; opacity: 0.6;
}
.dir-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dir-card:hover::before { opacity: 1; }
.dir-card.light { background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.dir-card.light::before { background: radial-gradient(circle at 85% 15%, rgba(200,16,46,0.14), transparent 55%); }
.dir-num { font-size: 12px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; opacity: 0.55; }
.dir-card h3 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.02; margin: 18px 0 14px; }
.dir-card p { font-size: 15px; line-height: 1.65; opacity: 0.65; max-width: 420px; }
.dir-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.dir-chips span { font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 100px; border: 1px solid currentColor; opacity: 0.55; }
.dir-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; gap: 16px; }
.dir-count { font-size: 14px; font-weight: 600; opacity: 0.7; }
.dir-arrow {
  width: 56px; height: 56px; border-radius: 50%; background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform 0.4s var(--ease);
}
.dir-arrow svg { width: 22px; height: 22px; }
.dir-card:hover .dir-arrow { transform: rotate(-45deg); }

/* ========== КАРТОЧКИ ТОВАРОВ ========== */
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.p-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; color: inherit; position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.p-img { position: relative; aspect-ratio: 4 / 3; background: var(--bg); overflow: hidden; }
.p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.p-card:hover .p-img img { transform: scale(1.06); }
.p-img .no-photo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.p-img .no-photo img { width: 64px; height: 64px; opacity: 0.18; filter: grayscale(1); object-fit: contain; }
.p-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 6px 10px; border-radius: 4px; background: rgba(255,255,255,0.94);
  font-size: 10px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; color: var(--ink);
  max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.p-photos { position: absolute; bottom: 12px; right: 12px; z-index: 2; padding: 4px 8px; border-radius: 4px; background: rgba(11,12,14,0.72); color: #fff; font-size: 11px; font-weight: 700; }
.p-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-title { font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-desc { font-size: 13.5px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.p-price-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.p-price { font-size: 21px; font-weight: 800; color: var(--ink); letter-spacing: -0.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.p-price.on-request { font-size: 16px; color: var(--muted); }
.p-go {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); color: var(--ink); transition: background 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.p-go svg { width: 18px; height: 18px; }
.p-card:hover .p-go { background: var(--red); color: #fff; transform: rotate(-45deg); }
.p-body > div { min-width: 0; }

.skeleton { border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; background: #fff; }
.skeleton .s-img { aspect-ratio: 4/3; }
.skeleton .s-line { height: 12px; margin: 18px 20px 0; border-radius: 4px; }
.skeleton .s-line.short { width: 50%; margin-bottom: 22px; }
.skeleton .s-img, .skeleton .s-line {
  background: linear-gradient(90deg, #efeff2 0%, #f8f8fa 50%, #efeff2 100%);
  background-size: 200% 100%; animation: shimmer 1.4s infinite;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.empty-state { padding: 80px 24px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius-lg); background: var(--bg); }
.empty-state strong { display: block; font-size: 20px; color: var(--ink); margin-bottom: 8px; }
.empty-state .btn { margin-top: 24px; }

/* ========== ЦИФРЫ ========== */
.stats-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 64px; padding-bottom: 32px; border-bottom: 1px solid var(--line-dark); }
.stats-head h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.08; max-width: 640px; }
.stats-head h2 em { color: var(--red); font-style: normal; }
.stats-head p { color: rgba(255,255,255,0.55); font-size: 15px; max-width: 400px; line-height: 1.7; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 8px 0 8px 32px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat-value { font-size: clamp(44px, 5.2vw, 76px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 2px; }
.stat-value span + span { color: var(--red); font-size: 0.55em; }
.stat-label { color: rgba(255,255,255,0.5); font-size: 12px; letter-spacing: 1.8px; text-transform: uppercase; margin-top: 16px; font-weight: 600; }

/* ========== ПРЕИМУЩЕСТВА ========== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feature { background: #fff; padding: 44px 36px; position: relative; overflow: hidden; isolation: isolate; }
.feature::after { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform 0.6s var(--ease); }
.feature:hover::after { transform: none; }
.feature-num { font-size: 11px; font-weight: 800; letter-spacing: 2px; color: var(--red); display: inline-block; padding-bottom: 10px; border-bottom: 1.5px solid var(--red); margin-bottom: 36px; }
.feature h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 12px; color: var(--ink); transition: color 0.4s; }
.feature p { font-size: 14.5px; line-height: 1.7; color: var(--muted); transition: color 0.4s; }
.feature:hover h3 { color: #fff; }
.feature:hover p { color: rgba(255,255,255,0.62); }

/* ========== КОНТАКТЫ / CTA ========== */
.cta { background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ''; position: absolute; z-index: -1; left: -20%; bottom: -40%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(200,16,46,0.22), transparent 62%); }
.cta .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.cta h2 { font-size: clamp(34px, 4.6vw, 64px); font-weight: 900; letter-spacing: -0.035em; line-height: 1.02; margin-bottom: 24px; }
.cta h2 em { color: var(--red); font-style: normal; }
.cta-lead { color: rgba(255,255,255,0.58); font-size: 17px; line-height: 1.7; max-width: 480px; margin-bottom: 40px; }

.contact-list { display: flex; flex-direction: column; }
.contact-row { display: flex; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line-dark); align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(200,16,46,0.14); color: var(--red); }
.contact-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.contact-label { font-size: 11px; letter-spacing: 1.8px; color: rgba(255,255,255,0.42); text-transform: uppercase; font-weight: 700; margin-bottom: 6px; }
.contact-value { font-size: 17px; font-weight: 600; color: #fff; text-decoration: none; line-height: 1.45; display: block; }
a.contact-value:hover { color: var(--red); }
.contact-value small { display: block; font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.5); margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.social-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 100px; background: rgba(255,255,255,0.06); border: 1px solid var(--line-dark); color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; transition: background 0.25s, border-color 0.25s; }
.social-btn:hover { background: var(--red); border-color: var(--red); }
.social-btn svg { width: 17px; height: 17px; fill: currentColor; }

/* Форма заявки */
.lead-card { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 44px); box-shadow: var(--shadow-lg); }
.lead-card h3 { font-size: 26px; font-weight: 900; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 8px; }
.lead-card > p { color: var(--muted); font-size: 15px; margin-bottom: 26px; line-height: 1.6; }
.lead-form { display: flex; flex-direction: column; gap: 12px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 22px 16px 8px; min-height: 58px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  font-size: 16px; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 96px; padding-top: 26px; }
.field label { position: absolute; left: 17px; top: 19px; font-size: 15px; color: var(--muted); pointer-events: none; transition: all 0.2s var(--ease); }
.field input:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; }
.lead-product { display: flex; gap: 12px; align-items: center; padding: 12px; background: var(--bg); border-radius: var(--radius); font-size: 14px; font-weight: 600; }
.lead-product img { width: 56px; height: 42px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--red); flex-shrink: 0; }
.consent a { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { color: var(--red); font-size: 14px; font-weight: 600; display: none; }
.form-success { text-align: center; padding: 24px 0 8px; }
.form-success .check { width: 72px; height: 72px; border-radius: 50%; background: rgba(29,159,74,0.12); color: #1d9f4a; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.form-success .check svg { width: 34px; height: 34px; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--muted); }

/* ========== МОДАЛКА ========== */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(11,12,14,0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s; }
.modal.open { opacity: 1; visibility: visible; }
.modal .lead-card { width: 100%; max-width: 480px; max-height: calc(100vh - 40px); overflow-y: auto; position: relative; transform: translateY(16px) scale(0.98); transition: transform 0.35s var(--ease); }
.modal.open .lead-card { transform: none; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--bg); font-size: 22px; line-height: 1; cursor: pointer; transition: background 0.2s, color 0.2s; }
.modal-close:hover { background: var(--red); color: #fff; }

/* ========== ПОДВАЛ ========== */
.site-footer { background: var(--ink-2); color: rgba(255,255,255,0.55); padding: 72px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.site-footer .logo { color: #fff; }
.site-footer .logo-text small { color: rgba(255,255,255,0.4); }
.footer-about { font-size: 14px; line-height: 1.7; margin-top: 22px; max-width: 360px; }
.footer-col h4 { font-size: 12px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-col .f-phone { font-size: 18px; font-weight: 800; color: #fff; }
.footer-bottom { padding-top: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; }
.footer-bottom a { color: rgba(255,255,255,0.55); }

/* ========== ШАПКА ВНУТРЕННИХ СТРАНИЦ ========== */
.page-head { background: var(--ink); color: #fff; padding: calc(var(--nav-h) + 36px) 0 64px; position: relative; overflow: hidden; isolation: isolate; }
.page-head::after { content: ''; position: absolute; z-index: -1; right: -10%; top: -60%; width: 60vw; height: 60vw; max-width: 800px; max-height: 800px; border-radius: 50%; background: radial-gradient(circle, rgba(200,16,46,0.25), transparent 62%); }
.page-head.compact { padding-bottom: 28px; }
.breadcrumbs { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumbs a { color: rgba(255,255,255,0.55); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .sep { opacity: 0.4; }
.breadcrumbs .current { color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.page-title { font-size: clamp(36px, 5.6vw, 76px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; margin-bottom: 20px; }
.page-title em { color: var(--red); font-style: normal; }
.page-desc { color: rgba(255,255,255,0.58); font-size: 17px; line-height: 1.7; max-width: 640px; }

/* ========== КАТАЛОГ: ПАНЕЛЬ ФИЛЬТРОВ ========== */
.toolbar { position: sticky; top: var(--nav-h); z-index: 50; background: rgba(255,255,255,0.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.toolbar-row { display: flex; gap: 12px; align-items: center; padding-top: 16px; }
.search { flex: 1; position: relative; min-width: 0; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; stroke: var(--muted); fill: none; stroke-width: 2; pointer-events: none; }
.search input, .sort select {
  width: 100%; height: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  font-size: 15px; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.search input { padding: 0 16px 0 46px; }
.search input:focus, .sort select:focus { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.sort select { padding: 0 40px 0 14px; appearance: none; -webkit-appearance: none; cursor: pointer; font-weight: 600; font-size: 14px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6d75' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }
.chips { display: flex; gap: 8px; padding: 12px 0 16px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; height: 38px; padding: 0 16px; border-radius: 100px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-size: 13px; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .n { font-size: 11px; opacity: 0.55; font-weight: 700; }
.catalog-body { padding: 36px 0 clamp(72px, 9vw, 120px); }
.result-count { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.result-count strong { color: var(--ink); }

/* ========== СТРАНИЦА ТОВАРА ========== */
.pp { padding: calc(var(--nav-h) + 28px) 0 clamp(56px, 7vw, 96px); }
.pp .breadcrumbs { color: var(--muted); margin-bottom: 24px; }
.pp .breadcrumbs a { color: var(--muted); }
.pp .breadcrumbs a:hover { color: var(--red); }
.pp .breadcrumbs .current { color: var(--ink); }
.pp-missing { padding: 80px 0; text-align: center; }
.pp-missing h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 12px; }
.pp-missing p { color: var(--muted); margin-bottom: 28px; }
.pp-missing .btn { margin: 4px; }
.pp-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.pp-main { position: relative; aspect-ratio: 4 / 3; background: var(--bg); border-radius: var(--radius-lg); overflow: hidden; cursor: zoom-in; touch-action: pan-y; }
.pp-main img { width: 100%; height: 100%; object-fit: contain; transition: opacity 0.25s; user-select: none; -webkit-user-drag: none; }
.pp-main .no-photo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; color: var(--muted); font-size: 14px; cursor: default; }
.pp-main .no-photo img { width: 96px; height: 96px; opacity: 0.18; filter: grayscale(1); }
.pp-counter { position: absolute; bottom: 14px; left: 14px; padding: 6px 12px; border-radius: 100px; background: rgba(11,12,14,0.75); color: #fff; font-size: 12px; font-weight: 700; }
.pp-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.95); color: var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,0.14);
  display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.25s, background 0.2s, color 0.2s;
}
.pp-arrow svg { width: 20px; height: 20px; }
.pp-main:hover .pp-arrow { opacity: 1; }
.pp-arrow:hover { background: var(--red); color: #fff; }
.pp-prev { left: 14px; }
.pp-next { right: 14px; }
.pp-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.pp-thumbs::-webkit-scrollbar { display: none; }
.pp-thumb { width: 96px; flex-shrink: 0; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--bg); padding: 0; opacity: 0.6; transition: opacity 0.2s, border-color 0.2s; }
.pp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp-thumb:hover { opacity: 1; }
.pp-thumb.active { border-color: var(--red); opacity: 1; }

.pp-info { position: sticky; top: calc(var(--nav-h) + 24px); }
.pp-cat { display: inline-block; padding: 6px 12px; border-radius: 4px; background: var(--red-soft); color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 18px; text-decoration: none; }
.pp-title { font-size: clamp(28px, 3.4vw, 46px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.08; color: var(--ink); margin-bottom: 18px; overflow-wrap: anywhere; }
.pp-desc { color: var(--muted); font-size: 16px; line-height: 1.75; margin-bottom: 28px; white-space: pre-line; }
.pp-price-box { padding: 24px 26px; border-radius: var(--radius-lg); background: var(--bg); margin-bottom: 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.pp-price-label { font-size: 11px; letter-spacing: 1.6px; color: var(--muted); text-transform: uppercase; font-weight: 700; margin-bottom: 8px; }
.pp-price { font-size: clamp(30px, 3.2vw, 42px); font-weight: 900; color: var(--ink); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.pp-price.on-request { font-size: 26px; }
.pp-price-note { font-size: 13px; color: var(--muted); }
.pp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 28px; }
.pp-actions .btn-primary { grid-column: 1 / -1; }
.pp-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 24px; border-top: 1px solid var(--line); }
.pp-perk { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.45; }
.pp-perk strong { display: block; color: var(--ink); font-size: 14px; margin-bottom: 2px; }
.pp-perk-icon { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; }
.pp-perk-icon svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.8; }

.specs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.spec-card { background: #fff; padding: 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.spec-icon { width: 38px; height: 38px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.spec-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.spec-label { font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.spec-val { font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -0.2px; overflow-wrap: anywhere; }
.specs-text { white-space: pre-line; color: var(--text); font-size: 16px; line-height: 1.8; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); }

.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(5,5,6,0.96); display: flex; align-items: center; justify-content: center; padding: 64px 80px; opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s; touch-action: pan-y; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.lb-btn:hover { background: var(--red); border-color: var(--red); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 600; }

/* Нижняя панель на телефоне */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line); gap: 10px; align-items: center;
  transform: translateY(110%); transition: transform 0.35s var(--ease);
}
.mobile-bar.show { transform: none; }
.mobile-bar .mb-price { flex: 1; min-width: 0; }
.mobile-bar .mb-price small { display: block; font-size: 10px; font-weight: 700; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }
.mobile-bar .mb-price strong { font-size: 18px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.mobile-bar .btn { min-height: 48px; padding: 0 18px; }
.mobile-bar .mb-call { width: 48px; padding: 0; flex-shrink: 0; }

/* Текстовая страница */
.prose { max-width: 820px; font-size: 16px; line-height: 1.8; color: var(--text); }
.prose h2 { font-size: 24px; font-weight: 800; margin: 40px 0 12px; color: var(--ink); letter-spacing: -0.02em; }
.prose p, .prose li { margin-bottom: 12px; }
.prose ul { padding-left: 22px; }

/* Тост */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 3000; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 100px; font-size: 14px; font-weight: 600; transition: all 0.3s var(--ease); max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--red); }

/* Появление при прокрутке */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ========== АДАПТИВ ========== */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-cta .btn { display: none; }
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero-card { max-width: 560px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .stat:nth-child(3) { border-left: none; padding-left: 0; }
  .cta .container { grid-template-columns: 1fr; }
  .pp-grid { grid-template-columns: 1fr; }
  .pp-info { position: static; }
  .section-head { grid-template-columns: 1fr; }
  .section-head-link { justify-self: start; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .logo-mark { width: 40px; height: 40px; }
  .logo-text { font-size: 13px; letter-spacing: 1.2px; }
  .logo-text small { display: none; }
  .nav-phone { display: none; }
  .hero { padding: calc(var(--nav-h) + 40px) 0 0; min-height: 0; display: block; }
  .hero .container { gap: 40px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-card { padding: 22px; }
  .hero-brands { position: static; margin-top: 48px; }
  .hero-brands .container { gap: 20px; }
  .dir-grid { grid-template-columns: 1fr; }
  .dir-card { min-height: 0; padding: 28px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature { padding: 32px 24px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .stat { border-left: none; padding-left: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .p-body { padding: 14px 14px 16px; gap: 6px; }
  .p-title { font-size: 14px; }
  .p-desc { display: none; }
  .p-price { font-size: 16px; }
  .p-price.on-request { font-size: 13px; }
  .p-go { display: none; }
  .p-foot { padding-top: 12px; }
  .p-badge { font-size: 9px; top: 8px; left: 8px; padding: 4px 7px; }
  .page-head { padding-bottom: 40px; }
  .page-desc { font-size: 15px; }
  .toolbar-row { padding-top: 12px; gap: 8px; }
  .sort select { width: 118px; }
  .specs-grid { grid-template-columns: 1fr; }
  .spec-card { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 16px; }
  .spec-icon { display: none; }
  .spec-label { font-size: 11px; letter-spacing: 0.8px; flex: 1; }
  .spec-val { font-size: 15px; text-align: right; max-width: 60%; }
  .chips { padding: 10px 0 12px; }
  .pp { padding-top: calc(var(--nav-h) + 16px); }
  .pp .breadcrumbs { margin-bottom: 16px; font-size: 12px; }
  .pp-main { border-radius: var(--radius); margin-inline: calc(var(--gutter) * -1); border-radius: 0; }
  .pp-arrow { opacity: 1; width: 40px; height: 40px; }
  .pp-thumb { width: 72px; }
  .pp-perks { grid-template-columns: 1fr 1fr; gap: 14px; }
  .lightbox { padding: 56px 0; }
  .lb-prev, .lb-next { display: none; }
  .mobile-bar { display: flex; }
  body.has-mobile-bar .site-footer { padding-bottom: 100px; }
  .btn { min-height: 52px; }
}
@media (max-width: 420px) {
  .p-grid { gap: 10px; }
  .stats { grid-template-columns: 1fr; }
  .pp-perks { grid-template-columns: 1fr; }
  .pp-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
