/* ============================================================
   8light — одностраничный сайт светодиодных панелей
   ============================================================ */

@font-face{
  font-family:"Montserrat";
  src:url("assets/fonts/montserrat-900-italic.woff2") format("woff2");
  font-weight:900;
  font-style:italic;
  font-display:swap;
}

:root{
  --ink:#0a0603;
  --ink-2:#120b06;
  --ink-3:#1b1109;
  --gold:#f6c979;
  --gold-soft:#ffdba4;
  --gold-deep:#d08a35;
  --red:#c2182b;
  --text:#f4ece2;
  --muted:#a8957f;
  --line:rgba(246,201,121,.16);
  --line-strong:rgba(246,201,121,.38);
  --card:linear-gradient(160deg,rgba(255,255,255,.055),rgba(255,255,255,.015));
  --shadow-gold:0 24px 70px -28px rgba(246,169,74,.55);
  --display:"Montserrat","Segoe UI Black","Arial Black","Segoe UI",system-ui,sans-serif;
  --body:"Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
  --ease:cubic-bezier(.22,.68,0,1);
  --wrap:1200px;
}

*,*::before,*::after{box-sizing:border-box}

html{
  scroll-behavior:smooth;
  scroll-padding-top:96px;
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  background:var(--ink);
  color:var(--text);
  font-family:var(--body);
  font-size:17px;
  line-height:1.6;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(1100px 700px at 78% -10%,rgba(214,123,38,.22),transparent 62%),
    radial-gradient(900px 600px at 4% 12%,rgba(150,60,20,.16),transparent 60%),
    radial-gradient(1200px 900px at 50% 108%,rgba(120,52,18,.20),transparent 65%),
    linear-gradient(180deg,#0a0603 0%,#100a05 45%,#0a0603 100%);
}

img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;color:inherit;background:none;border:0;cursor:pointer}
h1,h2,h3{font-family:var(--display);font-style:italic;font-weight:900;text-transform:uppercase;line-height:.95;margin:0}
p{margin:0}
ul,ol,dl,dd{margin:0;padding:0}
li{list-style:none}

:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:6px}

.wrap{width:min(var(--wrap),100% - 48px);margin-inline:auto;position:relative;z-index:2}

/* ---------- утилиты ---------- */

.grad{
  background:linear-gradient(98deg,#ffe6b8 0%,#f6c979 38%,#e8a24a 72%,#ffdca6 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  filter:drop-shadow(0 0 26px rgba(246,169,74,.35));
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--body);
  font-size:.78rem;
  font-weight:600;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:22px;
}
.eyebrow .dot{
  width:7px;height:7px;border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 12px 3px rgba(246,201,121,.7);
  animation:blink 2.4s ease-in-out infinite;
}
@keyframes blink{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.8)}}

.lead{color:var(--muted);font-size:1.06rem;max-width:56ch;margin-top:20px}

/* ---------- кнопки ---------- */

.btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 26px;
  border-radius:999px;
  font-weight:700;
  font-size:.98rem;
  letter-spacing:.01em;
  transition:transform .45s var(--ease),box-shadow .45s var(--ease),background .3s,color .3s,border-color .3s;
  white-space:nowrap;
  overflow:hidden;
}
.btn .ico{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .45s var(--ease)}
.btn-logo{width:19px;height:19px;object-fit:contain;flex-shrink:0}
a.btn{text-decoration:none}

.btn-gold{
  background:linear-gradient(135deg,#ffdda6,#f4bd6c 42%,#e09b45);
  color:#241203;
  box-shadow:0 14px 34px -14px rgba(246,169,74,.85),inset 0 1px 0 rgba(255,255,255,.55);
}
.btn-gold::after{
  content:"";
  position:absolute;
  top:0;left:-60%;
  width:45%;height:100%;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.75),transparent);
  transform:skewX(-18deg);
  animation:shine 4.5s ease-in-out infinite;
}
@keyframes shine{0%,55%{left:-60%}85%,100%{left:130%}}
.btn-gold:hover{transform:translateY(-3px);box-shadow:0 22px 46px -16px rgba(246,169,74,.95),inset 0 1px 0 rgba(255,255,255,.6)}
.btn-gold:hover .ico{transform:translateX(4px)}

.btn-ghost{
  border:1px solid var(--line-strong);
  color:var(--text);
  background:rgba(255,255,255,.03);
  backdrop-filter:blur(10px);
}
.btn-ghost:hover{border-color:var(--gold);background:rgba(246,201,121,.10);transform:translateY(-3px)}

.btn-lg{padding:18px 34px;font-size:1.05rem}
.btn-xl{padding:22px 42px;font-size:1.15rem;border-radius:18px}
.btn-block{width:100%}
.btn-header{padding:11px 22px;font-size:.92rem}

/* ---------- шапка ---------- */

.site-header{
  position:fixed;
  inset:0 0 auto;
  z-index:120;
  transition:background .4s,backdrop-filter .4s,box-shadow .4s,border-color .4s;
  border-bottom:1px solid transparent;
}
.site-header.is-scrolled{
  background:rgba(10,6,3,.78);
  backdrop-filter:blur(18px) saturate(1.2);
  border-bottom-color:var(--line);
  box-shadow:0 18px 50px -30px #000;
}
.header-inner{
  display:flex;
  align-items:center;
  gap:28px;
  height:88px;
  transition:height .4s var(--ease);
}
.site-header.is-scrolled .header-inner{height:70px}

