/* ============================================
   FRANDER — публичный сайт frander.ru
   Фирменный стиль: era.frander.ru + b2b.frander.ru
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800;900&display=swap');

:root {
  --black: #000000;
  --dark: #0B0F14;
  --dark-2: #11161D;
  --dark-3: #161C25;
  --navy: #2E3D59;
  --navy-deep: #1A2438;
  --navy-soft: #243349;
  --lime: #7EA802;
  --lime-bright: #9BC81A;
  --lime-glow: rgba(126, 168, 2, 0.4);
  --white: #FFFFFF;
  --grey-100: #E5E5E5;
  --grey-200: #D1D5DB;
  --grey-300: #B8BCC4;
  --grey-400: #8A93A0;
  --grey-500: #6A727F;
  --grey-700: #2A313C;
  --grey-800: #1B2027;
  --red: #E53935;
  --amber: #F59E0B;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --radius-pill: 100px;

  --container: 1240px;
  --container-narrow: 960px;
  --gap: 24px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-lime: 0 8px 32px -8px var(--lime-glow);
  --shadow-card: 0 12px 48px -16px rgba(0,0,0,0.6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--white); text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--lime-bright); }

img { display: block; max-width: 100%; }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
}

button { cursor: pointer; }

/* === HEADER === */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 18px var(--gap);
  display: flex; align-items: center; gap: 32px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 22px; letter-spacing: 0.04em;
  color: var(--white);
}
.logo-mark {
  width: 28px; height: 28px;
  background: var(--lime);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}
.logo-text { color: var(--white); }

.nav { display: flex; gap: 28px; margin-left: auto; align-items: center; }
.nav a {
  font-weight: 500; font-size: 15px;
  color: var(--grey-300);
  position: relative;
}
.nav a:hover, .nav a.active { color: var(--white); }
.nav a.active::after {
  content: ''; position: absolute; bottom: -8px; left: 0; right: 0;
  height: 2px; background: var(--lime); border-radius: 2px;
}

.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: var(--lime);
  color: var(--black);
  font-weight: 700; font-size: 14px;
  border-radius: var(--radius-pill);
  transition: all .3s var(--ease);
}
.header-cta:hover {
  background: var(--lime-bright);
  color: var(--black);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lime);
}

.burger { display: none; }

/* === CONTAINER === */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gap); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--gap); }

/* === SECTIONS === */
section { padding: 100px 0; position: relative; }
section.compact { padding: 64px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  color: var(--lime); text-transform: uppercase;
  padding: 8px 16px;
  background: rgba(126, 168, 2, 0.1);
  border: 1px solid rgba(126, 168, 2, 0.3);
  border-radius: var(--radius-pill);
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; background: var(--lime); border-radius: 50%;
  box-shadow: 0 0 8px var(--lime);
}

h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(40px, 5.5vw, 72px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2; }
h4 { font-size: 20px; line-height: 1.3; }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header .eyebrow { margin-bottom: 20px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--grey-300); font-size: 18px; max-width: 720px; margin: 0 auto; }

.lime-text { color: var(--lime-bright); }
.muted { color: var(--grey-400); }

