/* ===== HERO ===== */
.hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
  background: #0c1a2e; /* запасной фон, пока видео грузится */
}

/* Фоновое видео */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

/* Тёмный оверлей поверх видео для читаемости текста */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 40, 0.58);
  z-index: 1;
}

/* Контент поверх видео */
.hero .container {
  position: relative;
  z-index: 2;
}

/* Волна снизу */
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 3;
}
.hero-inner { display: flex; flex-direction: column; align-items: flex-start; max-width: 720px; }
.hero-tag { display: inline-block; background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); font-size: 13px; font-weight: 700; letter-spacing: .05em; padding: 5px 14px; border-radius: 20px; margin-bottom: 16px; border: 1px solid rgba(255,255,255,.2); }
.hero-title { font-size: clamp(28px,5vw,52px); font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 16px; }
.hero-title .accent { color: var(--orange); }
.hero-sub { font-size: 17px; color: rgba(255,255,255,.8); margin-bottom: 28px; line-height: 1.6; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-badge { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.9); font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 20px; }
.hero-image { text-align: center; }
.hero-image-placeholder { background: rgba(255,255,255,.1); border: 2px dashed rgba(255,255,255,.3); border-radius: 20px; height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-size: 14px; gap: 12px; }
.hero-image-placeholder svg { opacity: .5; }

/* ===== CATALOG ===== */
.catalog { padding: 72px 0; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }

/* ===== PRODUCT CARD ===== */
.product-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s, transform .3s;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-card-img {
  height: 300px;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.product-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.product-card-img-placeholder { color: var(--muted); font-size: 13px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.net-badge {
  position: absolute; top: 12px; right: 12px;
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .04em;
}
.net-badge--inside { background: #dbeafe; color: #1d4ed8; }
.net-badge--outside { background: #ffedd5; color: #c2410c; }
.product-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.product-category { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.product-name { font-size: 16px; font-weight: 800; line-height: 1.3; color: var(--text); }
.product-name a { color: inherit; }
.product-name a:hover { color: var(--sky); }
.product-params { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; background: var(--bg-alt); border-radius: var(--radius-sm); }
.param-item { display: flex; flex-direction: column; gap: 2px; }
.param-label { font-size: 10px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.param-value { font-size: 14px; font-weight: 700; color: var(--text); }
.product-price-label { font-size: 12px; color: var(--muted); font-weight: 600; }
.product-price { font-size: 24px; font-weight: 900; color: var(--text); }
.product-price-old { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.product-install { font-size: 12px; color: var(--green-dark); font-weight: 600; }
.product-actions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.out-of-stock { background: #9ca3af; border-color: #9ca3af; cursor: not-allowed; opacity: .75; }

/* ===== BENEFITS ===== */
.benefits-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px; }
.benefit-card { text-align: center; padding: 32px 20px; }
.benefit-icon { font-size: 3rem; margin-bottom: 16px; }
.benefit-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.benefit-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ===== WHY US ===== */
.why-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 40px; }
.why-card { display: flex; gap: 16px; padding: 24px; background: rgba(255,255,255,.06); border-radius: var(--radius); border: 1px solid rgba(255,255,255,.08); }
.why-icon { font-size: 2rem; flex-shrink: 0; }
.why-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: #fff; }
.why-card p { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.5; }

/* ===== CTA BANNER ===== */
.cta-banner { background: linear-gradient(135deg, var(--orange) 0%, #fb923c 100%); border-radius: 20px; padding: 40px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-banner h2 { font-size: 24px; font-weight: 900; color: #fff; margin-bottom: 6px; }
.cta-banner p { font-size: 15px; color: rgba(255,255,255,.85); }
.cta-banner-btns { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* ===== RESPONSIVE ===== */
@media(max-width:1024px) {
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .benefits-grid { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .products-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 28px 24px; flex-direction: column; }
}
