/* ============================================================
   ИПР — Premium Industrial B2B Website
   Design System & Styles
   ============================================================ */

/* ── DESIGN TOKENS ── */
:root {
  /* Brand Colors */
  --color-navy:          #182947;
  --color-navy-dark:     #070F1F;
  --color-navy-mid:      #21385F;
  --color-navy-light:    #2D4D80;

  /* Accent */
  --color-accent:        #4E8CFF;
  --color-accent-hover:  #3D7DF8;
  --color-accent-light:  rgba(78, 140, 255, 0.14);
  --color-accent-glow:   rgba(78, 140, 255, 0.35);

  /* Text — Light BG */
  --color-text-primary:   #E6EDF9;
  --color-text-secondary: #AEBBD3;
  --color-text-muted:     #8392AD;

  /* Text — Dark BG */
  --color-text-inverse:   #F2F7FF;
  --color-text-dim:       rgba(226, 235, 250, 0.65);

  /* Surfaces */
  --color-bg-base:        #070C17;
  --color-surface:        #111B2E;
  --color-surface-gray:   #17243A;
  --color-surface-dark:   #0A1323;

  /* Borders */
  --color-border:         #293A58;
  --color-border-dark:    rgba(164, 187, 227, 0.16);
  --color-border-accent:  rgba(78, 140, 255, 0.45);

  /* Status */
  --color-success:        #16A34A;
  --color-error:          #DC2626;

  /* Typography */
  --font-sans:   -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', 'Segoe UI', sans-serif;
  --font-display:-apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', 'Segoe UI', sans-serif;

  /* Spacing */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-30: 120px;
  --sp-40: 160px;

  /* Border Radius */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs:     0 2px 10px rgba(0,0,0,0.25);
  --shadow-sm:     0 8px 26px rgba(0,0,0,0.32);
  --shadow-md:     0 14px 40px rgba(0,0,0,0.38);
  --shadow-lg:     0 24px 70px rgba(0,0,0,0.46);
  --shadow-accent: 0 8px 28px rgba(78,140,255,0.30);
  --shadow-card:   0 8px 28px rgba(0,0,0,0.32);

  /* Transitions */
  --transition-base: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-width: 1880px;
  --header-height: 72px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 24px);
  scrollbar-gutter: stable;
}
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-primary);
  background:
    radial-gradient(circle at 15% 12%, rgba(78, 140, 255, 0.10) 0%, transparent 35%),
    radial-gradient(circle at 85% 4%, rgba(53, 99, 189, 0.08) 0%, transparent 32%),
    var(--color-bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[id] { scroll-margin-top: calc(var(--header-height) + 24px); }

/* Scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: #446BA4 #081021;
}
html::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
html::-webkit-scrollbar-track {
  background: #0A1222;
}
html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #4D73AD 0%, #2A4B7A 100%);
  border-radius: 999px;
  border: 2px solid #0A1222;
  transition: background 0.2s ease;
}
html::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #5A83C2 0%, #355C94 100%);
}
html::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #6A94D7 0%, #406FAF 100%);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

/* ── TYPOGRAPHY ── */
.text-display {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}
h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
}
h3, .h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.005em;
}
h4, .h4 {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.4;
  font-weight: 600;
}
.text-lg  { font-size: 18px; line-height: 1.6; }
.text-sm  { font-size: 14px; line-height: 1.5; }
.text-xs  { font-size: 12px; line-height: 1.4; }
.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.text-muted    { color: var(--color-text-secondary); }
.text-dim      { color: var(--color-text-muted); }
.text-inverse  { color: var(--color-text-inverse); }
.text-accent   { color: var(--color-accent); }

/* ── LAYOUT ── */
.container {
  width: min(var(--max-width), 100%);
  max-width: none;
  margin: 0 auto;
  padding-left: clamp(20px, 2.8vw, 60px);
  padding-right: clamp(20px, 2.8vw, 60px);
}
.section { padding: var(--sp-24) 0; }
.section-lg { padding: var(--sp-30) 0; }

/* Grid */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-6); }
.grid-2-3 { display: grid; grid-template-columns: 2fr 3fr; gap: var(--sp-16); align-items: start; }
.grid-equal { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); }

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.gap-8 { gap: var(--sp-8); }