.logo{display:flex;align-items:center;gap:2px;flex-shrink:0}
.logo-mark,.logo-word{
  font-family:var(--display);
  font-style:italic;
  font-size:1.72rem;
  line-height:1;
  letter-spacing:-.02em;
}
.logo-mark{color:var(--gold-soft);text-shadow:0 0 22px rgba(246,201,121,.55)}
.logo-word{color:#fff}
.logo-sep{width:1px;height:30px;background:var(--line-strong);margin:0 14px 0 12px}
.logo-sub{font-size:.62rem;line-height:1.15;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}

.nav{display:flex;gap:30px;margin-left:auto}
.nav a{
  position:relative;
  font-size:.92rem;
  font-weight:600;
  color:rgba(244,236,226,.78);
  padding:6px 0;
  transition:color .3s;
}
.nav a::after{
  content:"";
  position:absolute;
  left:0;bottom:0;
  width:0;height:1.5px;
  background:linear-gradient(90deg,var(--gold),transparent);
  transition:width .4s var(--ease);
}
.nav a:hover{color:#fff}
.nav a:hover::after{width:100%}

.header-actions{display:flex;align-items:center;gap:14px;margin-left:auto}

.burger{display:none;width:44px;height:44px;border-radius:12px;border:1px solid var(--line);align-items:center;justify-content:center;flex-direction:column;gap:5px}
.burger span{display:block;width:20px;height:2px;background:var(--gold);border-radius:2px;transition:transform .35s var(--ease),opacity .3s}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.mobile-menu{
  display:none;
  flex-direction:column;
  gap:4px;
  padding:18px 24px 26px;
  background:rgba(12,7,4,.97);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(20px);
}
.mobile-menu a{padding:14px 4px;font-size:1.05rem;font-weight:600;border-bottom:1px solid rgba(255,255,255,.05)}
.mobile-menu .btn{margin-top:16px}
.mobile-menu.is-open{display:flex}

.scroll-progress{position:fixed;top:0;left:0;right:0;height:2px;z-index:200;pointer-events:none}
.scroll-progress span{
  display:block;height:100%;width:0;
  background:linear-gradient(90deg,var(--gold-deep),var(--gold-soft));
  box-shadow:0 0 14px 1px rgba(246,201,121,.8);
}

/* ---------- герой ---------- */

.hero{
  position:relative;
  min-height:100svh;
  display:flex;
  align-items:center;
  padding:150px 0 90px;
  overflow:hidden;
}
.hero-glow{
  position:absolute;
  top:6%;right:-6%;
  width:min(780px,86vw);height:min(780px,86vw);
  background:radial-gradient(circle,rgba(246,169,74,.30),rgba(196,96,24,.12) 42%,transparent 68%);
  filter:blur(30px);
  animation:breathe 9s ease-in-out infinite;
  pointer-events:none;
}
@keyframes breathe{0%,100%{transform:scale(1);opacity:.85}50%{transform:scale(1.08);opacity:1}}

.hero-inner{
  display:grid;
  grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);
  align-items:center;
  gap:40px;
}

.hero-title{
  font-size:clamp(2.5rem,4.8vw,4.1rem);
  letter-spacing:-.03em;
  margin:6px 0 24px;
}
.hero-title .line{display:block}
.hero-title .line + .line{margin-top:.06em}

.hero-lead{color:var(--muted);font-size:1.1rem;max-width:46ch}

.hero-checks{display:flex;flex-wrap:wrap;gap:10px;margin:26px 0 34px}
.hero-checks li{
  display:inline-flex;align-items:center;gap:9px;
  padding:9px 16px 9px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.035);
  font-size:.88rem;
  color:rgba(244,236,226,.9);
  transition:border-color .3s,background .3s,transform .3s;
}
.hero-checks li:hover{border-color:var(--line-strong);background:rgba(246,201,121,.07);transform:translateY(-2px)}
.ico.check{width:17px;height:17px;fill:none;stroke:var(--gold);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}

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

.hero-stats{display:flex;gap:34px;margin-top:46px;flex-wrap:wrap}
.hero-stats div{display:flex;flex-direction:column;gap:2px}
.hero-stats dt{font-size:.76rem;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.hero-stats dd{font-family:var(--display);font-style:italic;font-size:1.6rem;color:var(--gold-soft)}

/* визуал */

.hero-art{position:relative;display:flex;justify-content:center;align-items:center;perspective:1200px;width:max-content;max-width:100%;justify-self:end;margin-right:clamp(0px,2vw,40px)}
.hero-frame{
  position:relative;
  height:clamp(340px,62vh,620px);
  aspect-ratio:433/1023;
  border-radius:16px;
  overflow:hidden;
  transform-style:preserve-3d;
  transition:transform .9s var(--ease);
  box-shadow:
    0 0 0 1px rgba(246,201,121,.22),
    0 40px 90px -30px rgba(0,0,0,.9),
    0 0 90px -10px rgba(246,169,74,.45);
}
.hero-frame img{width:100%;height:100%;object-fit:cover;display:block}
.hero-frame::after{
  content:"";
  position:absolute;inset:0;
  border-radius:16px;
  box-shadow:inset 0 0 60px rgba(0,0,0,.35);
  pointer-events:none;
}
.frame-light{
  position:absolute;inset:0;border-radius:16px;pointer-events:none;
  background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.18) 48%,transparent 62%);
  transform:translateX(-120%);
  animation:frameShine 7s ease-in-out infinite;
}
@keyframes frameShine{0%,60%{transform:translateX(-120%)}90%,100%{transform:translateX(120%)}}

