/* Eralux – натяжні стелі. Стиль: льон / ніч, хвоя, латунь, Fixel. Кут 21° – з лого. */

/* ---------- Шрифти (локально, OFL) ---------- */
@font-face { font-family: "Fixel Display"; src: url(../fonts/FixelDisplay-Light.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Fixel Display"; src: url(../fonts/FixelDisplay-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fixel Display"; src: url(../fonts/FixelDisplay-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fixel Text"; src: url(../fonts/FixelText-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fixel Text"; src: url(../fonts/FixelText-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }

/* ---------- Токени ---------- */
:root {
  --linen: #F1EEE7;
  --chalk: #FAF8F3;
  --stone: #E4DFD4;
  --ink: #1E241F;
  --mute: #5F665E;          /* 5,3:1 на льоні */
  --night: #1A201B;
  --night-2: #232A24;
  --night-line: #343C35;
  --night-mute: #9AA398;
  --green: #3F6A4A;         /* 5,9:1 на льоні */
  --green-hover: #355A3F;
  --brass: #B8935A;
  --glow: #F2D9A6;

  --display: "Fixel Display", "Fixel Text", system-ui, sans-serif;
  --text: "Fixel Text", system-ui, sans-serif;

  --r-lg: 28px;
  --r-xl: 36px;
  --pad: 20px;              /* бічний відступ контенту */
  --frame: 10px;            /* відступ рамки першого екрана */
  --hdr-h: 72px;
  --bar: 38px;
  --btn-h: 52px;
  --chip-h: 52px;
  --island: calc(100vw - 20px);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}
@media (min-width: 768px)  { :root { --pad: 32px; --frame: 14px; --hdr-h: 84px; } }
@media (min-width: 1024px) { :root { --pad: 40px; --frame: 16px; --hdr-h: 96px; --island: 900px; } }
@media (min-width: 1280px) { :root { --island: 1100px; } }
@media (min-width: 1440px) { :root { --pad: 56px; } }

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--hdr-h); }
body { margin: 0; background: var(--linen); color: var(--ink); font: 400 16px/1.55 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--linen); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; white-space: nowrap; text-decoration: none; font: 500 15px/1 var(--text); --bg: var(--ink); --fg: var(--linen); }
.btn__tx { display: inline-flex; align-items: center; height: var(--btn-h); background: var(--bg); color: var(--fg); padding: 0 26px; border-radius: 999px; transition: background-color .4s var(--ease), color .4s var(--ease); }
.btn__ar { width: var(--btn-h); height: var(--btn-h); margin-left: -1px; border-radius: 50%; background: var(--bg); color: var(--fg); display: grid; place-items: center; overflow: hidden; transition: background-color .4s var(--ease); }
.btn__ar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; grid-area: 1 / 1; transition: transform .6s var(--ease); }
.btn__ar svg + svg { transform: translate(-150%, 150%); }
.btn:hover .btn__ar svg:first-child, .btn:focus-visible .btn__ar svg:first-child { transform: translate(150%, -150%); }
.btn:hover .btn__ar svg + svg, .btn:focus-visible .btn__ar svg + svg { transform: none; }
.btn--dark { --bg: var(--ink); --fg: var(--linen); }
.btn--dark:hover { --bg: #000; }
.btn--green { --bg: var(--green); --fg: var(--chalk); }
.btn--green:hover { --bg: var(--green-hover); }
.btn--glow { --bg: var(--glow); --fg: var(--night); }
.btn--line .btn__tx { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--line:hover .btn__tx { background: var(--ink); color: var(--linen); }

/* ---------- Надхедер ---------- */
.topbar { position: relative; z-index: 51; height: var(--bar); display: flex; align-items: center; justify-content: center; background: var(--night); color: var(--linen); }
.topbar__in { display: flex; align-items: center; gap: 10px; padding: 0 var(--pad); font: 500 12px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.topbar .bolt { width: 22px; height: 22px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); }
@media (max-width: 374px) { .topbar__in { font-size: 11px; letter-spacing: .04em; } }

/* ---------- 1. Хедер ---------- */
.hdr { position: fixed; top: var(--bar); left: 0; right: 0; z-index: 50; padding: 0; transition: top .45s var(--ease), padding .6s var(--ease); }
.hdr.is-stuck { top: 0; }
/* меню відкрите вгорі сторінки: хедер лишається під топбаром */
.hdr__in { height: var(--hdr-h); max-width: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--pad); border-radius: 999px; transition: max-width .7s var(--ease), height .6s var(--ease), padding .6s var(--ease), background-color .5s var(--ease), box-shadow .5s var(--ease); }
.hdr__logo img { width: auto; height: 52px; transition: height .6s var(--ease); }
@media (min-width: 1024px) { .hdr__logo img { height: 72px; } }
.hdr.is-stuck { padding-top: 10px; }
.hdr.is-stuck .hdr__in { max-width: var(--island); height: 62px; padding: 0 6px 0 26px; background: rgba(250, 248, 243, .94); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 0 0 1px rgba(30, 36, 31, .07), 0 12px 32px -16px rgba(30, 36, 31, .35); }
.hdr.is-stuck .hdr__logo img { height: 42px; }
.hdr.is-stuck .hdr__phone small { display: none; }
.hdr.is-stuck .hdr__cta { --btn-h: 50px; }
.hdr.is-stuck .nav { padding: 4px; }
.hdr.is-stuck .burger { height: 50px; }
.hdr.is-hidden { transform: translateY(-120%); }
.menu-open .hdr { transform: none; }

.nav { display: none; position: relative; }
@media (min-width: 1024px) {
  .nav { display: block; background: var(--chalk); border-radius: 999px; padding: 5px; box-shadow: inset 0 0 0 1px var(--stone); }
  .nav__list { display: flex; position: relative; z-index: 1; }
  .nav__list a { display: block; padding: 11px 15px; border-radius: 999px; text-decoration: none; font: 500 14px/1 var(--text); transition: color .35s var(--ease); }
  .nav__list a.is-hot { color: var(--linen); }
  .nav__pill { position: absolute; top: 5px; left: 0; height: calc(100% - 10px); width: 0; border-radius: 999px; background: var(--ink); opacity: 0; transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; }
  .nav.has-pill .nav__pill { opacity: 1; }
}
@media (min-width: 1024px) and (max-width: 1279px) { .nav__list a { padding: 11px 11px; } }

.hdr__right { display: flex; align-items: center; gap: 14px; }
.hdr__phone { display: none; text-decoration: none; text-align: right; font: 500 15px/1.2 var(--text); }
.hdr__phone small { display: block; font: 400 12px/1.3 var(--text); color: var(--mute); }
.hdr__cta { display: none; }
@media (min-width: 768px) { .hdr__phone, .hdr__cta { display: inline-flex; } .hdr__phone { display: block; } }
@media (min-width: 1024px) and (max-width: 1279px) { .hdr__phone { display: none; } }

.burger { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 6px 0 18px; border-radius: 999px; background: var(--chalk); box-shadow: inset 0 0 0 1px var(--stone); font: 500 14px/1 var(--text); }
.burger__ic { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); display: grid; place-content: center; gap: 4px; }
.burger__ic i { display: block; width: 14px; height: 1.6px; background: var(--linen); border-radius: 2px; transition: transform .5s var(--ease); }
.burger[aria-expanded="true"] .burger__ic i:first-child { transform: translateY(2.8px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__ic i:last-child { transform: translateY(-2.8px) rotate(-45deg); }
@media (min-width: 1024px) { .burger { display: none; } }

/* Мобільний хедер: на старті – звичайний на всю ширину, при скролі – компактний острівець */
@media (max-width: 1023px) {
  .hdr__in { --mi: 236px; width: 100%; height: 64px; gap: 18px; }
  .hdr__logo img { height: 42px; }
  .burger { height: 48px; padding: 0 5px 0 16px; background: var(--ink); color: var(--linen); box-shadow: none; }
  .burger__ic { background: var(--linen); }
  .burger__ic i { background: var(--ink); }
  .hdr.is-stuck { padding-top: 10px; }
  .hdr.is-stuck .hdr__in { max-width: min(var(--mi), calc(100vw - 20px)); height: 58px; padding: 0 5px 0 18px; }
  .hdr.is-stuck .hdr__logo img { height: 38px; }
  .hdr.is-stuck .burger { height: 48px; }
  .menu-open .burger { background: var(--glow); color: var(--night); }
  .menu-open .burger__ic { background: var(--night); }
  .menu-open .burger__ic i { background: var(--glow); }
  .menu-open .hdr.is-stuck .hdr__in { background: var(--night-2); box-shadow: 0 0 0 1px var(--night-line); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .hdr__in { --mi: 660px; gap: 22px; }
  .hdr__phone small { display: none; }
  .hdr__cta { --btn-h: 48px; }
}

/* Мобільне меню */
.menu { position: fixed; inset: 0; z-index: 40; background: var(--night); color: var(--linen); display: flex; padding: calc(var(--bar) + var(--hdr-h) + var(--frame) + 28px) var(--pad) calc(28px + env(safe-area-inset-bottom)); clip-path: inset(0 0 100% 0 round 0 0 var(--r-xl) var(--r-xl)); transition: clip-path .7s var(--ease-in-out); }
.menu[hidden] { display: none; }
.menu.is-open { clip-path: inset(0 0 0 0 round 0); }
.menu__in { display: flex; flex-direction: column; justify-content: space-between; width: 100%; }
.menu__list a { display: block; padding: 8px 0; text-decoration: none; font: 400 clamp(36px, 10vw, 56px)/1.1 var(--display); letter-spacing: -.02em; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease), color .3s; }
.menu__list a:hover { color: var(--glow); }
.menu.is-open .menu__list a { opacity: 1; transform: none; }
.menu.is-open .menu__list li:nth-child(1) a { transition-delay: .18s; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: .23s; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: .28s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: .33s; }
.menu.is-open .menu__list li:nth-child(5) a { transition-delay: .38s; }
.menu.is-open .menu__list li:nth-child(6) a { transition-delay: .43s; }
.menu__foot { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.menu__phone { font: 400 26px/1 var(--display); text-decoration: none; }
.menu-open .burger { background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); color: var(--linen); }
.menu-open .burger__ic { background: var(--glow); }
.menu-open .burger__ic i { background: var(--night); }
.menu-open { overflow: hidden; }

/* ---------- 2. Перший екран ---------- */
.hero { background: #FFFDF9; }
.hero__frame { position: relative; max-width: 1600px; margin: 0 auto; padding: calc(var(--hdr-h) + 24px) var(--pad) var(--pad); }
@media (min-width: 1024px) { .hero__frame { padding-top: calc(var(--hdr-h) + 36px); padding-bottom: 40px; } }

.hero__meta { display: flex; justify-content: space-between; gap: 16px; font: 500 11px/1.4 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.hero__meta { flex-direction: row; justify-content: space-between; gap: 10px; }

@media (min-width: 768px) { .hero__meta { flex-direction: row; font-size: 12px; align-items: center; } }

.hero__title { margin: 22px 0 0; font: 500 clamp(40px, 6.9vw + 10px, 104px)/1 var(--display); letter-spacing: -.035em; }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .ln > span { display: inline-block; }
.hero__title .b { font-weight: inherit; }
.ln--accent { color: var(--green); }
@media (min-width: 1024px) { .ln--accent { padding-left: 16%; } .hero__title { margin-top: 24px; } }

.hero__row { display: grid; gap: 28px; margin-top: 30px; }
@media (min-width: 1024px) { .hero__row { grid-template-columns: 1fr auto; align-items: end; margin-top: 36px; } }
.hero__text { font: 400 clamp(17px, .5vw + 15px, 20px)/1.5 var(--text); color: var(--mute); max-width: 25em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero__right { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
@media (min-width: 1024px) { .hero__right { justify-content: flex-end; flex-wrap: nowrap; } }

.rate { display: inline-flex; align-items: center; gap: 12px; height: var(--chip-h); padding: 0 4px; border-radius: 999px; background: var(--chalk); box-shadow: inset 0 0 0 1px var(--stone); text-decoration: none; font: 400 14px/1 var(--text); transition: box-shadow .4s var(--ease); }
.rate:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.rate__score { display: inline-flex; align-items: center; gap: 6px; height: 44px; background: var(--ink); color: var(--glow); border-radius: 999px; padding: 0 16px; font-weight: 500; }
.rate__score svg { width: 14px; height: 14px; fill: currentColor; }
.rate__tx { color: var(--mute); }
.rate__tx b { color: var(--ink); font-weight: 500; }
.rate__ar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--stone); transition: transform .5s var(--ease), background-color .4s; }
.rate__ar svg { width: 14px; height: 14px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rate:hover .rate__ar { transform: rotate(45deg); background: var(--linen); }


/* Факти першого екрана (замість пігулок) */
.hfacts { display: grid; margin: 0; width: 100%; }
.hfacts__i { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--stone); }
.hfacts__i:last-child { border-bottom: 1px solid var(--stone); }
.hfacts dt { font: 400 clamp(22px, .8vw + 18px, 32px)/1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.hfacts dd { margin: 0; font: 400 13px/1.3 var(--text); color: var(--mute); text-align: right; }
.hfacts__link { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; }
.stars { font-size: 14px; letter-spacing: 2px; color: var(--brass); transform: translateY(-2px); }
.hfacts__link:hover .stars { color: var(--green); }
@media (min-width: 768px) {
  .hfacts { grid-template-columns: repeat(3, auto); }
  .hfacts__i, .hfacts__i:last-child { display: block; padding: 2px 0 2px 28px; margin-left: 28px; border: 0; border-left: 1px solid var(--stone); }
  .hfacts__i:first-child { margin-left: 0; padding-left: 0; border-left: 0; }
  .hfacts dd { margin-top: 10px; text-align: left; }
}
@media (min-width: 1024px) { .hero__right .hfacts { width: auto; } }

/* Текстове посилання замість другорядної кнопки */
.tlink { display: inline-flex; align-items: center; gap: 8px; height: var(--btn-h); font: 500 15px/1 var(--text); color: var(--ink); text-decoration: none; }
.tlink span { padding: 4px 0; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; transition: background-size .5s var(--ease); }
.tlink svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.tlink:hover span { background-size: 0% 1px; background-position: right bottom; }
.tlink:hover svg { transform: translate(2px, -2px); }
.hero__ctas { align-items: center; column-gap: 24px; }

/* Мітки-текст через крапку (менше «пігулок») */


/* Теги умов */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }

.pill { display: inline-flex; align-items: center; height: var(--chip-h); padding: 0 20px; border-radius: 999px; background: var(--linen); font: 400 14px/1 var(--text); color: var(--ink); white-space: nowrap; }
.pill--price { background: var(--ink); color: var(--linen); font-weight: 500; }
.bolt { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--night); }
.bolt svg { width: 9px; height: 12px; fill: var(--glow); animation: bolt 4.6s linear 2.4s infinite; }
@keyframes bolt {
  0%, 62%, 100% { opacity: 1; filter: drop-shadow(0 0 3px rgba(242, 217, 166, .9)); }
  64% { opacity: .15; filter: none; }
  66% { opacity: 1; filter: drop-shadow(0 0 4px rgba(242, 217, 166, 1)); }
  68% { opacity: .3; filter: none; }
  71% { opacity: 1; filter: drop-shadow(0 0 6px rgba(242, 217, 166, 1)); }
}

/* Смуга фото */
.strip { display: flex; gap: 12px; margin: 34px calc(0px - var(--pad)) 0; padding: 0 var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip__item { position: relative; flex: 0 0 82%; scroll-snap-align: center; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--stone); isolation: isolate; }
.strip__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.strip__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(18, 22, 18, .58)); pointer-events: none; }
.strip__item:hover img { transform: scale(1.04); }
.tag { position: absolute; z-index: 1; left: 16px; top: 16px; padding: 9px 13px; border-radius: 999px; background: rgba(250, 248, 243, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 500 11px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.strip__cap { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; color: #fff; font: 400 24px/1.1 var(--display); letter-spacing: -.01em; }
@media (min-width: 768px) {
  .strip { display: grid; grid-template-columns: 2.15fr 1fr 1fr; gap: 14px; margin: 36px 0 0; padding: 0; overflow: visible; }
  .strip__item { aspect-ratio: auto; height: clamp(300px, 30vw, 440px); border-radius: var(--r-lg); }
  .strip__item:not(.strip__item--main) .strip__cap { font-size: 20px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .strip { grid-template-columns: 1fr 1fr; }
  .strip__item--main { grid-column: 1 / -1; }
}


/* Фото-посилання в смузі */
.strip__link { position: absolute; inset: 0; display: block; color: inherit; border-radius: inherit; }
.strip__go { position: absolute; z-index: 1; right: 16px; top: 16px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(250, 248, 243, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transform: scale(.6); opacity: 0; transition: transform .5s var(--ease), opacity .4s var(--ease); }
.strip__go svg { width: 14px; height: 14px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.strip__link:hover .strip__go, .strip__link:focus-visible .strip__go { transform: none; opacity: 1; }
@media (hover: none) { .strip__go { transform: none; opacity: 1; } }

/* ---------- Спільне для секцій ---------- */
.wrap { padding: 0 var(--pad); max-width: 1600px; margin: 0 auto; }
.label { display: flex; align-items: center; gap: 12px; font: 500 11px/1.4 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 22px; }
.label::before { content: ""; width: 24px; height: 1px; background: currentColor; }
@media (min-width: 768px) { .label { font-size: 12px; } }
.h2 { font: 400 clamp(40px, 5vw + 12px, 92px)/1 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.h2 b { font-weight: inherit; color: var(--green); }

/* ---------- 3. Про нас / цифри ---------- */
.about { padding: clamp(80px, 9vw, 150px) 0 clamp(70px, 8vw, 130px); }
.about__lead { text-wrap: pretty; font: 400 clamp(26px, 2.3vw + 14px, 50px)/1.16 var(--display); letter-spacing: -.02em; max-width: 22em; color: var(--mute); }
.about__lead b { font-weight: inherit; color: var(--ink); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: clamp(40px, 5vw, 80px); }
.fact { position: relative; padding: 20px 18px 18px; min-height: 172px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; box-shadow: inset 0 0 0 .5px var(--stone), 0 0 0 .5px var(--stone); background: var(--linen); }
.fact__d { font: 400 13px/1.45 var(--text); color: var(--mute); max-width: 17em; }
.fact__n { display: flex; align-items: baseline; gap: 8px; }
.fact__n .count { font: 300 clamp(56px, 4.5vw + 20px, 104px)/.9 var(--display); letter-spacing: -.04em; }
.fact__n small { font: 400 15px/1 var(--text); color: var(--mute); }
.fact--dark { grid-column: 1 / -1; background: var(--night); color: var(--linen); box-shadow: none; border-radius: 0; }
.fact--dark .fact__d { color: var(--night-mute); max-width: 22em; }
.fact__t { font: 400 clamp(30px, 1.6vw + 22px, 44px)/1 var(--display); letter-spacing: -.02em; color: var(--glow); }
.fact__link { display: inline-flex; align-items: center; gap: 10px; font: 500 14px/1 var(--text); text-decoration: none; color: var(--linen); padding-bottom: 6px; border-bottom: 1px solid var(--night-line); align-self: flex-start; transition: border-color .4s var(--ease), gap .4s var(--ease); }
.fact__link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fact__link:hover { border-color: var(--glow); gap: 14px; }
.fact--photo { grid-column: 1 / -1; padding: 0; min-height: 0; aspect-ratio: 4 / 3; overflow: hidden; box-shadow: none; }
@media (max-width: 767px) {
  .fact--c { grid-column: 1 / -1; min-height: 140px; }
  .fact--dark { margin-top: 12px; border-radius: 22px; }
  .facts .fact--photo { margin-top: 12px; border-radius: 22px; --clip-r: 22px; }
}
.fact--photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) {
  .facts { grid-template-columns: repeat(4, 1fr); grid-template-rows: auto auto; }
  .fact { min-height: 230px; padding: 24px 22px 22px; }
  .fact--a { grid-column: 1; grid-row: 1; }
  .fact--b { grid-column: 3; grid-row: 1; }
  .fact--c { grid-column: 2; grid-row: 2; }
  .fact--dark { grid-column: 4; grid-row: 1; }
  .fact--photo { grid-column: 4; grid-row: 2; aspect-ratio: auto; }
}
@media (min-width: 1024px) { .fact { min-height: 270px; padding: 26px 26px 24px; } .fact__d { font-size: 14px; } }
.facts .fact--photo { padding: 0; }


/* ---------- 4. Світло (день / вечір) ---------- */
.light { --bg: var(--linen); --fg: var(--ink); --sub: var(--mute); --line: var(--stone); --card: var(--chalk);
  background: var(--bg); color: var(--fg); padding: clamp(80px, 9vw, 150px) 0; transition: background-color 1s var(--ease), color 1s var(--ease); }
.light.is-night { --bg: var(--night); --fg: var(--linen); --sub: var(--night-mute); --line: var(--night-line); --card: var(--night-2); }
.light .label, .light__text { color: var(--sub); transition: color 1s var(--ease); }
.light__head { display: grid; gap: 22px; margin-bottom: clamp(32px, 4vw, 60px); }
@media (min-width: 1024px) { .light__head { grid-template-columns: 1fr minmax(0, 26em); align-items: end; } }
.light__text { font: 400 clamp(16px, .4vw + 14px, 19px)/1.55 var(--text); max-width: 26em; }
.light.is-night .h2 b { color: var(--glow); }
.h2 b { transition: color 1s var(--ease); }

.light__grid { display: grid; gap: 28px; }
@media (min-width: 1024px) { .light__grid { grid-template-columns: minmax(0, 1.9fr) minmax(320px, 1fr); gap: 40px; } }
.light__stage { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--stone); aspect-ratio: 4 / 3; }
@media (min-width: 768px) { .light__stage { aspect-ratio: 3 / 2; } }
.light__pics, .light__pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.light__night { opacity: 0; transition: opacity 1.1s var(--ease-in-out); }
.light.is-night .light__night { opacity: 1; }
.light__pics.is-swap img { transition: opacity .35s ease; }

.switch { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: block; width: 176px; height: 52px; padding: 0; border-radius: 999px; background: rgba(26, 32, 27, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--night-mute); font: 500 14px/1 var(--text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
/* без grid/flex на самій кнопці – Safari інакше зсуває підписи */
.switch__l, .switch__r, .switch__knob { position: absolute; top: 4px; bottom: 4px; width: calc(50% - 4px); border-radius: 999px; }
.switch__l, .switch__r { z-index: 1; display: flex; align-items: center; justify-content: center; transition: color .6s var(--ease); }
.switch__l { left: 4px; color: var(--night); }
.switch__r { right: 4px; }
.switch__knob { left: 4px; background: var(--linen); transition: transform .7s var(--ease), background-color .7s var(--ease), box-shadow .9s var(--ease); }
.switch[aria-checked="true"] .switch__knob { transform: translateX(100%); background: var(--glow); box-shadow: 0 0 28px 6px rgba(242, 217, 166, .5), 0 0 80px 18px rgba(242, 217, 166, .18); }
.switch[aria-checked="true"] .switch__l { color: var(--night-mute); }
.switch[aria-checked="true"] .switch__r { color: var(--night); }
@media (min-width: 768px) { .switch { left: 24px; bottom: 24px; } .light__room { right: 24px; top: 24px; } }
.light__room { position: absolute; right: 16px; top: 16px; z-index: 2; padding: 9px 13px; border-radius: 999px; background: rgba(250, 248, 243, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 500 12px/1 var(--text); letter-spacing: .04em; color: var(--ink); }

.light__side { display: flex; flex-direction: column; gap: 26px; }
.rooms { display: flex; flex-direction: column; border-top: 1px solid var(--line); transition: border-color 1s var(--ease); }
.rooms button { width: 100%; display: grid; grid-template-columns: 36px 1fr auto; align-items: baseline; gap: 10px; padding: 16px 2px; border-bottom: 1px solid var(--line); text-align: left; color: var(--sub); transition: color .5s var(--ease), border-color 1s var(--ease), padding .5s var(--ease); }
.rooms__n { font: 500 12px/1 var(--text); letter-spacing: .1em; }
.rooms__name { font: 400 clamp(22px, .8vw + 16px, 28px)/1.1 var(--display); letter-spacing: -.01em; }
.rooms__m { font: 400 13px/1 var(--text); }
.rooms button:hover { color: var(--fg); }
.rooms button[aria-selected="true"] { color: var(--fg); padding-left: 10px; }
.light.is-night .rooms button[aria-selected="true"] .rooms__n { color: var(--glow); }

.glow-list { border-radius: 22px; background: var(--card); padding: 22px; transition: background-color 1s var(--ease); }
.glow-list__t { font: 500 11px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--sub); margin-bottom: 8px; }
#light-items li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); font: 400 15px/1.35 var(--text); transition: opacity .5s var(--ease), transform .5s var(--ease); }
#light-items li small { display: block; font-size: 13px; color: var(--sub); }
#light-items li b { font-weight: 500; white-space: nowrap; }
#light-items.is-out li { opacity: 0; transform: translateY(8px); }
.glow-list__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; font: 400 14px/1.3 var(--text); color: var(--sub); }
.glow-list__total b { font: 300 clamp(28px, 1vw + 22px, 38px)/1 var(--display); letter-spacing: -.02em; color: var(--fg); white-space: nowrap; transition: color 1s var(--ease); }
.light.is-night .glow-list__total b { color: var(--glow); }
.glow-list__note { margin-top: 12px; font: 400 12px/1.45 var(--text); color: var(--sub); }
.light__cta { align-self: flex-start; }
.light:not(.is-night) .light__cta { --bg: var(--ink); --fg: var(--linen); }

.also { margin-top: clamp(36px, 4vw, 56px); padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; transition: border-color 1s var(--ease); }
@media (min-width: 1024px) { .also { grid-template-columns: 200px 1fr; align-items: center; } }
.also__t { font: 500 11px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--sub); }
.also__list { display: flex; flex-wrap: wrap; gap: 8px; }
.also__list li { padding: 11px 15px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font: 400 14px/1 var(--text); transition: box-shadow 1s var(--ease); }
.also__list li b { font-weight: 500; margin-left: 6px; }
.light.is-night .also__list li b { color: var(--glow); }


/* ---------- 5. Полотно і профіль ---------- */
.ceil { padding: clamp(80px, 9vw, 150px) 0; }
.ceil__head { display: grid; gap: 22px; margin-bottom: clamp(40px, 5vw, 80px); }
@media (min-width: 1024px) { .ceil__head { grid-template-columns: 1fr minmax(0, 26em); align-items: end; } }
.ceil__lead { font: 400 clamp(16px, .4vw + 14px, 19px)/1.55 var(--text); color: var(--mute); max-width: 26em; }
.sub { display: flex; align-items: baseline; gap: 14px; padding-top: 18px; margin-bottom: 26px; border-top: 1px solid var(--stone); font: 400 clamp(22px, .8vw + 17px, 30px)/1.15 var(--display); letter-spacing: -.01em; }
.sub span:first-child { font: 500 12px/1 var(--text); letter-spacing: .1em; color: var(--green); }

.canv { display: grid; gap: 20px; margin-bottom: clamp(64px, 7vw, 110px); }
@media (min-width: 1024px) { .canv { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; } }
.canv__list { display: flex; flex-direction: column; }
@media (max-width: 1023px) { .canv__list { order: 2; } }
.canv__list button { position: relative; width: 100%; display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: baseline; padding: 20px 0 20px 22px; border-bottom: 1px solid var(--stone); text-align: left; }
.canv__list li:first-child button { border-top: 1px solid var(--stone); }
.canv__list button::before { content: ""; position: absolute; left: 0; top: 50%; width: 2px; height: 0; background: var(--green); transform: translateY(-50%); transition: height .5s var(--ease); }
.canv__list button[aria-selected="true"]::before { height: calc(100% - 32px); }
.canv__name { font: 400 clamp(26px, 1.2vw + 20px, 38px)/1.1 var(--display); letter-spacing: -.02em; color: var(--mute); transition: color .4s var(--ease); }
.canv__price { font: 500 14px/1 var(--text); color: var(--mute); white-space: nowrap; }
.canv__text { grid-column: 1 / -1; display: block; max-height: 0; overflow: hidden; opacity: 0; font: 400 15px/1.55 var(--text); color: var(--mute); max-width: 30em; transition: max-height .6s var(--ease), opacity .5s var(--ease), margin .6s var(--ease); }
.canv__list button:hover .canv__name, .canv__list button[aria-selected="true"] .canv__name { color: var(--ink); }
.canv__list button[aria-selected="true"] .canv__price { color: var(--green); }
.canv__list button[aria-selected="true"] .canv__text { max-height: 6em; opacity: 1; margin-top: 10px; }
.canv__pic { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); }
.canv__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease), transform 1s var(--ease); }
.canv__pic.is-swap img { opacity: 0; transform: scale(1.03); }
.canv__pic .tag { left: 16px; top: 16px; }
@media (min-width: 768px) { .canv__pic .tag { left: 24px; top: 24px; } }

.profs { display: flex; gap: 12px; margin: 0 calc(0px - var(--pad)) clamp(48px, 5vw, 80px); padding: 0 var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.profs::-webkit-scrollbar { display: none; }
.profs .prof { flex: 0 0 80%; scroll-snap-align: center; }
@media (min-width: 600px) { .profs { display: grid; margin-left: 0; margin-right: 0; padding: 0; overflow: visible; } .profs .prof { flex: none; } }
@media (min-width: 600px) { .profs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .profs { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.prof { background: var(--chalk); border-radius: 22px; padding: 22px 22px 26px; display: flex; flex-direction: column; transition: background-color .5s var(--ease), transform .6s var(--ease); }
.prof:hover { background: #FFFDF9; transform: translateY(-4px); }
.prof__top { display: flex; justify-content: space-between; align-items: center; }
.prof__n { font: 500 12px/1 var(--text); letter-spacing: .1em; color: var(--mute); }
.prof__price { height: 32px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--linen); font: 500 13px/1 var(--text); white-space: nowrap; }
.prof[data-profile="pvc"] .prof__price { background: var(--green); color: var(--chalk); }
.prof__ph { position: relative; margin: 18px 0 20px; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--linen); }
.prof__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prof__name { margin: auto 0 8px; font: 400 clamp(24px, .6vw + 20px, 30px)/1.1 var(--display); letter-spacing: -.015em; }
.prof__text { font: 400 14px/1.55 var(--text); color: var(--mute); }

.factory { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 32px 24px 0; border-radius: var(--r-lg); background: var(--night); color: var(--linen); }
@media (min-width: 1024px) { .factory { grid-template-columns: minmax(0, 1fr) auto; align-items: end; padding: 52px 52px 0; } }
.factory__label { font: 500 11px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--night-mute); margin-bottom: 18px; }
.factory__title { font: 400 clamp(32px, 2.4vw + 20px, 60px)/1.02 var(--display); letter-spacing: -.03em; color: var(--glow); }
.factory__text { margin-top: 16px; font: 400 clamp(15px, .3vw + 14px, 18px)/1.55 var(--text); color: var(--night-mute); max-width: 32em; }
.factory__btn { justify-self: start; }
.ticker { grid-column: 1 / -1; min-width: 0; margin: 8px -24px 0; padding: 18px 0; border-top: 1px solid var(--night-line); overflow: hidden; }
@media (min-width: 1024px) { .ticker { margin: 16px -52px 0; } }
.ticker__in { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.ticker__in span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 400 clamp(18px, .6vw + 15px, 24px)/1 var(--display); color: var(--night-mute); white-space: nowrap; }
.ticker__in span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
@keyframes ticker { to { transform: translateX(-50%); } }

.hint { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: clamp(28px, 3vw, 40px); padding: 22px 0 0; border-top: 1px solid var(--stone); }
.hint p { font: 400 clamp(16px, .3vw + 15px, 19px)/1.5 var(--text); color: var(--mute); max-width: 34em; }


/* ---------- 6. До / після ---------- */
.ba { background: #FFFDF9; padding: clamp(80px, 9vw, 150px) 0; }
.ba__head { display: grid; gap: 22px; margin-bottom: clamp(36px, 4vw, 64px); }
@media (min-width: 1024px) { .ba__head { grid-template-columns: 1fr minmax(0, 26em); align-items: end; } }
.ba__lead { font: 400 clamp(16px, .4vw + 14px, 19px)/1.55 var(--text); color: var(--mute); max-width: 26em; }
.ba__grid { display: grid; gap: 28px; }
@media (min-width: 1024px) { .ba__grid { grid-template-columns: minmax(0, 2.1fr) minmax(300px, 1fr); gap: 56px; align-items: center; } }

.cmp { --t: 14.4; position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--stone); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; isolation: isolate; }
.cmp__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cmp__before { filter: saturate(.55) brightness(.97); }
.cmp__after { clip-path: polygon(calc((var(--p) + var(--t)) * 1%) 0, 100% 0, 100% 100%, calc((var(--p) - var(--t)) * 1%) 100%); }
.cmp__line { position: absolute; z-index: 2; top: -20%; bottom: -20%; left: calc(var(--p) * 1%); width: 2px; margin-left: -1px; background: #FFFDF9; transform: rotate(21deg); box-shadow: 0 0 18px rgba(0, 0, 0, .25); pointer-events: none; }
.cmp__handle { position: absolute; z-index: 3; left: calc(var(--p) * 1%); top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 18px; background: #FFFDF9; display: grid; place-items: center; transform: rotate(21deg); box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .45); cursor: grab; transition: box-shadow .4s var(--ease), scale .4s var(--ease); }
.cmp__handle svg { width: 24px; height: 24px; transform: rotate(-21deg); fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cmp.is-drag .cmp__handle { cursor: grabbing; scale: 1.08; }
.cmp__handle:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.cmp__lab { position: absolute; z-index: 2; top: 16px; height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: rgba(250, 248, 243, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 500 12px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); pointer-events: none; }
.cmp__lab--b { left: 16px; }
.cmp__lab--a { right: 16px; background: var(--ink); color: var(--linen); }
@media (min-width: 768px) { .cmp__lab { top: 24px; } .cmp__lab--b { left: 24px; } .cmp__lab--a { right: 24px; } }

.ba__info { display: flex; flex-direction: column; align-items: flex-start; }
.ba__n { font: 500 12px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.ba__title { font: 400 clamp(28px, 1vw + 22px, 38px)/1.1 var(--display); letter-spacing: -.02em; }
.ba__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 18px; }
.ba__chips li { height: 38px; display: inline-flex; align-items: center; padding: 0 15px; border-radius: 999px; background: var(--linen); font: 400 14px/1 var(--text); }
.ba__text { font: 400 16px/1.55 var(--text); color: var(--mute); max-width: 26em; margin-bottom: 28px; }
.ba__list { display: flex; gap: 10px; margin: -6px 0 28px; }
.ba__list button[aria-pressed] { width: 72px; height: 54px; border-radius: 12px; overflow: hidden; opacity: .55; box-shadow: 0 0 0 2px transparent; transition: opacity .4s var(--ease), box-shadow .4s var(--ease); }
.ba__list button[aria-pressed] img { width: 100%; height: 100%; object-fit: cover; }
.ba__list button[aria-pressed="true"], .ba__list button[aria-pressed]:hover { opacity: 1; }
.ba__list button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--green); }
.ba__nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ba__nav .rbtn { width: 44px; height: 44px; }
.ba__list { align-items: center; flex-wrap: wrap; }
@media (max-width: 479px) { .ba__list button[aria-pressed] { width: 56px; height: 42px; } }
.ba__fade { transition: opacity .35s var(--ease); }
.ba__fade.is-out { opacity: 0; }

/* ---------- 7. Проєкти ---------- */
.cases { --edge: max(var(--pad), calc((100vw - 1600px) / 2 + var(--pad))); background: var(--night); color: var(--linen); padding: clamp(80px, 9vw, 150px) 0 clamp(70px, 7vw, 120px); overflow: hidden; }
.cases .label { color: var(--night-mute); }
.cases .h2 b { color: var(--glow); }
.cases__head { display: grid; gap: 26px; margin-bottom: clamp(36px, 4vw, 60px); }
@media (min-width: 1024px) { .cases__head { grid-template-columns: 1fr minmax(0, 24em); align-items: end; } }
.cases__lead { font: 400 clamp(16px, .4vw + 14px, 19px)/1.55 var(--text); color: var(--night-mute); max-width: 24em; }
.cases__nav { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.cases__count { margin-right: auto; font: 400 15px/1 var(--text); color: var(--night-mute); }
.cases__count b { font-weight: 500; color: var(--linen); }
.rbtn { width: var(--btn-h); height: var(--btn-h); border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--night-line); color: var(--linen); transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), opacity .3s; }
.rbtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rbtn:hover { background: var(--linen); color: var(--night); box-shadow: none; }
.rbtn:disabled { opacity: .3; pointer-events: none; }

.cases__rail { position: relative; }
.cases__track { display: flex; align-items: flex-start; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--edge); padding: 0 var(--edge); scrollbar-width: none; overscroll-behavior-x: contain; }
.cases__track::-webkit-scrollbar { display: none; }
.cases__track::after { content: ""; flex: 0 0 1px; }
.cases__track.is-drag { scroll-snap-type: none; cursor: grabbing; }
.cases__track.is-drag * { user-select: none; }
@media (min-width: 1024px) { .cases__track { gap: 20px; } }
.case { flex: 0 0 min(86vw, 880px); scroll-snap-align: start; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--night-2); overflow: hidden; }
@media (min-width: 1024px) { .case { flex-basis: clamp(560px, 58vw, 900px); } }
.case__pic { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #2B332C; }
.case__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s var(--ease), transform 1.2s var(--ease); }
.case__img.is-swap { opacity: 0; }
.case:hover .case__img { transform: scale(1.025); }
.case__tags { position: absolute; z-index: 1; left: 16px; top: 16px; display: flex; gap: 8px; }
.case__tags .tag { position: static; }
.case__ths { position: absolute; z-index: 1; left: 16px; bottom: 16px; display: flex; gap: 8px; }
.case__th { width: 64px; height: 44px; border-radius: 10px; overflow: hidden; opacity: .7; box-shadow: 0 0 0 2px rgba(255, 255, 255, .0), 0 6px 16px -6px rgba(0, 0, 0, .6); transition: opacity .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.case__pnav { position: absolute; z-index: 2; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(26, 32, 27, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.case__pb { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #FFFDF9; transition: background-color .3s var(--ease), color .3s var(--ease); }
.case__pb svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.case__pb:hover { background: #FFFDF9; color: var(--night); }
.case__pb[data-dir="-1"]:hover svg { transform: translateX(-2px); }
.case__pb[data-dir="1"]:hover svg { transform: translateX(2px); }
.case__pb:focus-visible { outline: 2px solid var(--glow); outline-offset: 2px; }
.case__pc { min-width: 38px; text-align: center; font: 500 13px/1 var(--text); color: #FFFDF9; }
@media (min-width: 768px) { .case__pnav { right: 24px; bottom: 24px; } }
@media (max-width: 479px) { .case__pb { width: 34px; height: 34px; } .case__pc { min-width: 30px; font-size: 12px; } }
.case__th img { width: 100%; height: 100%; object-fit: cover; }
.case__th:hover { opacity: 1; transform: translateY(-2px); }
.case__th.is-on { opacity: 1; box-shadow: 0 0 0 2px var(--glow), 0 6px 16px -6px rgba(0, 0, 0, .6); }
@media (min-width: 768px) { .case__tags { left: 24px; top: 24px; } .case__ths { left: 24px; bottom: 24px; } .case__th { width: 76px; height: 52px; } }
@media (max-width: 479px) { .case__ths { display: none; } }

.case__body { display: grid; gap: 16px; padding: 24px 22px 0; }
@media (min-width: 768px) { .case__body { grid-template-columns: 1fr auto; align-items: end; padding: 30px 30px 0; } }
.case__title { font: 400 clamp(24px, 1vw + 18px, 36px)/1.1 var(--display); letter-spacing: -.02em; }
.case__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.case__meta li { height: 32px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--night-line); font: 400 13px/1 var(--text); color: var(--night-mute); }
/* Мітки текстом через «·»: крапка першого елемента в кожному рядку ховається за лівим краєм */
.ba__chips, .case__meta { gap: 2px 0; clip-path: inset(-4px -4px -4px 22px); }
.ba__chips { margin-left: -22px; }
.case__meta { margin-left: -22px; }
.ba__chips li, .case__meta li { height: auto; padding: 0; background: none; box-shadow: none; border-radius: 0; white-space: nowrap; }
.ba__chips li::before, .case__meta li::before { content: "·"; display: inline-block; width: 22px; text-align: center; color: var(--mute); }
.case__meta li::before { color: var(--night-mute); }
.ba__chips li { font: 400 15px/1.5 var(--text); color: var(--ink); }
.case__meta li { font: 400 14px/1.5 var(--text); }
.case__sum { text-align: left; }
@media (min-width: 768px) { .case__sum { text-align: right; } }
.case__price { font: 300 clamp(30px, 1.4vw + 22px, 46px)/1 var(--display); letter-spacing: -.03em; color: var(--night-mute); white-space: nowrap; }
.case__price span { color: var(--glow); }
.case__under { margin-top: 6px; font: 400 13px/1 var(--text); color: var(--night-mute); }

.case__more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding: 22px 22px 22px; }
@media (min-width: 768px) { .case__more { padding: 26px 30px 30px; } }
.case__toggle { display: inline-flex; align-items: center; gap: 12px; height: var(--btn-h); font: 500 14px/1 var(--text); color: var(--linen); }
.case__toggle i { position: relative; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--night-line); transition: background-color .4s var(--ease), transform .5s var(--ease); }
.case__toggle i::before, .case__toggle i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease); }
.case__toggle i::after { transform: rotate(90deg); }
.case__toggle[aria-expanded="true"] i::after { transform: rotate(0deg); }
.case__toggle:hover i { background: var(--night-line); }
.case__break { order: 3; flex-basis: 100%; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.case.is-open .case__break { grid-template-rows: 1fr; }
.case__break > ul { overflow: hidden; min-height: 0; }
.case__break li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px dashed var(--night-line); font: 400 14px/1.4 var(--text); color: var(--night-mute); }
.case__break li:last-child { border-bottom: 1px dashed var(--night-line); }
.case__break li b { font-weight: 500; color: var(--linen); white-space: nowrap; }

.drag { position: absolute; z-index: 5; left: 0; top: 0; width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 50%; background: var(--glow); color: var(--night); display: grid; place-content: center; justify-items: center; gap: 6px; font: 500 13px/1 var(--text); pointer-events: none; transform: translate(var(--x, 0), var(--y, 0)) scale(0); transition: transform .35s var(--ease); box-shadow: 0 0 40px 6px rgba(242, 217, 166, .25); }
.drag svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.drag.is-on { transform: translate(var(--x, 0), var(--y, 0)) scale(1); transition: transform .15s linear; }
.drag.is-on.is-small { transform: translate(var(--x, 0), var(--y, 0)) scale(.35); }
@media (hover: none), (pointer: coarse) { .drag { display: none; } }
@media (hover: hover) and (pointer: fine) { .cases__track { cursor: none; } .cases__track a, .cases__track button { cursor: pointer; } }

.cases__bar { position: relative; height: 2px; margin-top: 30px; background: var(--night-line); border-radius: 2px; overflow: hidden; }
.cases__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 25%; background: var(--glow); border-radius: 2px; transition: width .5s var(--ease); }


/* ---------- 8. Калькулятор ---------- */
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc { padding: clamp(80px, 9vw, 150px) 0; }
.calc__head { display: grid; gap: 22px; margin-bottom: clamp(36px, 4vw, 64px); }
@media (min-width: 1024px) { .calc__head { grid-template-columns: 1fr minmax(0, 26em); align-items: end; } }
.calc__lead { font: 400 clamp(16px, .4vw + 14px, 19px)/1.55 var(--text); color: var(--mute); max-width: 26em; }
.calc__grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .calc__grid { grid-template-columns: minmax(0, 1.4fr) minmax(360px, 1fr); gap: 56px; align-items: start; } }

.cs { margin: 0; padding: 28px 0 32px; border: 0; border-top: 1px solid var(--stone); min-width: 0; }
.cs__t { float: left; width: 100%; display: flex; align-items: baseline; gap: 14px; padding: 0; margin-bottom: 24px; font: 400 clamp(24px, .7vw + 19px, 30px)/1.1 var(--display); letter-spacing: -.01em; }
.cs__t + * { clear: both; }
.cs__n { font: 500 12px/1 var(--text); letter-spacing: .1em; color: var(--green); }
.cs__lab { display: flex; align-items: center; gap: 10px; min-height: 22px; margin-bottom: 10px; font: 500 13px/1.2 var(--text); color: var(--mute); }
.cs__note { margin-top: 14px; font: 400 13px/1.5 var(--text); color: var(--mute); }
.cs__row { display: flex; flex-wrap: wrap; gap: 20px 32px; margin-top: 26px; }
.cs__auto { height: 22px; padding: 0 9px; border-radius: 999px; background: var(--chalk); box-shadow: inset 0 0 0 1px var(--stone); font: 500 11px/1 var(--text); color: var(--green); }
.cs + .cs .cs__lab:not(:first-of-type) { margin-top: 22px; }
.seg + .cs__lab { margin-top: 24px; }

.area { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 20px; margin-bottom: 18px; }
.area__val { display: flex; align-items: baseline; gap: 10px; }
.area__in { width: 1.3em; padding: 0; border: 0; background: none; color: var(--ink); font: 300 clamp(72px, 4vw + 48px, 112px)/.9 var(--display); letter-spacing: -.04em; caret-color: var(--green); border-radius: 8px; }
.area__in:focus { outline: none; box-shadow: 0 2px 0 var(--green); }
.area__u { font: 400 24px/1 var(--display); color: var(--mute); }
.area__hint { font: 400 13px/1.4 var(--text); color: var(--mute); padding-bottom: 10px; }

.bars { display: flex; align-items: flex-end; gap: 4px; height: 76px; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; border-radius: 6px; }
.bars i { flex: 1; min-width: 2px; height: var(--h); border-radius: 3px; background: var(--stone); transition: background-color .25s var(--ease), transform .3s var(--ease); transform-origin: bottom; }
.bars i.on { background: var(--green); }
.bars i.k { background: var(--ink); transform: scaleY(1.12); }
.bars:hover i:not(.on):not(.k) { background: #DAD4C7; }
.bars:focus-visible { outline: 2px solid var(--green); outline-offset: 6px; }
.bars__scale { display: flex; justify-content: space-between; margin-top: 10px; font: 400 12px/1 var(--text); color: var(--mute); }

.stp { display: inline-flex; align-items: center; gap: 2px; height: var(--btn-h); padding: 4px; border-radius: 999px; background: var(--chalk); box-shadow: inset 0 0 0 1px var(--stone); }
.stp__b { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 400 22px/1 var(--text); color: var(--ink); transition: background-color .3s var(--ease); }
.stp__b:hover { background: var(--linen); }
.stp__b:disabled { opacity: .3; pointer-events: none; }
.stp input { width: 3ch; padding: 0; border: 0; background: none; text-align: center; font: 500 17px/1 var(--text); color: var(--ink); }
.stp input:focus { outline: none; }
.stp:focus-within { box-shadow: inset 0 0 0 1.5px var(--green); }
.stp__u { font: 400 14px/1 var(--text); color: var(--mute); margin: 0 6px 0 -2px; }

.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { height: var(--btn-h); padding: 0 22px; border-radius: 999px; background: var(--chalk); box-shadow: inset 0 0 0 1px var(--stone); font: 500 15px/1 var(--text); color: var(--ink); transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease); }
.opt:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.opt[aria-checked="true"] { background: var(--ink); color: var(--linen); box-shadow: none; }
.opts--profile { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 768px) { .opts--profile { grid-template-columns: repeat(3, 1fr); } }
.opt--card { height: auto; min-height: 84px; padding: 16px 18px; border-radius: 18px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 10px; text-align: left; }
.opt--card small { font: 400 13px/1 var(--text); color: var(--mute); transition: color .35s var(--ease); }
.opt--card[aria-checked="true"] small { color: var(--glow); }

.lights li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--stone); }
.lights li:first-child { border-top: 1px dashed var(--stone); }
.lights__name { font: 400 16px/1.3 var(--text); }
.lights__name small { display: block; margin-top: 3px; font: 400 13px/1.2 var(--text); color: var(--mute); }
.lights li.is-set .lights__name { color: var(--ink); }
.lights li.is-set .stp { box-shadow: inset 0 0 0 1.5px var(--green); }