/* === HERO === */
.hero {
  padding: 80px 0 100px;
  position: relative;
  background:
    radial-gradient(circle at 70% 30%, rgba(126,168,2,0.12), transparent 50%),
    radial-gradient(circle at 30% 70%, rgba(46,61,89,0.3), transparent 60%),
    var(--black);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 80px; align-items: center;
}
.hero-content .eyebrow { margin-bottom: 24px; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .lime-accent { color: var(--lime-bright); }
.hero-sub {
  font-size: 19px; line-height: 1.55;
  color: var(--grey-200); max-width: 560px;
  margin-bottom: 36px;
}

.hero-stats { display: flex; gap: 32px; margin-bottom: 36px; flex-wrap: wrap; }
.stat-block { display: flex; flex-direction: column; gap: 4px; }
.stat-block strong { font-size: 32px; font-weight: 800; color: var(--lime-bright); line-height: 1; }
.stat-block span { font-size: 13px; color: var(--grey-400); text-transform: uppercase; letter-spacing: 0.08em; }

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  font-weight: 700; font-size: 15px;
  border-radius: var(--radius-pill);
  transition: all .3s var(--ease);
  cursor: pointer;
}
.btn-primary {
  background: var(--lime); color: var(--black);
}
.btn-primary:hover {
  background: var(--lime-bright); color: var(--black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lime);
}
.btn-secondary {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-secondary:hover {
  border-color: var(--lime);
  color: var(--lime-bright);
}
.btn-ghost {
  background: transparent; color: var(--grey-200);
  padding: 12px 0;
}
.btn-ghost:hover { color: var(--lime-bright); }

/* === HERO VISUAL === */
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-card);
}
.hero-visual img, .hero-visual video {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.7));
}
.hero-badge {
  position: absolute; left: 24px; bottom: 24px; right: 24px; z-index: 2;
  display: flex; flex-direction: column; gap: 8px;
}
.hero-badge strong { font-size: 22px; font-weight: 800; color: var(--white); }
.hero-badge span { font-size: 13px; color: var(--grey-200); }

/* === TRUST BAR === */
.trustbar {
  padding: 56px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: var(--dark);
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  text-align: center;
}
.trust-item { display: flex; flex-direction: column; gap: 8px; }
.trust-item strong { font-size: 36px; font-weight: 800; color: var(--lime-bright); }
.trust-item span { font-size: 14px; color: var(--grey-300); }

/* === CARDS === */
.card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all .3s var(--ease);
}
.card:hover {
  border-color: rgba(126, 168, 2, 0.4);
  transform: translateY(-2px);
}

.card-icon {
  width: 56px; height: 56px;
  background: rgba(126, 168, 2, 0.12);
  border: 1px solid rgba(126, 168, 2, 0.3);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  font-size: 26px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--grey-300); font-size: 15px; line-height: 1.6; }

/* === GRID HELPERS === */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* === COMPARISON TABLE === */
.comparison {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.comparison table { width: 100%; border-collapse: collapse; }
.comparison th, .comparison td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.comparison th {
  background: var(--dark);
  font-weight: 700; font-size: 15px;
  color: var(--grey-300);
  text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 12px;
}
.comparison th.us { color: var(--lime-bright); }
.comparison td { font-size: 15px; color: var(--grey-200); }
.comparison td:first-child { color: var(--white); font-weight: 600; }
.comparison td.us {
  background: rgba(126,168,2,0.05);
  color: var(--white);
  font-weight: 600;
}
.comparison tr:last-child td { border-bottom: none; }
.check { color: var(--lime-bright); font-weight: 800; }
.cross { color: var(--grey-500); }

/* === MODEL CARDS === */
.model-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all .3s var(--ease);
  display: flex; flex-direction: column;
}
.model-card:hover {
  border-color: rgba(126, 168, 2, 0.4);
  transform: translateY(-4px);
}
.model-card-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy-deep), var(--dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
  color: var(--grey-700);
  position: relative;
}
.model-card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--lime);
  color: var(--black);
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.model-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.model-card h4 { margin-bottom: 4px; }
.model-card-code { font-size: 13px; color: var(--grey-400); margin-bottom: 16px; }
.model-prices { display: flex; gap: 16px; margin-top: auto; align-items: baseline; }
.model-prices .opt {
  font-size: 22px; font-weight: 800; color: var(--lime-bright);
}
.model-prices .rrc {
  font-size: 13px; color: var(--grey-400);
}
.model-prices .rrc strike { color: var(--grey-500); }