.ring{
  position:absolute;
  width:min(560px,110%);
  aspect-ratio:1;
  border-radius:50%;
  background:conic-gradient(from 0deg,rgba(246,169,74,0),rgba(246,169,74,.35),rgba(255,220,166,.15),rgba(246,169,74,0) 60%);
  filter:blur(38px);
  animation:spin 18s linear infinite;
  pointer-events:none;
}
@keyframes spin{to{transform:rotate(360deg)}}

.float-card{
  position:absolute;
  display:flex;align-items:center;gap:9px;
  padding:11px 16px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(18,11,6,.72);
  backdrop-filter:blur(16px);
  box-shadow:0 20px 40px -22px #000;
  font-size:.8rem;
  line-height:1.25;
  color:rgba(244,236,226,.9);
  animation:floaty 6s ease-in-out infinite;
  will-change:transform;
}
.float-card .ico{width:18px;height:18px;fill:none;stroke:var(--gold);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.fc-label{display:block;font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.fc-price{flex-direction:column;align-items:flex-start;gap:3px;left:-2%;top:12%;animation-delay:-1s}
.fc-price strong{font-size:1rem;color:var(--gold-soft);font-family:var(--display);font-style:italic}
.fc-photo{right:-2%;top:40%;animation-delay:-2.6s}
.fc-ship{left:-2%;bottom:10%;animation-delay:-4.2s}
@keyframes floaty{
  0%,100%{transform:translate3d(var(--px,0px),var(--py,0px),0)}
  50%{transform:translate3d(var(--px,0px),calc(var(--py,0px) - 12px),0)}
}

.hero-fade{
  position:absolute;left:0;right:0;bottom:0;height:140px;
  background:linear-gradient(180deg,transparent,var(--ink));
  pointer-events:none;
}

/* ---------- бегущая строка ---------- */

.marquee{
  position:relative;
  overflow:hidden;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:linear-gradient(90deg,rgba(246,201,121,.05),rgba(246,169,74,.11),rgba(246,201,121,.05));
  padding:16px 0;
  z-index:3;
}
.marquee-track{
  display:flex;
  align-items:center;
  gap:34px;
  width:max-content;
  animation:marquee 32s linear infinite;
}
.marquee:hover .marquee-track{animation-play-state:paused}
.marquee-track span{
  font-family:var(--display);
  font-style:italic;
  font-size:.95rem;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:rgba(246,201,121,.92);
  white-space:nowrap;
}
.marquee-track i{font-style:normal;color:var(--gold-deep);opacity:.8}
@keyframes marquee{to{transform:translateX(-50%)}}

/* ---------- секции ---------- */

.section{position:relative;padding:110px 0;z-index:2}
.section-tight{padding:90px 0}
.section-head{max-width:760px;margin-bottom:56px}
.h2{
  font-size:clamp(1.75rem,2.9vw,2.6rem);
  letter-spacing:-.02em;
  margin-top:4px;
}
.section-head .h2{font-size:clamp(2rem,3.6vw,3.05rem)}

.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,5vw,76px);align-items:center}
.split-rev .split-media{order:-1}

.split-media{position:relative;display:flex;justify-content:center}
.media-frame{
  position:relative;
  border-radius:26px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:0 40px 90px -40px #000;
  width:100%;
  max-width:520px;
}
.media-frame img{width:100%;height:auto}
.media-frame.glow{box-shadow:0 0 0 1px rgba(246,201,121,.18),0 40px 100px -40px #000,0 0 90px -20px rgba(246,169,74,.5)}
.media-badge{
  position:absolute;
  left:50%;bottom:-20px;
  transform:translateX(-50%);
  display:inline-flex;align-items:center;gap:9px;
  padding:10px 18px;
  border-radius:999px;
  border:1px solid var(--line-strong);
  background:rgba(16,10,5,.9);
  backdrop-filter:blur(12px);
  font-size:.82rem;
  white-space:nowrap;
  box-shadow:0 18px 40px -20px #000;
}
.media-badge.alt{bottom:auto;top:20px;left:auto;right:20px;transform:none}
.pulse-dot{width:7px;height:7px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 0 rgba(246,201,121,.6);animation:pulse 2.2s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(246,201,121,.55)}70%{box-shadow:0 0 0 12px rgba(246,201,121,0)}100%{box-shadow:0 0 0 0 rgba(246,201,121,0)}}

/* список фич */

.feature-list{display:flex;flex-direction:column;gap:14px;margin-top:36px}
.feature{
  display:flex;gap:16px;align-items:flex-start;
  padding:18px 20px;
  border-radius:18px;
  border:1px solid rgba(246,201,121,.12);
  background:var(--card);
  transition:transform .5s var(--ease),border-color .4s,background .4s;
}
.feature:hover{transform:translateX(6px);border-color:var(--line-strong);background:rgba(246,201,121,.06)}
.feature-ico{
  display:grid;place-items:center;
  width:46px;height:46px;flex-shrink:0;
  border-radius:14px;
  border:1px solid var(--line-strong);
  background:radial-gradient(circle at 30% 20%,rgba(246,201,121,.22),transparent 70%);
  color:var(--gold);
}
.feature-ico .ico,.room-ico .ico,.why-ico .ico,.poss-ico .ico,.step-ico .ico{
  width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;
}
.feature h3{font-size:1.02rem;letter-spacing:.01em;margin-bottom:6px}
.feature p{color:var(--muted);font-size:.92rem;line-height:1.5}