.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 26px; background: var(--chalk); box-shadow: inset 0 0 0 1px var(--stone); }
.seg button { height: 44px; padding: 0 18px; border-radius: 999px; font: 500 14px/1 var(--text); color: var(--mute); transition: background-color .35s var(--ease), color .35s var(--ease); }
.seg button:hover { color: var(--ink); }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--linen); }

/* Результат */
.res { position: relative; }
@media (min-width: 1024px) { .res { position: sticky; top: 96px; } }
.res__card { border-radius: var(--r-lg); background: var(--night); color: var(--linen); padding: 26px 22px 24px; box-shadow: 0 30px 60px -40px rgba(26, 32, 27, .6); }
@media (min-width: 768px) { .res__card { padding: 34px 32px 30px; } }
.res__t { font: 500 11px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--night-mute); }
.res__sum { margin-top: 14px; display: flex; align-items: baseline; gap: 10px; white-space: nowrap; font: 300 clamp(50px, 2.6vw + 34px, 76px)/1 var(--display); letter-spacing: -.035em; color: var(--glow); }
.res__approx, .res__cur { font-size: .42em; letter-spacing: 0; color: var(--night-mute); }
.res__range { margin-top: 10px; font: 400 14px/1.3 var(--text); color: var(--night-mute); }
.res__rows { margin-top: 22px; }
.res__rows li { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-top: 1px dashed var(--night-line); font: 400 14px/1.35 var(--text); color: var(--night-mute); animation: rowIn .45s var(--ease) both; }
.res__rows li:last-child { border-bottom: 1px dashed var(--night-line); }
.res__rows li b { font-weight: 500; color: var(--linen); white-space: nowrap; }
.res__rows li small { display: block; margin-top: 2px; font-size: 12px; }
@keyframes rowIn { from { opacity: 0; transform: translateY(4px); } }