/* ── SECTION TITLE COMPONENT ── */
.section-title { margin-bottom: var(--sp-12); }
.section-title.centered { text-align: center; }
.section-title .overline {
  display: inline-block;
  color: var(--color-accent);
  margin-bottom: var(--sp-3);
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.section-title h2 { margin-bottom: var(--sp-4); }
.section-title .subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  max-width: 600px;
}
.section-title.centered .subtitle { margin: 0 auto; }

/* Dark variant */
.section-dark .section-title .overline { color: #60A5FA; }
.section-dark .section-title h2 { color: var(--color-text-inverse); }
.section-dark .section-title .subtitle { color: var(--color-text-dim); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 6px 32px rgba(37,99,235,0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}
.btn-secondary:hover {
  background: var(--color-accent-light);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.45);
  transform: translateY(-1px);
}

.btn-lg { padding: 18px 36px; font-size: 16px; border-radius: var(--radius-md); }
.btn-sm { padding: 10px 20px; font-size: 13px; }

.btn-arrow::after {
  content: '→';
  transition: transform 0.2s ease;
  margin-left: var(--sp-1);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ── BADGE / PILL ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge-blue {
  background: var(--color-accent-light);
  color: var(--color-accent);
}
.badge-dark {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.15);
}
.badge-gray {
  background: var(--color-surface-gray);
  color: var(--color-text-secondary);
}

/* ── HEADER ── */
.header {
  position: fixed;
  top: 8px;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  transition: var(--transition-base);
}
.header.transparent {
  background: transparent;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(8, 15, 29, 0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(164, 187, 227, 0.20);
  box-shadow: var(--shadow-sm);
}
.header .container {
  height: 100%;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  gap: 1px;
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.8; }
.logo-mark {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text-inverse);
  line-height: 1.08;
}
.header.scrolled .logo-mark { color: var(--color-text-inverse); }
.logo-sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  line-height: 1.1;
  margin-top: 1px;
}
.header.scrolled .logo-sub { color: rgba(212, 225, 248, 0.52); }

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.80);
  transition: color 0.2s;
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-accent);
  transition: width 0.2s ease;
}
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }
.nav a.active { color: #fff; }
.nav a.active::after { width: 100%; }

.header.scrolled .nav a { color: rgba(226, 235, 250, 0.76); }
.header.scrolled .nav a:hover { color: #fff; }
.header.scrolled .nav a.active { color: var(--color-accent); }

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-right: clamp(10px, 1.8vw, 28px);
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(161, 186, 229, 0.34);
  background: rgba(9, 16, 30, 0.55);
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(225, 236, 255, 0.75);
  transition: var(--transition-base);
}
.lang-switch a:hover {
  color: #fff;
}
.lang-switch a.active {
  background: rgba(74, 132, 245, 0.38);
  color: #fff;
}
.lang-switch.mobile {
  margin-top: var(--sp-6);
  align-self: flex-start;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.header-phone:hover { color: #fff; }
.header.scrolled .header-phone { color: rgba(228, 237, 252, 0.86); }
.header.scrolled .header-phone:hover { color: var(--color-accent); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition-base);
}
.header.scrolled .hamburger span { background: var(--color-text-primary); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-navy-dark);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-8);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.mobile-nav-links a {
  font-size: 32px;
  font-family: var(--font-display);
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--color-border-dark);
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-nav-links a:hover {
  color: #fff;
  padding-left: var(--sp-3);
}
.mobile-nav-contacts {
  margin-top: var(--sp-10);
}
.mobile-nav-contacts a {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--sp-2);
  transition: color 0.2s;
}
.mobile-nav-contacts a:hover { color: #fff; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(180deg, #060E1D 0%, #081326 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 14, 29, 0.12) 0%, rgba(7, 14, 29, 0.62) 100%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  width: 860px;
  height: 860px;
  left: -280px;
  top: -360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 140, 255, 0.24) 0%, transparent 70%);
  filter: blur(12px);
  pointer-events: none;
  z-index: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(980px 640px at 70% 45%, rgba(78, 140, 255, 0.22) 0%, transparent 62%),
    radial-gradient(760px 560px at 18% 76%, rgba(49, 93, 176, 0.16) 0%, transparent 64%),
    linear-gradient(135deg, #091428 0%, #13284A 50%, #0A1529 100%);
  z-index: 0;
}
.hero-grid {
  display: none;
}
.hero-orb {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 140, 255, 0.16) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero-orb-ring {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1px solid rgba(78, 140, 255, 0.22);
  pointer-events: none;
  z-index: 0;
}
.hero-orb-ring::after {
  content: '';
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 1px solid rgba(78, 140, 255, 0.14);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: var(--sp-20);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.hero-overline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.hero-overline-line {
  width: 32px;
  height: 1.5px;
  background: var(--color-accent);
}
.hero-overline-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #60A5FA;
}
.hero h1 {
  color: var(--color-text-inverse);
  margin-bottom: var(--sp-6);
}
.hero-accent { color: #60A5FA; }
.hero-desc {
  font-size: 18px;
  color: var(--color-text-dim);
  line-height: 1.7;
  margin-bottom: var(--sp-10);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-16);
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-8);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--color-border-dark);
}
.hero-stat {
  text-align: center;
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 13px;
  color: var(--color-text-dim);
}