/* === FACTORY SECTION === */
.factory-hero {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  margin-bottom: 80px;
}
.factory-floors {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.floor-row {
  display: grid; grid-template-columns: 60px 1fr;
  gap: 24px; align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.floor-row:last-child { border-bottom: none; }
.floor-num {
  font-size: 28px; font-weight: 800; color: var(--lime);
  text-align: center;
}
.floor-name { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.floor-rooms { font-size: 13px; color: var(--grey-400); line-height: 1.5; }

.factory-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 48px;
}
.factory-gallery a {
  display: block;
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}
.factory-gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.factory-gallery a:hover img { transform: scale(1.05); }

/* === PORTAL DEMO === */
.portal-demo {
  background: linear-gradient(135deg, var(--dark-2), var(--dark));
  border: 1px solid rgba(126, 168, 2, 0.2);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 64px; align-items: center;
  position: relative;
  overflow: hidden;
}
.portal-demo::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(126,168,2,0.1), transparent 70%);
  pointer-events: none;
}
.portal-demo h2 { margin-bottom: 20px; }
.portal-demo p { color: var(--grey-200); font-size: 18px; margin-bottom: 24px; }
.portal-features { list-style: none; margin-bottom: 32px; }
.portal-features li {
  padding: 12px 0; padding-left: 28px;
  position: relative;
  color: var(--grey-200); font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.portal-features li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--lime-bright); font-weight: 800;
}

.portal-mockup {
  background: var(--black);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}
.portal-mockup-header {
  display: flex; gap: 8px; margin-bottom: 20px;
}
.portal-mockup-header span {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--grey-700);
}
.portal-mockup-row {
  display: grid; grid-template-columns: 40px 1fr 70px 90px;
  gap: 12px; align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 13px;
}
.portal-mockup-row .ic {
  width: 36px; height: 36px;
  background: var(--dark-2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.portal-mockup-row .qty {
  color: var(--lime-bright); font-weight: 700; text-align: right;
}
.portal-mockup-row .status {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--radius-pill);
  text-align: center;
}
.status.in-stock { background: rgba(126,168,2,0.2); color: var(--lime-bright); }
.status.shipping { background: rgba(245,158,11,0.2); color: var(--amber); }

/* === CASE M.VIDEO === */
.case-mvideo {
  background: linear-gradient(135deg, var(--navy-deep), var(--dark));
  border-radius: var(--radius-lg);
  padding: 64px;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 64px; align-items: center;
  border: 1px solid rgba(255,255,255,0.06);
}
.case-mvideo .eyebrow { margin-bottom: 24px; }
.case-mvideo h2 { margin-bottom: 24px; }
.case-mvideo p { color: var(--grey-200); font-size: 18px; margin-bottom: 32px; }
.case-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-stat strong {
  display: block; font-size: 48px; font-weight: 800;
  color: var(--lime-bright); line-height: 1; margin-bottom: 6px;
}
.case-stat span { font-size: 14px; color: var(--grey-300); }

.case-visual {
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  aspect-ratio: 1/1;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.case-visual-placeholder {
  text-align: center; padding: 32px;
  color: var(--grey-500); font-size: 13px;
}
.case-visual-placeholder .ph-icon { font-size: 64px; margin-bottom: 16px; }

/* === STEPS / PROCESS === */
.steps {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  position: relative;
}
.steps::before {
  content: ''; position: absolute; top: 30px; left: 5%; right: 5%;
  height: 1px; background: linear-gradient(90deg, transparent, var(--lime), transparent);
  z-index: 0;
}
.step {
  text-align: center;
  position: relative; z-index: 1;
}
.step-num {
  width: 60px; height: 60px;
  background: var(--dark-2);
  border: 2px solid var(--lime);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-weight: 800; font-size: 22px;
  color: var(--lime-bright);
}
.step h4 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--grey-400); }

/* === FAQ === */
.faq-item {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--dark-2);
}
.faq-item summary {
  padding: 24px 28px;
  cursor: pointer;
  font-weight: 600; font-size: 17px;
  color: var(--white);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--lime-bright); font-size: 24px; font-weight: 400;
  transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 28px 24px;
  color: var(--grey-300); font-size: 15px; line-height: 1.6;
}

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, var(--lime), var(--lime-bright));
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  color: var(--black);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.2), transparent 60%);
}
.cta-banner h2, .cta-banner p { position: relative; }
.cta-banner h2 { margin-bottom: 16px; color: var(--black); }
.cta-banner p { margin-bottom: 32px; font-size: 18px; color: var(--dark); max-width: 720px; margin-inline: auto; }
.cta-banner .btn-primary { background: var(--black); color: var(--lime-bright); position: relative; }
.cta-banner .btn-primary:hover { background: var(--dark-2); color: var(--lime-bright); }
.cta-banner .btn-secondary { color: var(--black); border-color: rgba(0,0,0,0.3); position: relative; }
.cta-banner .btn-secondary:hover { border-color: var(--black); color: var(--black); }

