:root {
  --bg: #faf6ee;
  --card: #ffffff;
  --text: #22261f;
  --muted: #6b6a5e;
  --line: #ece5d6;
  --green-d: #2f6a1c;
  --green: #4e8f27;
  --green-l: #7cb342;
  --green-bg: #eef5e4;
  --orange: #ff8a1f;
  --orange-l: #ffe3c7;
  --red: #d64545;
  --red-bg: #fdeceb;
  --blue: #2a8fd6;
  --brown: #6b5440;
  --radius: 22px;
  --shadow: 0 10px 30px -18px rgba(60, 50, 20, .35);
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  /* ніч */
  --n-bg: #1d3a16;
  --n-wall: #2f4d27;
  --n-wall-2: #3a5a31;
  --n-win: #24401e;
  --n-lit: #ffbf4d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; color: var(--text); font: 17px/1.6 Manrope, system-ui, sans-serif; -webkit-font-smoothing: antialiased;
  background: radial-gradient(700px 500px at 100% 0%, #e7f0d6 0%, transparent 70%), radial-gradient(600px 500px at 0% 60%, #fde6cf 0%, transparent 70%), var(--bg); }
a { color: var(--green); }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; color: var(--green-d); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 800; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

.eyebrow { display: inline-block; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--orange); font-weight: 800; margin: 0 0 16px; }
.eyebrow--light { color: var(--n-lit); }
.hero .eyebrow { border: 2.5px solid var(--orange); border-radius: 99px; padding: 8px 22px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 28px; border-radius: 16px; text-decoration: none; font: 800 1.05rem Manrope, sans-serif; border: 0; cursor: pointer; color: #fff; transition: transform .15s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--green { background: linear-gradient(135deg, var(--green-l), var(--green)); box-shadow: 0 12px 24px -12px rgba(78, 143, 39, .7); }
.btn--tg { background: var(--blue); box-shadow: 0 12px 24px -12px rgba(42, 143, 214, .7); }
.btn--outline { background: transparent; color: var(--green-d); border: 2px solid var(--green-l); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: .98rem; border-radius: 12px; }
.pill { flex: 0 0 auto; white-space: nowrap; display: inline-flex; align-items: center; padding: 10px 20px; border-radius: 14px; font-weight: 800; text-decoration: none; }
.pill--orange { background: linear-gradient(135deg, #ff9d3d, var(--orange)); color: #fff; box-shadow: 0 10px 22px -10px rgba(255, 138, 31, .8); }

/* ---------- Шапка ---------- */
.topbar { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; justify-content: space-between; align-items: center; height: 68px; gap: 12px; }
.brand > span:last-child { min-width: 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); min-width: 0; }
.brand b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--display); font-weight: 800; color: var(--brown); font-size: 1.02rem; line-height: 1.1; }
.brand small { display: block; color: var(--muted); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__logo { position: relative; flex: 0 0 46px; width: 46px; height: 46px; }
.brand__logo svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 4px 8px rgba(61, 122, 34, .35)); }
.brand__logo i { position: absolute; right: -3px; bottom: -3px; width: 19px; height: 19px; border-radius: 50%; background: var(--orange); color: #fff; font: 800 .7rem/19px Manrope; text-align: center; font-style: normal; border: 2px solid #fff; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 40px; }
.hero__in { text-align: center; }
.hero h1 { font-size: clamp(2.1rem, 6.4vw, 4.2rem); max-width: 18ch; margin: 0 auto .45em; }
.hero h1 span { display: block; }
mark { background: linear-gradient(transparent 62%, var(--orange-l) 62%, var(--orange-l) 92%, transparent 92%); color: var(--orange); padding: 0 .1em; }
.lead { max-width: 680px; margin: 0 auto 36px; font-weight: 700; color: var(--brown); font-size: 1.12rem; }

.counter { max-width: 780px; margin: 0 auto 28px; padding: 28px 30px 24px; text-align: left; }
.counter__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.counter__big { display: block; font: 800 clamp(2.8rem, 9vw, 4.4rem)/1 var(--display); color: var(--green-d); font-variant-numeric: tabular-nums; }
.counter__top small { color: var(--muted); font-weight: 700; }
.counter__side { text-align: right; color: var(--muted); font-weight: 600; line-height: 1.35; }
.counter__side b { color: var(--orange); font: 800 1.6rem var(--display); }
.bar { position: relative; height: 16px; border-radius: 99px; background: var(--green-bg); }
.bar__fill { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green-l), var(--green)); transition: width 1.4s cubic-bezier(.2, .7, .2, 1); }
.bar__goal { position: absolute; top: -8px; bottom: -8px; width: 3px; border-radius: 2px; background: var(--orange); }
.bar__goal span { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .78rem; font-weight: 800; color: var(--orange); }
.counter__meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; color: var(--muted); font-size: .92rem; }
.counter__meta b { color: var(--green-d); }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Нічний будинок ---------- */
.night-wrap { padding: 24px 0 8px; }
.night { position: relative; overflow: hidden; border-radius: 32px; color: #f4efe2; padding: 44px 0 0;
  background: radial-gradient(600px 300px at 85% 0%, rgba(255, 191, 77, .18), transparent 70%), radial-gradient(circle at 12% 18%, #fff7 1px, transparent 1.5px), radial-gradient(circle at 38% 10%, #fff6 1px, transparent 1.5px), radial-gradient(circle at 66% 22%, #fff5 1px, transparent 1.5px), radial-gradient(circle at 88% 12%, #fff7 1px, transparent 1.5px), linear-gradient(180deg, #16300f 0%, var(--n-bg) 100%); }
.night__head { text-align: center; padding: 0 20px; }
.night h2 { color: #fff; }
.night__head p { color: #c9d6bd; max-width: 560px; margin: 0 auto; }
.town { position: relative; margin-top: 36px; }
.town__scroll { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: safe center; gap: 20px; overflow-x: auto; padding: 0 24px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.town__scroll::-webkit-scrollbar { display: none; }
.bld { margin: 0; flex: 0 0 auto; scroll-snap-align: center; }
.bld figcaption { font-weight: 800; margin-bottom: 10px; }
.bld svg { display: block; max-width: none; height: auto; }
.bld__meta { display: flex; justify-content: space-between; gap: 10px; height: 36px; align-items: center; padding: 0 2px; font-size: .9rem; color: #c9d6bd; position: relative; z-index: 3; }
.bld__meta b { color: var(--n-lit); }
.body { fill: var(--n-wall); }
.cornice, .roofbox { fill: var(--n-wall-2); }
.vent { fill: var(--n-win); }
.plinth { fill: #28431f; }
.door { fill: #142a0e; }
.shop { fill: #1f3818; stroke: #3d5c34; stroke-width: 1; }
.lamp { fill: var(--n-lit); filter: drop-shadow(0 0 4px var(--n-lit)); }
.w { fill: var(--n-win); cursor: pointer; }
.w--none { fill: #2a4623; cursor: default; }
.lit { filter: drop-shadow(0 0 5px rgba(255, 191, 77, .75)); }
.w--on rect { fill: var(--n-lit); }
.w--on path { stroke: #c98a2a; stroke-width: 1.4; }
.w--on { opacity: 0; }
.go .w--on { animation: light .5s ease forwards; }
@keyframes light { 0% { opacity: 0; } 40% { opacity: 1; } 55% { opacity: .5; } 100% { opacity: 1; } }
rect.w:hover, .w--on:hover rect { stroke: #fff; stroke-width: 1.5; }
.forest { position: absolute; left: 0; right: 0; bottom: 36px; height: 130px; overflow: hidden; pointer-events: none; }
.forest svg { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 1600px; height: 130px; fill: #27501c; opacity: .8; }
.lake { position: absolute; left: 0; right: 0; bottom: 36px; z-index: 2; height: 22px; overflow: hidden; pointer-events: none; background: linear-gradient(180deg, rgba(20, 48, 16, .2), #163411); }
.lake svg { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 1600px; height: 40px; fill: none; stroke: #6fa3c8; stroke-width: 2; opacity: .55; }
.legend { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; padding: 18px 16px 30px; font-size: .92rem; color: #c9d6bd; background: #143010; }
.lg { display: inline-block; width: 14px; height: 11px; border-radius: 2px; background: var(--n-win); outline: 1px solid #3d5c34; margin-right: 8px; vertical-align: -1px; }
.lg--on { background: var(--n-lit); box-shadow: 0 0 8px var(--n-lit); outline: 0; }
.tip { position: fixed; z-index: 20; transform: translate(-50%, calc(-100% - 10px)); background: #fff; color: var(--text); padding: 6px 12px; border-radius: 10px; font-size: .88rem; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s; box-shadow: var(--shadow); }
.tip--on { opacity: 1; }
.tip b { color: var(--green); }

/* ---------- Секції ---------- */
.section { padding: 56px 0; }
.card--pain { padding: 28px 30px; border: 2px solid #f6d6d3; }
.pain__title { color: var(--red); text-transform: uppercase; letter-spacing: .08em; font-size: 1rem; }
.pain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.pain li { display: flex; gap: 12px; align-items: flex-start; }
.x { flex: 0 0 26px; height: 26px; border-radius: 8px; background: var(--red-bg); color: var(--red); display: grid; place-items: center; font-weight: 800; }

.banner { display: flex; gap: 22px; align-items: center; margin-top: 20px; padding: 28px 32px; border-radius: var(--radius); color: #fff; background: radial-gradient(400px 200px at 100% 0%, rgba(255, 255, 255, .2), transparent), linear-gradient(120deg, var(--green-d), var(--green) 70%, var(--green-l)); box-shadow: 0 20px 40px -24px rgba(47, 106, 28, .9); }
.banner h3 { font-size: 1.4rem; margin-bottom: .3em; }
.banner p { margin: 0; color: #eaf3df; }
.banner b { color: #fff; }
.banner__ico { flex: 0 0 84px; height: 84px; border-radius: 22px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; font-size: 2.4rem; }

.stepcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 44px 0 20px; }
.stepcard { position: relative; text-align: center; background: var(--card); border: 3px solid; border-radius: 28px; padding: 40px 24px 28px; }
.stepcard--green { border-color: var(--green-l); }
.stepcard--blue { border-color: var(--blue); }
.stepcard__tag { position: absolute; top: -17px; left: 50%; transform: translateX(-50%); white-space: nowrap; color: #fff; font-weight: 800; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; padding: 7px 20px; border-radius: 99px; }
.stepcard--green .stepcard__tag { background: var(--green-d); }
.stepcard--blue .stepcard__tag { background: #1c6fae; }
.stepcard h3 { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 1.9rem; }
.dah-mark { width: 38px; height: 30px; background: linear-gradient(135deg, #ffd400 0 45%, transparent 45%), linear-gradient(135deg, transparent 40%, #1a73e8 40%); border-radius: 6px 14px 6px 14px; transform: skewX(-12deg); }
.tg-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M5 11.5l12.5-5c.6-.2 1.1.2.9 1l-2.1 10c-.2.7-.6.8-1.2.5l-3.2-2.4-1.6 1.5c-.2.2-.3.3-.7.3l.2-3.3 6-5.4c.3-.2-.1-.4-.4-.2l-7.4 4.7-3.2-1c-.7-.2-.7-.7.2-1z'/%3E%3C/svg%3E") center/60% no-repeat; }
.qr { display: inline-block; padding: 12px; background: #fff; border-radius: 16px; border: 1px solid var(--line); }
.qr img { display: block; width: 180px; height: 180px; }
.stepcard p { font-weight: 700; color: var(--brown); margin: 16px 0 18px; }
.accent-green { color: var(--green); }
.accent-blue { color: var(--blue); }
.dashed { text-align: center; border: 3px dashed var(--green-l); border-radius: var(--radius); padding: 26px 24px; background: rgba(255, 255, 255, .6); }
.dashed h3 { color: var(--green); font-size: 1.35rem; }
.dashed p { font-weight: 700; max-width: 760px; margin: 0 auto 16px; }

.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.why__item { padding: 26px; }
.why__item p { margin: 0; color: var(--muted); }
.ico { width: 60px; height: 60px; margin-bottom: 16px; border-radius: 18px; background: var(--green-bg); display: grid; place-items: center; }
.ico svg { width: 34px; height: 34px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }


.steps { list-style: none; padding: 0; margin: 28px 0 0; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 18px; position: relative; padding-bottom: 26px; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 25px; top: 52px; bottom: 0; width: 3px; border-radius: 2px; background: var(--line); }
.step.done::before { background: var(--green-l); }
.step__n { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 800 1.1rem var(--display); background: var(--card); border: 3px solid var(--line); color: var(--muted); }
.step.done .step__n { background: var(--green-l); border-color: var(--green-l); color: #fff; }
.step.now .step__n { border-color: var(--orange); color: var(--orange); box-shadow: 0 0 0 6px var(--orange-l); }
.step h3 { margin-top: 12px; }
.step p { margin: 0; color: var(--muted); max-width: 640px; }
.badge { font-style: normal; font-size: .72rem; background: var(--orange); color: #fff; padding: 3px 10px; border-radius: 99px; vertical-align: 3px; margin-left: 6px; }

.faq-wrap { padding: 6px 28px; }
.faq { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 30px; height: 30px; border-radius: 10px; background: var(--green-bg); color: var(--green); display: grid; place-items: center; font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.faq[open] summary::after { content: "−"; }
.faq p { margin: 12px 0 0; color: var(--muted); max-width: 780px; }

.chip { flex: 0 0 46px; height: 46px; border-radius: 14px; background: var(--green-bg); display: grid; place-items: center; font-size: 1.3rem; }

/* ---------- Звіт КК ---------- */
.hl { color: var(--green); }
.lead-left { max-width: 760px; color: var(--brown); font-weight: 600; font-size: 1.08rem; margin: 0 0 28px; }
.cost { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; }
.cost > div { padding: 28px 32px; }
.cost__pay { background: #fff0e2; }
.cost__real { background: var(--green-bg); }
.cost__label { display: block; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .9rem; }
.cost__pay .cost__label { color: #d0661a; }
.cost__real .cost__label { color: var(--green); }
.cost b { display: block; font: 800 clamp(3.2rem, 9vw, 5.2rem)/1.05 var(--display); margin: 10px 0 4px; }
.cost__pay b { color: var(--orange); }
.cost__real b { color: var(--green); }
.cost small { font-weight: 700; color: var(--muted); font-size: 1rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.fact { padding: 24px 28px; }
.fact b { display: block; font: 800 clamp(2.4rem, 6vw, 3.2rem)/1 var(--display); color: var(--orange); margin-bottom: 12px; }
.fact p { margin: 0; }
.footnote { color: var(--muted); font-size: .85rem; margin: 14px 0 0; }
.report__sub { font-family: var(--display); font-size: clamp(1.3rem, 3vw, 1.7rem); color: var(--green-d); margin: 52px 0 18px; }
.findings { display: grid; gap: 12px; }
.finding { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.finding summary { display: flex; gap: 18px; align-items: center; padding: 20px 26px; cursor: pointer; list-style: none; }
.finding summary::-webkit-details-marker { display: none; }
.finding summary::after { content: "+"; margin-left: auto; flex: 0 0 34px; height: 34px; border-radius: 10px; background: var(--green-bg); color: var(--green); display: grid; place-items: center; font-size: 1.4rem; transition: transform .2s; }
.finding[open] summary::after { content: "−"; }
.finding summary b { display: block; font-size: 1.1rem; line-height: 1.3; }
.finding summary em { display: block; font-style: normal; color: var(--orange); font-weight: 700; font-size: .92rem; margin-top: 4px; }
.finding__n { flex: 0 0 44px; height: 44px; border-radius: 14px; background: var(--orange); color: #fff; display: grid; place-items: center; font: 800 1.15rem var(--display); }
.finding__body { padding: 0 26px 24px 88px; }
.finding__body p { margin: 0 0 12px; }
.finding__body p:last-child { margin-bottom: 0; }
.rtable { width: 100%; border-collapse: collapse; margin: 4px 0 16px; background: #faf6ee; border-radius: 14px; overflow: hidden; }
.rtable td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.rtable td:last-child { text-align: right; font-weight: 800; white-space: nowrap; }
.rtable__total td { border-bottom: 0; background: #fff0e2; color: #c2570f; font-weight: 800; }
.rlist { margin: 0 0 12px; padding-left: 1.2em; }
.rlist li { margin-bottom: 8px; }
.rlist--x { list-style: none; padding: 0; }
.rlist--x li::before { content: "×"; color: var(--red); font-weight: 800; margin-right: 10px; }
.theses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.thesis { padding: 24px 22px; }
.thesis b { display: block; font: 800 clamp(1.6rem, 3vw, 2rem)/1.1 var(--display); color: var(--orange); }
.thesis h4 { margin: 8px 0 10px; font-size: 1.02rem; line-height: 1.3; }
.thesis p { margin: 0; color: var(--muted); font-size: .95rem; }
.sources { color: var(--muted); font-size: .82rem; margin: 22px 0 0; max-width: 900px; }
.docnote, .honest { display: flex; gap: 16px; align-items: flex-start; padding: 22px 26px; margin-bottom: 20px; }
.docnote p, .honest p { margin: 0; }
.honest { margin: 20px 0 0; border-left: 6px solid var(--orange); }

.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.team__sec { padding: 24px 26px; }
.team__sec h3 { color: var(--orange); font-family: var(--display); font-size: 1.15rem; }
.team__bot { background: linear-gradient(135deg, #eaf5fd, #fff); border-color: #cfe6f7; }
.team__bot h3 { color: var(--blue); }
.team__bot p { color: var(--muted); margin: 0 0 16px; }
.person { margin-bottom: 14px; }
.person span { display: block; font-size: 1.08rem; font-weight: 700; }
.person a { text-decoration: none; font-weight: 700; color: var(--blue); }

.footer { border-top: 1px dashed #d9cfba; margin-top: 40px; padding: 26px 0 40px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.footer__in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .why, .facts, .team { grid-template-columns: minmax(0, 1fr); }
  .theses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cost { grid-template-columns: minmax(0, 1fr); }
  .finding summary { padding: 18px 16px; gap: 14px; }
  .finding__body { padding: 0 16px 20px; }
  .pain { grid-template-columns: minmax(0, 1fr); }
  .stepcards { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .banner { flex-direction: column; align-items: flex-start; padding: 24px; }
  .banner__ico { flex-basis: 64px; width: 64px; height: 64px; font-size: 1.8rem; }
  .cta .btn { width: 100%; }
  .card--pain { padding: 22px 20px; }
  .counter { padding: 24px 20px 20px; }
  .counter__side { text-align: left; }
  .night { border-radius: 24px; }
  .section { padding: 44px 0; }
}
@media (max-width: 560px) {
  .theses { grid-template-columns: minmax(0, 1fr); }
  .finding__body { padding: 0 16px 20px; }
  .cost > div, .fact { padding: 22px 20px; }
  .hero .eyebrow { letter-spacing: .12em; padding: 8px 16px; font-size: .7rem; }
  .brand small { display: none; }
  .pill--orange { padding: 9px 14px; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .w--on, .go .w--on { opacity: 1; animation: none; }
  .bar__fill { transition: none; }
}
