/* ==========================================================
   ШкафВпаркинг.рф — Styles
   Modern, conversion-optimized landing page
   ========================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  --clr-primary: #2563EB;
  --clr-primary-dark: #1d4ed8;
  --clr-primary-light: #3b82f6;
  --clr-accent: #F59E0B;
  --clr-accent-dark: #d97706;

  --clr-dark: #0f172a;
  --clr-dark-2: #1e293b;
  --clr-dark-3: #334155;
  --clr-gray: #64748b;
  --clr-light: #f1f5f9;
  --clr-white: #ffffff;
  --clr-body: #475569;

  --ff-heading: 'Montserrat', sans-serif;
  --ff-body: 'Inter', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 14px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.18);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: .3s ease;
  --container: 1200px;
  --header-h: 72px;
}

/* ---------- Reset & Base ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--ff-body);
  font-size:16px;
  line-height:1.6;
  color:var(--clr-body);
  background:var(--clr-white);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
ul{list-style:none}
button{cursor:pointer;border:none;background:none;font:inherit;color:inherit}
input{font:inherit;color:inherit}
::selection{background:var(--clr-primary);color:#fff}

/* Reduced motion */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
  html{scroll-behavior:auto}
}

/* ---------- Utility ---------- */
.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}
.section{
  padding:100px 0;
}
.section--dark{
  background:var(--clr-dark);
  color:var(--clr-white);
}
.section__title{
  font-family:var(--ff-heading);
  font-size:clamp(28px,4vw,42px);
  font-weight:800;
  text-align:center;
  margin-bottom:12px;
  color:var(--clr-dark);
}
.section--dark .section__title{color:var(--clr-white)}
.section__subtitle{
  text-align:center;
  font-size:clamp(16px,2vw,18px);
  max-width:600px;
  margin:0 auto 56px;
  opacity:.75;
}
.section--dark .section__subtitle{opacity:.6}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 28px;
  border-radius:var(--radius-sm);
  font-weight:600;
  font-size:15px;
  transition:var(--transition);
  white-space:nowrap;
}
.btn--primary{
  background:var(--clr-primary);
  color:#fff;
}
.btn--primary:hover,.btn--primary:focus-visible{
  background:var(--clr-primary-dark);
  box-shadow:0 4px 16px rgba(37,99,235,.35);
}
.btn--accent{
  background:var(--clr-accent);
  color:var(--clr-dark);
}
.btn--accent:hover,.btn--accent:focus-visible{
  background:var(--clr-accent-dark);
  box-shadow:0 4px 16px rgba(245,158,11,.35);
}
.btn--outline{
  border:2px solid rgba(255,255,255,.3);
  color:#fff;
}
.btn--outline:hover,.btn--outline:focus-visible{
  border-color:#fff;
  background:rgba(255,255,255,.1);
}
.btn--ghost{
  color:var(--clr-gray);
  padding:12px 20px;
}
.btn--ghost:hover{color:var(--clr-primary)}
.section--dark .btn--ghost{color:rgba(255,255,255,.5)}
.section--dark .btn--ghost:hover{color:#fff}
.btn--lg{
  padding:16px 36px;
  font-size:17px;
  border-radius:var(--radius-md);
}
.btn:focus-visible{
  outline:3px solid var(--clr-primary);
  outline-offset:2px;
}

/* Pulsing CTA */
.pulse-btn{
  position:relative;
}
.pulse-btn::after{
  content:'';
  position:absolute;
  inset:-4px;
  border-radius:inherit;
  border:2px solid var(--clr-accent);
  animation:pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring{
  0%{opacity:1;transform:scale(1)}
  100%{opacity:0;transform:scale(1.15)}
}

/* ---------- HEADER ---------- */
.header{
  position:fixed;
  top:0;left:0;right:0;
  z-index:1000;
  height:var(--header-h);
  background:rgba(15,23,42,.97);
  backdrop-filter:blur(12px);
  transition:background .3s,box-shadow .3s;
}
.header.scrolled{
  background:rgba(15,23,42,.95);
  backdrop-filter:blur(12px);
  box-shadow:0 2px 20px rgba(0,0,0,.2);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:var(--header-h);
}
.header__logo{
  display:flex;
  align-items:center;
  gap:8px;
  color:#fff;
  z-index:1001;
}
.logo-icon{color:var(--clr-accent)}
.logo-text{
  font-family:var(--ff-heading);
  font-weight:800;
  font-size:18px;
}
.logo-dot{color:var(--clr-accent)}
.header__nav{display:flex;align-items:center}
.nav-list{display:flex;gap:20px}
.nav-link{
  color:rgba(255,255,255,.7);
  font-size:13px;
  font-weight:500;
  transition:var(--transition);
  padding:4px 0;
  white-space:nowrap;
}
.nav-link:hover,.nav-link:focus-visible{color:#fff}
.nav-mobile-only{display:none}
.header__actions{display:flex;align-items:center;gap:12px}
.header__phone{
  display:flex;align-items:center;gap:6px;
  color:rgba(255,255,255,.8);font-size:13px;font-weight:600;
  transition:var(--transition);
  white-space:nowrap;
}
.header__phone:hover{color:#fff}
.header__cta{font-size:12px;padding:9px 18px;white-space:nowrap}

/* Burger */
.burger{
  display:none;
  flex-direction:column;
  gap:5px;
  width:28px;
  z-index:1001;
}
.burger span{
  display:block;height:2px;background:#fff;
  border-radius:2px;transition:var(--transition);
}
.burger.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger.active span:nth-child(2){opacity:0}
.burger.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ===== HERO — ШКАФ ИЗНУТРИ С ПОЛКАМИ ===== */
.hero{
  position:relative;
  min-height:100vh;
  min-height:100dvh;
  display:flex;
  align-items:stretch;
  overflow:hidden;
  padding-top:var(--header-h);
  background:#0a0a0a;
}

/* --- Фон: задняя стенка шкафа --- */
.hero__cabinet-bg{
  position:absolute;inset:0;
  pointer-events:none;
}
.cabinet-wall{
  position:absolute;inset:0;
  background:
    linear-gradient(180deg,#0d1117 0%,#161b22 40%,#0d1117 100%);
}
/* Еле заметная текстура задней стенки */
.cabinet-wall::before{
  content:'';position:absolute;inset:0;
  background-image:
    repeating-linear-gradient(90deg,rgba(255,255,255,.008) 0px,rgba(255,255,255,.008) 1px,transparent 1px,transparent 120px),
    repeating-linear-gradient(180deg,rgba(255,255,255,.008) 0px,rgba(255,255,255,.008) 1px,transparent 1px,transparent 120px);
}
/* Мягкая виньетка */
.cabinet-wall::after{
  content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse at 50% 40%,transparent 30%,rgba(0,0,0,.5) 100%);
}

/* Направляющие рельсы */
.cabinet-rail{
  position:absolute;top:0;bottom:0;width:12px;z-index:10;
}
.cabinet-rail--l{
  left:0;
  background:linear-gradient(90deg,#444 0%,#666 40%,#555 80%,#333 100%);
  box-shadow:3px 0 12px rgba(0,0,0,.4);
}
.cabinet-rail--r{
  right:0;
  background:linear-gradient(90deg,#333 0%,#555 20%,#666 60%,#444 100%);
  box-shadow:-3px 0 12px rgba(0,0,0,.4);
}

/* --- Контейнер полок --- */
.hero__shelves{
  position:relative;z-index:5;
  display:flex;
  flex-direction:column;
  justify-content:center;
  width:100%;
  max-width:900px;
  margin:0 auto;
  padding:40px 48px 60px;
  gap:0;
}

/* --- Полка --- */
.shelf{
  position:relative;
  padding:24px 0 0;
  overflow:visible;
}
.shelf__content{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  padding:8px 8px 14px;
  min-height:80px;
  /* Контент появляется */
  opacity:0;
  transform:translateY(20px);
  transition:opacity .6s ease, transform .6s ease;
}
.hero.revealed .shelf[data-shelf="1"] .shelf__content{opacity:1;transform:none;transition-delay:.3s}
.hero.revealed .shelf[data-shelf="2"] .shelf__content{opacity:1;transform:none;transition-delay:.6s}
.hero.revealed .shelf[data-shelf="3"] .shelf__content{opacity:1;transform:none;transition-delay:.9s}
.hero.revealed .shelf[data-shelf="4"] .shelf__content{opacity:1;transform:none;transition-delay:1.2s}

.shelf__content--title{
  justify-content:center;
  align-items:flex-end;
  padding-bottom:16px;
}
.shelf__content--actions{
  flex-direction:column;
  align-items:center;
  gap:20px;
  padding:16px 8px 0;
}

/* Доска полки */
.shelf__board{
  height:6px;
  background:linear-gradient(180deg,#94a3b8,#64748b,#475569);
  border-radius:1px;
  box-shadow:0 4px 12px rgba(0,0,0,.5),0 1px 0 rgba(255,255,255,.08);
  position:relative;
}
.shelf__board::after{
  content:'';position:absolute;
  left:0;right:0;top:6px;height:12px;
  background:linear-gradient(180deg,rgba(0,0,0,.2),transparent);
}
/* Кронштейны */
.shelf__bracket{
  position:absolute;
  bottom:-20px;
  width:6px;height:20px;
  background:linear-gradient(90deg,#64748b,#94a3b8,#64748b);
  border-radius:0 0 2px 2px;
  z-index:-1;
}
.shelf__bracket--l{left:60px}
.shelf__bracket--r{right:60px}

.shelf--floor .shelf__board,
.shelf--floor .shelf__bracket{display:none}

/* --- Декоративные картинки --- */
.shelf-item--deco{
  overflow:visible;
  flex-shrink:0;
}
.deco-img{
  display:block;
  height:60px;
  width:auto;
  object-fit:contain;
  filter:drop-shadow(0 4px 10px rgba(0,0,0,.4));
}
.deco-img--sm{height:40px}

/* --- Лейбл --- */
.shelf-item--label{flex:1}
.hero__label{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 20px;
  background:rgba(245,158,11,.15);
  border:1px solid rgba(245,158,11,.3);
  border-radius:var(--radius-full);
  font-size:13px;font-weight:600;
  color:var(--clr-accent);
}
.hero__label-dot{
  width:7px;height:7px;border-radius:50%;
  background:var(--clr-accent);
  animation:dot-pulse 2s infinite;
}
@keyframes dot-pulse{
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.4;transform:scale(.6)}
}

/* --- 3D ОБЪЁМНЫЕ БУКВЫ --- */
.hero__title-3d{
  font-family:var(--ff-heading);
  font-size:clamp(42px,7vw,80px);
  font-weight:900;
  line-height:1;
  display:flex;
  gap:clamp(12px,2vw,24px);
  align-items:flex-end;
  color:#fff;
}
.word-3d{
  display:inline-block;
  position:relative;
  /* 3D тень вниз-вправо */
  text-shadow:
    1px 1px 0 #b0b0b0,
    2px 2px 0 #999,
    3px 3px 0 #888,
    4px 4px 0 #777,
    5px 5px 0 #666,
    6px 6px 0 #555,
    7px 7px 0 #444,
    8px 8px 0 #333,
    9px 9px 16px rgba(0,0,0,.4),
    2px 12px 30px rgba(0,0,0,.35);
  /* Тонкая металлическая текстура */
  background:linear-gradient(180deg,#ffffff 0%,#e0e0e0 40%,#c0c0c0 70%,#a0a0a0 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  filter:brightness(1.1);
  /* Лёгкий наклон для перспективы */
  transform:perspective(600px) rotateX(-2deg);
}
/* Акцентное слово */
.word-3d:last-child{
  background:linear-gradient(180deg,#fbbf24 0%,#f59e0b 40%,#d97706 70%,#b45309 100%);
  -webkit-background-clip:text;
  background-clip:text;
  text-shadow:
    1px 1px 0 #b45309,
    2px 2px 0 #92400e,
    3px 3px 0 #78350f,
    4px 4px 0 #6d2f0a,
    5px 5px 0 #5c2706,
    6px 6px 0 #4a1e04,
    7px 7px 0 #3b1703,
    8px 8px 0 #2c1002,
    9px 9px 16px rgba(0,0,0,.4),
    2px 12px 30px rgba(0,0,0,.35);
}

/* --- Подзаголовок --- */
.shelf-item--subtitle{flex:1}
.hero__accent-line{
  display:block;
  font-family:var(--ff-heading);
  font-size:clamp(22px,3.5vw,36px);
  font-weight:800;
  color:var(--clr-accent);
  margin-bottom:8px;
}
.hero__sub{
  font-size:clamp(14px,1.8vw,17px);
  color:rgba(255,255,255,.55);
  line-height:1.6;
}

/* --- CTA --- */
.hero__cta-row{
  display:flex;gap:16px;flex-wrap:wrap;justify-content:center;
}
.btn--glass{
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.15);
  color:#fff;
  padding:14px 28px;
  border-radius:var(--radius-sm);
  font-weight:600;
  display:inline-flex;align-items:center;gap:10px;
  transition:background .3s, border-color .3s;
}
.btn--glass:hover{
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.3);
}

/* Бейджи-пилюли */
.hero__badges{
  display:flex;gap:12px;flex-wrap:wrap;justify-content:center;
}
.badge-pill{
  padding:6px 16px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.1);
  border-radius:var(--radius-full);
  font-size:13px;font-weight:500;
  color:rgba(255,255,255,.5);
}

/* --- Scroll --- */
.hero__scroll{
  position:absolute;bottom:20px;left:50%;
  transform:translateX(-50%);z-index:6;
  opacity:0;transition:opacity .6s ease 2s;
}
.hero.revealed .hero__scroll{opacity:1}
.scroll-mouse{
  width:22px;height:36px;
  border:2px solid rgba(255,255,255,.2);
  border-radius:11px;
  display:flex;justify-content:center;padding-top:7px;
}
.scroll-wheel{
  width:3px;height:6px;
  background:rgba(255,255,255,.4);
  border-radius:2px;
  animation:scroll-bounce 2s infinite;
}
@keyframes scroll-bounce{
  0%,100%{transform:translateY(0);opacity:1}
  50%{transform:translateY(7px);opacity:0}
}

/* ==========================================
   РОЛЛЕТА — ПОЛНОЭКРАННАЯ
   ========================================== */
.hero-shutter{
  position:absolute;
  top:var(--header-h);left:0;right:0;bottom:0;
  z-index:50;
  display:flex;flex-direction:column;
  transition:transform 2s cubic-bezier(.22,.61,.36,1);
}
.hero-shutter.is-open{
  transform:translateY(-100%);
  pointer-events:none;
}
.hero-shutter__surface{
  flex:1;position:relative;
  background:
    repeating-linear-gradient(180deg,
      #505050 0px,#707070 2px,#999 5px,
      #c0c0c0 8px,#d8d8d8 12px,#e0e0e0 14px,
      #d8d8d8 16px,#c0c0c0 20px,#999 23px,
      #707070 26px,#505050 28px);
  box-shadow:inset 8px 0 20px rgba(0,0,0,.15),inset -8px 0 20px rgba(0,0,0,.15);
}
.hero-shutter__surface::before{
  content:'';position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(255,255,255,.05) 0%,transparent 20%,rgba(255,255,255,.03) 45%,transparent 55%,rgba(0,0,0,.05) 100%);
}
.hero-shutter__surface::after{
  content:'ШкафВпаркинг.рф';
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  font-family:var(--ff-heading);
  font-size:clamp(24px,4vw,48px);font-weight:900;
  color:rgba(80,80,80,.2);letter-spacing:2px;white-space:nowrap;
}
.hero-shutter__handle{
  flex:0 0 24px;
  background:linear-gradient(180deg,#aaa 0%,#888 30%,#666 70%,#555 100%);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 20px rgba(0,0,0,.4);
}
.hero-shutter__handle-bar{
  width:80px;height:8px;
  background:linear-gradient(180deg,#777,#444);
  border-radius:4px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2);
}

/* ===== ADVANTAGES ===== */
.advantages__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}
.adv-card{
  background:var(--clr-white);
  border:1px solid #e2e8f0;
  border-radius:var(--radius-md);
  padding:36px 28px;
  transition:transform .3s, box-shadow .3s;
}
.adv-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-lg);
}
.adv-card__icon{
  width:72px;height:72px;
  display:flex;align-items:center;justify-content:center;
  background:var(--clr-light);
  border-radius:var(--radius-md);
  margin-bottom:20px;
}
.adv-card__title{
  font-family:var(--ff-heading);
  font-size:18px;font-weight:700;
  color:var(--clr-dark);
  margin-bottom:8px;
}
.adv-card__text{font-size:14px;line-height:1.7;color:var(--clr-gray)}

/* ===== HOW IT WORKS (Steps) ===== */
.steps{
  display:flex;
  position:relative;
  gap:16px;
}
.steps__line{
  position:absolute;
  top:28px;
  left:56px;
  right:56px;
  height:3px;
  background:var(--clr-dark-3);
  border-radius:2px;
}
.steps__line-fill{
  height:100%;
  width:0;
  background:var(--clr-accent);
  border-radius:2px;
  transition:width 1.5s ease;
}
.step{
  flex:1;
  text-align:center;
  position:relative;
  z-index:1;
}
.step__circle{
  width:56px;height:56px;
  border-radius:50%;
  background:var(--clr-dark-2);
  border:3px solid var(--clr-dark-3);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--ff-heading);
  font-weight:800;font-size:20px;
  color:var(--clr-accent);
  margin:0 auto 16px;
  transition:var(--transition);
}
.step.active .step__circle{
  background:var(--clr-primary);
  border-color:var(--clr-primary-light);
  color:#fff;
}
.step__title{
  font-family:var(--ff-heading);
  font-size:16px;font-weight:700;
  margin-bottom:8px;
}
.step__text{
  font-size:13px;
  opacity:.6;
  line-height:1.6;
  max-width:180px;
  margin:0 auto;
}

/* ===== WHAT TO STORE ===== */
.storage__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  max-width:800px;
  margin:0 auto;
}
.storage-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  padding:32px 20px;
  background:var(--clr-light);
  border-radius:var(--radius-md);
  transition:transform .3s, box-shadow .3s;
}
.storage-item:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-md);
}
.storage-item__icon{
  width:64px;height:64px;
  color:var(--clr-primary);
}
.storage-item__label{
  font-weight:600;
  font-size:15px;
  color:var(--clr-dark);
}