/* === FORM === */
.form {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 13px; color: var(--grey-400);
  text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600;
}
.form-field input, .form-field textarea, .form-field select {
  padding: 14px 18px;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 15px;
  transition: border-color .3s var(--ease);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--lime);
}
.form-consent { font-size: 12px; color: var(--grey-500); margin: 16px 0; line-height: 1.5; }
.form-consent a { color: var(--grey-300); text-decoration: underline; }

/* === FOOTER === */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 32px;
  margin-top: 100px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px; margin-bottom: 48px;
}
.footer-col h5 {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--grey-400); margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--grey-200); font-size: 14px; }
.footer-col a:hover { color: var(--lime-bright); }
.footer-about p { color: var(--grey-300); font-size: 14px; line-height: 1.6; margin: 16px 0; }
.footer-contacts { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-contacts a { color: var(--grey-200); }

.footer-bottom {
  display: flex; justify-content: space-between; gap: 24px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px; color: var(--grey-500);
  flex-wrap: wrap;
}
.footer-bottom a { color: var(--grey-400); }

/* === BREADCRUMBS === */
.breadcrumbs {
  padding: 24px 0;
  font-size: 13px; color: var(--grey-400);
}
.breadcrumbs a { color: var(--grey-300); }
.breadcrumbs a:hover { color: var(--lime-bright); }
.breadcrumbs span { margin: 0 8px; color: var(--grey-700); }

/* === PLACEHOLDER NOTICE === */
.placeholder-notice {
  background: rgba(245,158,11,0.08);
  border: 1px dashed rgba(245,158,11,0.4);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: var(--amber);
  font-size: 13px;
  margin: 16px 0;
}

/* === VIDEO TILE === */
.video-tile {
  aspect-ratio: 16/9;
  background: var(--dark-2);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.video-tile video {
  width: 100%; height: 100%; object-fit: cover;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-grid, .factory-hero, .portal-demo, .case-mvideo {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .grid-3, .grid-4, .factory-gallery, .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps::before { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .header-cta { display: none; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--dark-2); flex-direction: column; padding: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .nav.open { display: flex; }
  .burger {
    display: flex; flex-direction: column; gap: 5px;
    width: 28px; height: 24px; justify-content: center;
    background: transparent; border: none; padding: 0;
    margin-left: auto; cursor: pointer;
  }
  .burger span { width: 100%; height: 2px; background: var(--white); }

  .grid-2, .grid-3, .grid-4, .factory-gallery, .steps {
    grid-template-columns: 1fr;
  }
  .form-row { grid-template-columns: 1fr; }
  .portal-demo, .case-mvideo { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .comparison { font-size: 13px; }
  .comparison th, .comparison td { padding: 12px 14px; }
  .case-mvideo h2, .portal-demo h2 { font-size: 28px; }
  .cta-banner { padding: 40px 24px; }
}

/* ============ Section variants ============ */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--dark-2); }

/* ============ CTA banner content layout ============ */
.cta-content { max-width: 760px; margin: 0 auto; text-align: center; position: relative; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* ============ Check list ============ */
.check-list { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--grey-200);
  font-size: 15px;
  line-height: 1.55;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--lime-bright);
  font-weight: 800;
  font-size: 14px;
}

/* ============ Certificates page ============ */
.cert-grid { gap: 40px; }
.cert-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, transform .2s ease;
}
.cert-card:hover { border-color: var(--lime); transform: translateY(-2px); }
.cert-preview {
  position: relative;
  display: block;
  background: var(--dark-3, #0f1011);
  padding: 32px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cert-preview img {
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.cert-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--lime);
  color: var(--black);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 6px;
}
.cert-info { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 16px; }
.cert-info h3 { font-size: 20px; line-height: 1.3; word-break: break-word; }
.cert-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.cert-meta li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.cert-meta li:last-child { border-bottom: none; }
.cert-meta li span { color: var(--grey-400); flex-shrink: 0; }
.cert-meta li strong { color: var(--white); text-align: right; font-weight: 600; }
.cert-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.cert-actions .btn { padding: 12px 18px; font-size: 14px; }

/* ============ Catalog grid ============ */
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.catalog-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}
.filter-chip {
  background: var(--dark-2);
  border: 1px solid var(--border);
  color: var(--grey-200);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}
.filter-chip:hover, .filter-chip.active {
  border-color: var(--lime);
  color: var(--lime-bright);
  background: rgba(126,168,2,0.08);
}

/* ============ Big highlight numbers (case page) ============ */
.case-hero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 24px; margin: 40px 0; }
.case-hero-stats .stat-block strong { font-size: 48px; }

