* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'Segoe UI',Arial,sans-serif; color:#1a1a1a; line-height:1.6; }
.container { max-width:1160px; margin:0 auto; padding:0 20px; }
h1,h2,h3 { line-height:1.2; }
a { text-decoration:none; color:inherit; }
.btn { display:inline-block; background:#ffcc00; color:#111; font-weight:700;
       padding:16px 34px; border-radius:8px; border:none; cursor:pointer;
       font-size:17px; transition:.2s; }
.btn:hover { background:#ffd633; transform:translateY(-2px); }

/* Шапка */
header { background:#111; color:#fff; padding:14px 0; position:sticky; top:0; z-index:10; }
header .container { display:flex; align-items:center; justify-content:space-between; }
.logo { font-size:22px; font-weight:800; color:#ffcc00; }
.logo span { color:#fff; }
.head-right { display:flex; align-items:center; gap:22px; }
.head-badge { font-size:13px; color:#ffcc00; border:1px solid #ffcc00;
              padding:5px 12px; border-radius:20px; }
.head-phone { font-size:19px; font-weight:700; }
.head-phone small { display:block; font-size:12px; font-weight:400; color:#aaa; }

/* Hero */
.hero { position:relative; overflow:hidden; color:#fff;
        min-height:720px; padding:96px 0; text-align:center;
        display:flex; align-items:center; }

.hero-video {
  position:absolute;
  top:0; left:0; right:0; bottom:0;
  width:100%; height:100%;
  object-fit:cover;
  object-position:center center;
  z-index:0;
}

.hero-overlay {
  position:absolute;
  top:0; left:0; right:0; bottom:0;
  z-index:1;
  background:linear-gradient(rgba(10,10,20,.74),rgba(10,10,20,.74));
}

.hero-content { position:relative; z-index:2; width:100%; }
.hero h1 { font-size:42px; margin-bottom:18px; }
.hero p { font-size:20px; max-width:780px; margin:0 auto 32px; color:#e8e8e8; }
.hero-tags { margin-bottom:34px; }
.hero-tags span { display:inline-block; background:rgba(255,255,255,.12);
                  padding:8px 16px; border-radius:20px; margin:5px; font-size:14px; }

section { padding:70px 0; }
.section-title { text-align:center; font-size:32px; margin-bottom:14px; }
.section-sub { text-align:center; color:#666; max-width:760px; margin:0 auto 46px; }

.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:26px; }
.card { border:1px solid #eee; border-radius:12px; padding:28px; transition:.2s; background:#fff; }
.card:hover { box-shadow:0 10px 30px rgba(0,0,0,.08); transform:translateY(-4px); }
.card h3 { font-size:20px; margin-bottom:10px; }
.card p { color:#555; font-size:15px; }
.card .num { font-size:15px; font-weight:800; color:#ffcc00;
             background:#111; width:34px; height:34px; border-radius:50%;
             display:flex; align-items:center; justify-content:center; margin-bottom:14px; }
/* Тёмные карточки (на чёрном фоне) */
.card.dark { background:#1c1c1c; border-color:#333; }
.card.dark h3 { color:#fff; }
.card.dark p { color:#bbb; }

.photo-ph { background:#f0f0f0; border:2px dashed #bbb; border-radius:12px;
            display:flex; align-items:center; justify-content:center; color:#888;
            min-height:220px; text-align:center; font-size:15px; padding:20px; }
.photo-ph.dark { background:#1c1c1c; border-color:#444; color:#888; }

.product-photo {
  width:100%;
  height:auto;
  border-radius:12px;
  display:block;
  box-shadow:0 10px 30px rgba(0,0,0,.35);
}

.bg-grey { background:#f7f8fa; }
.bg-dark { background:#111; color:#fff; }
.bg-dark .section-title { color:#fff; }
.bg-dark .section-sub { color:#bbb; }

/* Двухколоночный блок */
.split { display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center; }
.split h2 { font-size:30px; margin-bottom:18px; }
.split p { color:#555; margin-bottom:14px; }
.bg-dark .split p { color:#ccc; }
.split ul { list-style:none; }
.split ul li { padding:8px 0 8px 30px; position:relative; }
.split ul li:before { content:'✔'; position:absolute; left:0; color:#ffcc00; font-weight:700; }

/* Интерактив «Включи свет» */
.light-demo { position:relative; max-width:100%; margin:0 auto;
              aspect-ratio:16/9;
              -webkit-mask-image: radial-gradient(ellipse 88% 88% at center,
                     #000 55%, transparent 100%);
              mask-image: radial-gradient(ellipse 88% 88% at center,
                     #000 55%, transparent 100%); }
.light-demo img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.light-demo .light-off { opacity:1; transition:opacity .9s ease; }
.light-demo.on .light-off { opacity:0; }

/* Обёртка выключателя под фото */
.switch-wrap { display:flex; justify-content:center; margin-top:30px; }

.switch { width:82px; height:126px; background:#f4f4f4; border:none;
          border-radius:14px; cursor:pointer; box-shadow:0 6px 20px rgba(0,0,0,.4);
          display:flex; flex-direction:column; align-items:center;
          justify-content:center; gap:8px; transition:.2s;
          animation:pulse 2s infinite; }
.switch:hover { transform:scale(1.05); }
.switch-key { width:44px; height:58px; background:#ddd; border-radius:6px;
              box-shadow:inset 0 -20px 0 rgba(0,0,0,.08); transition:.2s; }
.switch.on-state .switch-key { background:#ffcc00; box-shadow:inset 0 20px 0 rgba(0,0,0,.12); }
.switch-label { font-size:11px; color:#333; font-weight:700; }

@keyframes pulse { 0%,100%{box-shadow:0 6px 20px rgba(0,0,0,.4);}
                   50%{box-shadow:0 6px 28px rgba(255,204,0,.6);} }

/* Форма */
.form-wrap { max-width:640px; margin:0 auto; background:#fff; border-radius:14px;
             padding:40px; box-shadow:0 10px 40px rgba(0,0,0,.06); }
.form-wrap input, .form-wrap select, .form-wrap textarea {
    width:100%; padding:14px; margin-bottom:16px; border:1px solid #ddd;
    border-radius:8px; font-size:15px; font-family:inherit; }
.form-wrap textarea { min-height:90px; resize:vertical; }

footer { background:#0c0c0c; color:#ccc; padding:50px 0; }
footer .container { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:30px; }
footer h4 { color:#fff; margin-bottom:14px; }
footer a:hover { color:#ffcc00; }

/* Планшеты */
@media(max-width:800px){
  .split { grid-template-columns:1fr; }
}

/* Телефоны */
@media(max-width:600px){
  .hero { min-height:760px; padding:70px 0; align-items:center; }
  .hero-video { object-position:center top; }
  .hero-overlay { background:linear-gradient(rgba(10,10,20,.55),rgba(10,10,20,.82)); }
  .hero h1 { font-size:30px; }
  .hero p { font-size:17px; }
  .head-badge { display:none; }
  .switch { width:70px; height:104px; }
}