.res__form { margin-top: 26px; display: grid; gap: 14px; }
.res__ft { font: 400 clamp(20px, .5vw + 16px, 24px)/1.25 var(--display); letter-spacing: -.01em; }
.fld label { display: block; margin-bottom: 8px; font: 500 12px/1 var(--text); letter-spacing: .06em; color: var(--night-mute); }
.fld input { width: 100%; height: 56px; padding: 0 18px; border: 0; border-radius: 16px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); color: var(--linen); font: 400 18px/1 var(--text); letter-spacing: .02em; transition: box-shadow .3s var(--ease); }
.fld input::placeholder { color: #6E776D; }
.fld input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--glow); }
.fld input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #E79A84; }
.seg--dark { display: flex; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); }
.seg--dark button { flex: 1; color: var(--night-mute); }
.seg--dark button:hover { color: var(--linen); }
.seg--dark button[aria-checked="true"] { background: var(--linen); color: var(--night); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.res__btn { width: 100%; }
.res__btn .btn__tx { flex: 1; justify-content: center; }
.res__btn[disabled] { opacity: .6; pointer-events: none; }
.res__err { font: 400 13px/1.4 var(--text); color: #E79A84; }
.res__small { font: 400 12px/1.45 var(--text); color: #7F887D; }
.res__ok { padding: 30px 0 6px; text-align: left; outline: none; }
.res__check { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 40px 8px rgba(242, 217, 166, .25); }
.res__check svg { width: 28px; height: 28px; fill: none; stroke: var(--night); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .7s var(--ease) .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.res__okt { margin-top: 20px; font: 400 32px/1.1 var(--display); color: var(--glow); }
.res__okp { margin-top: 10px; font: 400 15px/1.55 var(--text); color: var(--night-mute); max-width: 24em; }

/* Мобільна планка калькулятора */
.cbar { position: fixed; z-index: 46; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 6px 6px 22px; border-radius: 999px; background: rgba(26, 32, 27, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--linen); box-shadow: 0 14px 40px -14px rgba(0, 0, 0, .5); transform: translateY(140%); transition: transform .6s var(--ease); }
.cbar.is-on { transform: none; }
.cbar__sum { font: 400 15px/1 var(--text); color: var(--night-mute); white-space: nowrap; }
.cbar__sum b { font: 400 22px/1 var(--display); color: var(--glow); }
.cbar__go { display: flex; align-items: center; height: 48px; padding: 0 20px; border-radius: 999px; background: var(--glow); color: var(--night); font: 500 15px/1 var(--text); text-decoration: none; }
@media (min-width: 1024px) { .cbar { display: none; } }
.mbar.is-off, .mbar.is-hide { transform: translateY(140%); }


/* ---------- 9. Процес ---------- */
.proc { background: #FFFDF9; padding: clamp(80px, 9vw, 150px) 0; }
.proc__head { display: grid; gap: 22px; margin-bottom: clamp(44px, 5vw, 80px); }
@media (min-width: 1024px) { .proc__head { grid-template-columns: 1fr minmax(0, 24em); align-items: end; } }
.proc__lead { font: 400 clamp(16px, .4vw + 14px, 19px)/1.55 var(--text); color: var(--mute); max-width: 24em; }
.steps { position: relative; }
.steps__line { position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--stone); border-radius: 2px; overflow: hidden; }
.steps__line i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--green); border-radius: 2px; }
.steps__list { display: grid; gap: 34px; }
.step { position: relative; padding-left: 38px; }
.step__dot { position: absolute; left: 0; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #FFFDF9; box-shadow: inset 0 0 0 2px var(--stone); transition: background-color .5s var(--ease), box-shadow .5s var(--ease); }
.step.is-lit .step__dot { background: var(--green); box-shadow: inset 0 0 0 2px var(--green), 0 0 0 6px rgba(63, 106, 74, .14); }
.step__n { display: block; font: 300 clamp(44px, 2vw + 34px, 64px)/1 var(--display); letter-spacing: -.03em; color: var(--stone); transition: color .6s var(--ease); }
.step.is-lit .step__n { color: var(--ink); }
.step__t { margin-top: 14px; font: 400 clamp(24px, .6vw + 20px, 30px)/1.1 var(--display); letter-spacing: -.015em; }
.step__p { margin-top: 10px; font: 400 15px/1.55 var(--text); color: var(--mute); max-width: 22em; }
.step__x { display: flex; align-items: center; gap: 10px; margin-top: 16px; font: 500 12px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.step__x::before { content: ""; width: 18px; height: 1px; background: currentColor; }
@media (min-width: 900px) {
  .steps__line { left: 0; right: 0; top: 6px; bottom: auto; width: auto; height: 2px; }
  .steps__line i { height: 100%; width: 0; }
  .steps__list { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .step { padding: 38px 0 0; }
  .step__dot { top: 0; }
}

.mount { display: grid; gap: 32px; margin-top: clamp(72px, 8vw, 130px); }
@media (min-width: 1024px) { .mount { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; } }
.mount__pic { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--stone); }
.mount__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) { .mount__pic .tag { left: 24px; top: 24px; } }
.mount__t { font: 400 clamp(28px, 1.2vw + 22px, 42px)/1.1 var(--display); letter-spacing: -.02em; margin-bottom: 20px; }
.mount__list li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--stone); font: 400 clamp(16px, .2vw + 15px, 18px)/1.4 var(--text); color: var(--mute); transition: color .5s var(--ease); }
.mount__list li:first-child { border-top: 1px dashed var(--stone); }
.mount__ck { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--stone); transition: background-color .5s var(--ease), box-shadow .5s var(--ease); }
.mount__ck svg { width: 16px; height: 16px; fill: none; stroke: #FFFDF9; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .5s var(--ease) .15s; }
.mount__list li.is-done { color: var(--ink); }
.mount__list li.is-done .mount__ck { background: var(--green); box-shadow: none; }
.mount__list li.is-done .mount__ck svg { stroke-dashoffset: 0; }
.mount__notes { display: grid; gap: 12px; margin-top: 24px; }
.mount__notes li { display: flex; align-items: center; gap: 12px; font: 400 15px/1.45 var(--text); }
.mount__notes svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mount__g { margin-top: 26px; padding: 18px 22px; border-radius: 18px; background: var(--linen); font: 400 15px/1.5 var(--text); color: var(--mute); }
.mount__g b { font-weight: 500; color: var(--ink); }

/* ---------- 10. Відгуки ---------- */
.revs { padding: clamp(80px, 9vw, 150px) 0; overflow: hidden; }
.revs__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 4vw, 60px); }
.revs__nav { display: flex; gap: 10px; }
.rbtn--light { color: var(--ink); box-shadow: inset 0 0 0 1px var(--stone); }
.rbtn--light:hover { background: var(--ink); color: var(--linen); }
.revs__grid { display: grid; gap: 16px; }
@media (min-width: 1024px) { .revs__grid { grid-template-columns: 320px minmax(0, 1fr); gap: 20px; align-items: stretch; } }
.score { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 30px 28px; border-radius: var(--r-lg); background: var(--night); color: var(--linen); }
.score__n { font: 300 clamp(84px, 4vw + 60px, 128px)/.9 var(--display); letter-spacing: -.05em; color: var(--glow); }
.score__stars { font-size: 20px; letter-spacing: 4px; color: var(--glow); }
.score__t { font: 400 15px/1.4 var(--text); color: var(--night-mute); }
.score__t b { font-weight: 500; color: var(--linen); }
.score__link { color: var(--linen); }
@media (max-width: 1023px) { .score { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 22px; row-gap: 6px; } .score__n { grid-row: span 3; } .score__link { height: auto; padding-top: 6px; } }
.revs__rail { min-width: 0; }
.revs__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(0px - var(--pad)); padding: 0 var(--pad); scroll-padding-left: var(--pad); }
.revs__track::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .revs__track { margin: 0 calc(0px - var(--pad)) 0 0; padding: 0 var(--pad) 0 0; scroll-padding-left: 0; } }
.rev { flex: 0 0 min(84vw, 420px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 18px; min-height: 320px; padding: 28px; border-radius: var(--r-lg); background: #FFFDF9; }
.rev__stars { font-size: 15px; letter-spacing: 3px; color: var(--brass); }
.rev__q { flex: 1; font: 400 clamp(18px, .3vw + 17px, 21px)/1.45 var(--display); letter-spacing: -.005em; }
.rev__a { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; border-top: 1px solid var(--stone); }
.rev__a b { font: 500 15px/1.2 var(--text); }
.rev__a span { font: 400 13px/1.2 var(--text); color: var(--mute); }
.rev--empty { background: transparent; box-shadow: inset 0 0 0 1.5px var(--stone); }
.rev--empty .rev__q, .rev--empty .rev__a b { color: var(--mute); }
.rev--empty .rev__stars { color: var(--stone); }


/* ---------- 11. Питання ---------- */
.faq { background: #FFFDF9; padding: clamp(80px, 9vw, 150px) 0; }
.faq__grid { display: grid; gap: 36px; }
@media (min-width: 1024px) { .faq__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } .faq__side { position: sticky; top: 110px; } }
.faq__lead { margin-top: 22px; font: 400 clamp(16px, .4vw + 14px, 19px)/1.55 var(--text); color: var(--mute); max-width: 24em; }
.ask { margin-top: 32px; padding: 24px; border-radius: 22px; background: var(--linen); max-width: 380px; }
.ask__t { font: 500 12px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.ask__tel { display: block; margin-top: 12px; font: 400 clamp(24px, 1vw + 18px, 30px)/1.1 var(--display); letter-spacing: -.01em; color: var(--ink); text-decoration: none; transition: color .3s var(--ease); }
.ask__tel:hover { color: var(--green); }
.ask__s { margin-top: 8px; font: 400 13px/1.4 var(--text); color: var(--mute); }
.qa { border-top: 1px solid var(--stone); }
.qa:last-child { border-bottom: 1px solid var(--stone); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa__q { font: 400 clamp(19px, .5vw + 16px, 23px)/1.3 var(--display); letter-spacing: -.01em; transition: color .3s var(--ease); }
.qa summary:hover .qa__q { color: var(--green); }
.qa summary i { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--stone); transition: background-color .4s var(--ease), box-shadow .4s var(--ease); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.6px; margin: -.8px 0 0 -7px; background: var(--ink); border-radius: 2px; transition: transform .5s var(--ease), background-color .4s; }
.qa summary i::after { transform: rotate(90deg); }
.qa.is-open summary i { background: var(--ink); box-shadow: none; }
.qa.is-open summary i::before, .qa.is-open summary i::after { background: var(--linen); }
.qa.is-open summary i::after { transform: rotate(0deg); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; min-height: 0; }
.qa__a p { padding: 0 56px 24px 0; font: 400 16px/1.6 var(--text); color: var(--mute); max-width: 40em; }
html:not(.js) .qa[open] .qa__a { grid-template-rows: 1fr; }

/* ---------- 12. Замір + контакти ---------- */
.cta { position: relative; overflow: hidden; background: var(--night); color: var(--linen); padding: clamp(90px, 10vw, 160px) 0 clamp(80px, 8vw, 130px); }
.cta .label { color: var(--night-mute); }
.cta .h2 b { color: var(--glow); }
.cta__glow { position: absolute; left: 50%; top: -30%; width: 120vw; height: 70%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(242, 217, 166, .16), transparent 70%); pointer-events: none; }
.cta__grid { position: relative; display: grid; gap: 48px; }
@media (min-width: 1024px) { .cta__grid { grid-template-columns: minmax(0, 7fr) minmax(300px, 4fr); gap: 72px; align-items: start; } }
.cta__lead { margin-top: 22px; font: 400 clamp(16px, .4vw + 14px, 19px)/1.55 var(--text); color: var(--night-mute); max-width: 30em; }
.lead { display: grid; gap: 16px; margin-top: 36px; }
.lead__row { display: grid; gap: 16px; }
@media (min-width: 600px) { .lead__row { grid-template-columns: 1fr 1fr; } }
.fld--dark label { color: var(--night-mute); }
.fld label span { font-weight: 400; letter-spacing: 0; opacity: .7; margin-left: 4px; }
.fld select, .fld textarea { width: 100%; border: 0; border-radius: 16px; font: 400 17px/1.4 var(--text); }
.fld--dark input, .fld--dark select, .fld--dark textarea { background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); color: var(--linen); }
.fld--dark input { height: 56px; padding: 0 18px; border: 0; border-radius: 16px; width: 100%; font: 400 17px/1 var(--text); }
.fld select { height: 56px; padding: 0 44px 0 18px; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%239AA398' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; cursor: pointer; }
.fld textarea { padding: 16px 18px; resize: vertical; min-height: 96px; }
.fld--dark input::placeholder, .fld--dark textarea::placeholder { color: #6E776D; }
.fld--dark input:focus, .fld--dark select:focus, .fld--dark textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--glow); }
.fld select option { color: var(--ink); background: #fff; }
.lead__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.lead__small { font: 400 12px/1.45 var(--text); color: #7F887D; max-width: 26em; }
.lead__small a { color: var(--night-mute); }
.lead__err { font: 400 14px/1.4 var(--text); color: #E79A84; }
.lead__case { font: 400 14px/1.4 var(--text); color: var(--glow); }
.lead-ok { margin-top: 36px; outline: none; }
.cta__side { display: grid; gap: 30px; align-content: start; padding-top: 6px; }
@media (min-width: 1024px) { .cta__side { padding: 32px 0 0 40px; border-left: 1px solid var(--night-line); } }
.cbl__t { font: 500 11px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--night-mute); margin-bottom: 14px; }
.cbl__big { display: block; font: 400 clamp(24px, .8vw + 20px, 30px)/1.25 var(--display); letter-spacing: -.01em; color: var(--linen); text-decoration: none; transition: color .3s var(--ease); }
.cbl__big:hover { color: var(--glow); }
.cbl__s { margin-top: 10px; font: 400 14px/1.4 var(--text); color: var(--night-mute); }
.cbl__addr { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--night-line); color: var(--linen); text-decoration: none; font: 400 15px/1.4 var(--text); }
.cbl__addr:last-child { border-bottom: 1px solid var(--night-line); }
.cbl__addr b { display: block; font: 400 20px/1.2 var(--display); margin-bottom: 2px; }
.cbl__addr span { color: var(--night-mute); }
.cbl__addr span b { color: var(--linen); }
.cbl__addr svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.cbl__addr:hover svg { transform: translate(2px, -2px); color: var(--glow); }
.cbl__cities { font: 400 16px/1.6 var(--text); color: var(--linen); }
.tlink--light { color: var(--linen); }
.tlink--calc { gap: 10px; }
.tlink--calc .ico-calc { width: 20px; height: 20px; stroke-width: 1.5; }
.ico-calc__k circle { fill: currentColor; stroke-width: 1; transition: opacity .3s var(--ease); }
.ico-calc__scr { transform-origin: 13px 6px; transition: transform .5s var(--ease); }
.tlink--calc:hover svg { transform: rotate(-8deg); }
.tlink--calc:hover .ico-calc__scr { transform: scaleX(.45); }
.tlink--calc:hover .ico-calc__k circle:nth-child(2n) { opacity: .25; }

/* ---------- 13. Футер ---------- */
.ftr { background: #141915; color: var(--night-mute); padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); }
@media (max-width: 767px) { .ftr { padding-bottom: 96px; } }
.ftr__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid var(--night-line); }
.ftr__logo { display: block; line-height: 0; }
.ftr__logo img { width: auto; height: 72px; }
.ftr__slogan { flex: 1; min-width: 200px; font: 400 16px/1.5 var(--display); color: var(--night-mute); }
.ftr__slogan b { font-weight: inherit; color: var(--linen); }
@media (min-width: 768px) { .ftr__slogan { margin-left: 8px; } }
.ftr__up { width: var(--btn-h); height: var(--btn-h); border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--night-line); color: var(--linen); transition: background-color .4s var(--ease), color .4s var(--ease); }
.ftr__up svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.ftr__up:hover { background: var(--glow); color: var(--night); }
.ftr__up:hover svg { transform: translateY(-2px); }
.ftr__cols { display: grid; gap: 32px; padding: 40px 0; grid-template-columns: 1fr 1fr; }
@media (min-width: 768px) { .ftr__cols { grid-template-columns: repeat(3, 1fr); } }
.ftr__t { font: 500 11px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: #6E776D; margin-bottom: 16px; }
.ftr__cols li { margin-bottom: 10px; font: 400 15px/1.4 var(--text); }
.ftr__cols a { color: var(--linen); text-decoration: none; transition: color .3s var(--ease); }
.ftr__cols a:hover { color: var(--glow); }
.ftr__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--night-line); font: 400 13px/1.4 var(--text); }
.ftr__bot a { color: var(--night-mute); }
@media (max-width: 767px) { .ftr__top .ftr__slogan { margin-left: 0; } .ftr__top { flex-wrap: nowrap; gap: 18px; } .ftr__logo img { height: 64px; } .ftr__slogan { min-width: 0; font-size: 14px; line-height: 1.55; } .ftr__up { display: none; } }