/* ============ Quote / testimonial block ============ */
.quote-block {
  background: var(--dark-2);
  border-left: 4px solid var(--lime);
  border-radius: 12px;
  padding: 32px 40px;
  margin: 32px 0;
}
.quote-block blockquote {
  font-size: 20px;
  line-height: 1.5;
  color: var(--white);
  margin: 0 0 16px;
  font-style: italic;
}
.quote-block cite { font-size: 14px; color: var(--grey-300); font-style: normal; }

/* ============ Process / timeline ============ */
.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 820px;
  margin: 0 auto;
}
.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-date {
  font-size: 14px;
  font-weight: 700;
  color: var(--lime-bright);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.timeline-content h4 { margin-bottom: 6px; }
.timeline-content p { color: var(--grey-300); font-size: 14px; }

/* ============ Mobile adjustments ============ */
@media (max-width: 720px) {
  .cert-grid { grid-template-columns: 1fr; }
  .cert-preview { padding: 20px; }
  .cert-preview img { max-height: 320px; }
  .cert-info { padding: 22px 20px 26px; }
  .cert-meta li { flex-direction: column; gap: 2px; align-items: flex-start; }
  .cert-meta li strong { text-align: left; }
  .quote-block { padding: 24px; }
  .quote-block blockquote { font-size: 16px; }
  .timeline-item { grid-template-columns: 1fr; gap: 4px; }
}

/* === HERO VIDEO === */
.hero-video {
  position: relative;
  min-height: 720px;
  padding: 100px 0 80px;
  overflow: hidden;
  background: var(--black);
  display: flex;
  align-items: center;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.75) 70%, rgba(0,0,0,0.95) 100%),
    radial-gradient(circle at 70% 30%, rgba(126,168,2,0.18), transparent 60%);
  z-index: 1;
}
.hero-content-wrap {
  position: relative;
  z-index: 2;
}
.hero-content-centered {
  max-width: 920px;
}
.hero-content-centered h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-content-centered .hero-sub {
  max-width: 720px;
  font-size: 19px;
  margin-bottom: 48px;
}

/* USP grid в hero */
.hero-usp {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.usp-block {
  background: rgba(20, 25, 35, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: all .3s var(--ease);
}
.usp-block:hover {
  border-color: rgba(126,168,2,0.35);
  background: rgba(20,25,35,0.8);
  transform: translateY(-2px);
}
.usp-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--lime-bright);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.usp-block strong {
  display: block;
  font-size: 21px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.2;
}
.usp-block span {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--grey-200);
}

@media (max-width: 960px) {
  .hero-video { min-height: 640px; padding: 60px 0; }
  .hero-usp { grid-template-columns: 1fr; gap: 16px; }
  .hero-content-centered h1 { font-size: 32px; }
}

/* === MVIDEO CASE BLOCK (отдельный блок, не hero) === */
.mvideo-case {
  padding: 80px 0;
  background: linear-gradient(135deg, #0a0d14 0%, #141821 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mvideo-case-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.mvideo-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #E30613;
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.mvideo-case h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin-bottom: 20px;
}
.mvideo-case h2 .accent { color: var(--lime-bright); }
.mvideo-case-text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--grey-200);
  margin-bottom: 28px;
}
.mvideo-case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.mvideo-case-stats .stat-block strong {
  font-size: 36px;
}
.mvideo-case-visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #1a1f2c, #0e1119);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mvideo-case-visual .placeholder {
  text-align: center;
  padding: 32px;
  color: var(--grey-400);
}
.mvideo-case-visual .placeholder strong {
  display: block;
  font-size: 17px;
  color: var(--white);
  margin-bottom: 6px;
}
@media (max-width: 960px) {
  .mvideo-case-grid { grid-template-columns: 1fr; gap: 40px; }
  .mvideo-case-stats { grid-template-columns: 1fr; gap: 16px; }
}


