

:root {
  --red: #e31d2e;
  --red-dark: #bd1221;
  --ink: #20254f;
  --navy: #27256d;
  --navy-dark: #171642;
  --violet: #4f5ab7;
  --lavender: #eceefd;
  --paper: #f6f7fb;
  --peach: #fff0f2;
  --white: #ffffff;
  --muted: #6d728b;
  --line: rgba(32, 37, 79, 0.13);
  --shadow: 0 24px 70px rgba(34, 37, 103, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(79, 90, 183, 0.35);
  outline-offset: 3px;
}
h1, h2, h3, p, figure { margin-top: 0; }

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  display: block;
  border-bottom: 1px solid rgba(32, 37, 79, 0.08);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
}
.header-util { background: var(--navy-dark); color: #b9b8e0; font-size: 12px; }
.header-util .util-in { display: flex; align-items: center; gap: 20px; padding: 9px 4vw; }
.util-addr { display: flex; align-items: center; gap: 9px; min-width: 0; }
.util-addr img { width: 18px; height: 18px; flex: 0 0 auto; }
.util-addr b, .util-right b { color: #fff; font-weight: 700; }
.util-right { margin-left: auto; display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.util-lang { display: flex; align-items: center; gap: 5px; }
.util-lang button { border: 0; background: none; padding: 2px 3px; font-size: 11px; font-weight: 900; color: rgba(255, 255, 255, 0.45); cursor: pointer; transition: color 0.2s ease; }
.util-lang button.on { color: #fff; }
.util-lang button:disabled { cursor: not-allowed; }
.util-lang i { font-style: normal; opacity: 0.35; }
.header-main {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  min-height: 74px;
  align-items: center;
  padding: 0 4vw;
}
.brand img { width: 54px; height: 44px; object-fit: contain; }
.desktop-nav { display: flex; justify-content: center; gap: clamp(16px, 2vw, 32px); }
.desktop-nav a, .phone { font-size: 12px; font-weight: 800; }
.desktop-nav a { position: relative; padding: 28px 0; }
.desktop-nav a::after {
  position: absolute;
  right: 100%;
  bottom: 20px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transition: right 0.2s ease;
}
.desktop-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.messenger-links, .mobile-header-actions { display: flex; align-items: center; gap: 7px; }
.mobile-header-actions { display: none; }
.messenger-link {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.messenger-link:hover { box-shadow: 0 8px 18px rgba(32, 37, 79, 0.12); transform: translateY(-2px); }
.messenger-link img { width: 21px; height: 21px; }
.mobile-menu { display: none; }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 12px 28px rgba(227, 29, 46, 0.2);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease;
}
.button:hover { background: var(--red-dark); transform: translateY(-2px); }
.button-small { min-height: 40px; padding: 0 18px; }
.button-light { background: #fff; box-shadow: none; color: var(--ink); }
.button-light:hover { background: var(--lavender); color: var(--ink); }

.hero {
  position: relative;
  min-height: calc(100svh - 108px);
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image {
  background: url("./images/hero-main.jpg") 50% 50% / cover no-repeat;
  transform: scale(1.01);
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 14, 41, 0.9) 0%, rgba(13, 14, 41, 0.67) 42%, rgba(13, 14, 41, 0.11) 78%),
    linear-gradient(0deg, rgba(13, 14, 41, 0.48), transparent 43%);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(1280px, 92vw);
  min-height: calc(100svh - 108px);
  margin: auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: #fff;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--violet);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--red);
  content: "";
  transform: rotate(12deg);
}
.eyebrow.light { color: rgba(255, 255, 255, 0.72); }
.hero h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: clamp(62px, 9vw, 142px);
  line-height: 0.8;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}
.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.5;
}
.hero-buttons { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.video-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  padding: 6px 18px 6px 7px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(12px);
}
.video-button:hover { background: rgba(255, 255, 255, 0.18); }
.play-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  font-size: 13px;
}
.video-button > span:last-child { display: grid; gap: 2px; font-size: 12px; font-weight: 800; }
.video-button small { color: rgba(255, 255, 255, 0.58); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-status {
  position: absolute;
  z-index: 3;
  right: 4vw;
  bottom: 32px;
  display: flex;
  max-width: 280px;
  flex-direction: column;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}
.hero-status span { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.hero-status strong { margin: 6px 0 8px; font-size: 18px; }
.hero-status a { color: var(--violet); font-size: 10px; font-weight: 800; }

.section { width: min(1280px, 92vw); margin: 0 auto; padding: 84px 0; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 34px;
}
.section h2, .consultation h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 4vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.section-head > p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 900;
}
.text-link-button { border-width: 0 0 1px; background: transparent; color: inherit; cursor: pointer; }
.light-link { color: #fff; }

.location-layout { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 16px; }
.address-card, .genplan-card { min-height: 470px; border-radius: 30px; overflow: hidden; }
.address-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  background: var(--navy);
  color: #fff;
}
.card-kicker { margin-bottom: 18px; color: #cfd3ff; font-size: 10px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.address-card h3 { max-width: 450px; margin-bottom: 16px; font-size: clamp(28px, 3vw, 43px); line-height: 1.05; }
.address-note { color: rgba(255, 255, 255, 0.62); font-size: 13px; line-height: 1.55; }
.location-times { display: grid; width: 100%; gap: 10px; margin: auto 0 28px; }
.location-times div { display: grid; grid-template-columns: 82px 1fr; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.location-times strong { color: #fff; font-size: 20px; }
.location-times span { color: rgba(255, 255, 255, 0.68); font-size: 12px; }
.genplan-card { position: relative; display: grid; margin: 0; place-items: center; border: 1px solid var(--line); background: var(--paper); }
.genplan-card img { width: 100%; height: 100%; object-fit: contain; }
.genplan-card figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}
.genplan-card figcaption span { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.genplan-card figcaption strong { font-size: 13px; }

.advantages-section { padding-top: 28px; }
.advantages-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.advantage-card {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  align-items: start;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.advantage-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(var(--red), #ff7a72); opacity: 0; transition: opacity .25s ease; }
.advantage-card:hover::before { opacity: 1; }
.advantage-card:hover { border-color: transparent; }
.advantage-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.advantage-number { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 14px; background: rgba(227, 29, 46, 0.09); color: var(--red); font-size: 12px; font-weight: 900; }
.advantage-card h3 { margin: 2px 0 8px; font-size: 19px; line-height: 1.18; }
.advantage-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.purchase {
  width: 100%;
  max-width: none;
  padding-right: max(4vw, calc((100vw - 1280px) / 2));
  padding-left: max(4vw, calc((100vw - 1280px) / 2));
  background: var(--navy);
  color: #fff;
}
.purchase-heading > p { color: rgba(255, 255, 255, 0.64); }
.calculator { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 12px; align-items: stretch; }
.calculator-controls { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 12px; align-content: stretch; padding: 20px; border-radius: 26px; background: #fff; color: var(--ink); }
.field { display: grid; min-width: 0; min-height: 136px; align-content: center; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); transition: border-color .25s ease, box-shadow .25s ease; }
.field:focus-within { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(79, 90, 183, .12); }
.field label { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.field select, .range-value {
  width: 100%;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  background: #fff;
  color: var(--ink);
}
.field select { padding: 0 14px; }
.range-value { display: flex; align-items: center; padding: 0 14px; }
.range-value input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 18px; font-weight: 900; }
.range-value span { color: var(--muted); font-size: 12px; font-weight: 800; }
.range-field { background: var(--paper); }
.range-field input[type="range"] { width: 100%; accent-color: var(--red); }
.range-output { font-size: 27px; font-weight: 900; }
.calculator-result { display: flex; min-height: 0; flex-direction: column; padding: 28px; border-radius: 26px; background: var(--lavender); color: var(--ink); }
.result-label { margin-bottom: 8px; color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.total-price { margin-bottom: 20px; font-size: clamp(42px, 4.5vw, 62px); line-height: 1; letter-spacing: -0.055em; }
.result-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 18px; }
.result-grid div { min-width: 0; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.58); }
.result-grid span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.result-grid strong { font-size: 17px; }
.calculator-note { margin-bottom: 22px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.calculator-result .button { align-self: flex-start; margin-top: 2px; }

.plans-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.plans { padding-top: 70px; padding-bottom: 70px; }
.plans .section-head { margin-bottom: 26px; }
.section-tabs { display: flex; gap: 10px; margin-bottom: 0; }
.section-tabs button {
  display: grid;
  min-width: 190px;
  gap: 4px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  text-align: left;
}
.section-tabs small { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.section-tabs button.active { border-color: var(--navy); background: var(--navy); color: #fff; }
.section-tabs button.active small { color: #cfd3ff; }
.carousel-controls { display: flex; gap: 8px; }
.carousel-controls[hidden] { display: none; }
.carousel-controls button { display: grid; width: 46px; height: 46px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; font-size: 20px; transition: transform 0.2s ease, background 0.2s ease; }
.carousel-controls button:hover { background: var(--paper); transform: translateY(-2px); }
.carousel-controls-light button { border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.08); color: #fff; }
.carousel-controls-light button:hover { background: rgba(255, 255, 255, 0.16); }
.plan-panel[hidden] { display: none; }
.plans-grid { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 12px; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.plans-grid::-webkit-scrollbar { display: none; }
.plans-grid:focus-visible, .repair-gallery:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
.plan-card { min-width: 0; flex: 0 0 clamp(270px, 25vw, 310px); overflow: hidden; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 24px; background: #fff; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.plan-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.plan-image { display: grid; height: 240px; min-height: 0; overflow: hidden; contain: paint; padding: 18px; place-items: center; background: #fbfbf8; }
.plan-image img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; }
.plan-content { position: relative; z-index: 1; padding: 16px 18px 20px; border-top: 1px solid var(--line); background: #fff; }
.plan-tags { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.plan-meta { display: flex; justify-content: space-between; gap: 10px; margin: 9px 0 16px; flex-wrap: wrap; }
.plan-meta h3, .plan-meta strong { margin: 0; font-size: 17px; }
.section-four-state { display: grid; grid-template-columns: 100px 1fr auto; min-height: 330px; align-items: center; gap: 36px; padding: 46px; border-radius: 30px; background: var(--lavender); }
.section-four-state > span { color: rgba(79, 90, 183, 0.22); font-size: 90px; font-weight: 900; }
.section-four-state h3 { margin-bottom: 12px; font-size: 32px; }
.section-four-state p:not(.eyebrow) { max-width: 650px; margin-bottom: 0; color: var(--muted); line-height: 1.6; }
.furniture-example { display: grid; grid-template-columns: 0.32fr 1.68fr; gap: 22px; align-items: center; margin-top: 14px; padding: 16px 20px; border-radius: 22px; background: var(--paper); }
.furniture-example img { width: 100%; height: 120px; object-fit: contain; mix-blend-mode: multiply; }
.furniture-example h3 { margin-bottom: 8px; font-size: 22px; }
.furniture-example p:not(.eyebrow) { max-width: 760px; margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.idea-to-real { padding-top: 46px; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.comparison-grid figure { position: relative; height: 460px; margin: 0; overflow: hidden; border-radius: 28px; background: var(--paper); }
.comparison-grid img { width: 100%; height: 100%; object-fit: cover; }
.comparison-grid figure:first-child img { object-position: 50% 44%; }
.comparison-grid figure:last-child img { object-position: 50% 48%; }
.comparison-grid figure > span { position: absolute; z-index: 2; top: 18px; left: 18px; padding: 9px 12px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 10px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.comparison-grid figcaption { position: absolute; z-index: 2; right: 18px; bottom: 18px; left: 18px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.94); font-size: 13px; font-weight: 900; }

.repair {
  width: 100%;
  max-width: none;
  padding-top: 70px;
  padding-bottom: 70px;
  padding-right: max(4vw, calc((100vw - 1280px) / 2));
  padding-left: max(4vw, calc((100vw - 1280px) / 2));
  background: var(--navy-dark);
  color: #fff;
}
.repair .section-head > p { color: rgba(255, 255, 255, 0.62); }
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.gallery-toolbar > span { color: rgba(255, 255, 255, 0.56); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.repair-gallery { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 12px; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.repair-gallery::-webkit-scrollbar { display: none; }
.repair-photo { position: relative; min-width: 0; height: 350px; flex: 0 0 clamp(290px, 31vw, 390px); margin: 0; overflow: hidden; scroll-snap-align: start; border-radius: 22px; }
.repair-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.repair-photo:hover img { transform: scale(1.035); }
.repair-photo figcaption { position: absolute; right: 12px; bottom: 12px; left: 12px; display: flex; align-items: center; gap: 10px; padding: 10px 13px; border-radius: 14px; background: rgba(255, 255, 255, 0.94); color: var(--ink); font-size: 10px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.repair-photo figcaption span { color: var(--red); }
.repair-details { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.15); border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.repair-details article { padding: 22px; border-right: 1px solid rgba(255, 255, 255, 0.15); }
.repair-details article:last-child { border-right: 0; }
.repair-details span { color: #cfd3ff; font-size: 10px; font-weight: 900; }
.repair-details h3 { margin: 16px 0 8px; font-size: 20px; }
.repair-details p { margin-bottom: 0; color: rgba(255, 255, 255, 0.62); font-size: 12px; line-height: 1.55; }

.developer {
  width: 100%;
  max-width: none;
  padding-right: max(4vw, calc((100vw - 1280px) / 2));
  padding-left: max(4vw, calc((100vw - 1280px) / 2));
  background: var(--paper);
}
.developer-layout { display: grid; min-height: 610px; grid-template-columns: 1fr 0.86fr; overflow: hidden; border-radius: 32px; background: var(--navy); color: #fff; }
.developer-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(38px, 4vw, 58px); }
.developer-copy h2 { margin-bottom: 22px; font-size: clamp(38px, 4vw, 56px); }
.developer-copy > p:not(.eyebrow) { max-width: 650px; color: rgba(255, 255, 255, 0.68); font-size: 14px; line-height: 1.65; }
.developer-links { display: flex; align-items: center; gap: 22px; margin-top: 24px; flex-wrap: wrap; }
.developer-proof { display: flex; min-width: 0; min-height: 0; overflow: hidden; flex-direction: column; background: #fff; color: var(--ink); }
.developer-proof > img { width: 100%; height: auto; min-height: 0; flex: 1 1 0; object-fit: cover; object-position: center 40%; }
.developer-stats { display: grid; flex: 0 0 auto; grid-template-columns: 1fr 1fr; }
.developer-stats div { display: flex; min-height: 116px; flex-direction: column; justify-content: center; padding: 18px 22px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.developer-stats div:nth-child(even) { border-right: 0; }
.developer-stats strong { font-size: 30px; }
.developer-stats span { margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.consultation { width: 100%; max-width: none; padding: 0; }
.consultation-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; padding: 72px max(4vw, calc((100vw - 1280px) / 2)); background: var(--lavender); }
.consultation-panel > div > p:not(.eyebrow) { max-width: 570px; margin-top: 26px; color: var(--muted); line-height: 1.6; }
.contact-form, .consultation-action { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 8px; }
.contact-form label span { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-form input { height: 58px; padding: 0 18px; border: 1px solid var(--line); border-radius: 14px; outline: 0; background: #fff; color: var(--ink); }
.contact-form input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(79, 90, 183, 0.08); }
.contact-form small { color: var(--muted); font-size: 9px; line-height: 1.4; }
.consultation-action { align-content: center; justify-items: start; padding: 34px; border-radius: 26px; background: rgba(255, 255, 255, 0.58); }
.consultation-action > p { max-width: 440px; margin-bottom: 4px; color: var(--muted); line-height: 1.55; }
.consultation-messengers { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: 12px; }
.consultation-messengers a { border-bottom: 1px solid currentColor; color: var(--violet); font-weight: 900; }

.lead-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  overflow-y: auto;
  padding: 24px;
  place-items: center;
  background: rgba(13, 14, 41, 0.72);
  backdrop-filter: blur(12px);
}
.lead-modal[hidden] { display: none; }
.lead-modal-card {
  position: relative;
  display: grid;
  width: min(620px, 100%);
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  gap: 26px;
  padding: clamp(30px, 5vw, 54px);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 32px 100px rgba(13, 14, 41, 0.34);
}
.lead-modal-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.lead-modal-copy { padding-right: 34px; }
.lead-modal-copy h2 { margin-bottom: 16px; font-size: clamp(34px, 6vw, 56px); line-height: 0.98; letter-spacing: -0.05em; }
.lead-modal-copy > p:last-child { max-width: 480px; margin-bottom: 0; color: var(--muted); line-height: 1.55; }
.lead-form { padding-top: 24px; border-top: 1px solid var(--line); }
.lead-form .button { width: 100%; }
.lead-success { display: grid; justify-items: start; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.lead-success[hidden] { display: none; }
.lead-success > span { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; background: #dff9e9; color: #159447; font-size: 24px; font-weight: 900; }
.lead-success h3 { margin: 8px 0 0; font-size: 27px; }
.lead-success p { margin-bottom: 8px; color: var(--muted); line-height: 1.55; }

footer { padding: 54px max(4vw, calc((100vw - 1280px) / 2)) 24px; background: #131334; color: #fff; }
.footer-cta { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 54px; align-items: end; padding-bottom: 38px; }
.footer-cta h2 { max-width: 720px; margin: 0 0 14px; font-size: clamp(34px, 4vw, 54px); line-height: 1; letter-spacing: -0.05em; }
.footer-cta > div:first-child > p:last-child { max-width: 680px; margin-bottom: 0; color: rgba(255, 255, 255, 0.58); font-size: 13px; line-height: 1.55; }
.footer-cta-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.footer-call-button { border: 1px solid rgba(255, 255, 255, 0.28); background: transparent; box-shadow: none; }
.footer-call-button:hover { background: rgba(255, 255, 255, 0.08); }
.footer-partners { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-partners .footer-label { margin: 0; white-space: nowrap; }
.footer-partners > div { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.footer-partners a { padding: 9px 13px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; color: rgba(255, 255, 255, 0.76); font-size: 10px; font-weight: 800; }
.footer-main { display: grid; grid-template-columns: 0.7fr 1fr 1.35fr 1fr 1.2fr; gap: 34px; padding: 42px 0; }
.footer-main > img { width: 84px; max-height: 70px; }
.footer-main > div { display: flex; flex-direction: column; gap: 8px; }
.footer-label { margin-bottom: 10px; color: rgba(255, 255, 255, 0.42); font-size: 9px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-main p, .footer-main a { margin-bottom: 0; font-size: 12px; line-height: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; gap: 22px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.42); font-size: 10px; }

@media (max-width: 1180px) {
  .advantages-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1050px) {
  .desktop-nav, .header-actions { display: none; }
  .header-main { grid-template-columns: 1fr auto auto; gap: 12px; }
  .mobile-header-actions { display: flex; }
  .mobile-menu { position: relative; display: block; }
  .mobile-menu summary { cursor: pointer; font-size: 12px; font-weight: 900; list-style: none; }
  .mobile-menu nav { position: absolute; top: 42px; right: 0; display: grid; width: 250px; padding: 20px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
  .mobile-menu nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 800; }
  .location-layout, .calculator, .developer-layout { grid-template-columns: 1fr; }
  .developer-layout { height: auto; }
  .address-card { min-height: 500px; }
  .genplan-card { min-height: 580px; }
  .advantages-grid { grid-template-columns: repeat(3, 1fr); }
  .calculator-controls { grid-template-columns: repeat(2, 1fr); }
  .developer-proof > img { min-height: 430px; }
  .footer-main { grid-template-columns: 0.7fr 1fr 1.4fr 1fr; }
  .footer-main > div:last-child { grid-column: 2 / -1; }
}

@media (max-width: 760px) {
  .header-main { min-height: 62px; }
  .hero, .hero-content { min-height: calc(100svh - 62px); }
  .hero-image { background-position: 52% 42%; }
  .hero-shade { background: linear-gradient(90deg, rgba(13, 14, 41, 0.87), rgba(13, 14, 41, 0.35)), linear-gradient(0deg, rgba(13, 14, 41, 0.72), transparent 55%); }
  .hero-content { justify-content: flex-end; padding-bottom: 166px; }
  .hero h1 { font-size: clamp(54px, 17vw, 86px); }
  .hero-copy { font-size: 15px; }
  .hero-status { right: 4vw; bottom: 18px; left: 4vw; max-width: none; }
  .section { padding: 82px 0; }
  .section-head, .consultation-panel { grid-template-columns: 1fr; gap: 24px; }
  .location-layout { gap: 12px; }
  .address-card, .genplan-card { min-height: 480px; }
  .genplan-card figcaption { display: grid; }
  .advantages-section { padding-top: 18px; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .calculator-controls { grid-template-columns: 1fr 1fr; }
  .calculator-controls .field:first-child, .calculator-controls .field:last-child { grid-column: 1 / -1; }
  .comparison-grid, .repair-details, .furniture-example { grid-template-columns: 1fr; }
  .field { min-height: 0; }
  .advantage-card { min-height: 138px; }
  .purchase, .repair, .developer { padding-right: 4vw; padding-left: 4vw; }
  .calculator-controls, .calculator-result { padding: 24px; }
  .result-grid { grid-template-columns: 1fr 1fr; }
  .section-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .section-tabs button { min-width: 0; padding: 14px; }
  .section-four-state { grid-template-columns: 1fr; gap: 20px; padding: 30px; }
  .section-four-state > span { font-size: 60px; }
  .furniture-example img { height: 220px; }
  .comparison-grid figure { height: 420px; }
  .repair-photo { height: 390px; flex-basis: 82vw; }
  .repair-details article { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
  .developer-copy { padding: 44px 28px; }
  .developer-proof > img { min-height: 360px; }
  .consultation-panel { padding: 72px 4vw; }
  .footer-cta { grid-template-columns: 1fr; gap: 24px; }
  .footer-cta-actions { justify-content: flex-start; }
  .footer-partners { align-items: flex-start; flex-direction: column; }
  .footer-partners > div { justify-content: flex-start; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:last-child { grid-column: auto; }
  }

@media (max-width: 480px) {
  .header-main { gap: 8px; }
  .mobile-header-actions { gap: 5px; }
  .mobile-menu nav { right: -2px; width: min(250px, calc(100vw - 24px)); }
  .messenger-link { width: 34px; height: 34px; }
  .messenger-link img { width: 20px; height: 20px; }
  .hero-content { padding-bottom: 176px; }
  .hero h1 { font-size: 52px; line-height: 0.94; }
  .hero-buttons { align-items: flex-start; flex-direction: column; }
  .video-button { width: 100%; }
  .section h2, .consultation h2 { font-size: 39px; }
  .address-card { padding: 28px; }
  .address-card h3 { font-size: 31px; }
  .genplan-card { min-height: 420px; }
  .advantages-grid { grid-template-columns: 1fr; }
  .advantage-card { grid-template-columns: 38px 1fr; }
  .plans-toolbar { align-items: stretch; flex-direction: column; }
  .plans-toolbar .carousel-controls { align-self: flex-end; }
  .section-tabs { grid-template-columns: 1fr; }
  .plan-card { flex-basis: 86vw; }
  .plan-image { height: 250px; }
  .comparison-grid figure { height: 360px; }
  .repair-photo { height: 360px; flex-basis: 88vw; }
  .developer-stats { grid-template-columns: 1fr 1fr; }
  .developer-stats div { min-height: 104px; padding: 14px; }
  .footer-cta-actions { align-items: stretch; flex-direction: column; }
  .footer-cta-actions .button { width: 100%; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .lead-modal { padding: 10px; align-items: end; }
  .lead-modal-card { width: 100%; max-height: calc(100svh - 20px); gap: 20px; padding: 34px 22px 24px; border-radius: 24px; }
  .lead-modal-close { position: sticky; top: 0; right: auto; justify-self: end; margin: -22px -10px -40px 0; }
  .lead-modal-copy h2 { font-size: 36px; }
  .consultation-action { padding: 26px; }
  .consultation-messengers { align-items: flex-start; flex-wrap: wrap; }
}

@media (max-width: 360px) {
  .calculator-controls { grid-template-columns: 1fr; }
  .calculator-controls .field:first-child, .calculator-controls .field:last-child { grid-column: auto; }
}

@media (max-width: 480px) and (max-height: 700px) {
  .hero-content { justify-content: flex-start; padding-top: 44px; padding-bottom: 160px; }
  .hero-content .eyebrow { margin-bottom: 12px; }
  .hero h1 { margin-bottom: 18px; font-size: 45px; line-height: 0.94; }
  .hero-copy { margin-bottom: 20px; font-size: 13px; line-height: 1.4; }
  .hero-buttons { gap: 9px; }
  .button { min-height: 46px; }
  .video-button { min-height: 50px; }
  .play-icon { width: 38px; height: 38px; }
  .hero-status { padding: 13px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* --- Партнери --- */
.partners {
  width: 100%;
  max-width: none;
  padding-right: max(4vw, calc((100vw - 1280px) / 2));
  padding-left: max(4vw, calc((100vw - 1280px) / 2));
  background: var(--paper);
}
.partners-logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 8px 0 40px; }
.partner-logo { display: flex; align-items: center; justify-content: center; height: 132px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 26px; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
a.partner-logo:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.partner-logo img { width: auto; object-fit: contain; }
.logo-rb { max-height: 46px; max-width: 88%; }
.logo-simple { max-height: 54px; max-width: 80%; }
.logo-beton { max-height: 52px; max-width: 88%; }
.logo-liner { max-height: 78px; max-width: 78%; }
.logo-4u { max-height: 56px; max-width: 58%; }
.partner-logo-dark { background: var(--navy-dark); border-color: var(--navy-dark); }
.partners-notes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.partners-notes article { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 26px; transition: transform .28s ease, box-shadow .28s ease; }
.partners-notes article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.partners-notes h3 { margin: 0 0 8px; font-size: 17px; color: var(--ink); }
.partners-notes p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }

/* --- Полірування --- */
.site-header { transition: box-shadow .3s ease, background .3s ease; }
.site-header.is-stuck { box-shadow: 0 8px 30px rgba(34, 37, 103, .12); }
.advantage-card, .plan-card, .repair-photo, .address-card, .genplan-card { transition: transform .3s ease, box-shadow .3s ease; }
.advantage-card:hover, .plan-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.genplan-card:hover img, .repair-photo:hover img { transform: scale(1.03); }
.genplan-card img, .repair-photo img { transition: transform .5s ease; }
.button, .video-button, .text-link, .messenger-link { transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease; }
.button:hover { transform: translateY(-2px); }
.messenger-link:hover { transform: translateY(-2px) scale(1.05); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 1100px) {
  .advantages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .partners-notes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .advantages-grid { grid-template-columns: 1fr; }
  .partners-notes { grid-template-columns: 1fr; }
  .partners-logos { grid-template-columns: 1fr 1fr; gap: 12px; }
  .partners-logos > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .partner-logo { height: 104px; padding: 18px; border-radius: 20px; }
  .logo-rb { max-height: 34px; }
  .logo-simple { max-height: 38px; }
  .logo-beton { max-height: 36px; }
  .logo-liner { max-height: 56px; }
  .logo-4u { max-height: 42px; }
}

/* ===== Футер (варіант 2) ===== */
footer#contacts { background: #fff; color: var(--ink); padding: 0 0 24px; border-top: 1px solid var(--line); margin-top: 0; }
.f2-cta { background: linear-gradient(120deg, var(--navy), var(--violet)); color: #fff; padding: 38px 4vw; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.f2-cta h2 { margin: 0 0 6px; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -0.03em; line-height: 1.1; }
.f2-cta p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, 0.82); }
.f2-acts { display: flex; gap: 12px; flex-wrap: wrap; }
.button-ghost { background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.4); box-shadow: none; color: #fff; }
.button-ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }
.f2-main { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.1fr; gap: 34px; padding: 40px 4vw 30px; }
.f2-main .footer-label { color: var(--muted); margin: 0 0 14px; }
.f2-main a, .f2-main p { display: block; font-size: 14px; margin: 0 0 10px; line-height: 1.5; }
.f2-main a:hover { color: var(--red); }
.f2-logo { width: 84px; margin-bottom: 12px; }
.f2-about, .f2-muted { color: var(--muted); }
.f2-phone { font-size: 19px; font-weight: 900; letter-spacing: -0.01em; }
.f2-map { position: relative; display: block; height: 132px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: url("./images/map.jpg") center / cover; margin: 0; }
.f2-map span { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, 0.93); font-size: 12px; font-weight: 800; padding: 9px 12px; }
.f2-map:hover span { color: var(--red); }
.soc { display: flex; gap: 10px; margin-top: 14px; }
.soc a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: transform 0.22s ease, box-shadow 0.22s ease; }
.soc a:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(32, 37, 79, 0.18); }
.soc-wa { background: #25d366; }
.soc-tg { background: #26a5e4; }
.soc img { width: 20px; height: 20px; }
.f-part { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 20px 4vw; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.f-part .footer-label { margin: 0; color: var(--muted); }
.f-part .chip { display: grid; place-items: center; height: 48px; padding: 0 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.f-part .chip-dark { background: var(--navy-dark); border-color: var(--navy-dark); }
.f-part img { height: 24px; width: auto; max-width: 120px; object-fit: contain; }
.f2-bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 4vw 0; font-size: 12px; color: var(--muted); }
.f2-bot a:hover { color: var(--red); }

@media (max-width: 960px) {
  .f2-cta { grid-template-columns: 1fr; }
  .f2-main { grid-template-columns: 1fr 1fr; gap: 26px; }
}
@media (max-width: 620px) {
  .f2-main { grid-template-columns: 1fr; }
  .f2-acts .button { width: 100%; }
}

/* ===== Новини ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; padding: 0 0 26px; transition: transform 0.28s ease, box-shadow 0.28s ease; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-img { position: relative; height: 190px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-img img { transform: scale(1.04); }
.news-img span { position: absolute; left: 16px; bottom: 14px; background: rgba(255, 255, 255, 0.94); border-radius: 999px; padding: 7px 14px; font-size: 11px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.news-card h3 { margin: 22px 26px 8px; font-size: 19px; line-height: 1.25; }
.news-card p { margin: 0 26px 16px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.news-card .text-link { margin: 0 26px; }
@media (max-width: 960px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .news-grid { grid-template-columns: 1fr; } }

/* ===== Калькулятор (варіант 5) ===== */
.calc5-ctrl { background: #fff; color: var(--ink); border-radius: 22px; padding: 14px; display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.calc5-ctrl .f { background: var(--paper); border-radius: 16px; padding: 14px 18px; min-width: 0; }
.calc5-ctrl label { display: block; font-size: 10px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.calc5-ctrl select { width: 100%; border: 0; background: none; font-size: 15px; font-weight: 800; color: var(--ink); cursor: pointer; }
.calc5-ctrl .vv { font-size: 22px; font-weight: 900; letter-spacing: -0.02em; }
.calc5-ctrl input[type="range"] { width: 100%; accent-color: var(--red); margin-top: 6px; height: 30px; touch-action: pan-y; }
.calc5-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.calc5-card { display: flex; flex-direction: column; background: rgba(255, 255, 255, 0.07); border: 1.5px solid rgba(255, 255, 255, 0.18); border-radius: 24px; padding: 26px 24px 24px; cursor: pointer; transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease; color: #fff; }
.calc5-card:hover { background: rgba(255, 255, 255, 0.13); transform: translateY(-3px); }
.calc5-card.is-active { background: #fff; border-color: #fff; color: var(--ink); box-shadow: var(--shadow); }
.calc5-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; min-height: 24px; }
.calc5-term { font-size: 13px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: #b9b8e0; }
.calc5-card.is-active .calc5-term { color: var(--muted); }
.calc5-badge { background: var(--red); color: #fff; border-radius: 999px; padding: 4px 11px; font-size: 10px; font-weight: 900; letter-spacing: 0.06em; white-space: nowrap; }
.calc5-mon { font-size: clamp(28px, 3.2vw, 38px); font-weight: 900; letter-spacing: -0.035em; line-height: 1; }
.calc5-mon-label { font-size: 12.5px; color: #b9b8e0; margin: 4px 0 14px; }
.calc5-card.is-active .calc5-mon-label { color: var(--muted); }
.calc5-diff { font-size: 12px; font-weight: 800; color: #7ee0a0; margin-bottom: 16px; min-height: 16px; }
.calc5-card.is-active .calc5-diff { color: #1f9d55; }
.calc5-li { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.calc5-card.is-active .calc5-li { border-color: var(--line); }
.calc5-li b { font-weight: 900; }
.calc5-pick { margin-top: auto; width: 100%; border-radius: 999px; padding: 13px; border: 1.5px solid rgba(255, 255, 255, 0.3); background: none; color: #fff; font-size: 13px; font-weight: 900; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.calc5-pick:hover { background: rgba(255, 255, 255, 0.16); }
.calc5-card.is-active .calc5-pick { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 12px 28px rgba(227, 29, 46, 0.24); }
.calc5-card.is-active .calc5-pick:hover { background: var(--red-dark); }
.calc5-sum { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 18px; font-size: 13px; color: #b9b8e0; }
.calc5-sum b { color: #fff; }
.calc5-zero { display: inline-flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; padding: 7px 14px; font-size: 12px; font-weight: 800; color: #fff; }
.calc5-zero i { font-style: normal; color: #7ee0a0; }
.calc5 .calculator-note { margin: 14px 0 0; color: #b9b8e0; }

@media (max-width: 960px) {
  .calc5-ctrl { grid-template-columns: 1fr; }
  .calc5-cards { grid-template-columns: 1fr; }
}

/* ===== Мобільна шапка (варіант C) ===== */
.msg-round { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto; transition: transform 0.2s ease; }
.msg-round:hover { transform: translateY(-2px); }
.msg-round img { width: 19px; height: 19px; }
.msg-wa { background: #25d366; }
.msg-tg { background: #26a5e4; }
.mobile-burger { display: grid; align-content: center; justify-items: center; gap: 4px; width: 44px; height: 44px; padding: 9px; background: none; border: 0; cursor: pointer; flex: 0 0 auto; }
.mobile-burger i { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.mobile-burger.is-open i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-burger.is-open i:nth-child(2) { opacity: 0; }
.mobile-burger.is-open i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-panel { display: none; padding: 12px 4vw 18px; background: #fff; border-top: 1px solid var(--line); }
.mobile-panel[hidden] { display: none; }
.mp-status { display: flex; align-items: center; gap: 9px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 11.5px; }
.mp-status i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex: 0 0 auto; animation: mp-blink 1.6s infinite; }
@keyframes mp-blink { 50% { opacity: 0.35; } }
.mp-status b { display: block; font-size: 13px; }
.mp-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.mp-quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 15px; padding: 11px 4px; font-size: 10.5px; font-weight: 900; }
.mp-quick a:hover { border-color: var(--navy); }
.mp-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.mp-ic img { width: 16px; height: 16px; }
.mp-call { background: var(--navy); }
.mp-wa { background: #25d366; }
.mp-tg { background: #26a5e4; }
.mp-nav a { display: flex; justify-content: space-between; align-items: center; padding: 11px 2px; font-size: 15px; font-weight: 800; border-bottom: 1px solid var(--line); }
.mp-nav a::after { content: "›"; color: var(--muted); font-size: 17px; }
.mp-label { margin: 14px 0 9px; font-size: 10px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.mp-addr { display: flex; gap: 10px; background: var(--paper); border-radius: 14px; padding: 13px 15px; }
.mp-addr img { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; }
.mp-addr div { font-size: 12.5px; line-height: 1.5; }
.mp-addr b { display: block; font-size: 13px; }
.mp-addr a { color: var(--violet); font-weight: 800; font-size: 12px; }
.mp-cta { width: 100%; margin-top: 14px; }

@media (max-width: 1050px) {
  .mobile-panel:not([hidden]) { display: block; }
}
@media (max-width: 760px) {
  .header-util .util-in { padding: 7px 4vw; }
  .util-right { display: none; }
  .util-addr { font-size: 11px; white-space: nowrap; }
  .util-street { display: none; }
}

/* ===== Футер: колонки на десктопі, акордеон на мобільному ===== */
.f-mob-soc { display: none; }
.f-acc summary { list-style: none; cursor: pointer; }
.f-acc summary::-webkit-details-marker { display: none; }
.f-acc summary::marker { content: ""; }

@media (min-width: 761px) {
  .f-acc > .f-acc-in { display: block !important; content-visibility: visible !important; }
  .f-acc summary { cursor: default; }
  .f-part { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 20px 4vw; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .f-part summary { margin: 0; }
  .f-part .f-acc-in { display: flex !important; align-items: center; gap: 14px; flex-wrap: wrap; }
}

@media (max-width: 760px) {
  .f2-main { display: block; padding: 18px 4vw 4px; }
  .f2-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
  .f2-brand .f2-logo { width: 62px; margin: 0; flex: 0 0 auto; }
  .f2-brand .f2-about { margin: 0; font-size: 11.5px; line-height: 1.45; color: var(--muted); }
  .f2-brand .soc { display: none; }
  .f-acc { border-top: 1px solid var(--line); }
  .f-acc summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 0; margin: 0; font-size: 14px; font-weight: 900; letter-spacing: 0; text-transform: none; color: var(--ink); }
  .f-acc summary::after { content: "+"; color: var(--red); font-size: 20px; font-weight: 400; line-height: 1; }
  .f-acc[open] summary::after { content: "–"; }
  .f-acc-in { padding-bottom: 14px; }
  .f-acc-in a, .f-acc-in p { margin: 0 0 9px; }
  .f-acc .f2-phone { font-size: 18px; }
  .f-acc .f2-map { height: 96px; margin-bottom: 10px; }
  .f-mob-soc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 16px; }
  .f-mob-soc a { display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 13px; padding: 12px 6px; font-size: 12px; font-weight: 900; color: #fff; white-space: nowrap; margin: 0; }
  .f-mob-soc img { width: 16px; height: 16px; flex: 0 0 auto; }
  .f-mob-wa { background: #25d366; }
  .f-mob-tg { background: #26a5e4; }
  .f-part { display: block; border-bottom: 0; padding: 0 4vw; }
  .f-chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .f-part .chip { height: 42px; padding: 0 10px; }
  .f-part img { height: 18px; max-width: 72px; }
  .f2-cta { padding: 24px 4vw; }
  .f2-bot { padding: 14px 4vw 0; }
}

/* ===== Лід-магніт: каталог планувань ===== */
.catalog-cta { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; margin-top: 18px; padding: 30px 34px; border-radius: 26px; background: linear-gradient(120deg, var(--navy), var(--violet)); color: #fff; }
.catalog-copy .eyebrow { color: rgba(255, 255, 255, 0.72); }
.catalog-copy h3 { margin: 0 0 8px; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.03em; }
.catalog-copy p { margin: 0; max-width: 560px; color: rgba(255, 255, 255, 0.82); font-size: 14px; line-height: 1.6; }
.catalog-btn { white-space: nowrap; }

/* ===== Квіз ===== */
.quiz-box { position: relative; max-width: 860px; padding: 34px 36px 36px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
.quiz-bar { height: 6px; margin-bottom: 22px; border-radius: 4px; background: var(--paper); overflow: hidden; }
.quiz-bar i { display: block; height: 100%; width: 33%; border-radius: 4px; background: linear-gradient(90deg, var(--red), #ff7a72); transition: width 0.35s ease; }
.quiz-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 8px; }
.quiz-top span { color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
[data-quiz-back] { border: 0; background: none; color: var(--muted); font-size: 13px; font-weight: 800; cursor: pointer; }
[data-quiz-back]:hover { color: var(--ink); }
.quiz-box h3 { margin: 0 0 20px; font-size: clamp(20px, 2.4vw, 27px); letter-spacing: -0.035em; }
.quiz-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.quiz-opts[hidden] { display: none; }
.quiz-opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 800; text-align: left; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease; }
.quiz-opt::after { content: "›"; color: var(--muted); font-size: 18px; }
.quiz-opt:hover { border-color: var(--red); background: var(--peach); transform: translateX(3px); }
.quiz-done-t { margin: 0 0 12px; font-size: 15px; font-weight: 900; }
.quiz-summary { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.quiz-summary span { padding: 9px 16px; border-radius: 999px; background: var(--lavender); color: var(--navy); font-size: 13px; font-weight: 800; }
.quiz-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.quiz-restart { border: 0; background: none; color: var(--muted); font-size: 13px; font-weight: 800; cursor: pointer; }
.quiz-restart:hover { color: var(--ink); }

/* ===== Квіз: кільце %, бонуси, лічильник квартир, вибір каналу ===== */
.qz-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.qz-ring { position: relative; width: 64px; height: 64px; flex: 0 0 auto; }
.qz-ring svg { transform: rotate(-90deg); }
.qz-ring .bg { fill: none; stroke: var(--paper); stroke-width: 7; }
.qz-ring .fg { fill: none; stroke: var(--red); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 163; stroke-dashoffset: 163; transition: stroke-dashoffset 0.5s ease; }
.qz-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; font-weight: 900; }
.qz-gifts { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.qz-gift { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--muted); font-size: 12px; font-weight: 800; transition: 0.3s; }
.qz-gift.on { border-color: rgba(31, 157, 85, 0.35); background: #e8f7ed; color: #1f9d55; }
.qz-gift i { font-style: normal; }
.qz-match { display: inline-flex; align-items: center; gap: 9px; margin-left: auto; padding: 9px 16px; border-radius: 999px; background: var(--lavender); color: var(--navy); font-size: 12.5px; font-weight: 900; }
.qz-match i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: qz-blink 1.6s infinite; }
.qz-match b { font-size: 15px; }
.qz-match.pop { animation: qz-pop 0.4s ease; }
@keyframes qz-blink { 50% { opacity: 0.35; } }
@keyframes qz-pop { 40% { transform: scale(1.12); } }
.quiz-opt.is-picked { border-color: var(--red); background: var(--peach); box-shadow: inset 0 0 0 1px var(--red); }
.qz-fin-t { margin: 0 0 14px; font-size: clamp(17px, 2vw, 22px); font-weight: 900; letter-spacing: -0.03em; }
.qz-fin-t b { color: var(--red); }
.qz-lbl { margin: 0 0 10px; color: var(--muted); font-size: 10.5px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.qz-ways { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 14px; }
.qz-way { display: inline-flex; align-items: center; gap: 9px; padding: 12px 19px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 800; cursor: pointer; transition: 0.18s; }
.qz-way i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; flex: 0 0 auto; }
.qz-way i img { width: 15px; height: 15px; }
.qz-way .wa { background: #25d366; }
.qz-way .tg { background: #26a5e4; }
.qz-way .ph { background: var(--navy); }
.qz-way:hover { border-color: var(--violet); }
.qz-way.is-on { border-color: var(--red); background: var(--peach); box-shadow: inset 0 0 0 1px var(--red); }
.qz-form { display: flex; flex-wrap: wrap; gap: 10px; }
.qz-field { flex: 1; min-width: 220px; border: 1.5px solid var(--line); border-radius: 999px; padding: 14px 20px; font: inherit; font-size: 15px; }
.qz-field:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(79, 90, 183, 0.12); }
.qz-field.is-err { border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 29, 46, 0.12); }
.qz-note { display: flex; align-items: center; gap: 7px; margin: 12px 0 16px; color: var(--muted); font-size: 11.5px; }
.qz-ok { text-align: center; padding: 26px 10px; }
.qz-ok .ic { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%; background: #e8f7ed; color: #1f9d55; font-size: 24px; }
.qz-ok b { display: block; margin-bottom: 4px; font-size: 18px; }
.qz-ok span { color: var(--muted); font-size: 13.5px; }
@media (max-width: 760px) {
  .qz-head { gap: 12px 14px; }
  .qz-match { order: 2; margin-left: auto; }
  .qz-gifts { order: 3; flex: 1 0 100%; }
  .qz-gift { padding: 7px 12px; font-size: 11.5px; }
  .qz-form .button { width: 100%; }
  .qz-fin-t { font-size: 18px; }
}

/* ===== FAQ ===== */
.faq-list { max-width: 860px; }
.faq-item { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; transition: box-shadow 0.25s ease; }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; position: relative; padding: 20px 56px 20px 24px; font-size: 16px; font-weight: 900; letter-spacing: -0.02em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(45deg); transition: transform 0.25s ease, margin-top 0.25s ease; }
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-a { padding: 0 24px 20px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }

@media (max-width: 760px) {
  .catalog-cta { grid-template-columns: 1fr; padding: 24px 20px; gap: 18px; }
  .catalog-btn { width: 100%; }
  .quiz-box { padding: 22px 18px 24px; }
  .quiz-opts { grid-template-columns: 1fr; }
  .quiz-actions .button { width: 100%; }
  .faq-item summary { padding: 16px 46px 16px 16px; font-size: 14.5px; }
  .faq-a { padding: 0 16px 16px; font-size: 13.5px; }
}

/* ===== Лід-магніт Л2: компактна картка ===== */
.catalog-card { display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center; margin-top: 18px; padding: 28px 34px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
.catalog-thumbs { display: flex; }
.catalog-thumbs span { display: grid; place-items: center; width: 92px; height: 112px; margin-right: -26px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 8px 20px rgba(34, 37, 103, 0.12); overflow: hidden; transition: transform 0.25s ease; }
.catalog-thumbs span:nth-child(2) { transform: rotate(3deg) translateY(-6px); z-index: 2; background: #fff; }
.catalog-thumbs span:nth-child(3) { transform: rotate(-4deg); }
.catalog-card:hover .catalog-thumbs span:nth-child(2) { transform: rotate(0) translateY(-10px); }
.catalog-thumbs img { width: 74px; height: 94px; object-fit: contain; }
.catalog-count { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 9px; padding: 6px 13px; border-radius: 999px; background: var(--lavender); color: var(--navy); font-size: 11.5px; font-weight: 900; }
.catalog-count i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: cat-blink 1.6s infinite; }
@keyframes cat-blink { 50% { opacity: 0.35; } }
.catalog-copy h3 { margin: 0 0 6px; font-size: clamp(19px, 2.1vw, 24px); letter-spacing: -0.03em; }
.catalog-copy p { margin: 0; max-width: 520px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.catalog-act { text-align: center; }
.catalog-act small { display: block; margin-top: 9px; color: var(--muted); font-size: 11px; }
@media (max-width: 760px) {
  .catalog-card { grid-template-columns: 1fr; gap: 18px; padding: 24px 18px; text-align: center; }
  .catalog-thumbs { justify-content: center; }
  .catalog-copy p { margin: 0 auto; }
  .catalog-act .button { width: 100%; }
}

/* ===== Плаваюча кнопка звʼязку + мобільний док ===== */
.cbar-fab { position: fixed; z-index: 70; right: 22px; bottom: 22px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cbar-list { display: grid; gap: 8px; }
.cbar-list[hidden] { display: none; }
.cbar-item { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; width: 262px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); color: var(--ink); font-size: 14px; font-weight: 800; text-align: left; cursor: pointer; animation: cbar-in 0.28s ease backwards; }
.cbar-item:hover { transform: translateX(-3px); border-color: transparent; }
.cbar-item i { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; }
.cbar-item b { grid-column: 2; color: var(--muted); font-size: 11px; font-weight: 700; }
.cbar-wa i { background: var(--wa, #25d366); }
.cbar-tg i { background: var(--tg, #26a5e4); }
.cbar-ph i, .cbar-cb i { background: var(--navy); }
.cbar-list a:nth-child(1), .cbar-list button:nth-child(1) { animation-delay: 0.02s; }
.cbar-list a:nth-child(2) { animation-delay: 0.06s; }
.cbar-list a:nth-child(3) { animation-delay: 0.1s; }
.cbar-list button:last-child { animation-delay: 0.14s; }
@keyframes cbar-in { from { opacity: 0; transform: translateY(8px); } }
.cbar-toggle { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border: 0; border-radius: 50%; background: var(--red); box-shadow: 0 15px 35px rgba(227, 29, 46, 0.36); cursor: pointer; transition: transform 0.25s ease, background 0.25s ease; }
.cbar-toggle:hover { transform: scale(1.06); }
.cbar-ic { display: grid; place-items: center; transition: opacity 0.2s ease, transform 0.25s ease; }
.cbar-x { position: absolute; width: 18px; height: 18px; opacity: 0; transform: rotate(0); transition: opacity 0.2s ease, transform 0.25s ease; }
.cbar-x::before, .cbar-x::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 2.5px; margin-top: -1px; border-radius: 2px; background: #fff; }
.cbar-x::after { transform: rotate(90deg); }
.cbar-toggle[aria-expanded="true"] .cbar-ic { opacity: 0; transform: scale(0.6); }
.cbar-toggle[aria-expanded="true"] .cbar-x { opacity: 1; transform: rotate(45deg); }
.cbar-dot { position: absolute; top: 2px; right: 2px; width: 13px; height: 13px; border: 2.5px solid #fff; border-radius: 50%; background: #1f9d55; }
.cbar-toggle[aria-expanded="true"] .cbar-dot { opacity: 0; }
.cbar-dock { display: none; }
.cbar.at-footer .cbar-fab { display: none; }

@media (max-width: 760px) {
  .cbar-fab { display: none; }
  .cbar-dock { position: fixed; z-index: 70; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 9px 10px calc(9px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(12px); box-shadow: 0 -8px 26px rgba(34, 37, 103, 0.1); transform: translateY(110%); transition: transform 0.3s ease; }
  .cbar-dock.is-on { transform: none; }
  .cbar-d { display: grid; justify-items: center; gap: 4px; padding: 8px 4px; border-radius: 14px; color: var(--ink); font-size: 11px; font-weight: 800; }
  .cbar-d i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; }
  .cbar-d-ph i { background: var(--navy); }
  .cbar-d-wa i { background: var(--wa, #25d366); }
  .cbar-d-tg i { background: var(--tg, #26a5e4); }
  body.has-dock { padding-bottom: 86px; }
}

/* ===== Сторінка контактів ===== */
.ct-hero { padding: 74px max(4vw, calc((100vw - 1280px) / 2)) 64px; background: linear-gradient(160deg, var(--navy), var(--navy-dark)); color: #fff; }
.ct-hero-in { max-width: 760px; }
.ct-hero .eyebrow { color: #9a99d6; }
.ct-hero h1 { margin: 0 0 16px; font-size: clamp(34px, 5.4vw, 60px); letter-spacing: -0.045em; line-height: 1; }
.ct-lead { margin: 0 0 26px; max-width: 620px; color: rgba(255, 255, 255, 0.82); font-size: 15.5px; line-height: 1.65; }
.ct-hero-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.ct-hero .button-ghost { border: 1.5px solid rgba(255, 255, 255, 0.4); background: none; color: #fff; }
.ct-hero .button-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.ct-hero-note { margin: 0; color: rgba(255, 255, 255, 0.6); font-size: 12.5px; }
.ct-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ct-card { display: flex; flex-direction: column; gap: 8px; padding: 30px 28px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
.ct-ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px; border-radius: 14px; }
.ct-ic-ph { background: var(--navy); }
.ct-ic-wa { background: var(--wa, #25d366); }
.ct-ic-map { background: var(--red); }
.ct-card h2 { margin: 0 0 4px; font-size: 19px; letter-spacing: -0.03em; }
.ct-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.ct-big { font-size: 19px; font-weight: 900; letter-spacing: -0.02em; color: var(--ink); }
.ct-big:hover { color: var(--red); }
.ct-addr { color: var(--ink) !important; font-size: 15px !important; font-weight: 800; }
.ct-msg { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 8px; }
.ct-msg a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; color: #fff; font-size: 13px; font-weight: 800; }
.ct-msg-wa { background: var(--wa, #25d366); }
.ct-msg-tg { background: var(--tg, #26a5e4); }
.ct-msg a:hover { filter: brightness(1.06); }
.ct-map-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; }
.ct-map { position: relative; display: block; overflow: hidden; max-height: 470px; border: 1px solid var(--line); border-radius: 26px; }
.ct-map img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; transition: transform 0.5s ease; }
.ct-map:hover img { transform: scale(1.03); }
.ct-map-pin { position: absolute; left: 20px; bottom: 20px; padding: 11px 18px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 900; box-shadow: var(--shadow); }
.ct-ways { display: grid; gap: 12px; align-content: stretch; }
.ct-way { padding: 20px 22px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.ct-way b { display: block; margin-bottom: 5px; font-size: 14.5px; }
.ct-way span { color: var(--muted); font-size: 13px; line-height: 1.55; }
.ct-form-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 52px; border-radius: 30px; background: var(--lavender); }
.ct-form-copy { margin: 22px 0 18px; max-width: 520px; color: var(--muted); line-height: 1.6; }
.ct-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.ct-list li { position: relative; padding-left: 26px; font-size: 14px; font-weight: 800; }
.ct-list li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 900; }
.ct-form-act { align-content: center; display: grid; gap: 14px; justify-items: start; padding: 32px; border-radius: 26px; background: rgba(255, 255, 255, 0.62); }
.ct-form-act p { margin: 0; max-width: 400px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
@media (max-width: 1000px) {
  .ct-grid { grid-template-columns: 1fr; }
  .ct-map-wrap { grid-template-columns: 1fr; }
  .ct-form-panel { grid-template-columns: 1fr; gap: 28px; padding: 36px 30px; }
}
@media (max-width: 760px) {
  .ct-hero { padding: 54px 4vw 46px; }
  .ct-hero-acts .button { width: 100%; }
  .ct-card { padding: 24px 20px; }
  .ct-map img { min-height: 230px; }
  .ct-form-panel { padding: 28px 20px; }
  .ct-form-act { padding: 24px 18px; }
  .ct-form-act .button { width: 100%; }
}

/* ===== Контакти v2: блоки довіри ===== */
.ct-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 10px; padding: 11px 18px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; background: rgba(255, 255, 255, 0.07); font-size: 13px; }
.ct-status i { width: 9px; height: 9px; border-radius: 50%; background: #ffb020; flex: 0 0 auto; }
.ct-status.is-open i { background: #35d07f; box-shadow: 0 0 0 4px rgba(53, 208, 127, 0.22); }
.ct-status b { color: #fff; font-size: 13.5px; }
.ct-status span { color: rgba(255, 255, 255, 0.66); }
.ct-team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ct-mgr { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 26px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
.ct-mgr-ph { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 24px; background: var(--lavender); color: var(--navy); font-size: 26px; font-weight: 900; letter-spacing: -0.02em; }
.ct-mgr-ph2 { background: var(--peach); color: var(--red); }
.ct-mgr > img { width: 96px; height: 96px; border-radius: 24px; object-fit: cover; }
.ct-mgr-wa img { width: 15px; height: 15px; border-radius: 0; }
.ct-mgr-in b { display: block; font-size: 18px; letter-spacing: -0.03em; }
.ct-mgr-role { display: block; margin: 3px 0 10px; color: var(--violet); font-size: 12px; font-weight: 800; }
.ct-mgr-in p { margin: 0 0 14px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.ct-mgr-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ct-mgr-tel { font-size: 15px; font-weight: 900; letter-spacing: -0.02em; }
.ct-mgr-tel:hover { color: var(--red); }
.ct-mgr-wa { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 999px; background: var(--wa, #25d366); color: #fff; font-size: 12.5px; font-weight: 800; }
.ct-mgr-tg { background: var(--tg, #26a5e4); }
.ct-team-note { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.ct-office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ct-office-ph { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.ct-office-ph img { width: 100%; height: 210px; object-fit: cover; transition: transform 0.5s ease; }
.ct-office-ph:hover img { transform: scale(1.04); }
.ct-office-ph figcaption { padding: 14px 18px 16px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.ct-proof { padding-top: 0; }
.ct-proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 30px; border-radius: 26px; background: var(--lavender); }
.ct-pf b { display: block; margin-bottom: 6px; color: var(--navy); font-size: 24px; font-weight: 900; letter-spacing: -0.04em; }
.ct-pf span { display: block; color: var(--muted); font-size: 13px; line-height: 1.55; }
.ct-pf .text-link { display: block; margin-top: 10px; }
.ct-map-live { display: block; background: var(--paper); }
.ct-map-live iframe { display: block; width: 100%; height: 470px; border: 0; }
.ct-map-live .ct-map-pin { z-index: 2; }
.ct-privacy { display: flex; align-items: center; gap: 7px; margin: 0 !important; color: var(--muted); font-size: 11.5px !important; }
.ct-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.ct-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; margin: 0 4vw; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.6); font-size: 11.5px; line-height: 1.7; }
.ct-legal b { color: rgba(255, 255, 255, 0.86); font-weight: 800; }
.ct-legal-links { display: grid; gap: 7px; align-content: start; }
.ct-legal-links a { color: rgba(255, 255, 255, 0.76); font-weight: 800; }
.ct-legal-links a:hover { color: #fff; }
@media (max-width: 1000px) {
  .ct-team-grid, .ct-faq-grid { grid-template-columns: 1fr; }
  .ct-office-grid { grid-template-columns: 1fr 1fr; }
  .ct-proof-grid { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
}
@media (max-width: 760px) {
  .ct-status { width: 100%; }
  .ct-mgr { grid-template-columns: 1fr; gap: 14px; padding: 22px 20px; }
  .ct-mgr-ph, .ct-mgr > img { width: 72px; height: 72px; border-radius: 20px; font-size: 21px; }
  .ct-office-grid { grid-template-columns: 1fr; }
  .ct-office-ph img { height: 190px; }
  .ct-map-live iframe { height: 300px; }
}

/* ===== Світлий футер (контакти v3) ===== */
.footer-light { padding: 0 0 24px; border-top: 1px solid var(--line); background: #fff; color: var(--ink); }
.footer-light .footer-label { color: var(--muted); }
.footer-light .f2-about, .footer-light .f2-muted { color: var(--muted); }
.footer-light .ct-legal { border-top-color: var(--line); color: var(--muted); }
.footer-light .ct-legal b { color: var(--ink); }
.footer-light .ct-legal-links a { color: var(--violet); }
.footer-light .ct-legal-links a:hover { color: var(--red); }
.footer-light .f2-bot { color: var(--muted); }
.footer-light .f-acc { border-color: var(--line); }

/* ===== Сторінка планувань ===== */
.pl-hero { padding: 66px max(4vw, calc((100vw - 1280px) / 2)) 58px; background: linear-gradient(160deg, var(--navy), var(--navy-dark)); color: #fff; }
.pl-hero-in { max-width: 780px; }
.pl-hero .eyebrow { color: #9a99d6; }
.pl-hero h1 { margin: 0 0 14px; font-size: clamp(30px, 4.6vw, 52px); letter-spacing: -0.045em; line-height: 1.02; }
.pl-lead { margin: 0 0 24px; max-width: 620px; color: rgba(255, 255, 255, 0.82); font-size: 15.5px; line-height: 1.65; }
.pl-hero-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.pl-hero-stats span { display: grid; gap: 2px; padding: 12px 20px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 16px; background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.62); font-size: 11.5px; }
.pl-hero-stats b { color: #fff; font-size: 16px; letter-spacing: -0.02em; }
.pl-hero-acts { display: flex; flex-wrap: wrap; gap: 12px; }
.pl-hero .button-ghost { border: 1.5px solid rgba(255, 255, 255, 0.4); background: none; color: #fff; }
.pl-hero .button-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

.pl-filters { position: sticky; top: 0; z-index: 30; display: grid; gap: 12px; margin-bottom: 22px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(12px); box-shadow: 0 14px 34px rgba(34, 37, 103, 0.08); }
.pl-frow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pl-flabel { min-width: 62px; color: var(--muted); font-size: 10.5px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.pl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-chip { padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 800; cursor: pointer; transition: 0.16s; }
.pl-chip:hover { border-color: var(--violet); }
.pl-chip.is-on { border-color: var(--navy); background: var(--navy); color: #fff; }
.pl-fbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); }
.pl-count { font-size: 13.5px; color: var(--muted); }
.pl-count b { color: var(--ink); font-size: 17px; font-weight: 900; }
.pl-sort { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.pl-sort label { color: var(--muted); font-size: 12px; font-weight: 800; }
.pl-sort select { border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 14px; font: inherit; font-size: 13px; font-weight: 800; color: var(--ink); background: #fff; cursor: pointer; }
.pl-reset { border: 0; background: none; color: var(--red); font-size: 13px; font-weight: 800; cursor: pointer; text-decoration: underline; }

.pl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pl-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: #fff; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.pl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pl-card-img { position: relative; display: grid; place-items: center; height: 240px; padding: 22px; overflow: hidden; background: var(--paper); }
.pl-card-img img { width: 100%; height: 196px; object-fit: contain; transition: transform 0.35s ease; }
.pl-card:hover .pl-card-img img { transform: scale(1.05); }
.pl-badge { position: absolute; top: 14px; left: 14px; padding: 6px 13px; border-radius: 999px; background: #e8f7ed; color: #1f9d55; font-size: 10.5px; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; }
.pl-badge-last { background: var(--peach); color: var(--red); }
.pl-card-in { display: flex; flex-direction: column; flex: 1; gap: 14px; padding: 22px 24px 24px; }
.pl-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pl-card-top h3 { margin: 0; font-size: 18px; letter-spacing: -0.03em; }
.pl-code { padding: 5px 11px; border-radius: 999px; background: var(--lavender); color: var(--navy); font-size: 11px; font-weight: 900; }
.pl-specs { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.pl-specs li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 13px; }
.pl-specs i { color: var(--muted); font-style: normal; }
.pl-specs b { font-weight: 800; }
.pl-price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.pl-price b { font-size: 23px; font-weight: 900; letter-spacing: -0.035em; }
.pl-price span { color: var(--muted); font-size: 12px; font-weight: 800; }
.pl-card-acts { display: grid; gap: 8px; margin-top: auto; }
.pl-card-acts .button { width: 100%; padding: 13px 20px; font-size: 13.5px; }
.pl-calc { border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 20px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 800; cursor: pointer; transition: 0.18s; }
.pl-calc:hover { border-color: var(--navy); background: var(--paper); }

.pl-inline { display: grid; align-content: center; gap: 12px; padding: 28px 26px; border: 1.5px dashed rgba(227, 29, 46, 0.35); border-radius: 26px; background: var(--peach); }
.pl-inline b { font-size: 17px; letter-spacing: -0.03em; }
.pl-inline p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.pl-inline .button { justify-self: start; }

.pl-empty { display: grid; gap: 12px; justify-items: center; margin-top: 18px; padding: 40px 26px; border: 1px dashed var(--line); border-radius: 26px; background: #fff; text-align: center; }
.pl-empty b { font-size: 19px; letter-spacing: -0.03em; }
.pl-empty p { margin: 0; max-width: 520px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.pl-empty-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.pl-wa { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; background: var(--wa, #25d366); color: #fff; font-size: 13.5px; font-weight: 800; }

.pl-help-panel { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; padding: 52px; border-radius: 30px; background: var(--lavender); }
.pl-help-copy { margin: 22px 0 18px; max-width: 520px; color: var(--muted); line-height: 1.6; }
.pl-help-act { display: grid; gap: 14px; align-content: center; justify-items: start; padding: 32px; border-radius: 26px; background: rgba(255, 255, 255, 0.66); }
.pl-help-thumbs { display: flex; }
.pl-help-thumbs span { display: grid; place-items: center; width: 84px; height: 104px; margin-right: -22px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 8px 20px rgba(34, 37, 103, 0.1); }
.pl-help-thumbs span:nth-child(2) { transform: rotate(3deg) translateY(-5px); z-index: 2; }
.pl-help-thumbs span:nth-child(3) { transform: rotate(-4deg); }
.pl-help-thumbs img { width: 68px; height: 88px; object-fit: contain; }
.pl-help-act .button { width: 100%; }

@media (max-width: 1100px) { .pl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1000px) { .pl-help-panel { grid-template-columns: 1fr; gap: 28px; padding: 36px 30px; } }
@media (max-width: 760px) {
  .pl-hero { padding: 46px 4vw 40px; }
  .pl-hero-acts .button, .pl-hero-acts .button-ghost { width: 100%; }
  .pl-hero-stats span { flex: 1 1 100%; }
  .pl-filters { position: static; padding: 16px; border-radius: 20px; }
  .pl-frow { gap: 8px; }
  .pl-flabel { flex: 1 0 100%; min-width: 0; }
  .pl-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .pl-chips::-webkit-scrollbar { display: none; }
  .pl-chip { flex: 0 0 auto; }
  .pl-sort { margin-left: 0; flex: 1 1 100%; }
  .pl-sort select { flex: 1; }
  .pl-grid { grid-template-columns: 1fr; gap: 14px; }
  .pl-card-img { height: 210px; }
  .pl-card-img img { height: 166px; }
  .pl-help-panel { padding: 28px 20px; }
  .pl-help-act { padding: 22px 18px; }
  .pl-inline .button { justify-self: stretch; }
}
.plans-all { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; padding: 20px; border: 1.5px dashed var(--line); border-radius: 22px; background: #fff; color: var(--navy); font-size: 15px; font-weight: 900; letter-spacing: -0.02em; transition: 0.2s; }
.plans-all:hover { border-color: var(--red); background: var(--peach); color: var(--red); }
.plans-all i { font-style: normal; transition: transform 0.2s ease; }
.plans-all:hover i { transform: translateX(4px); }

/* ===== Планування v2: акцент на розтермінуванні ===== */
.p2-hero h1 span { color: #ffd166; }
.p2-terms { padding-top: 0; }
.p2-terms-box { padding: 34px 36px; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.p2-terms-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 34px; align-items: end; margin-bottom: 24px; }
.p2-terms-head h2 { margin: 6px 0 0; font-size: clamp(21px, 2.4vw, 28px); letter-spacing: -0.035em; }
.p2-terms-head p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.p2-terms-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 26px; align-items: start; padding-top: 22px; border-top: 1px solid var(--line); }
.p2-tctl label { display: block; margin-bottom: 10px; color: var(--muted); font-size: 10.5px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.p2-example { display: grid; gap: 3px; min-width: 236px; padding: 18px 22px; border-radius: 20px; background: var(--lavender); }
.p2-example span { color: var(--navy); font-size: 11px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.7; }
.p2-example b { font-size: 25px; font-weight: 900; letter-spacing: -0.04em; color: var(--navy); }
.p2-example i { color: var(--muted); font-size: 12px; font-style: normal; }
.pl-frow.is-off { opacity: 0.4; pointer-events: none; }

.p2-pay { display: grid; gap: 2px; padding: 14px 16px; border-radius: 18px; background: var(--peach); }
.p2-pay i { color: var(--red); font-size: 10.5px; font-style: normal; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.p2-pay b { font-size: 26px; font-weight: 900; letter-spacing: -0.04em; }
.p2-pay span { color: var(--muted); font-size: 12px; font-weight: 700; }
.p2-pay-full { background: var(--lavender); }
.p2-pay-full i { color: var(--navy); }
.p2-total { padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.p2-total b { color: var(--ink); font-size: 15px; font-weight: 900; letter-spacing: -0.02em; }

.p2-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.p2-step { padding: 28px 26px; border: 1px solid var(--line); border-radius: 26px; background: #fff; }
.p2-num { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; background: var(--red); color: #fff; font-size: 16px; font-weight: 900; }
.p2-step b { display: block; margin-bottom: 7px; font-size: 17px; letter-spacing: -0.03em; }
.p2-step p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.p2-note { margin-top: 16px; padding: 20px 26px; border-radius: 22px; background: var(--lavender); color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.p2-note b { color: var(--ink); }

@media (max-width: 1000px) {
  .p2-terms-head { grid-template-columns: 1fr; gap: 12px; align-items: start; }
  .p2-terms-grid { grid-template-columns: 1fr; gap: 20px; }
  .p2-example { min-width: 0; }
  .p2-steps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .p2-terms-box { padding: 22px 18px; border-radius: 22px; }
  .p2-tctl .pl-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .p2-tctl .pl-chips::-webkit-scrollbar { display: none; }
  .p2-pay b { font-size: 23px; }
}

/* ===== Планування v3: щільніша композиція + картка розрахунку в шапці ===== */
.p3-hero { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: center; }
.p3-hero .pl-hero-in { max-width: none; }
.p3-preview { display: grid; gap: 14px; padding: 24px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 28px; background: rgba(255, 255, 255, 0.07); backdrop-filter: blur(8px); }
.p3-prev-head span { display: block; color: #9a99d6; font-size: 10.5px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.p3-prev-head b { display: block; margin-top: 4px; color: #fff; font-size: 15px; letter-spacing: -0.02em; }
.p3-prev-plan { display: grid; place-items: center; height: 190px; padding: 14px; overflow: hidden; border-radius: 18px; background: #fff; }
.p3-prev-plan img { width: 100%; height: 162px; object-fit: contain; }
.p3-prev-rows { display: grid; gap: 8px; }
.p3-prev-rows > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.p3-prev-rows i { color: rgba(255, 255, 255, 0.62); font-size: 12.5px; font-style: normal; }
.p3-prev-rows i em { font-style: normal; color: rgba(255, 255, 255, 0.42); }
.p3-prev-rows b { color: #fff; font-size: 15px; font-weight: 900; }
.p3-prev-main { padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.p3-prev-main i { color: #ffd166; }
.p3-prev-main i em { color: rgba(255, 209, 102, 0.6); }
.p3-prev-main b { font-size: 27px; letter-spacing: -0.04em; color: #ffd166; }
.p3-preview .button { width: 100%; }

.p3-tight { padding-bottom: 34px; }
.p3-tight-top { padding-top: 0; }

@media (max-width: 1100px) {
  .p3-hero { grid-template-columns: 1fr; gap: 30px; }
  .p3-preview { max-width: 420px; }
}
@media (max-width: 760px) {
  .p3-preview { padding: 18px; border-radius: 22px; }
  .p3-prev-plan { height: 150px; }
  .p3-prev-plan img { height: 128px; }
  .p3-prev-main b { font-size: 24px; }
  .p3-tight { padding-bottom: 24px; }
}

/* --- мобільні фільтри: усе видно без прокрутки --- */
@media (max-width: 760px) {
  .pl-filters { padding: 14px; }
  .pl-frow { gap: 6px; margin-bottom: 2px; }
  .pl-flabel { flex: 1 0 100%; margin-bottom: 2px; font-size: 9.5px; letter-spacing: 0.1em; }
  .pl-chips { flex-wrap: wrap; overflow: visible; padding-bottom: 0; }
  .pl-chip { flex: 0 0 auto; padding: 8px 12px; font-size: 12px; }
  .p2-tctl .pl-chips { flex-wrap: wrap; overflow: visible; }
  .pl-fbar { gap: 10px; padding-top: 10px; }
  .pl-sort { flex: 1 1 100%; margin-left: 0; }
  .pl-sort select { flex: 1; padding: 9px 12px; font-size: 12.5px; }
}
.p3-mid { padding-top: 56px; padding-bottom: 56px; }
@media (max-width: 760px) { .p3-mid { padding-top: 40px; padding-bottom: 40px; } }
.pl-badge-soon { background: var(--lavender); color: var(--navy); }
.p4-card .pl-card-img { background: linear-gradient(180deg, #fbfbff, var(--paper)); }
.p4-pay { background: var(--lavender); }
.p4-pay i { color: var(--navy); }
.p4-pay b { font-size: 21px; }

/* ===== Сторінка відкритого планування ===== */
.fl-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: min(1280px, 92vw); margin: 22px auto 0; color: var(--muted); font-size: 12.5px; }
.fl-crumbs a { font-weight: 800; }
.fl-crumbs a:hover { color: var(--red); }
.fl-crumbs i { font-style: normal; opacity: 0.5; }
.fl-main { padding-top: 22px; }
.fl-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 34px; align-items: start; }
.fl-plan { position: relative; display: grid; place-items: center; height: 470px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--paper); }
.fl-plan img { width: 100%; height: 410px; object-fit: contain; }
.fl-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.fl-thumb { padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 800; cursor: pointer; transition: 0.16s; }
.fl-thumb:hover { border-color: var(--violet); }
.fl-thumb.is-on { border-color: var(--navy); background: var(--navy); color: #fff; }
.fl-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.fl-facts > div { display: grid; gap: 3px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.fl-facts i { color: var(--muted); font-size: 11px; font-style: normal; }
.fl-facts b { font-size: 14.5px; letter-spacing: -0.02em; }
.fl-side { position: sticky; top: 18px; display: grid; gap: 16px; padding: 30px; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.fl-side h1 { margin: 4px 0 0; font-size: clamp(23px, 2.6vw, 31px); letter-spacing: -0.04em; line-height: 1.1; }
.fl-lead { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.fl-price { display: flex; gap: 26px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fl-price i { display: block; color: var(--muted); font-size: 11.5px; font-style: normal; }
.fl-price b { font-size: 26px; font-weight: 900; letter-spacing: -0.04em; }
.fl-price > div:last-child b { font-size: 17px; color: var(--muted); }
.fl-calc-t { margin: 0 0 12px; font-size: 10.5px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.fl-ctl { margin-bottom: 12px; }
.fl-ctl label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 12px; font-weight: 800; }
.fl-ctl .pl-chip { padding: 8px 14px; font-size: 12.5px; }
.fl-result { display: grid; gap: 8px; padding: 16px 18px; border-radius: 20px; background: var(--paper); }
.fl-res-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 13px; }
.fl-res-row i { color: var(--muted); font-style: normal; }
.fl-res-row b { font-weight: 800; }
.fl-res-main { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.fl-res-main i { color: var(--red); font-size: 11.5px; font-style: normal; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.fl-res-main b { font-size: 28px; font-weight: 900; letter-spacing: -0.045em; }
.fl-zero { display: flex; align-items: center; gap: 7px; margin: 10px 0 0; color: var(--muted); font-size: 11.5px; }
.fl-zero i { color: #1f9d55; font-style: normal; font-weight: 900; }
.fl-acts { display: grid; gap: 8px; }
.fl-acts .button, .fl-acts .pl-calc { width: 100%; }
.fl-wa { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--wa, #25d366); color: #fff; font-size: 13px; font-weight: 800; }
.fl-trust { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.fl-trust li { position: relative; padding-left: 22px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.fl-trust li::before { content: "✓"; position: absolute; left: 0; color: #1f9d55; font-weight: 900; }
.fl-incl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fl-incl-grid article { padding: 24px 22px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.fl-incl-grid span { display: block; margin-bottom: 10px; color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: 0.08em; }
.fl-incl-grid b { display: block; margin-bottom: 6px; font-size: 15.5px; letter-spacing: -0.025em; }
.fl-incl-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.fl-sim-grid { grid-template-columns: repeat(3, 1fr); }
.fl-sim { color: var(--ink); }
.fl-sim-more { margin-top: auto; color: var(--red); font-size: 13px; font-weight: 900; }
@media (max-width: 1000px) {
  .fl-grid { grid-template-columns: 1fr; gap: 22px; }
  .fl-side { position: static; }
  .fl-incl-grid { grid-template-columns: 1fr 1fr; }
  .fl-sim-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .fl-plan { height: 320px; padding: 18px; border-radius: 22px; }
  .fl-plan img { height: 270px; }
  .fl-facts { grid-template-columns: 1fr 1fr; }
  .fl-side { padding: 22px 18px; border-radius: 22px; }
  .fl-incl-grid, .fl-sim-grid { grid-template-columns: 1fr; }
}
.pl-open { display: inline-block; margin-top: 2px; color: var(--violet); font-size: 13px; font-weight: 900; transition: 0.16s; }
.pl-open:hover { color: var(--red); }

/* ===== PDF планування: кнопка + друкований аркуш ===== */
.fl-pdf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px 20px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font-size: 13px; font-weight: 800; cursor: pointer; transition: 0.18s; }
.fl-pdf img { display: block; flex: 0 0 auto; }
.fl-pdf:hover { border-color: var(--navy); background: var(--paper); }
.fl-print { display: none; }

@media print {
  @page { size: A4; margin: 12mm; }
  body { background: #fff !important; }
  body > main > *:not(.fl-print) { display: none !important; }
  .cbar, .lead-modal { display: none !important; }
  .fl-print { display: block; color: #20254f; font-family: Arial, Helvetica, sans-serif; }
  .pr-head { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 2.5px solid #e31d2e; }
  .pr-logo { width: 52px; height: 44px; object-fit: contain; }
  .pr-head-txt b { display: block; font-size: 15px; }
  .pr-head-txt span { font-size: 10.5px; color: #6d728b; }
  .pr-head-code { margin-left: auto; padding: 6px 14px; border: 1.5px solid #27256d; border-radius: 999px; color: #27256d; font-size: 13px; font-weight: 900; }
  .pr-title { margin: 16px 0 2px; font-size: 26px; letter-spacing: -0.03em; }
  .pr-sub { margin: 0 0 10px; color: #6d728b; font-size: 12px; }
  .pr-plan { display: grid; place-items: center; height: 88mm; margin-bottom: 10px; border: 1px solid #d9dbe8; border-radius: 10px; background: #f6f7fb; }
  .pr-plan img { max-width: 92%; max-height: 82mm; object-fit: contain; }
  .pr-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
  .pr-table { width: 100%; border-collapse: collapse; font-size: 11px; }
  .pr-table caption { padding-bottom: 5px; text-align: left; color: #27256d; font-size: 10px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
  .pr-table td, .pr-table th { padding: 5px 8px; border: 1px solid #d9dbe8; text-align: left; }
  .pr-table td { color: #6d728b; width: 46%; }
  .pr-table th { font-weight: 800; }
  .pr-accent th { color: #e31d2e; font-size: 13px; }
  .pr-contacts { padding: 10px 14px; border: 1.5px solid #27256d; border-radius: 10px; }
  .pr-contacts > b { display: block; margin-bottom: 6px; font-size: 12px; color: #27256d; }
  .pr-contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 18px; font-size: 11px; }
  .pr-contacts-grid i { display: block; color: #6d728b; font-size: 9px; font-style: normal; text-transform: uppercase; letter-spacing: 0.06em; }
  .pr-note { margin: 10px 0 0; color: #6d728b; font-size: 9px; line-height: 1.5; }
}

/* ===== Сторінка умов придбання ===== */
.tm-calc { padding-top: 0; margin-top: -30px; }
.tm-hero { display: block; }
.tm-calc-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.tm-ctls { display: grid; gap: 18px; align-content: start; }
.tm-result { display: grid; gap: 9px; align-content: start; padding: 24px; border-radius: 24px; background: var(--paper); }
.tm-res-name { color: var(--navy); font-size: 12px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.tm-result .button { margin-top: 6px; width: 100%; }
.tm-steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tm-step { display: flex; flex-direction: column; padding: 26px 24px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.tm-step b { display: block; margin-bottom: 7px; font-size: 16px; letter-spacing: -0.025em; }
.tm-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.tm-step-link { margin-top: 12px; color: var(--red); font-size: 12.5px; font-weight: 900; }
.tm-price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tm-price { display: flex; flex-direction: column; gap: 8px; padding: 26px 24px; border: 1px solid var(--line); border-radius: 24px; background: #fff; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.tm-price:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tm-price > b { font-size: 16px; letter-spacing: -0.025em; }
.tm-ppm { color: var(--red); font-size: 30px; font-weight: 900; letter-spacing: -0.045em; }
.tm-ppm i { color: var(--muted); font-size: 14px; font-style: normal; font-weight: 800; letter-spacing: 0; }
.tm-price p { margin: 0 0 4px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.tm-price p b { color: var(--ink); }
.tm-price .text-link, .tm-price .text-link-button { margin-top: auto; }
.tm-price-extra { background: var(--lavender); border-color: transparent; }
.tm-safe-panel { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; padding: 46px 52px; border-radius: 30px; background: var(--navy); color: #fff; }
.tm-safe-panel .eyebrow { color: #9a99d6; }
.tm-safe-panel h2 { margin: 6px 0 18px; color: #fff; }
.tm-safe-panel .ct-list li { color: rgba(255, 255, 255, 0.85); }
.tm-safe-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; }
.tm-safe-links .text-link { color: #b9b8e0; }
.tm-safe-links .text-link:hover { color: #fff; }
.tm-safe-panel .ct-form-act { background: rgba(255, 255, 255, 0.08); }
.tm-safe-panel .ct-form-act p { color: rgba(255, 255, 255, 0.75); }
.tm-final { padding-top: 0; }
@media (max-width: 1000px) {
  .tm-calc-grid { grid-template-columns: 1fr; gap: 20px; }
  .tm-steps-grid, .tm-price-grid { grid-template-columns: 1fr 1fr; }
  .tm-safe-panel { grid-template-columns: 1fr; gap: 26px; padding: 32px 26px; }
}
@media (max-width: 620px) {
  .tm-steps-grid, .tm-price-grid { grid-template-columns: 1fr; }
  .tm-calc { margin-top: -16px; }
}

/* ===== Сторінка ремонту під ключ ===== */
.rp-hero { display: block; }
.rp-why { padding-top: 0; margin-top: -30px; }
.rp-why-grid { background: #fff; box-shadow: var(--shadow); }
.rp-pack-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.rp-pack { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: #fff; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.rp-pack:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rp-pack figure { position: relative; margin: 0; height: 280px; overflow: hidden; }
.rp-pack figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.rp-pack:hover figure img { transform: scale(1.04); }
.rp-pack figure span { position: absolute; top: 14px; left: 14px; padding: 6px 13px; border-radius: 999px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; }
.rp-pack-in { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 24px 26px 26px; }
.rp-pack-in h3 { margin: 0; font-size: 20px; letter-spacing: -0.03em; }
.rp-pack-in p { margin: 0 0 6px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.rp-pack-in .button { margin-top: auto; align-self: start; padding: 12px 24px; font-size: 13px; }
.rp-incl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rp-incl-card { padding: 26px 24px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.rp-ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 14px; background: var(--lavender); font-size: 20px; }
.rp-incl-card b { display: block; margin-bottom: 10px; font-size: 16px; letter-spacing: -0.025em; }
.rp-incl-card ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rp-incl-card li { position: relative; padding-left: 18px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.rp-incl-card li::before { content: "✓"; position: absolute; left: 0; color: #1f9d55; font-weight: 900; }
.rp-gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rp-gal { margin: 0; overflow: hidden; border-radius: 22px; }
.rp-gal img { width: 100%; height: 230px; object-fit: cover; transition: transform 0.45s ease; }
.rp-gal:hover img { transform: scale(1.05); }
@media (max-width: 1000px) {
  .rp-pack-grid { grid-template-columns: 1fr; }
  .rp-incl-grid, .rp-gal-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .rp-incl-grid, .rp-gal-grid { grid-template-columns: 1fr; }
  .rp-pack figure { height: 210px; }
  .rp-why { margin-top: -16px; }
  .rp-pack-in .button { align-self: stretch; }
}

/* --- слайдер у картках пакетів + лайтбокс --- */
.rp-fig { position: relative; margin: 0; height: 280px; overflow: hidden; }
.rp-fig img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.2s ease; }
.rp-fig > span:not(.rp-dots) { position: absolute; top: 14px; left: 14px; padding: 6px 13px; border-radius: 999px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; z-index: 2; }
.rp-arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; margin-top: -19px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.9); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity 0.2s ease, background 0.2s ease; }
.rp-fig:hover .rp-arrow { opacity: 1; }
.rp-arrow:hover { background: #fff; }
.rp-prev { left: 12px; }
.rp-next { right: 12px; }
.rp-dots { position: absolute; bottom: 14px; left: 50%; z-index: 2; display: flex; gap: 6px; transform: translateX(-50%); }
.rp-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.55); cursor: pointer; transition: 0.2s; }
.rp-dot.is-on { width: 20px; border-radius: 999px; background: #fff; }
.rp-zoom { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 12px; background: rgba(23, 22, 66, 0.62); color: #fff; font-size: 15px; cursor: pointer; opacity: 0; transition: opacity 0.2s ease; }
.rp-fig:hover .rp-zoom { opacity: 1; }
.rp-gal button { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.rp-gal button i { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: rgba(23, 22, 66, 0.62); color: #fff; font-size: 15px; font-style: normal; opacity: 0; transition: opacity 0.2s ease; }
.rp-gal:hover button i { opacity: 1; }
.rp-lb { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 5vh 6vw; background: rgba(15, 14, 40, 0.93); backdrop-filter: blur(4px); }
.rp-lb[hidden] { display: none; }
.rp-lb img { max-width: 100%; max-height: 90vh; border-radius: 14px; object-fit: contain; }
.rp-lb-close { position: absolute; top: 18px; right: 20px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 18px; cursor: pointer; }
.rp-lb-close:hover { background: rgba(255, 255, 255, 0.26); }
.rp-lb-nav { position: absolute; top: 50%; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.rp-lb-nav:hover { background: rgba(255, 255, 255, 0.26); }
.rp-lb-prev { left: 2vw; }
.rp-lb-next { right: 2vw; }
.rp-lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.72); font-size: 13px; font-weight: 800; }
@media (max-width: 760px) {
  .rp-fig { height: 210px; }
  .rp-arrow, .rp-zoom { opacity: 1; }
  .rp-gal button i { opacity: 1; }
  .rp-lb { padding: 10vh 4vw; }
  .rp-lb-nav { width: 44px; height: 44px; margin-top: -22px; font-size: 24px; }
  .rp-lb-prev { left: 8px; }
  .rp-lb-next { right: 8px; }
}

/* ===== Ремонт v2: інший дизайн ===== */
.r2-hero { position: relative; display: grid; align-items: center; min-height: 560px; padding: 70px max(4vw, calc((100vw - 1280px) / 2)); overflow: hidden; color: #fff; }
.r2-hero-media { position: absolute; inset: 0; z-index: 0; }
.r2-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.r2-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(23, 22, 66, 0.94) 0%, rgba(23, 22, 66, 0.82) 46%, rgba(23, 22, 66, 0.35) 100%); }
.r2-hero-in { position: relative; z-index: 1; max-width: 640px; }
.r2-hero .eyebrow { color: #ffd166; }
.r2-hero h1 { margin: 10px 0 14px; font-size: clamp(36px, 5.4vw, 62px); letter-spacing: -0.05em; line-height: 0.98; }
.r2-lead { margin: 0 0 26px; color: rgba(255, 255, 255, 0.86); font-size: 16px; line-height: 1.62; }
.r2-hero-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 30px; }
.r2-ghost { color: #fff; font-size: 14px; font-weight: 800; border-bottom: 1.5px solid rgba(255, 255, 255, 0.4); padding-bottom: 2px; }
.r2-ghost:hover { border-color: #fff; }
.r2-hero-mini { display: flex; flex-wrap: wrap; gap: 26px; }
.r2-hero-mini span { display: grid; gap: 2px; color: rgba(255, 255, 255, 0.6); font-size: 11.5px; }
.r2-hero-mini b { color: #fff; font-size: 21px; letter-spacing: -0.03em; }

.r2-quiz { padding-top: 34px; }
.r2-quiz-box { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 0; overflow: hidden; border-radius: 30px; box-shadow: var(--shadow); }
.r2-quiz-l { padding: 40px 38px; background: linear-gradient(165deg, var(--navy), var(--navy-dark)); color: #fff; }
.r2-quiz-l .eyebrow { color: #9a99d6; }
.r2-quiz-l h2 { margin: 8px 0 12px; color: #fff; font-size: clamp(23px, 2.6vw, 31px); }
.r2-quiz-copy { margin: 0 0 24px; color: rgba(255, 255, 255, 0.75); font-size: 14px; line-height: 1.6; }
.r2-progress { height: 5px; border-radius: 4px; background: rgba(255, 255, 255, 0.16); overflow: hidden; margin-bottom: 10px; }
.r2-progress i { display: block; height: 100%; width: 0; border-radius: 4px; background: #ffd166; transition: width 0.35s ease; }
.r2-step { color: rgba(255, 255, 255, 0.6); font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.r2-quiz-r { padding: 40px 38px; background: #fff; }
.r2-q { margin: 0 0 18px; font-size: clamp(19px, 2.2vw, 25px); letter-spacing: -0.035em; }
.r2-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.r2-opt { padding: 15px 18px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); font-size: 14.5px; font-weight: 800; text-align: left; cursor: pointer; transition: 0.18s; }
.r2-opt:hover { border-color: var(--red); background: var(--peach); }
.r2-opt.is-on { border-color: var(--red); background: var(--peach); box-shadow: inset 0 0 0 1px var(--red); }
.r2-back { margin-top: 16px; }
.r2-fin-rows { display: grid; gap: 9px; margin: 16px 0 18px; padding: 18px 20px; border-radius: 20px; background: var(--paper); }
.r2-fin-rows > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.r2-fin-rows i { color: var(--muted); font-style: normal; }
.r2-fin-rows b { font-weight: 800; }
.r2-fin-main { padding-top: 10px; border-top: 1px solid var(--line); }
.r2-fin-main i { color: var(--red); font-size: 11.5px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.r2-fin-main b { font-size: 27px; letter-spacing: -0.04em; }
.r2-fin h3 { margin: 4px 0 0; font-size: 26px; letter-spacing: -0.04em; }
.r2-fin .button { width: 100%; }
.r2-fin .ghostlink { margin-top: 10px; }

.r2-rows { display: grid; gap: 22px; }
.r2-row { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #fff; }
.r2-row.is-alt .r2-fig { order: 2; }
.r2-fig { position: relative; height: 100%; min-height: 400px; border-radius: 0; }
.r2-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.r2-row-in { display: flex; flex-direction: column; justify-content: center; padding: 40px 42px; }
.r2-row-in h3 { margin: 8px 0 4px; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.04em; }
.r2-tag { margin: 0 0 10px; color: var(--violet); font-size: 14px; font-weight: 800; }
.r2-desc { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.r2-feat { display: grid; gap: 7px; margin: 0 0 22px; padding: 0; list-style: none; }
.r2-feat li { position: relative; padding-left: 22px; font-size: 13.5px; }
.r2-feat li::before { content: "✓"; position: absolute; left: 0; color: #1f9d55; font-weight: 900; }
.r2-row-acts { display: flex; flex-wrap: wrap; gap: 10px; }

.r2-table { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.r2-th, .r2-tr { display: grid; grid-template-columns: 1fr 1.1fr 1.1fr; gap: 14px; padding: 15px 24px; align-items: center; }
.r2-th { background: var(--navy); color: #fff; }
.r2-th b { color: #ffd166; font-size: 14px; }
.r2-th i { color: rgba(255, 255, 255, 0.62); font-size: 14px; font-style: normal; }
.r2-tr { border-top: 1px solid var(--line); font-size: 13.5px; }
.r2-tr:nth-child(odd) { background: var(--paper); }
.r2-tr span { color: var(--muted); font-weight: 800; }
.r2-tr b { color: var(--ink); }
.r2-tr i { color: var(--muted); font-style: normal; }
.r2-compare-cta { display: grid; gap: 8px; justify-items: start; margin-top: 16px; padding: 26px 30px; border-radius: 24px; background: var(--peach); }
.r2-compare-cta b { font-size: 18px; letter-spacing: -0.03em; }
.r2-compare-cta p { margin: 0 0 6px; color: var(--muted); font-size: 13.5px; }
.r2-gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.r2-gal-grid .rp-gal img { height: 240px; }

.r2-sticky { position: fixed; z-index: 60; right: 0; bottom: 0; left: 0; padding: 0 max(4vw, calc((100vw - 1280px) / 2)) 14px; transform: translateY(130%); transition: transform 0.32s ease; pointer-events: none; }
.r2-sticky.is-on { transform: none; }
.r2-sticky-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 22px; border-radius: 20px; background: rgba(23, 22, 66, 0.97); color: #fff; box-shadow: 0 18px 40px rgba(15, 14, 40, 0.3); pointer-events: auto; }
.r2-sticky-in i { display: block; color: rgba(255, 255, 255, 0.6); font-size: 11px; font-style: normal; }
.r2-sticky-in b { font-size: 14.5px; }
.r2-sticky-in .button { flex: 0 0 auto; padding: 12px 24px; font-size: 13px; }

@media (max-width: 1000px) {
  .r2-quiz-box, .r2-row { grid-template-columns: 1fr; }
  .r2-row.is-alt .r2-fig { order: 0; }
  .r2-fig { min-height: 240px; }
  .r2-gal-grid { grid-template-columns: 1fr 1fr; }
  .r2-th, .r2-tr { grid-template-columns: 1fr; gap: 4px; }
  .r2-th { display: none; }
  .r2-tr b::before { content: "4U: "; color: var(--muted); font-weight: 800; }
  .r2-tr i::before { content: "Бригада: "; color: var(--muted); font-weight: 800; }
}
@media (max-width: 760px) {
  .r2-hero { min-height: 0; padding: 54px 4vw 46px; }
  .r2-hero-acts .button { width: 100%; }
  .r2-quiz-l, .r2-quiz-r { padding: 26px 20px; }
  .r2-opts { grid-template-columns: 1fr; }
  .r2-row-in { padding: 26px 20px; }
  .r2-row-acts .button, .r2-row-acts .pl-calc { width: 100%; }
  .r2-gal-grid { grid-template-columns: 1fr; }
  .r2-sticky { padding: 0 10px 10px; }
  .r2-sticky-in { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 16px; text-align: center; }
  .r2-sticky-in .button { width: 100%; }
  body.has-dock .r2-sticky { bottom: 74px; }
}

/* ===== Ремонт v3: «що входить» вгорі + простий калькулятор ===== */
.r3-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.r3-hero-tags span { padding: 8px 15px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-size: 12.5px; font-weight: 800; }
.r3-what { padding-top: 54px; }
.r3-what-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.r3-w { padding: 26px 24px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.r3-w-ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 14px; background: var(--lavender); font-size: 21px; }
.r3-w b { display: block; margin-bottom: 12px; font-size: 17px; letter-spacing: -0.03em; }
.r3-w ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.r3-w li { position: relative; padding-left: 20px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.r3-w li::before { content: "✓"; position: absolute; left: 0; color: #1f9d55; font-weight: 900; }
.r3-what-sum { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; padding: 26px 32px; border-radius: 26px; background: var(--peach); }
.r3-what-sum b { display: block; font-size: 18px; letter-spacing: -0.03em; }
.r3-what-sum span { display: block; margin-top: 4px; max-width: 620px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.r3-calc { padding-top: 20px; }
.r3-calc-box { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: #fff; box-shadow: var(--shadow); }
.r3-calc-l { padding: 38px 40px; }
.r3-calc-l h2 { margin: 8px 0 8px; font-size: clamp(22px, 2.5vw, 30px); letter-spacing: -0.04em; }
.r3-calc-copy { margin: 0 0 22px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.r3-calc-r { display: grid; align-content: center; gap: 10px; padding: 38px 36px; background: linear-gradient(165deg, var(--navy), var(--navy-dark)); color: #fff; }
.r3-calc-r .tm-res-name { color: rgba(255, 255, 255, 0.62); font-size: 11.5px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.r3-calc-r .fl-res-row i { color: rgba(255, 255, 255, 0.62); }
.r3-calc-r .fl-res-row b { color: #fff; }
.r3-calc-r .fl-res-main { border-top-color: rgba(255, 255, 255, 0.16); }
.r3-calc-r .fl-res-main i { color: #ffd166; }
.r3-calc-r .fl-res-main b { color: #ffd166; }
.r3-calc-r .button { width: 100%; margin-top: 6px; }
.r3-calc-r .ct-privacy { color: rgba(255, 255, 255, 0.55) !important; }
.r3-pack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.r3-pack { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.r3-pack:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.r3-fig { position: relative; height: 230px; border-radius: 0; }
.r3-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.r3-pack-in { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 20px 22px 22px; }
.r3-pack-in h3 { margin: 0; font-size: 18px; letter-spacing: -0.03em; }
.r3-pack-in p { margin: 0 0 10px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.r3-pack-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: auto; }
.r3-pack-acts .button { padding: 11px 20px; font-size: 12.5px; }
.r3-link { border: 0; background: none; color: var(--violet); font-size: 12.5px; font-weight: 900; cursor: pointer; }
.r3-link:hover { color: var(--red); }
@media (max-width: 1100px) {
  .r3-what-grid, .r3-pack-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .r3-calc-box { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .r3-what-grid, .r3-pack-grid { grid-template-columns: 1fr; }
  .r3-what-sum { padding: 22px 20px; }
  .r3-what-sum .button { width: 100%; }
  .r3-calc-l, .r3-calc-r { padding: 24px 20px; }
  .r3-hero-tags span { font-size: 11.5px; padding: 7px 12px; }
}

/* ===== Сторінка «Про нас» ===== */
.ab-hero { position: relative; display: grid; align-items: center; min-height: 520px; padding: 70px max(4vw, calc((100vw - 1280px) / 2)); overflow: hidden; color: #fff; }
.ab-hero-media { position: absolute; inset: 0; z-index: 0; }
.ab-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.ab-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(23, 22, 66, 0.95) 0%, rgba(23, 22, 66, 0.84) 48%, rgba(23, 22, 66, 0.42) 100%); }
.ab-hero-in { position: relative; z-index: 1; max-width: 700px; }
.ab-hero .eyebrow { color: #9a99d6; }
.ab-hero h1 { margin: 10px 0 14px; font-size: clamp(34px, 5.2vw, 58px); letter-spacing: -0.05em; line-height: 1; }
.ab-lead { margin: 0 0 30px; color: rgba(255, 255, 255, 0.86); font-size: 16px; line-height: 1.62; }
.ab-hero-stats { display: flex; flex-wrap: wrap; gap: 12px; }
.ab-hero-stats span { display: grid; gap: 2px; padding: 14px 20px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 18px; background: rgba(255, 255, 255, 0.07); color: rgba(255, 255, 255, 0.66); font-size: 11.5px; }
.ab-hero-stats b { color: #fff; font-size: 21px; letter-spacing: -0.03em; }
.ab-facts { padding-top: 34px; }
.ab-facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ab-facts-grid article { padding: 28px 26px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.ab-facts-grid b { display: block; margin-bottom: 8px; font-size: 18px; letter-spacing: -0.03em; }
.ab-facts-grid p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.ab-tl { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.ab-tl li { position: relative; display: grid; grid-template-columns: 190px 1fr; gap: 26px; padding: 22px 0 22px 0; border-top: 1px solid var(--line); }
.ab-tl li:first-child { border-top: 0; }
.ab-tl-year { color: var(--muted); font-size: 13px; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; }
.ab-tl b { display: block; margin-bottom: 6px; font-size: 19px; letter-spacing: -0.03em; }
.ab-tl p { margin: 0 0 8px; max-width: 700px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.ab-tl li.is-done .ab-tl-year { color: #1f9d55; }
.ab-tl li.is-now { background: var(--peach); border-radius: 22px; padding-left: 24px; padding-right: 24px; border-top-color: transparent; }
.ab-tl li.is-now .ab-tl-year { color: var(--red); }
.ab-team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ab-card { padding: 32px 30px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
.ab-card-logo { height: 34px; width: auto; max-width: 190px; margin-bottom: 18px; object-fit: contain; }
.ab-card b { display: block; font-size: 21px; letter-spacing: -0.035em; }
.ab-role { display: block; margin: 4px 0 12px; color: var(--violet); font-size: 12.5px; font-weight: 800; }
.ab-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.62; }
.ab-part-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ab-part-grid article { display: grid; justify-items: start; gap: 6px; padding: 26px 24px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.ab-part-grid img { height: 30px; width: auto; max-width: 150px; margin-bottom: 10px; object-fit: contain; }
.ab-part-grid article.is-dark { background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; }
.ab-part-grid article.is-dark p { color: rgba(255, 255, 255, 0.68); }
.ab-part-grid b { font-size: 16px; letter-spacing: -0.025em; }
.ab-part-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.ab-check-box { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 34px; padding: 40px 42px; border-radius: 30px; background: var(--lavender); }
.ab-check-box h2 { margin: 8px 0 10px; font-size: clamp(23px, 2.6vw, 31px); letter-spacing: -0.04em; }
.ab-check-copy { margin: 0 0 20px; max-width: 560px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.ab-check-links { display: grid; gap: 10px; }
.ab-check-link { display: grid; gap: 3px; padding: 16px 20px; border-radius: 18px; background: #fff; transition: 0.2s; }
.ab-check-link:hover { transform: translateX(3px); box-shadow: var(--shadow); }
.ab-check-link b { font-size: 14.5px; }
.ab-check-link span { color: var(--muted); font-size: 12.5px; }
.ab-legal { display: grid; align-content: start; gap: 8px; padding: 24px 26px; border-radius: 22px; background: rgba(255, 255, 255, 0.66); }
.ab-legal b { font-size: 12px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ab-legal p { display: grid; gap: 2px; margin: 0; font-size: 13.5px; font-weight: 800; }
.ab-legal i { color: var(--muted); font-size: 11.5px; font-style: normal; font-weight: 400; }
.ab-legal a:hover { color: var(--red); }
.ab-gal .rp-gal img { height: 220px; }
@media (max-width: 1000px) {
  .ab-facts-grid, .ab-part-grid { grid-template-columns: 1fr; }
  .ab-team-grid { grid-template-columns: 1fr; }
  .ab-check-box { grid-template-columns: 1fr; gap: 22px; padding: 30px 24px; }
  .ab-tl li { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 760px) {
  .ab-hero { min-height: 0; padding: 52px 4vw 44px; }
  .ab-hero-stats span { padding: 12px 16px; }
  .ab-card { padding: 24px 20px; }
  .ab-tl li.is-now { padding-left: 18px; padding-right: 18px; }
}

/* ===== Про нас v2: конструктив, район, офіси ===== */
.ab-spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ab-spec { padding: 26px 24px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.ab-spec-ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 14px; background: var(--lavender); font-size: 20px; }
.ab-spec b { display: block; margin-bottom: 10px; font-size: 17px; letter-spacing: -0.03em; }
.ab-spec ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.ab-spec li { position: relative; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.ab-spec li::before { content: "•"; position: absolute; left: 2px; color: var(--red); font-weight: 900; }
.ab-safe { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 30px; align-items: center; margin-top: 16px; padding: 28px 32px; border-radius: 26px; background: linear-gradient(160deg, var(--navy), var(--navy-dark)); color: #fff; }
.ab-safe-l b { display: block; margin-bottom: 6px; font-size: 20px; letter-spacing: -0.035em; }
.ab-safe-l p { margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 13.5px; line-height: 1.55; }
.ab-safe-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 20px; margin: 0; padding: 0; list-style: none; }
.ab-safe-list li { position: relative; padding-left: 22px; font-size: 13.5px; }
.ab-safe-list li::before { content: "✓"; position: absolute; left: 0; color: #ffd166; font-weight: 900; }
.ab-infra-box { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 34px; align-items: center; padding: 36px 40px; border: 1px solid var(--line); border-radius: 28px; background: #fff; }
.ab-infra-box h2 { margin: 8px 0 10px; font-size: clamp(23px, 2.5vw, 30px); letter-spacing: -0.04em; }
.ab-infra-copy { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.ab-infra-r { display: grid; gap: 10px; }
.ab-infra-item { display: flex; align-items: baseline; gap: 16px; padding: 16px 20px; border-radius: 18px; background: var(--paper); }
.ab-infra-item b { min-width: 74px; color: var(--red); font-size: 22px; font-weight: 900; letter-spacing: -0.04em; }
.ab-infra-item span { color: var(--muted); font-size: 13.5px; }
.ab-part-name { display: block; margin-bottom: 10px; font-size: 22px; font-weight: 900; letter-spacing: -0.04em; color: var(--navy); }
.ab-off-box { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; padding: 40px 42px; border-radius: 30px; background: var(--peach); }
.ab-off-box h2 { margin: 8px 0 12px; font-size: clamp(23px, 2.6vw, 31px); letter-spacing: -0.04em; }
.ab-off-copy { margin: 0 0 18px; max-width: 560px; color: var(--muted); font-size: 14px; line-height: 1.62; }
.ab-off-act { display: grid; align-content: center; gap: 12px; justify-items: start; padding: 28px 30px; border-radius: 24px; background: rgba(255, 255, 255, 0.72); }
.ab-off-act p { margin: 0; max-width: 380px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
@media (max-width: 1100px) { .ab-spec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1000px) {
  .ab-safe, .ab-infra-box, .ab-off-box { grid-template-columns: 1fr; gap: 22px; }
  .ab-off-box { padding: 30px 24px; }
}
@media (max-width: 620px) {
  .ab-spec-grid { grid-template-columns: 1fr; }
  .ab-safe-list { grid-template-columns: 1fr; }
  .ab-safe { padding: 24px 20px; }
  .ab-infra-box { padding: 26px 20px; }
  .ab-infra-item { flex-direction: column; gap: 2px; }
  .ab-off-act { padding: 22px 18px; }
  .ab-off-act .button { width: 100%; }
}

/* ===== Про нас: генплан і документація ===== */
.ab-plan-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 22px; align-items: start; }
.ab-plan-fig { margin: 0; }
.ab-plan-fig button { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: var(--paper); cursor: zoom-in; }
.ab-plan-fig img { display: block; width: 100%; height: 440px; object-fit: cover; transition: transform 0.5s ease; }
.ab-plan-fig button:hover img { transform: scale(1.03); }
.ab-plan-fig i { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(23, 22, 66, 0.66); color: #fff; font-size: 16px; font-style: normal; }
.ab-plan-fig figcaption { margin-top: 10px; color: var(--muted); font-size: 12.5px; }
.ab-plan-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ab-plan-list li { display: grid; gap: 2px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.ab-plan-list b { font-size: 14.5px; letter-spacing: -0.02em; }
.ab-plan-list span { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.ab-doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ab-doc { padding: 24px 22px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.ab-doc-ic { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: 13px; background: var(--lavender); font-size: 19px; }
.ab-doc b { display: block; margin-bottom: 6px; font-size: 15px; letter-spacing: -0.025em; line-height: 1.35; }
.ab-doc p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.ab-doc-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; margin-top: 16px; padding: 26px 32px; border-radius: 26px; background: var(--lavender); }
.ab-doc-cta b { display: block; font-size: 18px; letter-spacing: -0.03em; }
.ab-doc-cta p { margin: 4px 0 0; max-width: 560px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.ab-doc-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.ab-doc-link { color: var(--navy); font-size: 13px; font-weight: 900; border-bottom: 1.5px solid var(--line); padding-bottom: 2px; }
.ab-doc-link:hover { color: var(--red); border-color: var(--red); }
@media (max-width: 1000px) {
  .ab-plan-grid { grid-template-columns: 1fr; }
  .ab-plan-fig img { height: 320px; }
  .ab-doc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .ab-doc-grid { grid-template-columns: 1fr; }
  .ab-plan-fig img { height: 240px; }
  .ab-doc-cta { padding: 22px 20px; }
  .ab-doc-acts { width: 100%; }
  .ab-doc-acts .button { width: 100%; }
}

/* ===== Хід будівництва ===== */
.pg-hero { padding: 66px max(4vw, calc((100vw - 1280px) / 2)) 54px; background: linear-gradient(160deg, var(--navy), var(--navy-dark)); color: #fff; }
.pg-hero-in { max-width: 720px; }
.pg-hero .eyebrow { color: #9a99d6; }
.pg-hero h1 { margin: 10px 0 14px; font-size: clamp(32px, 4.8vw, 54px); letter-spacing: -0.05em; line-height: 1.02; }
.pg-lead { margin: 0 0 26px; color: rgba(255, 255, 255, 0.82); font-size: 15.5px; line-height: 1.62; }
.pg-hero-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.pg-ghost { color: #fff; font-size: 14px; font-weight: 800; border-bottom: 1.5px solid rgba(255, 255, 255, 0.4); padding-bottom: 2px; }
.pg-ghost:hover { border-color: #fff; }
.pg-feed { padding-top: 30px; }
.pg-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.pg-count { color: var(--muted); font-size: 13px; }
.pg-count b { color: var(--ink); font-size: 15px; font-weight: 900; }
.pg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pg-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.pg-card[hidden] { display: none; }
.pg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pg-img { position: relative; margin: 0; height: 210px; }
.pg-img button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pg-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.pg-card:hover .pg-img img { transform: scale(1.04); }
.pg-img i { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 11px; background: rgba(23, 22, 66, 0.62); color: #fff; font-size: 14px; font-style: normal; opacity: 0; transition: opacity 0.2s ease; }
.pg-card:hover .pg-img i { opacity: 1; }
.pg-tag { position: absolute; top: 12px; left: 12px; padding: 6px 13px; border-radius: 999px; font-size: 10.5px; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; }
.pg-tag.is-build { background: var(--navy); color: #fff; }
.pg-tag.is-news { background: #fff; color: var(--ink); }
.pg-tag.is-promo { background: var(--red); color: #fff; }
.pg-in { display: flex; flex-direction: column; gap: 7px; padding: 20px 22px 24px; }
.pg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pg-meta time { color: var(--muted); font-size: 11.5px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.pr-extra { padding: 4px 10px; border-radius: 999px; background: var(--peach); color: var(--red); font-size: 10.5px; font-weight: 900; }
.pg-in h3 { margin: 0; font-size: 17.5px; letter-spacing: -0.03em; line-height: 1.3; }
.pg-in p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.pg-empty { padding: 40px 30px; border: 1px dashed var(--line); border-radius: 24px; background: #fff; text-align: center; }
.pg-empty[hidden] { display: none; }
.pg-empty b { display: block; margin-bottom: 6px; font-size: 17px; }
.pg-empty p { margin: 0; color: var(--muted); font-size: 13.5px; }
.pg-sub { padding-top: 12px; }
@media (max-width: 1000px) { .pg-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .pg-hero { padding: 50px 4vw 42px; }
  .pg-hero-acts .button { width: 100%; }
  .pg-filters { padding: 14px; }
  .pg-filters .pl-chips { flex-wrap: wrap; }
  .pg-grid { grid-template-columns: 1fr; }
  .pg-img i { opacity: 1; }
}

/* ===== Хід будівництва v2: проста хронологія + врізки ===== */
.p2g-hero { padding: 60px max(4vw, calc((100vw - 1280px) / 2)) 50px; background: linear-gradient(160deg, var(--navy), var(--navy-dark)); color: #fff; }
.p2g-hero-in { max-width: 720px; }
.p2g-hero .eyebrow { color: #9a99d6; }
.p2g-hero h1 { margin: 10px 0 14px; font-size: clamp(32px, 4.8vw, 52px); letter-spacing: -0.05em; line-height: 1.02; }
.p2g-lead { margin: 0 0 24px; color: rgba(255, 255, 255, 0.82); font-size: 15.5px; line-height: 1.62; }
.p2g-hero-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.p2g-feed { padding-top: 40px; }
.p2g-list { display: grid; gap: 8px; }
.p2g-item { display: grid; grid-template-columns: 190px 1fr; gap: 26px; padding: 26px 0; border-top: 1px solid var(--line); }
.p2g-item:first-child { border-top: 0; padding-top: 4px; }
.p2g-date time { color: var(--muted); font-size: 13px; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; }
.p2g-body { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: start; }
.p2g-fig { margin: 0; }
.p2g-fig button { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; border-radius: 20px; background: none; cursor: zoom-in; }
.p2g-fig img { display: block; width: 100%; height: 210px; object-fit: cover; transition: transform 0.45s ease; }
.p2g-fig button:hover img { transform: scale(1.04); }
.p2g-fig i { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 11px; background: rgba(23, 22, 66, 0.62); color: #fff; font-size: 14px; font-style: normal; opacity: 0; transition: opacity 0.2s ease; }
.p2g-fig button:hover i { opacity: 1; }
.p2g-txt h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -0.035em; line-height: 1.25; }
.p2g-txt p { margin: 0; max-width: 620px; color: var(--muted); font-size: 14px; line-height: 1.62; }
.p2g-tag { display: inline-block; margin-bottom: 8px; padding: 5px 12px; border-radius: 999px; background: var(--lavender); color: var(--navy); font-size: 10.5px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.p2g-promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin: 10px 0; padding: 28px 32px; border-radius: 26px; background: var(--peach); }
.p2g-promo-lbl { display: inline-block; margin-bottom: 8px; padding: 5px 13px; border-radius: 999px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.p2g-promo b { display: block; margin-bottom: 6px; font-size: 21px; letter-spacing: -0.035em; }
.p2g-promo p { margin: 0; max-width: 620px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.p2g-promo-act { display: grid; justify-items: center; gap: 8px; }
.p2g-promo-act small { color: var(--muted); font-size: 11.5px; }
.p2g-adv { margin: 10px 0; padding: 30px 32px; border-radius: 26px; background: linear-gradient(160deg, var(--navy), var(--navy-dark)); color: #fff; }
.p2g-adv-head { margin-bottom: 18px; }
.p2g-adv-lbl { display: block; margin-bottom: 6px; color: #9a99d6; font-size: 10.5px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.p2g-adv-head b { font-size: 21px; letter-spacing: -0.035em; }
.p2g-adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.p2g-adv-grid span { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.08); font-size: 13.5px; font-weight: 800; }
.p2g-adv-grid i { font-style: normal; font-size: 17px; }
.p2g-adv-link { color: #ffd166; font-size: 13.5px; font-weight: 900; }
.p2g-adv-link:hover { color: #fff; }
.p2g-sub { padding-top: 20px; }
@media (max-width: 1000px) {
  .p2g-item { grid-template-columns: 1fr; gap: 12px; }
  .p2g-body { grid-template-columns: 260px 1fr; }
  .p2g-adv-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .p2g-hero { padding: 46px 4vw 40px; }
  .p2g-hero-acts .button { width: 100%; }
  .p2g-body { grid-template-columns: 1fr; gap: 14px; }
  .p2g-fig img { height: 200px; }
  .p2g-fig i { opacity: 1; }
  .p2g-promo, .p2g-adv { padding: 22px 20px; }
  .p2g-promo-act { width: 100%; justify-items: stretch; }
  .p2g-promo-act .button { width: 100%; }
  .p2g-adv-grid { grid-template-columns: 1fr; }
}

/* ===== Хід будівництва v3: статус секцій ===== */
.p3g-hero { padding: 58px max(4vw, calc((100vw - 1280px) / 2)) 48px; background: linear-gradient(160deg, var(--navy), var(--navy-dark)); color: #fff; }
.p3g-hero-in { max-width: 760px; }
.p3g-hero .eyebrow { color: #9a99d6; }
.p3g-hero h1 { margin: 10px 0 14px; font-size: clamp(32px, 5vw, 56px); letter-spacing: -0.05em; line-height: 1.02; }
.p3g-lead { margin: 0 0 24px; color: rgba(255, 255, 255, 0.82); font-size: 15.5px; line-height: 1.62; }
.p3g-hero-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.p3g-sections { padding-top: 40px; }
.p3g-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.p3g-sec { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.p3g-sec.is-now { border-color: var(--red); box-shadow: var(--shadow); }
.p3g-sec-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.p3g-sec-top b { font-size: 19px; letter-spacing: -0.03em; }
.p3g-badge { padding: 5px 11px; border-radius: 999px; font-size: 10px; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; }
.p3g-badge.is-ready { background: #e8f7ed; color: #1f9d55; }
.p3g-badge.is-now { background: var(--red); color: #fff; }
.p3g-badge.is-soon { background: var(--lavender); color: var(--navy); }
.p3g-bar { height: 8px; border-radius: 6px; background: var(--paper); overflow: hidden; }
.p3g-bar i { display: block; height: 100%; border-radius: 6px; background: #1f9d55; }
.p3g-sec.is-now .p3g-bar i { background: linear-gradient(90deg, var(--red), #ff7a72); }
.p3g-sec.is-soon .p3g-bar i { background: var(--violet); }
.p3g-sec-meta { display: flex; align-items: baseline; gap: 8px; }
.p3g-sec-meta b { font-size: 22px; font-weight: 900; letter-spacing: -0.04em; }
.p3g-sec-meta span { color: var(--muted); font-size: 12px; }
.p3g-sec p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.p3g-link { margin-top: auto; color: var(--red); font-size: 13px; font-weight: 900; }
.p3g-link:hover { color: var(--red-dark); }
.p3g-detail { padding-top: 34px; }
.p3g-detail-box { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 24px; align-items: start; }
.p3g-stages { padding: 34px 36px; border: 1px solid var(--line); border-radius: 28px; background: #fff; }
.p3g-stages h2 { margin: 8px 0 20px; font-size: clamp(22px, 2.4vw, 29px); letter-spacing: -0.04em; }
.p3g-stage-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.p3g-stage { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.p3g-stage:first-child { border-top: 0; padding-top: 0; }
.p3g-dot { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); background: #fff; color: transparent; font-size: 12px; font-weight: 900; }
.p3g-stage.is-done .p3g-dot { border-color: #1f9d55; background: #1f9d55; color: #fff; }
.p3g-stage.is-now .p3g-dot { border-color: var(--red); background: var(--red); color: #fff; box-shadow: 0 0 0 4px rgba(227, 29, 46, 0.16); }
.p3g-stage b { display: block; font-size: 15.5px; letter-spacing: -0.025em; }
.p3g-stage span { color: var(--muted); font-size: 12.5px; }
.p3g-stage.is-now b { color: var(--red); }
.p3g-stage.is-next b { color: var(--muted); }
.p3g-note { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.p3g-ask { display: grid; gap: 12px; justify-items: start; padding: 30px 28px; border-radius: 28px; background: var(--lavender); }
.p3g-ask b { font-size: 20px; letter-spacing: -0.035em; }
.p3g-ask p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.p3g-ask .button { width: 100%; }
.p3g-wa { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px 20px; border-radius: 999px; background: var(--wa, #25d366); color: #fff; font-size: 13px; font-weight: 800; }
.p3g-shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.p3g-shot { margin: 0; }
.p3g-shot button { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; border-radius: 20px; background: none; cursor: zoom-in; }
.p3g-shot img { display: block; width: 100%; height: 220px; object-fit: cover; transition: transform 0.45s ease; }
.p3g-shot button:hover img { transform: scale(1.05); }
.p3g-shot i { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 11px; background: rgba(23, 22, 66, 0.62); color: #fff; font-size: 14px; font-style: normal; opacity: 0; transition: opacity 0.2s ease; }
.p3g-shot button:hover i { opacity: 1; }
.p3g-shot figcaption { display: grid; gap: 2px; margin-top: 10px; }
.p3g-shot figcaption b { font-size: 12.5px; }
.p3g-shot figcaption span { color: var(--muted); font-size: 12.5px; }
.p3g-promo-wrap { padding-top: 10px; padding-bottom: 10px; }
.p3g-promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border-radius: 26px; background: var(--peach); }
.p3g-promo b { display: block; margin-bottom: 6px; font-size: 21px; letter-spacing: -0.035em; }
.p3g-promo p { margin: 0; max-width: 620px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.p3g-sub { padding-top: 24px; }
@media (max-width: 1100px) { .p3g-grid, .p3g-shots { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1000px) { .p3g-detail-box { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  .p3g-hero { padding: 46px 4vw 40px; }
  .p3g-hero-acts .button { width: 100%; }
  .p3g-grid, .p3g-shots { grid-template-columns: 1fr; }
  .p3g-stages { padding: 24px 20px; }
  .p3g-ask { padding: 24px 20px; }
  .p3g-promo { padding: 22px 20px; }
  .p3g-promo .p2g-promo-act { width: 100%; }
  .p3g-promo .button { width: 100%; }
}
.anchor-top { display: block; height: 0; }

/* --- Умови: проживання під час розтермінування --- */
.tm-live { padding-top: 0; }
.tm-live-box { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 34px; padding: 36px 40px; border-radius: 30px; background: linear-gradient(160deg, var(--navy), var(--navy-dark)); color: #fff; }
.tm-live-txt .eyebrow { color: #ffd166; }
.tm-live-txt h2 { margin: 8px 0 12px; color: #fff; font-size: clamp(23px, 2.7vw, 33px); letter-spacing: -0.04em; line-height: 1.08; }
.tm-live-txt > p { margin: 0 0 18px; max-width: 620px; color: rgba(255, 255, 255, 0.82); font-size: 14.5px; line-height: 1.62; }
.tm-live-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tm-live-list li { position: relative; padding-left: 24px; font-size: 14px; }
.tm-live-list li::before { content: "✓"; position: absolute; left: 0; color: #ffd166; font-weight: 900; }
.tm-live-act { display: grid; align-content: center; gap: 10px; justify-items: start; padding: 26px 28px; border-radius: 24px; background: rgba(255, 255, 255, 0.08); }
.tm-live-act b { font-size: 18px; letter-spacing: -0.03em; }
.tm-live-act p { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 13px; line-height: 1.55; }
@media (max-width: 1000px) { .tm-live-box { grid-template-columns: 1fr; gap: 22px; padding: 28px 24px; } }
@media (max-width: 620px) { .tm-live-box { padding: 24px 20px; } .tm-live-act { padding: 20px 18px; } .tm-live-act .button { width: 100%; } }
.soc-fb, .soc-ig { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; font-size: 16px; font-weight: 900; }
.soc-fb img, .soc-ig img { width: 17px; height: 17px; display: block; }
.soc-fb { background: #1877f2; }
.soc-ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.soc-fb:hover, .soc-ig:hover { filter: brightness(1.08); }
.ct-ic-il { background: var(--violet); color: #fff; font-size: 20px; }
.ct-card-il .ct-big { font-size: 17px; }
.ct-addr-sm { color: var(--muted) !important; font-size: 12.5px !important; }
@media (min-width: 1001px) { .ct-grid { grid-template-columns: repeat(4, 1fr); } }
.advantage-card p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.advantage-card h3 { margin-bottom: 5px; }

/* ===== Офіси ===== */
.of-hero { padding: 60px max(4vw, calc((100vw - 1280px) / 2)) 50px; background: linear-gradient(160deg, var(--navy), var(--navy-dark)); color: #fff; }
.of-hero-in { max-width: 760px; }
.of-hero .eyebrow { color: #9a99d6; }
.of-hero h1 { margin: 10px 0 14px; font-size: clamp(30px, 4.6vw, 52px); letter-spacing: -0.05em; line-height: 1.04; }
.of-lead { margin: 0 0 24px; color: rgba(255, 255, 255, 0.82); font-size: 15.5px; line-height: 1.62; }
.of-hero-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.of-hero-stats span { display: grid; gap: 2px; padding: 13px 18px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 16px; background: rgba(255, 255, 255, 0.07); color: rgba(255, 255, 255, 0.66); font-size: 11.5px; }
.of-hero-stats b { color: #fff; font-size: 19px; letter-spacing: -0.03em; }
.of-hero-acts { display: flex; flex-wrap: wrap; gap: 12px; }
.of-hero .button-ghost { border: 1.5px solid rgba(255, 255, 255, 0.4); background: none; color: #fff; }
.of-hero .button-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.of-why { padding-top: 34px; padding-bottom: 10px; }
.of-why-grid { background: #fff; box-shadow: var(--shadow); }
.of-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.of-count { color: var(--muted); font-size: 13px; }
.of-count b { color: var(--ink); font-size: 15px; font-weight: 900; }
.of-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.of-card { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px; border: 1px solid var(--line); border-radius: 24px; background: #fff; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.of-card[hidden] { display: none; }
.of-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.of-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.of-top b { font-size: 25px; font-weight: 900; letter-spacing: -0.04em; }
.of-badge { padding: 5px 12px; border-radius: 999px; font-size: 10.5px; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; }
.of-badge.is-s1 { background: var(--peach); color: var(--red); }
.of-badge.is-s3 { background: var(--lavender); color: var(--navy); }
.of-specs { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.of-specs li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 7px; border-bottom: 1px solid var(--line); font-size: 13px; }
.of-specs li:last-child { border-bottom: 0; padding-bottom: 0; }
.of-specs i { color: var(--muted); font-style: normal; }
.of-specs b { font-weight: 800; }
.of-price { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; background: var(--paper); }
.of-price i { color: var(--muted); font-size: 11.5px; font-style: normal; }
.of-price b { font-size: 22px; font-weight: 900; letter-spacing: -0.04em; }
.of-acts { margin-top: auto; }
.of-acts .button { width: 100%; }
@media (max-width: 1000px) { .of-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) {
  .of-hero { padding: 46px 4vw 40px; }
  .of-hero-acts .button { width: 100%; }
  .of-grid { grid-template-columns: 1fr; }
  .of-filters { padding: 12px 14px; }
}
.ct-addr-note { color: var(--muted) !important; font-size: 12.5px !important; line-height: 1.5; }
.ct-addr-note b { color: var(--ink); }

/* ===== Галерея ===== */
.gl-hero { position: relative; display: grid; align-items: center; min-height: 480px; padding: 64px max(4vw, calc((100vw - 1280px) / 2)); overflow: hidden; color: #fff; }
.gl-hero-media { position: absolute; inset: 0; z-index: 0; }
.gl-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.gl-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(23, 22, 66, 0.93) 0%, rgba(23, 22, 66, 0.78) 46%, rgba(23, 22, 66, 0.3) 100%); }
.gl-hero-in { position: relative; z-index: 1; max-width: 660px; }
.gl-hero .eyebrow { color: #9a99d6; }
.gl-hero h1 { margin: 10px 0 14px; font-size: clamp(32px, 4.8vw, 54px); letter-spacing: -0.05em; line-height: 1.02; }
.gl-lead { margin: 0 0 24px; color: rgba(255, 255, 255, 0.85); font-size: 15.5px; line-height: 1.62; }
.gl-hero-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.gl-adv { padding-top: 34px; padding-bottom: 10px; }
.gl-adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gl-adv-grid article { padding: 22px 20px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.gl-adv-grid span { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 10px; border-radius: 13px; background: var(--lavender); font-size: 18px; }
.gl-adv-grid b { display: block; margin-bottom: 5px; font-size: 15.5px; letter-spacing: -0.025em; }
.gl-adv-grid p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.gl-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.gl-count { color: var(--muted); font-size: 13px; }
.gl-count b { color: var(--ink); font-size: 15px; font-weight: 900; }
.gl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gl-item { margin: 0; }
.gl-item[hidden] { display: none; }
.gl-item button { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; border-radius: 22px; background: var(--paper); cursor: zoom-in; }
.gl-item img { display: block; width: 100%; height: 260px; object-fit: cover; transition: transform 0.5s ease; }
.gl-item button:hover img { transform: scale(1.05); }
.gl-cat { position: absolute; top: 12px; left: 12px; padding: 6px 13px; border-radius: 999px; background: rgba(23, 22, 66, 0.78); color: #fff; font-size: 10.5px; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; backdrop-filter: blur(6px); }
.gl-zoom { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: rgba(23, 22, 66, 0.66); color: #fff; font-size: 15px; font-style: normal; opacity: 0; transition: opacity 0.2s ease; }
.gl-item button:hover .gl-zoom { opacity: 1; }
.gl-item figcaption { display: grid; gap: 3px; margin-top: 11px; }
.gl-item figcaption b { font-size: 14.5px; letter-spacing: -0.025em; }
.gl-item figcaption span { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.gl-empty { padding: 40px 30px; border: 1px dashed var(--line); border-radius: 24px; background: #fff; text-align: center; }
.gl-empty[hidden] { display: none; }
.gl-empty b { display: block; margin-bottom: 6px; font-size: 17px; }
.gl-empty p { margin: 0; color: var(--muted); font-size: 13.5px; }
.gl-final { padding-top: 30px; }
@media (max-width: 1100px) { .gl-adv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1000px) { .gl-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) {
  .gl-hero { min-height: 0; padding: 48px 4vw 42px; }
  .gl-hero-acts .button { width: 100%; }
  .gl-adv-grid, .gl-grid { grid-template-columns: 1fr; }
  .gl-item img { height: 230px; }
  .gl-zoom { opacity: 1; }
  .gl-filters { padding: 12px 14px; }
}

/* ===== Службові сторінки: політика, подяка, 404 ===== */
.doc-hero { padding: 56px max(4vw, calc((100vw - 1280px) / 2)) 44px; background: linear-gradient(160deg, var(--navy), var(--navy-dark)); color: #fff; }
.doc-hero-in { max-width: 720px; }
.doc-hero .eyebrow { color: #9a99d6; }
.doc-hero h1 { margin: 10px 0 12px; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.045em; line-height: 1.05; }
.doc-lead { margin: 0 0 12px; color: rgba(255, 255, 255, 0.84); font-size: 15px; line-height: 1.6; }
.doc-date { margin: 0; color: rgba(255, 255, 255, 0.55); font-size: 12.5px; }
.doc-body { padding-top: 36px; }
.doc-wrap { max-width: 820px; }
.doc-wrap h2 { margin: 30px 0 10px; font-size: 20px; letter-spacing: -0.03em; }
.doc-wrap h2:first-of-type { margin-top: 0; }
.doc-wrap p { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; line-height: 1.68; }
.doc-wrap p b { color: var(--ink); }
.doc-wrap a { color: var(--violet); font-weight: 800; }
.doc-wrap a:hover { color: var(--red); }
.doc-list { display: grid; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.doc-list li { position: relative; padding-left: 22px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.doc-list li::before { content: "•"; position: absolute; left: 4px; color: var(--red); font-weight: 900; }
.doc-tldr { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.doc-tldr > div { display: grid; gap: 3px; padding: 18px 20px; border-radius: 18px; background: var(--paper); }
.doc-tldr b { font-size: 14px; letter-spacing: -0.02em; }
.doc-tldr span { color: var(--muted); font-size: 13px; line-height: 1.55; }
.doc-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 34px; padding: 26px 30px; border-radius: 24px; background: var(--lavender); }
.doc-cta b { display: block; font-size: 17px; letter-spacing: -0.03em; }
.doc-cta p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.doc-cta-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.th-hero, .nf-hero { padding: 60px max(4vw, calc((100vw - 1280px) / 2)) 56px; background: var(--paper); }
.th-box, .nf-box { max-width: 860px; margin: 0 auto; padding: 44px 46px; border: 1px solid var(--line); border-radius: 30px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.th-ic { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 50%; background: #e8f7ed; color: #1f9d55; font-size: 30px; font-weight: 900; }
.th-box h1, .nf-box h1 { margin: 8px 0 12px; font-size: clamp(25px, 3.4vw, 36px); letter-spacing: -0.045em; line-height: 1.1; }
.th-lead, .nf-lead { margin: 0 auto 26px; max-width: 620px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.th-lead b { color: var(--ink); }
.th-next-t { margin: 0 0 12px; color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.th-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 26px; text-align: left; }
.th-link { display: grid; gap: 3px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: 0.2s; }
.th-link:hover { transform: translateY(-2px); border-color: transparent; box-shadow: var(--shadow); }
.th-link b { font-size: 14.5px; letter-spacing: -0.025em; }
.th-link span { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.th-msg { padding-top: 22px; border-top: 1px solid var(--line); }
.th-msg > span { display: block; margin-bottom: 12px; color: var(--muted); font-size: 13.5px; }
.th-msg .ct-msg { justify-content: center; align-items: center; }
.th-tel { padding: 12px 20px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink) !important; font-size: 15px; font-weight: 900; letter-spacing: -0.02em; }
.th-tel:hover { border-color: var(--red); color: var(--red) !important; }
.th-tel:hover { color: var(--red); }
.nf-code { font-size: 72px; font-weight: 900; letter-spacing: -0.06em; color: var(--red); line-height: 1; }
.nf-acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
@media (max-width: 760px) {
  .doc-hero { padding: 44px 4vw 36px; }
  .doc-tldr, .th-links { grid-template-columns: 1fr; }
  .th-box, .nf-box { padding: 30px 22px; border-radius: 24px; }
  .doc-cta { padding: 22px 20px; }
  .doc-cta-acts, .nf-acts { width: 100%; }
  .doc-cta-acts .button, .nf-acts .button, .nf-acts .pl-calc { width: 100%; }
}

/* --- відео в галереї --- */
.gl-video button { position: relative; }
.gl-play { position: absolute; top: 50%; left: 50%; z-index: 2; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(227, 29, 46, 0.94); color: #fff; font-size: 22px; font-style: normal; padding-left: 4px; box-shadow: 0 14px 34px rgba(227, 29, 46, 0.4); transition: transform 0.25s ease; }
.gl-video button:hover .gl-play { transform: scale(1.08); }
.gl-video button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 22, 66, 0.12), rgba(23, 22, 66, 0.45)); }
.gl-dur { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: rgba(23, 22, 66, 0.78); color: #fff; font-size: 11px; font-weight: 800; backdrop-filter: blur(6px); }
.gl-player { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 6vh 5vw; background: rgba(15, 14, 40, 0.94); backdrop-filter: blur(6px); }
.gl-player[hidden] { display: none; }
.gl-player-box { width: min(1100px, 100%); aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.gl-player-box iframe, .gl-player-box video { display: block; width: 100%; height: 100%; border: 0; }
.gl-player-cap { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.76); font-size: 13.5px; font-weight: 800; }
@media (max-width: 620px) {
  .gl-play { width: 54px; height: 54px; margin: -27px 0 0 -27px; font-size: 19px; }
  .gl-player { padding: 12vh 4vw; }
}

/* ===== Мобільні виправлення: тач-цілі та читабельність ===== */
@media (max-width: 760px) {
  /* посилання у футер-акордеонах — зручні для пальця */
  .f-acc-in a { display: inline-flex; align-items: center; min-height: 40px; }
  .f-acc-in > a { width: 100%; }
  .f-mob-soc a { min-height: 44px; }

  /* дрібні підписи у формах — читабельні на телефоні */
  .contact-form label span,
  .lead-modal .field label,
  .field label { font-size: 11px; letter-spacing: 0.06em; }
  .contact-form small,
  .lead-modal small { font-size: 11px; line-height: 1.5; }

  /* текстові посилання-стрілки в hero — більша зона натискання */
  .pg-ghost, .r2-ghost, .gl-hero .pg-ghost { display: inline-flex; align-items: center; min-height: 40px; }

  /* текстові посилання й селекти в контенті */
  .text-link, .text-link-button { display: inline-flex; align-items: center; min-height: 40px; }
  .hero-status a { display: inline-flex; align-items: center; min-height: 36px; font-size: 11px; }
  .calc5-ctrl select, .field select { min-height: 40px; }

  /* нижня частина футера: реквізити, політика, «на початок» */
  .ct-legal-links a { display: inline-flex; align-items: center; min-height: 40px; }
  .f2-bot { gap: 4px; }
  .f2-bot a { display: inline-flex; align-items: center; min-height: 40px; }
  .f2-bot span a { min-height: 36px; }
}
@media (max-width: 760px) {
  .consultation-messengers a { display: inline-flex; align-items: center; min-height: 40px; }
  .developer-links a { min-height: 40px; }
}

/* ===== Відео квартири: кнопка на картці планування + плеєр ===== */
.pl-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.pl-links .pl-open { margin-top: 0; }
.pl-vid { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 7px 9px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 12.5px; font-weight: 900; letter-spacing: -0.01em; cursor: pointer; transition: 0.16s; }
.pl-vid i { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--red); color: #fff; font-size: 9px; font-style: normal; padding-left: 2px; }
.pl-vid:hover { border-color: var(--red); color: var(--red); box-shadow: 0 8px 22px rgba(227, 29, 46, 0.14); }
.pl-vid-ask i { background: var(--lavender); color: var(--violet); }
.pl-vid-ask:hover { border-color: var(--violet); color: var(--violet); box-shadow: none; }

/* мітка «є відео» на зображенні планування */
.pl-vidmark { position: absolute; right: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px 5px 7px; border-radius: 999px; background: rgba(23, 22, 66, 0.82); color: #fff; font-size: 10.5px; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; pointer-events: none; }
.pl-vidmark i { font-style: normal; font-size: 8px; }

/* плеєр */
.pv-lb { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 4vw; background: rgba(11, 12, 38, 0.93); }
.pv-lb[hidden] { display: none; }
.pv-lb-box { position: relative; width: min(1060px, 96vw); }
.pv-lb-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.pv-lb-frame iframe, .pv-lb-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pv-lb-cap { margin-top: 14px; color: #fff; font-size: 14px; font-weight: 800; letter-spacing: -0.01em; text-align: center; }
.pv-lb-cap span { display: block; margin-top: 4px; color: rgba(255, 255, 255, 0.62); font-size: 12.5px; font-weight: 600; }
.pv-lb-close { position: absolute; top: -46px; right: 0; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; transition: 0.16s; }
.pv-lb-close:hover { background: rgba(255, 255, 255, 0.26); }
.pv-lb-acts { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.pv-lb-acts .button { padding: 12px 22px; font-size: 13.5px; }
.pv-lb-acts .pv-lb-ghost { display: inline-flex; align-items: center; padding: 12px 22px; border: 1.5px solid rgba(255, 255, 255, 0.3); border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: 13.5px; font-weight: 900; cursor: pointer; transition: 0.16s; }
.pv-lb-acts .pv-lb-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

/* кнопка відео на сторінці відкритого планування */
.fl-thumb.fl-thumb-vid { display: inline-flex; align-items: center; gap: 7px; }
.fl-thumb.fl-thumb-vid i { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--red); color: #fff; font-size: 8px; font-style: normal; padding-left: 2px; }

@media (max-width: 760px) {
  .pl-links { gap: 8px; }
  .pl-vid { min-height: 40px; font-size: 12px; }
  .pv-lb { padding: 5vw; }
  .pv-lb-close { top: -44px; }
  .pv-lb-cap { font-size: 13px; }
  .pv-lb-acts { flex-direction: column; }
  .pv-lb-acts .button, .pv-lb-acts .pv-lb-ghost { width: 100%; justify-content: center; min-height: 44px; }
}

@media (max-width: 760px) {
  .fl-thumbs { gap: 6px; }
  .fl-thumb { padding: 10px 13px; font-size: 12.5px; min-height: 42px; }
  .fl-thumb.fl-thumb-vid { padding-left: 9px; }
}

/* ===== Планування: вибір поверху всередині картки ===== */
.pl-floor-field { position: relative; display: inline-flex; align-items: baseline; gap: 3px; padding-right: 12px; }
.pl-floor-select { appearance: none; -webkit-appearance: none; border: none; background: transparent; font: inherit; font-weight: 800; font-size: 13px; color: var(--ink); padding: 2px 0; margin: 0; cursor: pointer; }
.pl-floor-select:hover, .pl-floor-select:focus { color: var(--red); outline: none; }
.pl-floor-suffix { font-weight: 800; font-size: 13px; color: var(--ink); }
.pl-floor-field::after { content: ''; position: absolute; right: 0; top: 45%; width: 6px; height: 6px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-60%) rotate(45deg); pointer-events: none; }
@media (max-width: 760px) {
  .pl-floor-select { min-height: 24px; }
}

/* ===== Картка планування: очевидний клік на зображення + кнопка перегляду ===== */
.pl-card-img { cursor: pointer; }
.pl-card-img:focus-visible { outline: 2.5px solid var(--red); outline-offset: 2px; }
.pl-imghint { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px 6px 9px; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--ink); font-size: 11px; font-weight: 900; letter-spacing: -.01em; box-shadow: 0 8px 20px rgba(32,37,79,.14); transition: .16s; }
.pl-imghint i { font-style: normal; font-size: 11px; }
.pl-card-img:hover .pl-imghint { background: #fff; color: var(--red); transform: translateY(-1px); }
.pl-open { display: inline-flex; align-items: center; gap: 7px; padding: 12px 18px 12px 10px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 900; letter-spacing: -.01em; text-decoration: none; transition: .16s; margin-top: 0; }
.pl-open i { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--lavender); color: var(--navy); font-size: 11px; font-style: normal; }
.pl-open:hover { border-color: var(--red); color: var(--red); box-shadow: 0 8px 22px rgba(227,29,46,.14); }
@media (max-width: 760px) {
  .pl-imghint { font-size: 10.5px; padding: 5px 10px 5px 8px; }
  .pl-open { min-height: 40px; font-size: 12.5px; }
}

/* ===== Герой: факти замість опису адреси ===== */
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 34px; }
.hero-facts span { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.94); font-size: clamp(15px,1.3vw,18px); font-weight: 700; letter-spacing: -.01em; }
.hero-facts i { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(37,211,102,.2); color: #25d366; font-style: normal; font-size: 12px; flex: 0 0 auto; }
@media (max-width: 760px) {
  .hero-facts { gap: 10px 18px; margin-bottom: 26px; }
}

/* ===== Команда проєкту (головна) — карусель ===== */
.tm-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.tm-count { color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.tm-rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.tm-rail:focus-visible { outline: 2.5px solid var(--red); outline-offset: 4px; border-radius: 22px; }
.tm-rail::-webkit-scrollbar { height: 6px; }
.tm-rail::-webkit-scrollbar-track { background: transparent; }
.tm-rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
.tm-slide { flex: 0 0 clamp(230px, 24vw, 285px); scroll-snap-align: start; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.tm-slide:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.tm-slide img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tm-slide-in { padding: 14px 16px 17px; }
.tm-slide-in b { display: block; font-size: 15.5px; letter-spacing: -0.02em; }
.tm-slide-in .tm-role { display: block; margin-top: 3px; color: var(--violet); font-size: 12px; font-weight: 800; line-height: 1.4; }
.tm-slide-in i { display: block; margin-top: 5px; color: var(--muted); font-size: 11.5px; font-style: normal; }

@media (max-width: 760px) {
  .tm-bar { margin-bottom: 12px; }
  .tm-count { font-size: 10px; }
  .tm-slide { flex-basis: 74vw; }
  .tm-slide-in { padding: 12px 14px 15px; }
}

/* ===== Про нас: 3 картки (RB Development / ВК Груп / Simple Investment) ===== */
.ab-team-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ab-team-grid-3 .ab-card .ab-part-name { margin-top: 52px; }
@media (max-width: 900px) {
  .ab-team-grid-3 { grid-template-columns: 1fr; }
  .ab-team-grid-3 .ab-card .ab-part-name { margin-top: 0; }
}

/* ===== Партнери: реальні лого Rehau і Сканрок ===== */
.logo-rehau { max-height: 46px; max-width: 84%; }
.logo-scanroc { max-height: 30px; max-width: 80%; }
@media (max-width: 760px) {
  .logo-rehau { max-height: 32px; }
  .logo-scanroc { max-height: 22px; }
}

/* ===== Про забудовника: підпис над цифрами ===== */
.developer-stats-label { margin: 0; padding: 18px 22px 0; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; background: #fff; }

/* ===== Архів новин (хід будівництва) ===== */
.nw-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.nw-count { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.nw-count b { color: var(--ink); font-size: 14px; }
.nw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.nw-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: 0.22s; }
.nw-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.nw-card[hidden] { display: none; }
.nw-media { overflow: hidden; aspect-ratio: 16 / 9; background: var(--paper); }
.nw-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.nw-card:hover .nw-media img { transform: scale(1.04); }
.nw-media-empty { display: grid; place-items: center; background: linear-gradient(140deg, var(--lavender), #e7eafc); }
.nw-media-empty span { color: var(--navy); font-size: 30px; font-weight: 900; letter-spacing: -0.04em; opacity: 0.55; }
.nw-in { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.nw-date { color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.nw-in b { font-size: 15.5px; line-height: 1.35; letter-spacing: -0.02em; }
.nw-in p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.nw-more { display: flex; justify-content: center; margin-top: 24px; }
.nw-more button[hidden] { display: none; }

@media (max-width: 980px) {
  .nw-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .nw-grid { grid-template-columns: 1fr; gap: 14px; }
  .nw-bar { gap: 10px; }
  .nw-in { padding: 14px 15px 17px; }
}

/* ===== Архів новин: повний текст ===== */
.nw-full { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.nw-full summary { cursor: pointer; color: var(--violet); font-size: 12.5px; font-weight: 800; list-style: none; }
.nw-full summary::-webkit-details-marker { display: none; }
.nw-full summary::after { content: " ↓"; }
.nw-full[open] summary::after { content: " ↑"; }
.nw-full summary:hover { color: var(--red); }
.nw-full ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 5px; }
.nw-full li { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