/* ── POSITIONING SECTION ── */
.section-positioning {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.positioning-content { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); align-items: start; }
.positioning-text p {
  color: var(--color-text-secondary);
  margin-bottom: var(--sp-4);
  font-size: 17px;
  line-height: 1.75;
}
.positioning-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
.stat-card {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  background: linear-gradient(135deg, rgba(42, 66, 108, 0.38), rgba(33, 49, 81, 0.34));
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  border: 1px solid var(--color-border-dark);
  transition: var(--transition-base);
}
.stat-card:hover {
  border-color: rgba(96, 165, 250, 0.45);
  background: linear-gradient(135deg, rgba(49, 75, 122, 0.52), rgba(35, 56, 93, 0.46));
  transform: translateY(-2px);
}
.stat-card-icon {
  width: 104px;
  height: 104px;
  border-radius: 22px;
  flex: 0 0 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(160deg, #3f66bb 0%, #2e4f94 100%);
  color: #f1f6ff;
  border: 1px solid rgba(126, 174, 255, 0.26);
  box-shadow: 0 12px 24px rgba(13, 32, 74, 0.34);
}
.stat-card-icon::after {
  content: none;
}
.stat-card-icon-svg {
  width: 58px;
  height: 58px;
}
.stat-card-body {
  min-width: 0;
}
.stat-card-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}
.stat-card-text {
  font-size: 15px;
  line-height: 1.45;
  color: var(--color-text-secondary);
}

/* ── CATALOG SECTION ── */
.section-catalog {
  background: var(--color-bg-base);
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}
.category-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  border: 1px solid var(--color-border);
  transition: var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-accent);
  transform: scaleY(0);
  transition: transform 0.25s ease;
  transform-origin: bottom;
}
.category-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--color-border-accent);
}
.category-card:hover::before { transform: scaleY(1); }
.category-icon {
  width: 44px;
  height: 44px;
  background: var(--color-accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
  font-size: 22px;
  transition: background 0.2s;
}
.category-card:hover .category-icon {
  background: var(--color-accent);
}
.category-card:hover .category-icon svg { stroke: #fff; }
.category-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--sp-2);
  line-height: 1.35;
}
.category-desc {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--sp-3);
}
.category-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.04em;
}
.catalog-cta { text-align: center; }