/* ============================================
   CATALOG — каталог кресел
   ============================================ */

/* Catalog index page */
.catalog-hero {
  padding: 64px 0 48px;
  text-align: center;
}
.catalog-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.catalog-hero .subtitle {
  color: var(--grey-400);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto 8px;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* Product card */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  color: var(--white);
  text-decoration: none;
}
.product-card:hover {
  border-color: var(--lime);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lime);
  color: var(--white);
}

.product-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--dark-3);
}
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease);
}
.product-card:hover .product-photo img {
  transform: scale(1.04);
}

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product-article {
  font-size: 11px;
  font-weight: 700;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.product-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
  margin: 4px 0;
}
.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
}
.price-current {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.price-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.product-margin {
  font-size: 13px;
  font-weight: 700;
  color: var(--lime-bright);
}
.product-stock {
  font-size: 13px;
  color: var(--grey-400);
  margin-top: 4px;
}
.product-stock strong { color: var(--white); }

/* Catalog CTA banner */
.catalog-cta-banner {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 40px 48px;
  text-align: center;
  margin-bottom: 80px;
}
.catalog-cta-banner p {
  color: var(--grey-300);
  margin-bottom: 20px;
}
.catalog-cta-banner .btn-primary {
  font-size: 16px;
  padding: 14px 32px;
}

/* ============================================
   PRODUCT DETAIL — страница модели
   ============================================ */

/* 2-column layout */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 0;
  align-items: start;
}
@media (max-width: 860px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Gallery */
.gallery-wrap { position: sticky; top: 88px; }

.gallery-main-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--dark-3);
  cursor: zoom-in;
  margin-bottom: 12px;
}
#gallery-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s var(--ease);
}
.gallery-main-wrap:hover #gallery-main { transform: scale(1.02); }

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
}
@media (max-width: 560px) {
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
}

.gallery-thumb {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--lime);
}

/* Product info panel */
.product-detail-info { }
.product-detail-article {
  font-size: 12px;
  font-weight: 700;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.product-detail-name {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.product-detail-price-block {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}
.price-big {
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
}
.price-rrc-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.product-detail-margin {
  font-size: 15px;
  font-weight: 700;
  color: var(--lime-bright);
  margin-bottom: 24px;
}

/* Action buttons */
.detail-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.btn-b2b {
  display: block;
  text-align: center;
  background: var(--lime);
  color: var(--black);
  font-weight: 800;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  transition: background .2s, transform .2s;
}
.btn-b2b:hover { background: var(--lime-bright); color: var(--black); transform: translateY(-1px); }
.btn-call {
  display: block;
  text-align: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  transition: border-color .2s, background .2s;
}
.btn-call:hover { border-color: var(--lime); background: rgba(126,168,2,0.07); color: var(--white); }

/* Short description */
.product-detail-short-desc {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  margin-top: 4px;
}
.product-detail-short-desc p {
  font-size: 14px;
  color: var(--grey-300);
  line-height: 1.65;
  margin-bottom: 10px;
}

/* Specs */
.specs-table {
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 16px;
}
.specs-group { margin-bottom: 16px; }
.specs-group-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--lime-bright);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.specs-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
}
.spec-label { color: var(--grey-400); flex-shrink: 0; }
.spec-value { color: var(--white); font-weight: 600; text-align: right; }

/* Stock badge */
.detail-stock {
  font-size: 13px;
  color: var(--grey-400);
  margin-top: 12px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  display: inline-block;
}
.detail-stock strong { color: var(--lime-bright); }