/* ---------- интерьер ---------- */

.rooms{display:grid;grid-template-columns:1.35fr .85fr;gap:clamp(28px,4vw,56px);align-items:center}
.room-visual{
  position:relative;
  margin:0;
  border-radius:26px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:0 40px 100px -44px #000;
}
.room-visual img{width:100%;height:auto}
.room-visual::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,transparent 55%,rgba(10,6,3,.85));
}
.hotspot{
  position:absolute;left:var(--x);top:var(--y);
  width:40px;height:40px;margin:-20px 0 0 -20px;
  display:grid;place-items:center;
  z-index:3;
}
.hotspot span{
  width:12px;height:12px;border-radius:50%;
  background:var(--gold-soft);
  box-shadow:0 0 0 6px rgba(246,201,121,.18),0 0 22px 4px rgba(246,201,121,.6);
  transition:transform .35s var(--ease);
}
.hotspot::before{
  content:"";position:absolute;inset:0;border-radius:50%;
  border:1px solid rgba(246,201,121,.55);
  animation:hotspot 2.8s ease-out infinite;
}
@keyframes hotspot{0%{transform:scale(.4);opacity:.9}100%{transform:scale(1.5);opacity:0}}
.hotspot:hover span,.hotspot.is-active span{transform:scale(1.5)}

.room-hint{
  position:absolute;left:20px;bottom:18px;z-index:3;
  font-size:.78rem;color:rgba(244,236,226,.72);
  max-width:60%;
}

.room-list{display:flex;flex-direction:column;gap:8px}
.room{
  display:flex;gap:14px;align-items:flex-start;
  padding:16px 18px;
  border-radius:16px;
  border:1px solid transparent;
  cursor:pointer;
  transition:background .4s,border-color .4s,transform .4s var(--ease);
}
.room:hover .room-ico{color:#2a1604;background:linear-gradient(135deg,#ffdda6,#e8a24a);border-color:transparent}
.room:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.room{position:relative;padding-right:44px}
.room::after{
  content:"→";
  position:absolute;right:18px;top:50%;
  transform:translateY(-50%);
  color:var(--gold);opacity:0;
  transition:opacity .3s,transform .35s var(--ease);
}
.room:hover::after,.room:focus-visible::after{opacity:1;transform:translateY(-50%) translateX(3px)}
.room.active,.room:hover{background:rgba(246,201,121,.07);border-color:var(--line)}
.room.active{transform:translateX(4px)}
.room-ico{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:12px;border:1px solid var(--line);color:var(--gold)}
.room h3{font-size:1rem;margin-bottom:4px}
.room p{font-size:.88rem;color:var(--muted);line-height:1.45}

/* ---------- галерея ---------- */

.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.tile{
  position:relative;
  margin:0;
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(246,201,121,.13);
  cursor:pointer;
  background:#0e0906;
  aspect-ratio:4/5;
}
.tile img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease),filter .6s}
.tile::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 45%,rgba(8,5,3,.9));
  opacity:.85;
  transition:opacity .5s;
}
.tile figcaption{
  position:absolute;left:18px;right:18px;bottom:16px;
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  z-index:2;
  font-weight:600;
  font-size:.95rem;
}
.tile figcaption i{
  font-style:normal;font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;
  color:var(--gold);opacity:0;transform:translateX(-8px);
  transition:opacity .4s,transform .4s;
}
.tile:hover img{transform:scale(1.07);filter:saturate(1.1)}
.tile:hover::after{opacity:.95}
.tile:hover figcaption i{opacity:1;transform:none}
.tile:focus-visible{outline:2px solid var(--gold);outline-offset:4px}

.gallery-foot{
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  margin-top:34px;
  padding:22px 26px;
  border-radius:18px;
  border:1px solid var(--line);
  background:var(--card);
}
.gallery-foot p{color:var(--muted);font-size:.95rem}

/* ---------- цены ---------- */