/* ── ADVANTAGES SECTION ── */
.section-advantages {
  background: var(--color-surface);
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}
.advantage-card {
  padding: var(--sp-8) var(--sp-6);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(25, 42, 72, 0.82), rgba(30, 49, 84, 0.78));
  border: 1px solid rgba(107, 147, 214, 0.32);
  transition: var(--transition-base);
  position: relative;
  text-align: center;
}
.advantage-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
  background: linear-gradient(135deg, rgba(34, 56, 94, 0.9), rgba(39, 63, 103, 0.86));
  border-color: rgba(132, 175, 245, 0.48);
}
.advantage-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: var(--color-accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: var(--sp-4);
  user-select: none;
  text-align: center;
}
.advantage-card h4 {
  margin-bottom: var(--sp-3);
  color: var(--color-text-primary);
  text-align: center;
}
.advantage-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.65;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ── CTA BLOCK ── */
.section-cta-block {
  background: var(--color-navy-dark);
  position: relative;
  overflow: hidden;
}
.section-cta-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}
.cta-block-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-12);
  align-items: center;
}
.cta-block-text .overline {
  color: #60A5FA;
  display: block;
  margin-bottom: var(--sp-3);
}
.cta-block-text h2 { color: var(--color-text-inverse); margin-bottom: var(--sp-4); }
.cta-block-text p {
  font-size: 17px;
  color: var(--color-text-dim);
  max-width: 500px;
}
.cta-block-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-4);
}
.cta-block-phone {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  transition: color 0.2s;
}
.cta-block-phone:hover { color: #60A5FA; }

/* ── PROCESS SECTION ── */
.section-process {
  background: var(--color-bg-base);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: none;
}
.process-step {
  padding: var(--sp-8) var(--sp-6);
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.process-step-num {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--sp-5);
  line-height: 1;
  transition: var(--transition-base);
}
.process-step:hover .process-step-num {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.process-step h4 {
  margin-bottom: var(--sp-3);
  font-size: 16px;
  text-align: center;
}
.process-step p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.65;
  text-align: center;
  max-width: 360px;
}

/* ── FEATURED SECTION ── */
.section-featured {
  background: var(--color-navy-dark);
  position: relative;
  overflow: hidden;
}
.section-featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(37,99,235,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  position: relative;
  z-index: 1;
}
.featured-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  transition: var(--transition-base);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.featured-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--color-border-accent);
  transform: translateY(-4px);
}
.featured-card:hover::before { transform: scaleX(1); }
.featured-card-icon {
  font-size: 36px;
  margin-bottom: var(--sp-5);
}
.featured-card h3 {
  color: var(--color-text-inverse);
  margin-bottom: var(--sp-3);
  font-size: 20px;
}
.featured-card p {
  font-size: 14px;
  color: var(--color-text-dim);
  line-height: 1.65;
  margin-bottom: var(--sp-5);
}
.featured-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--color-border-dark);
}
.featured-card-count {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}
.featured-card-link {
  font-size: 13px;
  font-weight: 600;
  color: #60A5FA;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.featured-card:hover .featured-card-link { gap: 8px; }

/* ── FAQ SECTION ── */
.section-faq {
  background: var(--color-surface);
}
.faq-list { max-width: 720px; }
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  transition: color 0.2s;
  gap: var(--sp-4);
}
.faq-question:hover { color: var(--color-accent); }
.faq-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(161, 186, 229, 0.36);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0;
  color: transparent;
  background: rgba(255,255,255,0.08);
  position: relative;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 1.5px;
  border-radius: 999px;
  background: rgba(236, 244, 255, 0.95);
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item.open .faq-icon {
  background: rgba(37,99,235,0.28);
  border-color: rgba(124, 170, 255, 0.62);
}
.faq-item.open .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0.35);
}
.faq-answer {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: var(--sp-5);
}

/* ── CONTACTS SECTION ── */
.section-contacts {
  background: var(--color-bg-base);
}
.contacts-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-16);
  align-items: start;
}
.contacts-info h3 { margin-bottom: var(--sp-8); }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.contact-item-icon {
  width: 40px;
  height: 40px;
  background: var(--color-accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.contact-item-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}
.contact-item-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-primary);
}
.contact-item-value a {
  color: var(--color-text-primary);
  transition: color 0.2s;
}
.contact-item-value a:hover { color: var(--color-accent); }

/* Form */
.contact-form {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--sp-10);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}
.form-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: var(--sp-8);
  color: var(--color-text-primary);
  text-align: center;
}
.form-group {
  margin-bottom: var(--sp-5);
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: var(--sp-2);
  letter-spacing: 0.02em;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--color-text-primary);
  background: var(--color-surface);
  transition: var(--transition-base);
  outline: none;
}
.form-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}
.form-input::placeholder { color: var(--color-text-muted); }
textarea.form-input {
  resize: vertical;
  min-height: 120px;
}
.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 15px;
  margin-top: var(--sp-3);
  justify-content: center;
  text-align: center;
}
.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: var(--sp-3);
}
.form-note a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  font-weight: 500;
}
.form-note a:hover {
  color: #8fc2ff;
}
.form-success {
  display: none;
  background: rgba(22, 163, 74, 0.14);
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: var(--radius-sm);
  padding: var(--sp-4) var(--sp-5);
  font-size: 14px;
  color: #86EFAC;
  text-align: center;
  margin-top: var(--sp-4);
}
.form-error {
  display: none;
  background: rgba(185, 28, 28, 0.14);
  border: 1px solid rgba(248, 113, 113, 0.4);
  border-radius: var(--radius-sm);
  padding: var(--sp-4) var(--sp-5);
  font-size: 14px;
  color: #FCA5A5;
  text-align: center;
  margin-top: var(--sp-4);
}