/* Full description section */
.product-full-section {
  padding: 48px 0 64px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.product-full-section h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
}
.product-full-desc p {
  font-size: 15px;
  color: var(--grey-200);
  line-height: 1.7;
  margin-bottom: 14px;
}

/* Trust blocks */
.trust-blocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 720px) {
  .trust-blocks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .trust-blocks { grid-template-columns: 1fr; }
}
.trust-block {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}
.trust-block-icon {
  font-size: 24px;
  margin-bottom: 8px;
}
.trust-block-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-300);
  line-height: 1.4;
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
#lb-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  display: block;
}
#lb-close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 32px;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  opacity: 0.7;
  transition: opacity .2s;
}
#lb-close:hover { opacity: 1; }
#lb-prev, #lb-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  font-size: 36px;
  color: var(--white);
  cursor: pointer;
  background: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.7;
  transition: opacity .2s, background .2s;
}
#lb-prev { left: 16px; }
#lb-next { right: 16px; }
#lb-prev:hover, #lb-next:hover { opacity: 1; background: rgba(126,168,2,0.3); }

/* Breadcrumb */
.breadcrumb {
  font-size: 13px;
  color: var(--grey-500);
  padding: 20px 0 0;
}
.breadcrumb a { color: var(--grey-400); }
.breadcrumb a:hover { color: var(--lime-bright); }
.breadcrumb span { margin: 0 6px; }


/* ============================================
   CATALOG — каталог кресел
   ============================================ */

/* Catalog index page */
.catalog-hero {
  padding: 64px 0 48px;
  text-align: center;
}
.catalog-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.catalog-hero .subtitle {
  color: var(--grey-400);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto 8px;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* Product card */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  color: var(--white);
  text-decoration: none;
}
.product-card:hover {
  border-color: var(--lime);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lime);
  color: var(--white);
}

.product-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--dark-3);
}
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease);
}
.product-card:hover .product-photo img {
  transform: scale(1.04);
}

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product-article {
  font-size: 11px;
  font-weight: 700;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.product-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
  margin: 4px 0;
}
.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
}
.price-current {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.price-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.product-margin {
  font-size: 13px;
  font-weight: 700;
  color: var(--lime-bright);
}
.product-stock {
  font-size: 13px;
  color: var(--grey-400);
  margin-top: 4px;
}
.product-stock strong { color: var(--white); }

/* Catalog CTA banner */
.catalog-cta-banner {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 40px 48px;
  text-align: center;
  margin-bottom: 80px;
}
.catalog-cta-banner p {
  color: var(--grey-300);
  margin-bottom: 20px;
}
.catalog-cta-banner .btn-primary {
  font-size: 16px;
  padding: 14px 32px;
}

/* ============================================
   PRODUCT DETAIL — страница модели
   ============================================ */

/* 2-column layout */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 0;
  align-items: start;
}
@media (max-width: 860px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Gallery */
.gallery-wrap { position: sticky; top: 88px; }

.gallery-main-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--dark-3);
  cursor: zoom-in;
  margin-bottom: 12px;
}
#gallery-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s var(--ease);
}
.gallery-main-wrap:hover #gallery-main { transform: scale(1.02); }

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
}
@media (max-width: 560px) {
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
}

.gallery-thumb {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--lime);
}

/* Product info panel */
.product-detail-info { }
.product-detail-article {
  font-size: 12px;
  font-weight: 700;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.product-detail-name {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.product-detail-price-block {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}
.price-big {
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
}
.price-rrc-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.product-detail-margin {
  font-size: 15px;
  font-weight: 700;
  color: var(--lime-bright);
  margin-bottom: 24px;
}

/* Action buttons */
.detail-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.btn-b2b {
  display: block;
  text-align: center;
  background: var(--lime);
  color: var(--black);
  font-weight: 800;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  transition: background .2s, transform .2s;
}
.btn-b2b:hover { background: var(--lime-bright); color: var(--black); transform: translateY(-1px); }
.btn-call {
  display: block;
  text-align: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  transition: border-color .2s, background .2s;
}
.btn-call:hover { border-color: var(--lime); background: rgba(126,168,2,0.07); color: var(--white); }

/* Short description */
.product-detail-short-desc {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  margin-top: 4px;
}
.product-detail-short-desc p {
  font-size: 14px;
  color: var(--grey-300);
  line-height: 1.65;
  margin-bottom: 10px;
}

/* Specs */
.specs-table {
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 16px;
}
.specs-group { margin-bottom: 16px; }
.specs-group-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--lime-bright);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.specs-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
}
.spec-label { color: var(--grey-400); flex-shrink: 0; }
.spec-value { color: var(--white); font-weight: 600; text-align: right; }