.section-sizes{padding-top:96px}
.price-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.price-card{
  position:relative;
  display:flex;flex-direction:column;align-items:flex-start;gap:4px;
  padding:26px 20px 20px;
  border-radius:20px;
  border:1px solid rgba(246,201,121,.16);
  background:linear-gradient(165deg,rgba(255,255,255,.055),rgba(255,255,255,.012));
  transition:transform .5s var(--ease),border-color .4s,box-shadow .5s;
  overflow:hidden;
}
.price-card::before{
  content:"";position:absolute;inset:-1px;
  background:radial-gradient(220px 140px at 50% 0%,rgba(246,201,121,.28),transparent 70%);
  opacity:0;transition:opacity .5s;pointer-events:none;
}
.price-card:hover{transform:translateY(-8px);border-color:var(--line-strong);box-shadow:var(--shadow-gold)}
.price-card:hover::before{opacity:1}
.price-format{font-family:var(--display);font-style:italic;font-size:1.85rem;color:#fff;line-height:1}
.price-dim{font-size:.78rem;color:var(--muted);letter-spacing:.04em}
.price-value{font-family:var(--display);font-style:italic;font-size:1.32rem;color:var(--gold-soft);margin:14px 0 16px}
.price-btn{
  display:flex;align-items:center;justify-content:center;
  margin-top:auto;
  width:100%;
  padding:10px 14px;
  border-radius:10px;
  border:1px solid var(--line-strong);
  font-size:.85rem;font-weight:600;
  color:var(--gold);
  text-decoration:none;
  transition:background .3s,color .3s,transform .3s;
}
.price-btn:hover{background:var(--gold);color:#241203}

.price-card.is-hit{
  background:linear-gradient(160deg,#ffdda6,#f3bb68 45%,#df9943);
  border-color:rgba(255,236,200,.8);
  color:#2a1604;
  box-shadow:0 26px 60px -26px rgba(246,169,74,.7);
}
.price-card.is-hit .price-format{color:#2a1604}
.price-card.is-hit .price-dim{color:rgba(42,22,4,.66)}
.price-card.is-hit .price-value{color:#2a1604}
.price-card.is-hit .price-btn{border-color:rgba(42,22,4,.35);color:#2a1604}
.price-card.is-hit .price-btn:hover{background:#2a1604;color:#ffdda6}
.price-hit{
  position:absolute;top:12px;right:12px;
  padding:4px 10px;border-radius:999px;
  background:rgba(42,22,4,.14);
  font-size:.64rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
}

.sizes-note{
  margin-top:26px;
  text-align:center;
  font-size:.9rem;
  color:var(--muted);
}

/* ---------- почему ---------- */

.why-list{display:flex;flex-direction:column;gap:12px;margin-top:34px}
.why{
  display:flex;gap:16px;align-items:flex-start;
  padding:16px 18px;
  border-radius:16px;
  border:1px solid transparent;
  transition:background .4s,border-color .4s,transform .4s var(--ease);
}
.why:hover{background:rgba(246,201,121,.06);border-color:var(--line);transform:translateX(4px)}
.why-ico{
  display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;
  border-radius:50%;
  border:1px solid var(--line-strong);
  color:var(--gold);
  box-shadow:inset 0 0 20px rgba(246,201,121,.12);
}
.why h3{font-size:.98rem;margin-bottom:4px}
.why p{color:var(--muted);font-size:.87rem;line-height:1.45}

/* ---------- шаги ---------- */

.section-steps{background:linear-gradient(180deg,transparent,rgba(246,169,74,.045),transparent)}
.steps{
  position:relative;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
  padding-top:16px;
}
.step{
  position:relative;z-index:1;
  display:flex;flex-direction:column;align-items:center;text-align:center;
  padding:0 6px;
}
.step-ico{
  display:grid;place-items:center;
  width:88px;height:88px;
  border-radius:50%;
  border:1px solid var(--line-strong);
  background:radial-gradient(circle at 50% 20%,rgba(246,201,121,.16),rgba(10,6,3,.9) 72%);
  color:var(--gold);
  box-shadow:0 0 0 8px rgba(246,201,121,.04),0 0 40px -12px rgba(246,169,74,.6);
  transition:transform .6s var(--ease),box-shadow .6s;
  margin-bottom:20px;
}
.step-ico .ico{width:34px;height:34px;stroke-width:1.35}
.step:hover .step-ico{transform:translateY(-6px) scale(1.04);box-shadow:0 0 0 10px rgba(246,201,121,.06),0 0 60px -8px rgba(246,169,74,.8)}
.step-num{
  position:absolute;top:66px;
  width:26px;height:26px;border-radius:50%;
  display:grid;place-items:center;
  background:linear-gradient(135deg,#ffdda6,#e8a24a);
  color:#2a1604;
  font-weight:800;font-size:.78rem;
  box-shadow:0 6px 16px -6px rgba(0,0,0,.9);
}
.step h3{font-size:.98rem;margin-bottom:8px;letter-spacing:.01em}
.step p{font-size:.85rem;color:var(--muted);line-height:1.5;max-width:24ch}

/* ---------- возможности ---------- */

.poss-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:34px}
.poss{
  display:flex;flex-direction:column;gap:14px;
  padding:22px;
  border-radius:18px;
  border:1px solid rgba(246,201,121,.14);
  background:var(--card);
  transition:transform .5s var(--ease),border-color .4s,background .4s;
}
.poss:hover{transform:translateY(-5px);border-color:var(--line-strong);background:rgba(246,201,121,.06)}
.poss-ico{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;border:1px solid var(--line);color:var(--gold);background:radial-gradient(circle at 30% 20%,rgba(246,201,121,.2),transparent 70%)}
.poss-ico .ico{width:26px;height:26px}
.poss h3{font-size:.92rem;letter-spacing:.02em;line-height:1.25}

/* ---------- контакты ---------- */

.contact{padding-bottom:120px}
.contact-inner{
  display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center;
  padding:clamp(28px,5vw,64px);
  border-radius:32px;
  border:1px solid var(--line);
  background:
    radial-gradient(600px 400px at 90% 10%,rgba(246,169,74,.18),transparent 65%),
    linear-gradient(160deg,rgba(255,255,255,.045),rgba(255,255,255,.01));
  box-shadow:0 50px 120px -60px #000;
  overflow:hidden;
  position:relative;
}
.contact-list{display:flex;flex-direction:column;gap:12px;margin:26px 0 34px}
.contact-list li{display:flex;align-items:center;gap:11px;font-size:1rem;color:rgba(244,236,226,.92)}
.contact-note{margin-top:14px;font-size:.82rem;color:var(--muted)}
.contact-alt{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  margin-top:16px;
  font-size:.92rem;color:var(--muted);
}
.contact-alt a{
  font-family:var(--display);font-style:italic;font-size:1.02rem;
  color:var(--gold-soft);
  transition:color .3s;
}
.contact-alt a:hover{color:var(--gold)}
.contact-art{display:flex;justify-content:flex-end}
.contact-art img{
  width:100%;
  max-height:560px;
  object-fit:cover;
  object-position:center 30%;
  border-radius:22px;
  box-shadow:0 40px 90px -40px #000;
}

/* табло соцсетей внутри карточки контактов */

.socials{
  grid-column:1/-1;
  margin-top:6px;
  padding-top:30px;
  border-top:1px solid var(--line);
}
.socials-head{max-width:60ch;margin-bottom:20px}
.socials-title{font-size:1.32rem;letter-spacing:-.01em;margin-top:2px}
.socials-note{font-size:.88rem;color:var(--muted);margin-top:10px;max-width:48ch}

.social-list{display:flex;flex-direction:column;gap:8px;max-width:560px}
.social-row{
  display:flex;align-items:center;gap:14px;
  padding:13px 16px;
  border-radius:14px;
  border:1px solid rgba(246,201,121,.10);
  background:rgba(255,255,255,.022);
  transition:background .35s,border-color .35s,transform .35s var(--ease);
}
.social-row:hover{background:rgba(246,201,121,.07);border-color:var(--line);transform:translateX(4px)}
.social-logo{width:34px;height:34px;object-fit:contain;flex-shrink:0;border-radius:10px}
.social-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.social-name{font-size:.78rem;color:var(--muted);letter-spacing:.02em}
.social-handle{
  font-family:var(--display);font-style:italic;font-size:1.02rem;
  color:var(--gold-soft);
  max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.social-arrow{
  width:18px;height:18px;margin-left:auto;flex-shrink:0;
  fill:none;stroke:var(--gold);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
  opacity:0;transform:translateX(-6px);
  transition:opacity .3s,transform .3s;
}
.social-row:hover .social-arrow{opacity:1;transform:none}
.social-row.is-empty{
  cursor:default;
  border-style:dashed;
  border-color:rgba(246,201,121,.14);
  background:transparent;
}
.social-row.is-empty:hover{background:transparent;border-color:rgba(246,201,121,.14);transform:none}
.social-handle.is-empty{color:var(--muted);opacity:.55}

/* ---------- подвал ---------- */

.site-footer{position:relative;border-top:1px solid var(--line);padding:52px 0 30px;z-index:2;background:rgba(8,5,3,.6)}
.footer-inner{display:flex;align-items:flex-start;justify-content:space-between;gap:32px;flex-wrap:wrap}
.footer-brand p{margin-top:12px;font-size:.85rem;color:var(--muted);max-width:32ch}
.footer-phone{
  display:inline-block;margin-top:12px;
  font-family:var(--display);font-style:italic;font-size:1.05rem;
  color:var(--gold-soft);
  transition:color .3s;
}
.footer-phone:hover{color:var(--gold)}
.footer-socials{display:flex;flex-direction:column;gap:10px;min-width:130px}
.footer-label{font-size:.62rem;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}
.footer-social{
  display:inline-flex;align-items:center;gap:9px;
  font-size:.9rem;color:rgba(244,236,226,.82);
  transition:color .3s;
}
.footer-social img{width:20px;height:20px;object-fit:contain}
.footer-social:hover{color:var(--gold)}
.footer-nav{display:flex;gap:26px;flex-wrap:wrap}
.footer-nav a{font-size:.9rem;color:rgba(244,236,226,.75);transition:color .3s}
.footer-nav a:hover{color:var(--gold)}
.footer-bottom{display:flex;justify-content:space-between;gap:16px;margin-top:38px;padding-top:22px;border-top:1px solid rgba(255,255,255,.06);font-size:.78rem;color:rgba(168,149,127,.8)}

/* ---------- закреплённая кнопка ---------- */

.sticky-cta{
  position:fixed;
  left:50%;bottom:18px;
  transform:translate(-50%,140%);
  display:none;
  align-items:center;
  gap:18px;
  padding:12px 14px 12px 22px;
  border-radius:20px;
  border:1px solid var(--line-strong);
  background:rgba(14,9,5,.92);
  backdrop-filter:blur(18px);
  box-shadow:0 24px 60px -24px #000;
  z-index:110;
  transition:transform .55s var(--ease);
  width:min(440px,calc(100% - 24px));
}
.sticky-cta.is-visible{transform:translate(-50%,0)}
.sticky-info{display:flex;flex-direction:column;line-height:1.25}
.sticky-info strong{font-family:var(--display);font-style:italic;color:var(--gold-soft);font-size:1.05rem}
.sticky-info span{font-size:.72rem;color:var(--muted)}
.sticky-cta .btn{margin-left:auto;padding:12px 22px}

/* ---------- крестик закрытия ---------- */

@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes popIn{from{opacity:0;transform:translateY(24px) scale(.97)}to{opacity:1;transform:none}}
.modal-close{
  position:absolute;top:14px;right:14px;
  width:40px;height:40px;border-radius:12px;
  display:grid;place-items:center;
  border:1px solid var(--line);
  transition:background .3s,border-color .3s;
}
.modal-close:hover{background:rgba(246,201,121,.1);border-color:var(--gold)}
.modal-close svg{width:18px;height:18px;fill:none;stroke:var(--gold);stroke-width:1.8;stroke-linecap:round}




/* ---------- лайтбокс ---------- */

.lightbox{position:fixed;inset:0;z-index:320;display:grid;place-items:center;padding:24px;background:rgba(5,3,2,.92);backdrop-filter:blur(12px);animation:fadeIn .3s ease}
.lightbox[hidden]{display:none}
.lightbox figure{margin:0;max-width:min(760px,100%);text-align:center}
.lightbox img{max-height:72vh;max-width:min(520px,88vw);width:auto;margin-inline:auto;border-radius:18px;border:1px solid var(--line-strong);box-shadow:0 50px 120px -40px #000;animation:popIn .4s var(--ease)}
.lightbox figcaption{margin-top:16px;font-family:var(--display);font-style:italic;font-size:1.2rem;color:var(--gold-soft)}
.lightbox-close{position:absolute;top:22px;right:22px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line-strong);background:rgba(14,9,5,.7)}
.lightbox-close svg{width:20px;height:20px;fill:none;stroke:var(--gold);stroke-width:1.8;stroke-linecap:round}

/* ---------- галерея комнаты ---------- */

.room-modal{position:fixed;inset:0;z-index:315;display:grid;place-items:center;padding:20px;overflow-y:auto}
.room-modal[hidden]{display:none}
.room-backdrop{position:fixed;inset:0;background:rgba(5,3,2,.84);backdrop-filter:blur(14px);animation:fadeIn .35s ease}

.room-box{
  position:relative;
  width:min(900px,100%);
  max-height:calc(100svh - 40px);
  overflow-y:auto;
  padding:clamp(20px,3vw,36px);
  border-radius:28px;
  border:1px solid var(--line-strong);
  background:linear-gradient(165deg,#1b1109,#0c0805 68%);
  box-shadow:0 60px 140px -50px #000,0 0 100px -50px rgba(246,169,74,.7);
  animation:roomOpen .55s var(--ease) both;
}
@keyframes roomOpen{
  from{opacity:0;transform:translateY(28px) scale(.94)}
  to{opacity:1;transform:none}
}

.room-head .eyebrow{margin-bottom:14px}
.room-title{font-size:clamp(1.55rem,3vw,2.15rem);margin:0 0 8px}
.room-sub{color:var(--muted);font-size:.92rem}

.room-deck{position:relative;margin-top:22px}
.room-shot{
  position:relative;
  margin:0;
  aspect-ratio:16/10;
  max-height:min(48vh,460px);
  border-radius:20px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#0d0805;
  box-shadow:0 30px 70px -40px #000;
}
.room-shot img{width:100%;height:100%;object-fit:cover;display:block}
.room-cap{
  position:absolute;left:16px;bottom:14px;z-index:2;
  padding:7px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(10,6,3,.72);
  backdrop-filter:blur(8px);
  font-size:.78rem;
  color:rgba(244,236,226,.9);
}

/* 4 варианта «вылета» фото — по одному на комнату */
.room-modal[data-room="home"] .room-shot img{animation:flyHome .8s var(--ease) both}
.room-modal[data-room="bedroom"] .room-shot img{animation:flyBedroom .8s var(--ease) both}
.room-modal[data-room="kids"] .room-shot img{animation:flyKids .9s cubic-bezier(.34,1.4,.5,1) both}
.room-modal[data-room="work"] .room-shot img{animation:flyWork .8s var(--ease) both}

@keyframes flyHome{
  0%{opacity:0;transform:translate3d(-16%,10%,0) rotate(-5deg) scale(.86)}
  100%{opacity:1;transform:none}
}
@keyframes flyBedroom{
  0%{opacity:0;transform:translate3d(0,18%,0) scale(.92)}
  100%{opacity:1;transform:none}
}
@keyframes flyKids{
  0%{opacity:0;transform:scale(.4) rotate(10deg)}
  60%{opacity:1}
  100%{opacity:1;transform:none}
}
@keyframes flyWork{
  0%{opacity:0;transform:translate3d(18%,-8%,0) scale(.88)}
  100%{opacity:1;transform:none}
}

.room-thumbs{display:flex;gap:10px;margin-top:12px;overflow-x:auto;padding-bottom:2px}
.room-thumb{
  position:relative;
  width:104px;height:68px;flex-shrink:0;
  border-radius:12px;overflow:hidden;
  border:1px solid rgba(246,201,121,.2);
  opacity:.55;
  transition:opacity .35s,border-color .35s,transform .35s var(--ease),box-shadow .35s;
  animation:thumbIn .55s var(--ease) backwards;
  animation-delay:calc(var(--i,0) * 80ms + 140ms);
}
.room-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.room-thumb:hover{opacity:.85}
.room-thumb.is-active{
  opacity:1;border-color:var(--gold);transform:translateY(-3px);
  box-shadow:0 0 0 1px var(--gold),0 14px 26px -16px rgba(246,169,74,.9);
}
@keyframes thumbIn{
  from{opacity:0;transform:translateY(16px) scale(.9)}
  to{opacity:.55;transform:none}
}

.room-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px;flex-wrap:wrap}
.room-nav{display:flex;align-items:center;gap:12px}
.room-arrow{
  width:42px;height:42px;border-radius:50%;
  display:grid;place-items:center;
  border:1px solid var(--line-strong);
  transition:background .3s,border-color .3s,transform .3s;
}
.room-arrow svg{width:18px;height:18px;fill:none;stroke:var(--gold);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.room-arrow:hover{background:rgba(246,201,121,.12);border-color:var(--gold);transform:scale(1.06)}
.room-counter{font-size:.85rem;color:var(--muted);min-width:56px;text-align:center;letter-spacing:.04em}

/* ---------- снег ---------- */

.snow-wrap{position:fixed;inset:0;z-index:3;pointer-events:none;opacity:.75}
#snow{width:100%;height:100%;display:block}

/* ---------- появление при скролле ---------- */

.reveal{
  opacity:0;
  transform:translateY(30px);
  filter:blur(6px);
  transition:opacity .9s var(--ease),transform .9s var(--ease),filter .9s var(--ease);
  transition-delay:var(--d,0ms);
}
.reveal.is-visible{opacity:1;transform:none;filter:none}

/* ---------- адаптив ---------- */

@media (max-width:1100px){
  .price-grid{grid-template-columns:repeat(3,1fr)}
  .room{background:rgba(255,255,255,.02)}
}

@media (max-width:980px){
  .nav{display:none}
  .burger{display:flex}
  .hero{padding-top:130px;min-height:auto}
  .hero-inner{grid-template-columns:1fr;gap:54px;text-align:left}
  .hero-art{order:2;margin-top:10px;justify-self:center;margin-right:0}
  .hero-frame{height:clamp(320px,50vh,460px)}
  .float-card{font-size:.72rem;padding:9px 12px}
  .split{grid-template-columns:1fr;gap:44px}
  .split-rev .split-media{order:0}
  .rooms{grid-template-columns:1fr}
  .room-hint{max-width:70%}
  .gallery{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(2,1fr);gap:34px 18px}
  .steps-line{display:none}
  .contact-inner{grid-template-columns:1fr}
  .contact-art{order:-1;max-width:420px;margin-inline:auto}
  .sticky-cta{display:flex}
  body{padding-bottom:88px}
  .footer-inner{gap:26px}
  .room-box{max-height:calc(100svh - 24px)}
}

@media (max-width:640px){
  body{font-size:16px}
  .wrap{width:calc(100% - 32px)}
  .logo-sub,.logo-sep{display:none}
  .header-inner{height:74px}
  .site-header.is-scrolled .header-inner{height:64px}
  .hero{padding:118px 0 60px}
  .hero-title{font-size:clamp(2rem,9vw,2.9rem)}
  .hero-lead{font-size:1rem}
  .hero-stats{gap:22px;margin-top:32px}
  .hero-stats dd{font-size:1.3rem}
  .fc-price{left:0;top:8%}
  .fc-photo{right:-2%}
  .fc-ship{left:-2%;bottom:6%}
  .section{padding:76px 0}
  .section-tight{padding:64px 0}
  .section-head{margin-bottom:38px}
  .gallery{grid-template-columns:1fr 1fr;gap:10px}
  .tile figcaption{left:12px;right:12px;bottom:10px;font-size:.8rem}
  .tile figcaption i{display:none}
  .price-grid{grid-template-columns:1fr 1fr;gap:10px}
  .price-card{padding:20px 16px 16px}
  .price-card:nth-child(5){grid-column:1/-1;flex-direction:row;align-items:center;flex-wrap:wrap;gap:6px 16px}
  .price-card:nth-child(5) .price-value{margin:0;font-size:1.25rem}
  .price-card:nth-child(5) .price-btn{width:auto;margin-left:auto;margin-top:0;padding:10px 24px}
  .price-format{font-size:1.5rem}
  .price-card.is-hit{transform:none}
  .gallery-foot{flex-direction:column;align-items:flex-start;gap:16px}
  .gallery-foot .btn{width:100%}
  .steps{grid-template-columns:1fr}
  .step{flex-direction:row;text-align:left;gap:16px;align-items:flex-start;padding:0}
  .step-ico{width:64px;height:64px;margin-bottom:0;flex-shrink:0}
  .step-ico .ico{width:26px;height:26px}
  .step-num{top:44px;left:44px}
  .step p{max-width:none}
  .poss-grid{grid-template-columns:1fr 1fr}
  .contact-inner{padding:26px 20px;border-radius:24px}
  .btn-xl{width:100%;padding:18px 24px;font-size:1rem}
  .hero-cta{flex-direction:column;align-items:stretch}
  .hero-cta .btn{width:100%}
  .btn-header{padding:9px 16px;font-size:.82rem}
  .btn-header .ico{display:none}
  .footer-bottom{flex-direction:column;gap:6px}
  .socials{padding-top:22px}
  .socials-title{font-size:1.15rem}
  .social-row{padding:11px 12px;gap:12px}
  .social-logo{width:30px;height:30px}
  .room-box{padding:18px 16px;border-radius:22px}
  .room-modal{padding:12px}
  .room-shot{aspect-ratio:4/3;max-height:42vh;border-radius:16px}
  .room-thumb{width:78px;height:54px}
  .room-foot .btn{width:100%}
  .room-cap{left:10px;bottom:10px;font-size:.72rem}
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
    scroll-behavior:auto !important;
  }
  .reveal{opacity:1;transform:none;filter:none}
  .snow-wrap{display:none}
}