/* ── FINAL CTA ── */
.section-final-cta {
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.final-cta-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.final-cta-inner h2 {
  color: var(--color-text-inverse);
  margin-bottom: var(--sp-4);
}
.final-cta-inner p {
  font-size: 17px;
  color: var(--color-text-dim);
  margin-bottom: var(--sp-8);
}
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
  margin-bottom: var(--sp-6);
}
.final-cta-phone {
  font-size: 14px;
  color: var(--color-text-dim);
}
.final-cta-phone a {
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  transition: color 0.2s;
}
.final-cta-phone a:hover { color: #fff; }

/* ── FOOTER ── */
.footer {
  background: var(--color-navy-dark);
  padding: var(--sp-16) 0 var(--sp-8);
  border-top: 1px solid var(--color-border-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) minmax(180px, 0.95fr) minmax(220px, 1.05fr) minmax(230px, 1.15fr);
  column-gap: clamp(28px, 3.2vw, 84px);
  row-gap: var(--sp-10);
  margin-bottom: var(--sp-12);
  align-items: start;
}
.footer-brand {}
.footer-logo-mark {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.footer-brand-desc {
  font-size: 13px;
  color: var(--color-text-dim);
  margin-top: var(--sp-3);
  line-height: 1.65;
  max-width: 320px;
}
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--sp-5);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.60);
  transition: color 0.2s;
  line-height: 1.35;
}
.footer-links a:hover { color: #fff; }
.footer-contact-item {
  margin-bottom: var(--sp-4);
}
.footer-contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
  margin-bottom: 2px;
}
.footer-contact-value {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}
.footer-contact-value a {
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-contact-value a:hover { color: #fff; }
.footer-bottom {
  padding-top: var(--sp-8);
  border-top: 1px solid var(--color-border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}
.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.30);
}
.footer-bottom-links {
  display: flex;
  gap: var(--sp-6);
  margin-left: auto;
  justify-content: flex-end;
}
.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.30);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.65); }