/* Stock badge */
.detail-stock {
  font-size: 13px;
  color: var(--grey-400);
  margin-top: 12px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  display: inline-block;
}
.detail-stock strong { color: var(--lime-bright); }

/* Full description section */
.product-full-section {
  padding: 48px 0 64px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.product-full-section h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
}
.product-full-desc p {
  font-size: 15px;
  color: var(--grey-200);
  line-height: 1.7;
  margin-bottom: 14px;
}

/* Trust blocks */
.trust-blocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 720px) {
  .trust-blocks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .trust-blocks { grid-template-columns: 1fr; }
}
.trust-block {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}
.trust-block-icon {
  font-size: 24px;
  margin-bottom: 8px;
}
.trust-block-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-300);
  line-height: 1.4;
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
#lb-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  display: block;
}
#lb-close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 32px;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  opacity: 0.7;
  transition: opacity .2s;
}
#lb-close:hover { opacity: 1; }
#lb-prev, #lb-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  font-size: 36px;
  color: var(--white);
  cursor: pointer;
  background: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.7;
  transition: opacity .2s, background .2s;
}
#lb-prev { left: 16px; }
#lb-next { right: 16px; }
#lb-prev:hover, #lb-next:hover { opacity: 1; background: rgba(126,168,2,0.3); }

/* Breadcrumb */
.breadcrumb {
  font-size: 13px;
  color: var(--grey-500);
  padding: 20px 0 0;
}
.breadcrumb a { color: var(--grey-400); }
.breadcrumb a:hover { color: var(--lime-bright); }
.breadcrumb span { margin: 0 6px; }

/* ============================================
   11 ПРИЧИН СТАТЬ ДИЛЕРОМ — манифест-лента
   ============================================ */
.manifesto {
  background: linear-gradient(180deg, var(--dark) 0%, var(--black) 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent, var(--grey-700) 8%, var(--grey-700) 92%, transparent);
  opacity: 0.4;
  pointer-events: none;
}
.manifesto .section-header { margin-bottom: 80px; }
.manifesto-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.manifesto-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--grey-700);
  align-items: start;
  transition: background 0.3s var(--ease);
}
.manifesto-item:last-child { border-bottom: 1px solid var(--grey-700); }
.manifesto-item:hover { background: rgba(126, 168, 2, 0.03); }
.manifesto-num {
  font-family: 'Manrope', sans-serif;
  font-size: 72px;
  font-weight: 800;
  line-height: 0.9;
  color: var(--lime-bright);
  letter-spacing: -0.04em;
  font-feature-settings: 'tnum';
  text-shadow: 0 0 24px var(--lime-glow);
}
.manifesto-body h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 10px;
}
.manifesto-body p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey-200);
  margin: 0;
}
.manifesto-body p .accent,
.manifesto-body h3 .accent {
  color: var(--lime-bright);
  font-weight: inherit;
}
.manifesto-cta {
  text-align: center;
  margin-top: 64px;
  padding: 32px;
  background: var(--dark-2);
  border: 1px solid var(--grey-700);
  border-radius: var(--radius-md);
}
.manifesto-cta p {
  font-size: 18px;
  color: var(--grey-100);
  margin-bottom: 20px;
  line-height: 1.5;
}
@media (max-width: 720px) {
  .manifesto { padding: 64px 0; }
  .manifesto .section-header { margin-bottom: 48px; }
  .manifesto-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0;
  }
  .manifesto-num {
    font-size: 48px;
  }
  .manifesto-body h3 { font-size: 20px; }
  .manifesto-body p { font-size: 15px; }
}