/* ===== 3D CONFIGURATOR ===== */
.configurator{
  max-width:1100px;
  margin:0 auto;
}
.configurator__layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:start;
}

/* --- 3D Preview --- */
.configurator__preview{
  position:sticky;
  top:calc(var(--header-h) + 24px);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:24px;
}
.cabinet-3d{
  position:relative;
  width:280px;height:320px;
  transform-style:preserve-3d;
  transform:perspective(800px) rotateX(-5deg) rotateY(-25deg);
  transition:width .5s,height .5s;
}
/* Стенки шкафа (CSS 3D) */
.c3d-back{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,#3a3a4a,#2a2a38);
  border:1px solid rgba(255,255,255,.06);
  transition:opacity .3s;
}
.c3d-left{
  position:absolute;
  top:0;bottom:0;left:0;width:60px;
  background:linear-gradient(90deg,#4a4a5a,#3a3a4a);
  transform-origin:left center;
  transform:rotateY(90deg);
  border:1px solid rgba(255,255,255,.06);
  transition:opacity .3s;
}
.c3d-right{
  position:absolute;
  top:0;bottom:0;right:0;width:60px;
  background:linear-gradient(270deg,#4a4a5a,#3a3a4a);
  transform-origin:right center;
  transform:rotateY(-90deg);
  border:1px solid rgba(255,255,255,.06);
  transition:opacity .3s;
}
.c3d-top{
  position:absolute;
  top:0;left:0;right:0;height:60px;
  background:linear-gradient(180deg,#5a5a6a,#4a4a5a);
  transform-origin:top center;
  transform:rotateX(-90deg);
  border:1px solid rgba(255,255,255,.06);
  opacity:0;
  transition:opacity .3s;
}
.c3d-top.active{opacity:1}
.c3d-floor{
  position:absolute;
  bottom:0;left:0;right:0;height:60px;
  background:linear-gradient(0deg,#3a3a4a,#2a2a38);
  transform-origin:bottom center;
  transform:rotateX(90deg);
  border:1px solid rgba(255,255,255,.04);
}
.c3d-back.hidden,.c3d-left.hidden,.c3d-right.hidden{opacity:.15}

/* Полки внутри 3D модели */
.c3d-shelves{
  position:absolute;
  left:4px;right:4px;
  top:10%;bottom:10%;
  display:flex;flex-direction:column;
  justify-content:space-evenly;
  pointer-events:none;
}
.c3d-shelf{
  height:3px;
  background:linear-gradient(90deg,#94a3b8,#64748b);
  border-radius:1px;
  box-shadow:0 2px 6px rgba(0,0,0,.3);
  transform-origin:center;
  animation:shelf-pop .3s ease forwards;
  opacity:0;
}
@keyframes shelf-pop{
  0%{opacity:0;transform:scaleX(0)}
  100%{opacity:1;transform:scaleX(1)}
}

/* Роллета на 3D модели */
.c3d-door{
  position:absolute;
  inset:0;
  overflow:hidden;
  z-index:2;
  border-radius:2px;
}
.c3d-door__slats{
  position:absolute;inset:0;
  background:
    repeating-linear-gradient(180deg,
      #606060 0px,#808080 2px,#aaa 4px,
      #c0c0c0 6px,#aaa 8px,#808080 10px,#606060 12px);
  opacity:.25;
  transition:transform 1s ease;
}
.cabinet-3d:hover .c3d-door__slats{
  transform:translateY(-100%);
}

/* Размерные линии */
.c3d-dim{
  position:absolute;
  color:var(--clr-accent);
  font-size:11px;font-weight:700;
  font-family:var(--ff-heading);
  white-space:nowrap;
}
.c3d-dim span{
  background:rgba(0,0,0,.6);
  padding:2px 6px;
  border-radius:3px;
}
.c3d-dim--w{
  bottom:-28px;left:50%;transform:translateX(-50%);
}
.c3d-dim--w::before{
  content:'';position:absolute;bottom:10px;left:-40%;right:-40%;
  height:1px;background:var(--clr-accent);opacity:.3;
}
.c3d-dim--h{
  top:50%;right:-48px;transform:translateY(-50%);
}
.c3d-dim--h::before{
  content:'';position:absolute;right:100%;top:50%;
  width:12px;height:1px;background:var(--clr-accent);opacity:.3;
}
.c3d-dim--d{
  bottom:-28px;right:-36px;
  transform:rotate(-25deg);
}

/* Ценник */
.configurator__price-tag{
  text-align:center;
  background:var(--clr-dark-2);
  border:1px solid var(--clr-dark-3);
  border-radius:var(--radius-md);
  padding:16px 32px;
  min-width:260px;
}
.configurator__price-label{
  display:block;
  font-size:12px;
  opacity:.5;
  margin-bottom:4px;
}
.configurator__price-value{
  font-family:var(--ff-heading);
  font-size:28px;font-weight:800;
  color:var(--clr-accent);
  transition:transform .2s;
}
.configurator__price-value.bump{
  animation:price-bump .3s ease;
}
@keyframes price-bump{
  0%{transform:scale(1)}
  50%{transform:scale(1.08)}
  100%{transform:scale(1)}
}

/* --- Controls --- */
.configurator__controls{
  display:flex;
  flex-direction:column;
  gap:24px;
}
.cfg-section{
  background:var(--clr-dark-2);
  border:1px solid var(--clr-dark-3);
  border-radius:var(--radius-md);
  padding:20px 24px;
  transition:border-color .3s;
}
.cfg-section:hover{border-color:rgba(255,255,255,.1)}
.cfg-section__title{
  font-family:var(--ff-heading);
  font-size:15px;font-weight:700;
  display:flex;align-items:center;gap:10px;
  margin-bottom:16px;
  color:rgba(255,255,255,.9);
}
.cfg-section__title svg{color:var(--clr-accent);flex-shrink:0}

/* Range sliders */
.slider-group{margin-bottom:16px}
.slider-group:last-child{margin-bottom:0}
.slider-label{
  display:flex;justify-content:space-between;
  font-size:13px;font-weight:600;
  margin-bottom:6px;
}
.slider-label output{color:var(--clr-accent);font-weight:700}
.range-slider{
  -webkit-appearance:none;
  appearance:none;
  width:100%;height:5px;
  background:var(--clr-dark-3);
  border-radius:3px;
  outline:none;
}
.range-slider::-webkit-slider-thumb{
  -webkit-appearance:none;
  width:20px;height:20px;
  border-radius:50%;
  background:var(--clr-primary);
  border:3px solid var(--clr-white);
  cursor:pointer;
  box-shadow:0 2px 8px rgba(37,99,235,.4);
  transition:var(--transition);
}
.range-slider::-webkit-slider-thumb:hover{
  transform:scale(1.15);
  box-shadow:0 2px 16px rgba(37,99,235,.6);
}
.range-slider::-moz-range-thumb{
  width:20px;height:20px;
  border-radius:50%;
  background:var(--clr-primary);
  border:3px solid var(--clr-white);
  cursor:pointer;
}

/* Chip toggles (walls) */
.cfg-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.cfg-chip{
  cursor:pointer;
}
.cfg-chip input{display:none}
.cfg-chip span{
  display:block;
  padding:8px 18px;
  background:var(--clr-dark-3);
  border:1px solid transparent;
  border-radius:var(--radius-full);
  font-size:13px;font-weight:600;
  color:rgba(255,255,255,.5);
  transition:var(--transition);
}
.cfg-chip input:checked + span{
  background:rgba(37,99,235,.15);
  border-color:var(--clr-primary);
  color:#fff;
  box-shadow:0 0 12px rgba(37,99,235,.2);
}
.cfg-chip:hover span{
  border-color:rgba(255,255,255,.15);
}

/* Counter (shelves) */
.cfg-counter{
  display:flex;
  align-items:center;
  gap:20px;
}
.cfg-counter__btn{
  width:40px;height:40px;
  border-radius:50%;
  background:var(--clr-dark-3);
  display:flex;align-items:center;justify-content:center;
  color:#fff;
  transition:var(--transition);
}
.cfg-counter__btn:hover{background:var(--clr-primary)}
.cfg-counter__value{
  font-family:var(--ff-heading);
  font-size:36px;font-weight:800;
  color:var(--clr-accent);
  min-width:40px;text-align:center;
}

/* Options grid */
.cfg-options{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.cfg-opt{
  display:flex;align-items:center;gap:10px;
  padding:12px 14px;
  background:var(--clr-dark-3);
  border-radius:var(--radius-sm);
  cursor:pointer;
  transition:var(--transition);
  border:1px solid transparent;
}
.cfg-opt:hover{border-color:rgba(255,255,255,.08)}
.cfg-opt input{display:none}
.cfg-opt__box{
  width:32px;height:32px;
  border-radius:8px;
  background:var(--clr-dark);
  display:flex;align-items:center;justify-content:center;
  color:rgba(255,255,255,.3);
  flex-shrink:0;
  transition:var(--transition);
}
.cfg-opt input:checked ~ .cfg-opt__box{
  background:var(--clr-primary);
  color:#fff;
  box-shadow:0 0 12px rgba(37,99,235,.3);
}
.cfg-opt__info{
  display:flex;flex-direction:column;gap:1px;
}
.cfg-opt__info strong{font-size:13px;font-weight:600}
.cfg-opt__info small{font-size:11px;opacity:.4}

/* CTA button */
.configurator__cta{
  width:100%;
  justify-content:center;
  font-size:18px;
  padding:18px 36px;
}

/* ===== ROLLER DOORS ===== */
.roller-doors__layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:start;
}

/* Демо роллета */
.rd-demo{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:20px;
}
.rd-demo__frame{
  position:relative;
  width:280px;
  height:340px;
  background:linear-gradient(180deg,#2a2a38 0%,#1e1e2e 100%);
  border:3px solid #4a4a5a;
  border-radius:6px;
  overflow:hidden;
  box-shadow:
    inset 0 0 40px rgba(0,0,0,.4),
    0 20px 60px rgba(0,0,0,.4);
}
.rd-demo__box{
  position:absolute;
  bottom:20px;left:50%;
  transform:translateX(-50%);
  width:70px;height:60px;
  background:linear-gradient(135deg,#c4956a,#a07040);
  border-radius:4px;
  box-shadow:0 4px 12px rgba(0,0,0,.3);
}
.rd-demo__box::before{
  content:'';position:absolute;
  top:15px;left:50%;transform:translateX(-50%);
  width:40px;height:2px;
  background:rgba(0,0,0,.2);
}
.rd-demo__box::after{
  content:'';position:absolute;
  top:50%;left:50%;transform:translate(-50%,-50%);
  width:2px;height:30px;
  background:rgba(0,0,0,.15);
}
.rd-demo__door{
  position:absolute;
  inset:0;
  transition:transform 1.2s cubic-bezier(.22,.61,.36,1);
  z-index:2;
}
.rd-demo__door.is-open{
  transform:translateY(-92%);
}
.rd-demo__slats{
  width:100%;height:100%;
  background:
    repeating-linear-gradient(180deg,
      #555 0px,#777 2px,#999 4px,
      #bbb 7px,#ddd 10px,#ddd 12px,
      #bbb 14px,#999 17px,#777 19px,#555 21px);
  box-shadow:
    inset 4px 0 12px rgba(0,0,0,.15),
    inset -4px 0 12px rgba(0,0,0,.15);
}
.rd-demo__slats::after{
  content:'ШкафВпаркинг.рф';
  position:absolute;top:50%;left:50%;
  transform:translate(-50%,-50%);
  font-family:var(--ff-heading);
  font-size:14px;font-weight:800;
  color:rgba(80,80,80,.2);
  letter-spacing:1px;white-space:nowrap;
}
.rd-demo__handle{
  position:absolute;
  bottom:0;left:0;right:0;
  height:18px;
  background:linear-gradient(180deg,#aaa,#777);
  z-index:3;
  display:flex;align-items:center;justify-content:center;
}
.rd-demo__handle::after{
  content:'';
  width:50px;height:5px;
  background:linear-gradient(180deg,#666,#444);
  border-radius:3px;
}
.rd-demo__toggle{
  display:flex;align-items:center;gap:8px;
  padding:10px 24px;
  background:var(--clr-dark-3);
  border-radius:var(--radius-full);
  font-size:14px;font-weight:600;
  color:rgba(255,255,255,.7);
  transition:var(--transition);
}
.rd-demo__toggle:hover{
  background:var(--clr-primary);
  color:#fff;
}
.rd-demo__toggle svg{
  transition:transform .3s;
}
.rd-demo__toggle.is-open svg{
  transform:rotate(180deg);
}

/* Характеристики */
.rd-features{
  display:flex;
  flex-direction:column;
  gap:20px;
  margin-bottom:32px;
}
.rd-feature{
  display:flex;
  gap:16px;
  align-items:flex-start;
}
.rd-feature__icon{
  width:48px;height:48px;
  border-radius:12px;
  background:rgba(37,99,235,.1);
  display:flex;align-items:center;justify-content:center;
  color:var(--clr-primary);
  flex-shrink:0;
}
.rd-feature__text{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.rd-feature__text strong{
  font-size:15px;
  font-weight:700;
}
.rd-feature__text span{
  font-size:13px;
  opacity:.6;
  line-height:1.5;
}

/* Спецификации */
.rd-specs{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}
.rd-spec{
  text-align:center;
  padding:16px 8px;
  background:var(--clr-dark-2);
  border:1px solid var(--clr-dark-3);
  border-radius:var(--radius-sm);
}
.rd-spec__val{
  display:block;
  font-family:var(--ff-heading);
  font-size:18px;
  font-weight:800;
  color:var(--clr-accent);
  margin-bottom:4px;
}
.rd-spec__label{
  font-size:11px;
  opacity:.5;
  text-transform:uppercase;
  letter-spacing:.5px;
}

/* ===== STATS ===== */
.stats{
  background:linear-gradient(135deg,var(--clr-dark) 0%,#1a1a3e 100%);
  padding:80px 0;
}
.stats__grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:32px;
  text-align:center;
}
.stat-item__number{
  font-family:var(--ff-heading);
  font-size:clamp(36px,5vw,56px);
  font-weight:900;
  color:var(--clr-accent);
  display:inline;
}
.stat-item__plus{
  font-family:var(--ff-heading);
  font-size:clamp(24px,3.5vw,40px);
  font-weight:900;
  color:var(--clr-accent);
}
.stat-item__label{
  display:block;
  font-size:clamp(13px,1.5vw,16px);
  color:rgba(255,255,255,.6);
  margin-top:4px;
}

/* ===== QUALITY ===== */
.quality__inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center;
}
.quality__attention{
  display:flex;
  align-items:center;
  gap:12px;
  background:rgba(245,158,11,.1);
  padding:14px 20px;
  border-radius:var(--radius-sm);
  border-left:4px solid var(--clr-accent);
  font-size:15px;
  font-weight:600;
  color:var(--clr-dark);
  margin-bottom:24px;
}
.quality__title{
  font-family:var(--ff-heading);
  font-size:clamp(24px,3.5vw,36px);
  font-weight:800;
  color:var(--clr-dark);
  margin-bottom:16px;
  line-height:1.2;
}
.quality__desc{
  font-size:16px;
  margin-bottom:28px;
  line-height:1.7;
}
.quality__rules{display:flex;flex-direction:column;gap:16px}
.quality__rule{
  display:flex;align-items:center;gap:12px;
  font-size:15px;font-weight:500;
  color:var(--clr-dark);
}
.quality__rule svg{flex-shrink:0}

/* Quality visual */
.quality__illustration{
  position:relative;
  display:flex;justify-content:center;align-items:center;
  min-height:340px;
}
.qi-shield svg{width:200px;filter:drop-shadow(0 20px 40px rgba(37,99,235,.2))}
.qi-badge{
  position:absolute;
  background:var(--clr-white);
  padding:10px 18px;
  border-radius:var(--radius-full);
  font-size:13px;font-weight:700;
  color:var(--clr-dark);
  box-shadow:var(--shadow-md);
  white-space:nowrap;
}
.qi-badge--1{top:20%;right:0;animation:float-badge 3s ease-in-out infinite}
.qi-badge--2{bottom:20%;left:0;animation:float-badge 3s ease-in-out infinite 1.5s}
@keyframes float-badge{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
}

/* ===== REVIEWS ===== */
.reviews__carousel{
  position:relative;
  overflow:hidden;
  padding:0 48px;
}
.reviews__track{
  display:flex;
  transition:transform .5s cubic-bezier(.4,0,.2,1);
  gap:24px;
}
.review-card{
  flex:0 0 calc(33.333% - 16px);
  background:var(--clr-dark-2);
  border:1px solid var(--clr-dark-3);
  border-radius:var(--radius-md);
  padding:28px 24px;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.review-card__stars{display:flex;gap:2px}
.review-card__text{
  font-size:14px;
  line-height:1.7;
  opacity:.8;
  flex:1;
}
.review-card__author{
  display:flex;align-items:center;gap:12px;
  padding-top:12px;
  border-top:1px solid var(--clr-dark-3);
}
.review-card__avatar{
  width:42px;height:42px;
  border-radius:50%;
  background:var(--clr-primary);
  display:flex;align-items:center;justify-content:center;
  font-weight:700;font-size:14px;color:#fff;
  flex-shrink:0;
}
.review-card__author strong{display:block;font-size:14px}
.review-card__author span{font-size:12px;opacity:.5}

/* Carousel buttons */
.reviews__btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;height:44px;
  border-radius:50%;
  background:var(--clr-dark-3);
  display:flex;align-items:center;justify-content:center;
  color:#fff;
  transition:var(--transition);
  z-index:2;
}
.reviews__btn:hover{background:var(--clr-primary)}
.reviews__btn--prev{left:0}
.reviews__btn--next{right:0}
.reviews__dots{
  display:flex;justify-content:center;gap:8px;
  margin-top:24px;
}
.reviews__dots .dot{
  width:10px;height:10px;
  border-radius:50%;
  background:var(--clr-dark-3);
  cursor:pointer;
  transition:var(--transition);
}
.reviews__dots .dot.active{
  background:var(--clr-accent);
  width:28px;
  border-radius:5px;
}

/* ===== FAQ ===== */
.faq__list{
  max-width:760px;
  margin:0 auto;
}
.faq-item{
  border-bottom:1px solid #e2e8f0;
}
.faq-item__question{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px 0;
  font-size:16px;
  font-weight:600;
  color:var(--clr-dark);
  text-align:left;
  transition:var(--transition);
}
.faq-item__question:hover{color:var(--clr-primary)}
.faq-item__icon{
  flex-shrink:0;
  transition:transform .3s;
  color:var(--clr-gray);
}
.faq-item.open .faq-item__icon{
  transform:rotate(180deg);
  color:var(--clr-primary);
}
.faq-item__answer{
  max-height:0;
  overflow:hidden;
  transition:max-height .4s ease, padding .3s;
}
.faq-item__answer p{
  padding-bottom:20px;
  font-size:15px;
  line-height:1.7;
  color:var(--clr-gray);
}

/* ===== CTA SECTION ===== */
.cta-section{
  background:linear-gradient(135deg,var(--clr-primary) 0%,#1d4ed8 50%,#1e40af 100%);
  color:#fff;
  padding:100px 0;
  position:relative;
  overflow:hidden;
}
.cta-block{
  text-align:center;
  max-width:640px;
  margin:0 auto;
  position:relative;
  z-index:2;
}
.cta-block__title{
  font-family:var(--ff-heading);
  font-size:clamp(24px,4vw,36px);
  font-weight:800;
  margin-bottom:16px;
}
.cta-block__text{
  font-size:18px;
  opacity:.85;
  margin-bottom:36px;
}
.cta-form__group{
  display:flex;
  gap:12px;
  max-width:480px;
  margin:0 auto 16px;
}
.cta-form__input{
  flex:1;
  padding:16px 20px;
  border:2px solid rgba(255,255,255,.25);
  border-radius:var(--radius-md);
  background:rgba(255,255,255,.1);
  color:#fff;
  font-size:16px;
  outline:none;
  transition:var(--transition);
}
.cta-form__input::placeholder{color:rgba(255,255,255,.5)}
.cta-form__input:focus{
  border-color:var(--clr-accent);
  background:rgba(255,255,255,.15);
}
.cta-form__input.error{border-color:#ef4444}
.cta-form__btn{flex-shrink:0}
.cta-form__note{
  display:flex;align-items:center;justify-content:center;gap:6px;
  font-size:13px;
  opacity:.7;
}

/* ===== FOOTER ===== */
.footer{
  background:var(--clr-dark);
  color:rgba(255,255,255,.7);
  padding:64px 0 0;
}
.footer__inner{
  display:grid;
  grid-template-columns:1.5fr 1fr 1.5fr;
  gap:48px;
  padding-bottom:48px;
}
.footer__logo{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#fff;
  margin-bottom:16px;
}
.footer__about{font-size:14px;line-height:1.7;margin-bottom:8px}
.footer__legal{font-size:12px;opacity:.5}
.footer__heading{
  font-family:var(--ff-heading);
  font-size:16px;font-weight:700;
  color:#fff;
  margin-bottom:16px;
}
.footer__links li{margin-bottom:10px}
.footer__links a{
  font-size:14px;transition:var(--transition);
}
.footer__links a:hover{color:var(--clr-accent)}
.footer__contacts li{
  display:flex;align-items:flex-start;gap:10px;
  margin-bottom:14px;font-size:14px;
}
.footer__contacts svg{flex-shrink:0;margin-top:2px;opacity:.5}
.footer__contacts a{transition:var(--transition)}
.footer__contacts a:hover{color:var(--clr-accent)}
.footer__bottom{
  border-top:1px solid var(--clr-dark-3);
  padding:20px 0;
}
.footer__bottom-inner{
  display:flex;justify-content:space-between;
  font-size:13px;opacity:.4;
}

/* ===== MODAL ===== */
.modal-overlay{
  position:fixed;inset:0;
  background:rgba(0,0,0,.6);
  backdrop-filter:blur(4px);
  z-index:2000;
  display:flex;align-items:center;justify-content:center;
  opacity:0;pointer-events:none;
  transition:opacity .3s;
  padding:24px;
}
.modal-overlay.active{opacity:1;pointer-events:auto}
.modal{
  background:var(--clr-white);
  border-radius:var(--radius-lg);
  padding:48px 40px;
  max-width:440px;
  width:100%;
  position:relative;
  transform:translateY(20px) scale(.97);
  transition:transform .3s;
}
.modal-overlay.active .modal{transform:translateY(0) scale(1)}
.modal__close{
  position:absolute;top:16px;right:16px;
  width:36px;height:36px;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:var(--clr-gray);
  transition:var(--transition);
}
.modal__close:hover{background:var(--clr-light);color:var(--clr-dark)}
.modal__title{
  font-family:var(--ff-heading);
  font-size:22px;font-weight:800;
  color:var(--clr-dark);
  margin-bottom:8px;
}
.modal__text{font-size:14px;color:var(--clr-gray);margin-bottom:24px}
.modal__form{display:flex;flex-direction:column;gap:12px}
.modal__input{
  padding:14px 18px;
  border:2px solid #e2e8f0;
  border-radius:var(--radius-sm);
  font-size:15px;
  outline:none;
  transition:var(--transition);
  color:var(--clr-dark);
  background:var(--clr-white);
}
.modal__input:focus{border-color:var(--clr-primary)}
.modal__input.error{border-color:#ef4444}
.modal__btn{width:100%;justify-content:center}
.modal__note{
  font-size:11px;
  color:var(--clr-gray);
  text-align:center;
  margin-top:12px;
}
.modal__success{
  text-align:center;
  padding:20px 0;
}
.modal__success svg{margin:0 auto 16px}
.modal__success h3{
  font-family:var(--ff-heading);
  font-size:20px;font-weight:700;
  color:var(--clr-dark);
  margin-bottom:8px;
}
.modal__success p{font-size:14px;color:var(--clr-gray)}

/* ===== FLOATING PHONE (MOBILE) ===== */
.fab-phone{
  position:fixed;
  bottom:24px;right:24px;
  width:56px;height:56px;
  border-radius:50%;
  background:var(--clr-primary);
  color:#fff;
  display:none;
  align-items:center;justify-content:center;
  box-shadow:0 4px 20px rgba(37,99,235,.4);
  z-index:999;
  transition:var(--transition);
  animation:fab-pulse 2s infinite;
}
.fab-phone:hover{transform:scale(1.1)}
@keyframes fab-pulse{
  0%,100%{box-shadow:0 4px 20px rgba(37,99,235,.4)}
  50%{box-shadow:0 4px 30px rgba(37,99,235,.7)}
}

/* ===== SCROLL REVEAL ===== */
.reveal{
  opacity:0;
  transform:translateY(30px);
  transition:opacity .7s ease, transform .7s ease;
  transition-delay:var(--delay, 0s);
}
.reveal.visible{
  opacity:1;
  transform:translateY(0);
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress{
  position:fixed;top:0;left:0;
  height:3px;width:0%;
  background:linear-gradient(90deg,var(--clr-accent),var(--clr-primary),var(--clr-accent));
  background-size:200% 100%;
  animation:gradient-shift 3s linear infinite;
  z-index:9999;
  transition:width .1s linear;
  pointer-events:none;
}

/* Custom cursor removed — using standard cursor */

/* ===== NOISE/GRAIN OVERLAY ===== */
.noise-overlay{
  position:fixed;inset:0;
  z-index:9998;
  pointer-events:none;
  opacity:.035;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat:repeat;
  background-size:128px;
}

/* ===== MARQUEE TICKER ===== */
.marquee{
  overflow:hidden;
  background:var(--clr-dark);
  padding:16px 0;
  white-space:nowrap;
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.marquee__track{
  display:inline-flex;
  gap:0;
  animation:marquee-scroll 25s linear infinite;
}
.marquee__item{
  font-family:var(--ff-heading);
  font-size:clamp(14px,1.6vw,18px);
  font-weight:700;
  color:rgba(255,255,255,.8);
  text-transform:uppercase;
  letter-spacing:2px;
  padding:0 16px;
}
.marquee__sep{
  color:var(--clr-accent);
  font-size:clamp(14px,1.6vw,18px);
  padding:0 8px;
}
@keyframes marquee-scroll{
  0%{transform:translateX(0)}
  100%{transform:translateX(-50%)}
}
.marquee:hover .marquee__track{
  animation-play-state:paused;
}

/* Разделители убраны — чистые переходы между секциями */

/* ===== FLOATING PARTICLES ===== */
.has-particles{position:relative;overflow:hidden}
.particle{
  position:absolute;
  width:3px;height:3px;
  background:rgba(255,255,255,.15);
  border-radius:50%;
  pointer-events:none;
  animation:particle-float linear infinite;
}
@keyframes particle-float{
  0%{transform:translateY(0) scale(1);opacity:0}
  10%{opacity:1}
  90%{opacity:1}
  100%{transform:translateY(-100vh) scale(0);opacity:0}
}

/* ===== 3D TILT CARDS ===== */
[data-tilt]{
  transform-style:preserve-3d;
  transform:perspective(800px) rotateX(0deg) rotateY(0deg);
  transition:transform .4s cubic-bezier(.03,.98,.52,.99), box-shadow .4s;
}
[data-tilt]:hover{
  box-shadow:0 20px 60px rgba(0,0,0,.15),0 0 40px rgba(37,99,235,.08);
}
[data-tilt] .adv-card__icon{
  transition:transform .4s;
}
[data-tilt]:hover .adv-card__icon{
  transform:translateZ(30px) scale(1.05);
}
[data-tilt] .adv-card__title{
  transform:translateZ(20px);
}

/* ===== GLOW CARD HOVER ===== */
.adv-card{
  position:relative;
  overflow:hidden;
}
.adv-card::before{
  content:'';
  position:absolute;
  top:var(--glow-y, 50%);
  left:var(--glow-x, 50%);
  width:300px;height:300px;
  background:radial-gradient(circle,rgba(37,99,235,.12) 0%,transparent 70%);
  border-radius:50%;
  transform:translate(-50%,-50%);
  opacity:0;
  transition:opacity .4s;
  pointer-events:none;
  z-index:0;
}
.adv-card:hover::before{opacity:1}
.adv-card > *{position:relative;z-index:1}

/* ===== ANIMATED GRADIENT BACKGROUND (CTA) ===== */
.cta-section__bg{
  position:absolute;inset:0;
  overflow:hidden;
}
.cta-blob{
  position:absolute;
  border-radius:50%;
  filter:blur(80px);
  opacity:.5;
  animation:blob-drift 12s ease-in-out infinite alternate;
}
.cta-blob--1{
  width:500px;height:500px;
  background:rgba(37,99,235,.5);
  top:-100px;left:-100px;
}
.cta-blob--2{
  width:400px;height:400px;
  background:rgba(245,158,11,.3);
  bottom:-80px;right:-80px;
  animation-delay:4s;
  animation-direction:alternate-reverse;
}
.cta-blob--3{
  width:350px;height:350px;
  background:rgba(30,64,175,.4);
  top:50%;left:50%;
  transform:translate(-50%,-50%);
  animation-delay:2s;
}
@keyframes blob-drift{
  0%{transform:translate(0,0) scale(1)}
  33%{transform:translate(30px,-20px) scale(1.1)}
  66%{transform:translate(-20px,30px) scale(.95)}
  100%{transform:translate(10px,-10px) scale(1.05)}
}

/* ===== ENHANCED REVEAL ANIMATIONS ===== */
.reveal--scale{
  opacity:0;
  transform:scale(.9);
  transition:opacity .7s ease, transform .7s ease;
  transition-delay:var(--delay, 0s);
}
.reveal--scale.visible{
  opacity:1;
  transform:scale(1);
}
.reveal--left{
  opacity:0;
  transform:translateX(-60px);
  transition:opacity .7s ease, transform .7s ease;
  transition-delay:var(--delay, 0s);
}
.reveal--left.visible{
  opacity:1;
  transform:translateX(0);
}
.reveal--right{
  opacity:0;
  transform:translateX(60px);
  transition:opacity .7s ease, transform .7s ease;
  transition-delay:var(--delay, 0s);
}
.reveal--right.visible{
  opacity:1;
  transform:translateX(0);
}

/* ===== TEXT SPLIT REVEAL ===== */
.split-text .char{
  display:inline-block;
  opacity:0;
  transform:translateY(40px) rotateX(-40deg);
  transition:opacity .4s ease, transform .4s ease;
}
.split-text.visible .char{
  opacity:1;
  transform:translateY(0) rotateX(0deg);
}

/* ===== HOVER UNDERLINE LINKS (NAV) ===== */
.nav-link{
  position:relative;
}
.nav-link::after{
  content:'';
  position:absolute;
  bottom:0;left:0;
  width:0;height:2px;
  background:var(--clr-accent);
  transition:width .3s cubic-bezier(.16,1,.3,1);
}
.nav-link:hover::after{
  width:100%;
}

/* ===== SMOOTH GRADIENT ANIMATION ===== */
@keyframes gradient-shift{
  0%{background-position:0% 50%}
  100%{background-position:200% 50%}
}

/* Storage scrollbar styling for mobile */
.storage__grid::-webkit-scrollbar{height:4px}
.storage__grid::-webkit-scrollbar-track{background:var(--clr-light);border-radius:2px}
.storage__grid::-webkit-scrollbar-thumb{background:var(--clr-primary);border-radius:2px}

/* ===== STAT ITEM ENHANCEMENTS ===== */
.stat-item{
  position:relative;
  padding:24px 16px;
  border-radius:var(--radius-md);
  transition:transform .3s, background .3s;
}
.stat-item:hover{
  transform:translateY(-4px);
  background:rgba(255,255,255,.04);
}
.stat-item::after{
  content:'';
  position:absolute;
  bottom:0;left:20%;right:20%;
  height:2px;
  background:linear-gradient(90deg,transparent,var(--clr-accent),transparent);
  opacity:0;
  transition:opacity .3s;
}
.stat-item:hover::after{opacity:1}

/* ===== REVIEW CARD HOVER GLOW ===== */
.review-card{
  transition:transform .3s, box-shadow .3s, border-color .3s;
}
.review-card:hover{
  transform:translateY(-4px);
  border-color:rgba(245,158,11,.2);
  box-shadow:0 12px 40px rgba(0,0,0,.3),0 0 20px rgba(245,158,11,.05);
}

/* ===== FAQ ENHANCED ===== */
.faq-item{
  transition:background .3s;
  padding:0 16px;
  border-radius:var(--radius-sm);
  margin-bottom:4px;
}
.faq-item:hover{
  background:rgba(37,99,235,.03);
}
.faq-item.open{
  background:rgba(37,99,235,.04);
}

/* ===== TEXT HIGHLIGHT ON SCROLL ===== */
.text-highlight{
  background-image:linear-gradient(120deg,rgba(245,158,11,.25) 0%,rgba(245,158,11,.25) 100%);
  background-repeat:no-repeat;
  background-position:0 85%;
  background-size:0% 40%;
  transition:background-size .6s cubic-bezier(.16,1,.3,1);
  padding:0 4px;
  margin:0 -4px;
}

/* ===== FOOTER LINK HOVER ===== */
.footer__links a{
  position:relative;
}
.footer__links a::after{
  content:'';
  position:absolute;
  bottom:-2px;left:0;
  width:0;height:1px;
  background:var(--clr-accent);
  transition:width .3s;
}
.footer__links a:hover::after{width:100%}

/* ===== RESPONSIVE ===== */

/* Large tablet / small desktop */
@media(max-width:1199px){
  .advantages__grid{grid-template-columns:repeat(2,1fr)}
  .configurator__layout{grid-template-columns:1fr;gap:32px}
  .configurator__preview{position:static}
  .roller-doors__layout{grid-template-columns:1fr;gap:40px}
  .roller-doors__visual{display:flex;justify-content:center}
  .rd-specs{grid-template-columns:repeat(4,1fr)}
  .quality__inner{grid-template-columns:1fr;gap:40px}
  .quality__illustration{min-height:260px}
  .review-card{flex:0 0 calc(50% - 12px)}
  .footer__inner{grid-template-columns:1fr 1fr}
  .footer__col--about{grid-column:1/-1}
  .steps{flex-wrap:wrap;justify-content:center}
  .step{flex:0 0 calc(33.333% - 12px)}
  .step__text{max-width:none}
}

/* Tablet */
@media(max-width:991px){
  .section{padding:80px 0}
  .nav-list{gap:20px}
  .nav-link{font-size:13px}
  .header__phone span{display:none}
  .step{flex:0 0 calc(50% - 12px)}
  .review-card{flex:0 0 calc(50% - 12px)}
  .reviews__carousel{padding:0 44px}
  .cfg-section{padding:16px 18px}
  .cfg-section__title{font-size:14px}
  .rd-demo__frame{width:240px;height:300px}
}

/* Mobile */
@media(max-width:767px){
  :root{--header-h:60px}
  .section{padding:56px 0}
  .container{padding:0 16px}

  /* Header mobile — fullscreen menu */
  .header__nav{
    position:fixed;
    inset:0;
    background:rgba(15,23,42,.98);
    backdrop-filter:blur(16px);
    flex-direction:column;
    justify-content:center;
    align-items:center;
    opacity:0;pointer-events:none;
    transition:opacity .3s;
    z-index:1000;
  }
  .header__nav.open{opacity:1;pointer-events:auto}
  .nav-list{flex-direction:column;gap:24px;text-align:center}
  .nav-mobile-only{display:list-item}
  .nav-link{font-size:20px;color:#fff}
  .header__phone span{display:none}
  .header__cta{display:none}
  .burger{display:flex}

  /* Hero */
  .hero{min-height:100vh;min-height:100dvh}
  .hero__shelves{padding:24px 16px 44px;max-width:100%}
  .hero__title-3d{font-size:clamp(30px,8.5vw,50px);gap:8px}
  .word-3d{
    text-shadow:
      1px 1px 0 #b0b0b0,2px 2px 0 #999,3px 3px 0 #888,
      4px 4px 0 #777,5px 5px 0 #666,6px 6px 10px rgba(0,0,0,.4),
      2px 8px 20px rgba(0,0,0,.35);
  }
  .word-3d:last-child{
    text-shadow:
      1px 1px 0 #b45309,2px 2px 0 #92400e,3px 3px 0 #78350f,
      4px 4px 0 #6d2f0a,5px 5px 0 #5c2706,6px 6px 10px rgba(0,0,0,.4),
      2px 8px 20px rgba(0,0,0,.35);
  }
  .shelf{padding:16px 0 0}
  .shelf__content{flex-direction:column;align-items:flex-start;gap:10px;min-height:60px;padding:6px 6px 10px}
  .shelf__content--title{align-items:center}
  .shelf__content--actions{align-items:center}
  .shelf__bracket--l{left:24px}
  .shelf__bracket--r{right:24px}
  .deco-img{height:44px}
  .deco-img--sm{height:32px}
  .hero__cta-row{flex-direction:column;width:100%;gap:10px}
  .hero__cta-row .btn{justify-content:center;width:100%}
  .hero__badges{flex-direction:column;align-items:center;gap:8px}
  .hero__scroll{display:none}
  .cabinet-rail{width:6px}
  .marquee__item{letter-spacing:1px}
  [data-tilt]{transform:none !important}

  /* Advantages */
  .advantages__grid{grid-template-columns:1fr;gap:16px}
  .adv-card{padding:24px 20px}
  .adv-card__icon{width:56px;height:56px}

  /* Steps — карточки стопкой */
  .steps{
    flex-direction:column;
    gap:12px;
    padding:0;
  }
  .steps__line{display:none}
  .step{
    display:flex;
    align-items:flex-start;
    gap:16px;
    text-align:left;
    flex:none;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.07);
    border-radius:var(--radius-md);
    padding:18px 20px;
  }
  .step__circle{
    margin:0;
    flex-shrink:0;
    width:44px;height:44px;
    font-size:16px;
    border-width:2px;
  }
  .step__title{font-size:15px;margin-bottom:4px}
  .step__text{max-width:none;font-size:13px;opacity:.65}

  /* Storage */
  .storage__grid{grid-template-columns:repeat(2,1fr);gap:14px}
  .storage-item{padding:24px 14px}
  .storage-item__icon{width:52px;height:52px}
  .storage-item__label{font-size:13px}

  /* Roller doors */
  .roller-doors__layout{grid-template-columns:1fr;gap:32px}
  .roller-doors__visual{display:flex;justify-content:center}
  .rd-demo__frame{width:220px;height:280px}
  .rd-specs{grid-template-columns:repeat(2,1fr);gap:8px}
  .rd-spec{padding:12px 6px}
  .rd-spec__val{font-size:15px}
  .rd-feature__icon{width:40px;height:40px;border-radius:10px}
  .rd-feature__icon svg{width:22px;height:22px}
  .rd-features{gap:16px}

  /* Configurator */
  .configurator__layout{grid-template-columns:1fr;gap:24px}
  .configurator__preview{position:static}
  .cabinet-3d{width:200px !important;height:240px !important}
  .c3d-left,.c3d-right{width:40px !important}
  .c3d-top,.c3d-floor{height:40px !important}
  .c3d-dim{font-size:10px}
  .c3d-dim--h{right:-36px}
  .c3d-dim--d{right:-24px}
  .cfg-options{grid-template-columns:1fr}
  .cfg-section{padding:16px}
  .configurator__price-tag{padding:14px 20px;min-width:auto}
  .configurator__price-value{font-size:24px}
  .configurator__cta{font-size:16px;padding:16px 28px}

  /* Stats */
  .stats{padding:56px 0}
  .stats__grid{grid-template-columns:repeat(2,1fr);gap:20px}

  /* Quality */
  .quality__illustration{min-height:200px}
  .qi-shield svg{width:150px}
  .qi-badge{font-size:12px;padding:8px 14px}

  /* Reviews */
  .reviews__carousel{padding:0 36px}
  .reviews__btn{width:36px;height:36px}
  .review-card{flex:0 0 100%;padding:24px 20px}
  .review-card__text{font-size:14px}

  /* FAQ */
  .faq-item__question{font-size:15px;padding:16px 0}
  .faq-item__answer p{font-size:14px;padding-bottom:16px}

  /* CTA */
  .cta-section{padding:64px 0}
  .cta-form__group{flex-direction:column}
  .cta-block__text{font-size:16px}

  /* Modal */
  .modal{padding:36px 24px}
  .modal__title{font-size:20px}
  .modal-overlay{padding:16px}

  /* Footer */
  .footer{padding:48px 0 0}
  .footer__inner{grid-template-columns:1fr;gap:28px}
  .footer__col--about{grid-column:auto}
  .footer__bottom-inner{flex-direction:column;gap:4px;text-align:center}

  /* FAB phone button */
  .fab-phone{display:flex}
}

/* Small mobile (iPhone SE, etc) */
@media(max-width:479px){
  .container{padding:0 12px}
  .section{padding:44px 0}

  /* Hero */
  .hero__shelves{padding:16px 10px 36px}
  .hero__title-3d{font-size:26px;gap:6px;flex-wrap:wrap;justify-content:center}
  .hero__accent-line{font-size:18px}
  .hero__label{font-size:10px;padding:5px 12px}
  .badge-pill{font-size:10px;padding:5px 10px}
  .hero__sub{font-size:13px}
  .btn--lg{padding:14px 24px;font-size:15px}
  .shelf__bracket--l{left:16px}
  .shelf__bracket--r{right:16px}

  /* Global */
  .section__title{font-size:22px}
  .section__subtitle{font-size:14px;margin-bottom:36px}

  /* Steps */
  .step{padding:14px 16px;gap:14px}
  .step__circle{width:40px;height:40px;font-size:14px}
  .step__title{font-size:14px}

  /* Storage — horizontal scroll */
  .storage__grid{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    gap:12px;
    padding-bottom:8px;
  }
  .storage-item{
    flex:0 0 140px;
    scroll-snap-align:start;
    padding:20px 12px;
  }

  /* Roller doors */
  .rd-demo__frame{width:180px;height:230px}
  .rd-specs{grid-template-columns:repeat(2,1fr);gap:6px}
  .rd-spec__val{font-size:14px}
  .rd-feature__text strong{font-size:13px}
  .rd-feature__text span{font-size:12px}

  /* Configurator */
  .cabinet-3d{width:170px !important;height:200px !important}
  .c3d-dim--h{right:-32px}
  .c3d-dim--d{display:none}
  .cfg-chips{gap:6px}
  .cfg-chip span{padding:6px 14px;font-size:12px}
  .configurator__cta{font-size:15px;padding:14px 20px}

  /* Stats */
  .stat-item__number{font-size:32px}
  .stats__grid{gap:16px}

  /* Quality */
  .quality__attention{flex-direction:column;text-align:center;font-size:14px}
  .quality__rules{gap:12px}
  .quality__rule{font-size:14px}

  /* Reviews */
  .reviews__carousel{padding:0 28px}
  .reviews__btn{width:32px;height:32px}
  .review-card{padding:20px 16px}

  /* FAQ */
  .faq-item__question{font-size:14px}

  /* CTA */
  .cta-section{padding:48px 0}
  .cta-block__title{font-size:22px}
  .cta-form__input{padding:14px 16px;font-size:15px}

  /* Modal */
  .modal{padding:28px 20px}
  .modal__title{font-size:18px}

  /* Footer */
  .footer__heading{font-size:15px}
  .footer__links a{font-size:13px}
  .footer__contacts li{font-size:13px}
}

/* Extra small (320px screens) */
@media(max-width:359px){
  .hero__title-3d{font-size:22px}
  .hero__accent-line{font-size:16px}
  .hero__label{font-size:9px}
  .section__title{font-size:20px}
  .btn--lg{padding:12px 20px;font-size:14px}
  .rd-demo__frame{width:160px;height:200px}
  .cabinet-3d{width:150px !important;height:180px !important}
  .cfg-counter__value{font-size:28px}
  .configurator__price-value{font-size:20px}
  .stat-item__number{font-size:28px}
}