/* ── FLOATING CONTACT ── */
.floating-contact {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-3);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.floating-contact.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.floating-btn:hover { transform: scale(1.1); box-shadow: var(--shadow-lg); }
.floating-btn-phone { background: var(--color-accent); color: #fff; }
.floating-btn-wa { background: #25D366; color: #fff; }
.floating-label {
  background: var(--color-navy-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

/* ── BREADCRUMBS ── */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: var(--sp-6);
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--color-text-muted); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--color-accent); }
.breadcrumbs-sep { color: var(--color-border); }
.breadcrumbs-current { color: var(--color-text-secondary); }

/* Breadcrumbs dark */
.breadcrumbs.dark a { color: rgba(255,255,255,0.40); }
.breadcrumbs.dark a:hover { color: rgba(255,255,255,0.75); }
.breadcrumbs.dark .breadcrumbs-sep { color: rgba(255,255,255,0.15); }
.breadcrumbs.dark .breadcrumbs-current { color: rgba(255,255,255,0.65); }

/* ── PAGE HERO (mini) ── */
.page-hero {
  background: var(--color-navy-dark);
  padding: calc(var(--header-height) + 48px) 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 90% 50%, rgba(37,99,235,0.12) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
}
.page-hero .breadcrumbs { position: relative; z-index: 1; }
.page-hero h1 { position: relative; z-index: 1; color: var(--color-text-inverse); margin-bottom: var(--sp-4); }
.page-hero-desc {
  position: relative;
  z-index: 1;
  font-size: 17px;
  color: var(--color-text-dim);
  max-width: 640px;
  line-height: 1.7;
}
.back-to-catalog {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 var(--sp-5);
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(173, 195, 230, 0.38);
  background: rgba(7, 14, 28, 0.46);
  color: rgba(237, 246, 255, 0.86);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  transition: var(--transition-base);
}
.back-to-catalog::before {
  content: '←';
  font-size: 15px;
  line-height: 1;
}
.back-to-catalog:hover {
  color: #fff;
  border-color: rgba(78, 140, 255, 0.72);
  background: rgba(12, 27, 53, 0.68);
}

/* ── LEGAL PAGE ── */
.section-legal {
  background: var(--color-surface);
}
.legal-card {
  background: linear-gradient(145deg, rgba(20, 34, 59, 0.95), rgba(13, 24, 44, 0.95));
  border: 1px solid rgba(120, 154, 216, 0.24);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 42px);
}
.legal-card h2 {
  color: var(--color-text-primary);
  font-size: clamp(24px, 3.2vw, 38px);
  margin-bottom: var(--sp-6);
}
.legal-card p {
  font-size: 18px;
  line-height: 1.62;
  color: rgba(225, 236, 252, 0.9);
}
.legal-card a {
  color: #7fb4ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── PRODUCT CARD ── */
.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--color-border-accent);
}
.product-card-header {
  background: var(--color-surface-dark);
  padding: var(--sp-6) var(--sp-6) var(--sp-5);
  position: relative;
}
.product-card-header:hover { background: linear-gradient(135deg, #111C33, #1A2744); }
.product-card-model {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-2);
}
.product-card-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
}
.product-card-body {
  padding: var(--sp-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--sp-2);
}
.product-card-desc {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--sp-4);
  flex: 1;
}
.product-specs-mini {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
  padding: var(--sp-4);
  background: var(--color-surface-gray);
  border-radius: var(--radius-sm);
}
.spec-mini-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.spec-mini-label { color: var(--color-text-muted); }
.spec-mini-value { font-weight: 600; color: var(--color-text-primary); }
.product-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
  margin-top: auto;
}
.product-card:hover .product-card-link { gap: 8px; }