/* ---------- Підсторінки ---------- */
.phero { background: #FFFDF9; padding: calc(var(--bar) + var(--hdr-h) + 32px) 0 clamp(64px, 7vw, 110px); }
.phero__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .phero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: end; } }
.phero__title { margin-top: 22px; font: 500 clamp(40px, 4.6vw + 14px, 92px)/1.02 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.phero__title b { font-weight: inherit; color: var(--green); }
.phero__lead { margin-top: 24px; font: 400 clamp(17px, .5vw + 15px, 20px)/1.55 var(--text); color: var(--mute); max-width: 30em; }
.phero .hero__ctas { margin-top: 30px; }
.phero__pic { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--stone); }
.phero__pic--wide { aspect-ratio: 4 / 3; }
.phero__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { .phero__pic { aspect-ratio: 4 / 3; } .phero__grid { gap: 36px; } .phero .hero__ctas { margin-top: 26px; } }
.psec { padding: clamp(80px, 9vw, 140px) 0; background: #FFFDF9; }
.psec--linen { background: var(--linen); }
.psec--night { background: var(--night); color: var(--linen); }
.psec--night .label { color: var(--night-mute); }
.psec--night .h2 b { color: var(--glow); }
.psec .h2 { margin-bottom: clamp(36px, 4vw, 60px); max-width: 14em; }
.cards { display: grid; gap: 14px; }
@media (min-width: 768px) { .card { min-height: 230px; } .card__t { margin-top: auto; } .cards { grid-template-columns: repeat(3, 1fr); } .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card { display: flex; flex-direction: column; gap: 12px; min-height: 0; padding: 26px; border-radius: 22px; background: #FFFDF9; transition: transform .6s var(--ease); }
.card:hover { transform: translateY(-4px); }
.card__n { font: 500 12px/1 var(--text); letter-spacing: .1em; color: var(--green); }
.card__t { margin-top: 18px; font: 400 clamp(22px, .6vw + 18px, 28px)/1.15 var(--display); letter-spacing: -.015em; }
.card__p { font: 400 15px/1.55 var(--text); color: var(--mute); }
.bigs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--night-line); }
@media (min-width: 900px) { .bigs { grid-template-columns: repeat(4, 1fr); } }
.big { padding: 26px 20px 24px 0; border-bottom: 1px solid var(--night-line); }
@media (min-width: 900px) { .big { padding: 30px 24px 0 24px; border-bottom: 0; border-left: 1px solid var(--night-line); } .big:first-child { padding-left: 0; border-left: 0; } }
.big__v { font: 300 clamp(34px, 2vw + 22px, 60px)/1 var(--display); letter-spacing: -.03em; color: var(--glow); }
.big__l { margin-top: 12px; font: 400 15px/1.45 var(--text); color: var(--night-mute); max-width: 14em; }
.nsteps { display: grid; gap: 14px; counter-reset: n; }
@media (min-width: 900px) { .nsteps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.nstep { padding-top: 22px; border-top: 2px solid var(--stone); transition: border-color .6s var(--ease); }
.nstep.is-in { border-color: var(--green); }
.nstep__n { font: 300 48px/1 var(--display); letter-spacing: -.03em; color: var(--ink); }
.nstep__t { margin-top: 14px; font: 400 clamp(22px, .6vw + 18px, 28px)/1.15 var(--display); }
.nstep__p { margin-top: 8px; font: 400 15px/1.55 var(--text); color: var(--mute); max-width: 22em; }
.note { margin-top: 40px; padding: 18px 22px; border-radius: 18px; background: var(--linen); font: 400 15px/1.5 var(--text); color: var(--mute); max-width: 44em; }
.vacs { display: grid; gap: 16px; }
.vac { display: grid; gap: 24px; padding: 28px; border-radius: var(--r-lg); background: var(--linen); }
@media (min-width: 768px) { .vac { padding: 36px 40px; } }
.vac__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; padding-bottom: 22px; border-bottom: 1px solid var(--stone); }
.vac__t { font: 400 clamp(26px, 1vw + 20px, 38px)/1.1 var(--display); letter-spacing: -.02em; max-width: 18em; }
.vac__meta { margin-top: 10px; font: 400 15px/1.4 var(--text); color: var(--mute); }
.vac__pay { font: 500 15px/1.3 var(--text); color: var(--green); }
.vac__cols { display: grid; gap: 22px; }
@media (min-width: 768px) { .vac__cols { grid-template-columns: 1fr 1fr; gap: 40px; } }
.vac__st { font: 500 11px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 12px; }
.vac__list li { position: relative; padding: 9px 0 9px 24px; font: 400 16px/1.45 var(--text); border-bottom: 1px dashed var(--stone); }
.vac__list li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 10px; height: 6px; border-left: 1.6px solid var(--green); border-bottom: 1.6px solid var(--green); transform: rotate(-45deg); }
.vac__btn { justify-self: start; }
.phero--text { padding-bottom: 100px; }
.prose { max-width: 760px; }
.prose h2 { margin: 40px 0 12px; font: 400 26px/1.2 var(--display); }
.prose p { margin-top: 12px; font: 400 17px/1.65 var(--text); color: var(--mute); }
.prose a { color: var(--green); }
.prose__small { font-size: 13px !important; }

/* Тимчасова заглушка наступних блоків */
.todo { margin: 80px var(--pad); padding: 60px 0; border-top: 1px solid var(--stone); color: var(--mute); text-align: center; font: 400 14px var(--text); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Мобільна планка ---------- */
.mbar { position: fixed; z-index: 45; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(26, 32, 27, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 14px 40px -14px rgba(0, 0, 0, .5); transform: translateY(140%); transition: transform .6s var(--ease); }
.mbar.is-on { transform: none; }
.mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 18px; border-radius: 999px; text-decoration: none; font: 500 15px/1 var(--text); }
.mbar__call { color: var(--linen); box-shadow: inset 0 0 0 1px var(--night-line); }
.mbar__call svg { width: 16px; height: 16px; fill: var(--glow); }
.mbar__go { background: var(--glow); color: var(--night); }
@media (min-width: 768px) { .mbar { display: none; } }

/* ---------- Анімації появи ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="photo"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round var(--clip-r, var(--r-lg))); transition: clip-path 1.2s var(--ease-in-out); transition-delay: var(--d, 0s); }
.js [data-reveal="photo"] img { transform: scale(1.14); transition: transform 1.6s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="photo"].is-in { clip-path: inset(0 0 0 0 round var(--clip-r, var(--r-lg))); }
.js [data-reveal="photo"].is-in img { transform: none; }
.js [data-reveal="photo"].is-in:hover img { transform: scale(1.04); transition-delay: 0s; }
@media (max-width: 767px) { [data-reveal="photo"] { --clip-r: 22px; } }
.fact--photo { --clip-r: 0px; }

.js .hero__title .ln > span { transform: translateY(108%); transition: transform 1.1s var(--ease); transition-delay: calc(.15s + var(--i, 0) * .12s); }
.js.is-loaded .hero__title .ln > span { transform: none; }
.js .hero__meta { transition-delay: .1s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
  .js [data-reveal], .js [data-reveal="photo"], .js [data-reveal="photo"] img, .js .hero__title .ln > span { opacity: 1; transform: none; clip-path: none; }
}

.hero__left { --d: .55s; } .hero__right { --d: .68s; } .hero__meta { --d: .1s; }
@media (max-width: 479px) {
  .factory { padding: 28px 20px 0; }
  .ticker { margin: 8px -20px 0; }
  .factory__btn .btn__tx { white-space: normal; height: auto; min-height: var(--btn-h); padding: 10px 22px; line-height: 1.25; }
}

.menu-open .mbar, .menu-open .cbar { transform: translateY(140%); }
.score__link span { white-space: nowrap; }