/* Category product pages: horizontal machine cards */
body.category-machine-page .products-grid,
body.category-machine-page .products-grid-single,
body.category-machine-page .product-grid,
body.category-machine-page .product-grid-2x2,
body.category-machine-page .product-single-layout {
  display: flex !important;
  flex-direction: column;
  gap: clamp(22px, 2.2vw, 34px);
}
body.category-machine-page .product-single-layout > * {
  width: 100%;
}
body.category-machine-page .product-card,
body.category-machine-page .product-card-full {
  border-radius: 24px;
  border-color: rgba(78, 140, 255, 0.22);
  background: linear-gradient(160deg, rgba(12, 21, 38, 0.96) 0%, rgba(9, 16, 31, 0.96) 100%);
}
body.category-machine-page .product-card.hash-target,
body.category-machine-page .product-card-full.hash-target {
  border-color: rgba(117, 176, 255, 0.84);
  box-shadow:
    0 0 0 1px rgba(95, 154, 255, 0.56),
    0 16px 34px rgba(17, 56, 119, 0.4);
}
body.category-machine-page .product-card-header {
  padding: clamp(20px, 2vw, 30px) clamp(22px, 2.2vw, 34px) clamp(14px, 1.2vw, 20px);
  background: linear-gradient(120deg, rgba(8, 15, 29, 0.96) 0%, rgba(10, 19, 36, 0.96) 100%);
}
body.category-machine-page .product-card-model {
  font-size: clamp(30px, 2.2vw, 42px);
}
body.category-machine-page .product-card-body {
  display: grid;
  grid-template-columns: minmax(260px, 34%) minmax(0, 1fr);
  gap: clamp(20px, 2vw, 34px);
  align-items: start;
  padding: clamp(20px, 2.2vw, 36px);
}
body.category-machine-page .product-card-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
body.category-machine-page .product-card-media {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
body.category-machine-page .product-card-media-frame {
  position: relative;
  min-height: clamp(320px, 40vw, 520px);
  border-radius: 20px;
  border: 1px solid rgba(93, 126, 181, 0.35);
  background:
    radial-gradient(circle at 18% 20%, rgba(94, 145, 255, 0.16) 0%, transparent 45%),
    linear-gradient(180deg, rgba(10, 21, 42, 0.9) 0%, rgba(8, 16, 30, 0.92) 100%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: clamp(12px, 1.4vw, 18px);
  gap: 10px;
}
body.category-machine-page .product-card-media-main {
  width: 100%;
  height: clamp(320px, 40vw, 520px);
  max-height: 100%;
  border-radius: 16px;
  border: none;
  background: #0D1628;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
  object-fit: contain;
}
body.category-machine-page .product-card-media-controls {
  position: static;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 2px;
  pointer-events: auto;
}
body.category-machine-page .product-card-media-nav {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(161, 186, 229, 0.45);
  background: rgba(10, 18, 34, 0.72);
  color: #E9F1FF;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  pointer-events: auto;
}
body.category-machine-page .product-card-media-nav.prev {
  justify-self: start;
}
body.category-machine-page .product-card-media-nav.next {
  justify-self: end;
}
body.category-machine-page .product-card-media-nav:hover {
  border-color: rgba(78, 140, 255, 0.85);
  background: rgba(18, 31, 56, 0.88);
}
body.category-machine-page .product-card-media-counter {
  min-width: 72px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(161, 186, 229, 0.3);
  background: rgba(10, 18, 34, 0.58);
  color: rgba(237, 245, 255, 0.88);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
body.category-machine-page .product-card-media-placeholder {
  width: 100%;
  height: clamp(320px, 40vw, 520px);
  max-height: 100%;
  border-radius: 16px;
  border: 1px dashed rgba(161, 186, 229, 0.45);
  background:
    linear-gradient(180deg, rgba(19, 33, 61, 0.62) 0%, rgba(12, 21, 39, 0.82) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 24px;
}
body.category-machine-page .product-card-media-code {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 28px);
  font-weight: 800;
  color: #F2F7FF;
  letter-spacing: 0.01em;
}
body.category-machine-page .product-card-media-note {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(220, 231, 249, 0.72);
}
body.category-machine-page .product-card-media-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
body.category-machine-page .product-card-media-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  border: 1px solid rgba(161, 186, 229, 0.28);
  background: #0D1628;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.75;
  transition: var(--transition-base);
}
body.category-machine-page .product-card-media-thumb.active {
  border-color: rgba(78, 140, 255, 0.7);
  opacity: 1;
  transform: translateY(-1px);
}
body.category-machine-page .product-card-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.category-machine-page .product-card-content .product-specs-mini {
  margin-top: var(--sp-3);
}
body.category-machine-page .product-card-content .specs-section {
  margin: var(--sp-6) 0 var(--sp-2);
}
body.category-machine-page .product-card-content .product-card-link {
  margin-top: var(--sp-5);
}

@media (max-width: 1080px) {
  body.category-machine-page .product-card-body {
    grid-template-columns: 1fr;
  }
  body.category-machine-page .product-card-media-frame {
    min-height: 300px;
  }
  body.category-machine-page .product-card-media-main {
    height: 300px;
  }
  body.category-machine-page .product-card-media-placeholder {
    height: 300px;
  }
}
@media (max-width: 768px) {
body.category-machine-page .product-card,
body.category-machine-page .product-card-full {
  border-radius: 18px;
}
  body.category-machine-page .product-card-body {
    padding: 16px;
  }
}

/* ── SPECS TABLE ── */
.specs-section { margin: var(--sp-10) 0; }
.specs-section-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 2px solid var(--color-border);
}
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--color-border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table tr:nth-child(even) { background: var(--color-surface-gray); }
.specs-table td {
  padding: var(--sp-3) var(--sp-4);
  font-size: 14px;
}
.specs-table td:first-child {
  color: var(--color-text-secondary);
  font-weight: 500;
  width: 45%;
}
.specs-table td:last-child {
  color: var(--color-text-primary);
  font-weight: 600;
}

/* Tabs */
.tabs {
  margin-bottom: var(--sp-6);
}
.tab-list {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--color-border);
  overflow-x: auto;
}
.tab-btn {
  padding: var(--sp-3) var(--sp-5);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.tab-btn:hover { color: var(--color-text-primary); }
.tab-btn.active {
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Product Page Header */
.product-page-header {
  background: var(--color-navy-dark);
  padding: calc(var(--header-height) + 40px) 0 48px;
  position: relative;
}
.product-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(37,99,235,0.15) 0%, transparent 60%);
}
.product-page-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-10);
  align-items: start;
}
.product-page-model {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 800;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  margin-bottom: var(--sp-3);
  letter-spacing: -0.03em;
  user-select: none;
}
.product-page-title { color: #fff; margin-bottom: var(--sp-4); }
.product-page-desc {
  font-size: 17px;
  color: var(--color-text-dim);
  line-height: 1.7;
  max-width: 560px;
}
.product-page-cta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: flex-end;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── UTILITY ── */
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }
.text-center { text-align: center; }
.w-full { width: 100%; }

/* Divider */
.divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--sp-8) 0;
}

/* Tag cloud */
.tag-list { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.tag {
  display: inline-flex;
  padding: 5px 12px;
  background: var(--color-surface-gray);
  color: var(--color-text-secondary);
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  transition: var(--transition-base);
}
.tag:hover {
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-color: var(--color-border-accent);
}

/* Related categories strip */
.related-strip {
  background: var(--color-surface-gray);
  border-top: 1px solid var(--color-border);
  padding: var(--sp-16) 0;
}
.related-strip h3 { margin-bottom: var(--sp-8); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
.related-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  transition: var(--transition-base);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.related-card:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: var(--shadow-xs);
  transform: translateY(-2px);
}

/* Contacts page map area */
.map-area {
  background: var(--color-surface-gray);
  border-radius: var(--radius-lg);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.map-placeholder {
  text-align: center;
  color: var(--color-text-muted);
}

/* ──────────────────────────────────
   RESPONSIVE
   ────────────────────────────────── */
@media (max-width: 1200px) {
  :root { --max-width: 100%; }
  .container { padding: 0 var(--sp-10); }
  .header-actions { margin-right: 0; }
  .catalog-grid { grid-template-columns: repeat(4, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-10); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
  .process-steps::before { display: none; }
}

@media (max-width: 1024px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .positioning-content { grid-template-columns: 1fr; gap: var(--sp-10); }
  .contacts-inner { grid-template-columns: 1fr; gap: var(--sp-10); }
  .cta-block-inner { grid-template-columns: 1fr; gap: var(--sp-6); }
  .cta-block-actions { align-items: flex-start; }
  .grid-2-3 { grid-template-columns: 1fr; }
  .product-page-inner { grid-template-columns: 1fr; }
  .product-page-cta { align-items: flex-start; flex-direction: row; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 var(--sp-5); }
  .section { padding: var(--sp-16) 0; }
  .section-lg { padding: var(--sp-20) 0; }

  .nav { display: none; }
  .header-phone { display: none; }
  .header-actions .btn { display: none; }
  .header-actions .lang-switch { display: none; }
  .hamburger { display: flex; }

  .hero-orb, .hero-orb-ring { display: none; }
  .hero-content { padding-top: calc(var(--header-height) + 24px); }
  .hero-stats { gap: var(--sp-5); }

  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: var(--sp-4); }

  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-bottom { flex-direction: column; gap: var(--sp-4); text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }

  .floating-contact { bottom: 20px; right: 20px; }

  .product-page-model { font-size: 48px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card {
    padding: var(--sp-5);
    gap: var(--sp-4);
  }
  .stat-card-icon {
    width: 88px;
    height: 88px;
    flex-basis: 88px;
    border-radius: 16px;
  }
  .stat-card-icon-svg {
    width: 50px;
    height: 50px;
  }
  .stat-card-title { font-size: 18px; }
}

@media (max-width: 480px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .final-cta-actions { flex-direction: column; }
  .final-cta-actions .btn { width: 100%; justify-content: center; }
  .related-grid { grid-template-columns: 1fr; }
  .contact-form { padding: var(--sp-6); }
  .stat-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .stat-card-text { font-size: 14px; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* SVG Icons */
.icon { width: 24px; height: 24px; }
.icon-sm { width: 20px; height: 20px; }

/* Inline highlight */
mark {
  background: var(--color-accent-light);
  color: var(--color-accent);
  padding: 0 4px;
  border-radius: 3px;
}
