/* Фабрика Бань — Архитектурная дизайн-система (Севастополь и Крым)
   Палитра: Крымский известняк (#F6F7F5) · Базальт (#141816) · Крымский кипарис (#1E4D3B)
   Типографика: Lora (журнальная антиква, как в дизайн-проекте №855) + Golos Text (Paratype) — 100% локально WOFF2
*/

:root {
  --bg: #F6F7F5;
  --surface: #FFFFFF;
  --surface-tint: #EDF0EC;
  --ink: #141816;
  --ink-muted: #4C5650;
  --ink-subtle: #66706A;
  --line: #D6DDD7;
  --line-strong: #B6C2B9;

  --accent: #1E4D3B;
  --accent-hover: #143729;
  --accent-soft: #E5EFEA;
  --accent-ink: #FFFFFF;

  --basalt: #121715;
  --basalt-surface: #1A211E;
  --basalt-line: #2C3631;
  --basalt-ink: #F2F5F3;
  --basalt-muted: #A9B5AE;
  --basalt-accent: #8ABFA7;

  --danger: #A62B2B;

  --f-display: 'Lora', Georgia, 'Times New Roman', serif;
  --f-sans: 'Golos Text', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono: 'Golos Text', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-frame: 2px;
  --radius-ctl: 4px;
  --container: 1360px;
  --header-h: 68px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- HEADER (68px, single line) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: rgba(246, 247, 245, 0.98);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.02em;
  border-radius: var(--radius-frame);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-sub {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--ink-subtle);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  white-space: nowrap;
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-phone {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--accent);
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: var(--radius-ctl);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  display: block;
}

/* ---------- BUTTONS (WCAG AA+, single line, crisp 4px) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-ctl);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.1s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--surface);
}

.btn-light {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--surface);
}

.btn-light:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
}

.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

/* ---------- EYEBROW (STRICT MAX 3 ON ENTIRE PAGE) ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.band-dark .eyebrow {
  color: var(--basalt-accent);
}

/* ---------- SECTION 1: ASYMMETRIC ARCHITECTURAL HERO (44/56) ---------- */
.hero {
  border-bottom: 1px solid var(--line);
  min-height: calc(100dvh - var(--header-h) - 36px);
  max-height: 820px;
  display: grid;
  grid-template-columns: minmax(420px, 44%) 1fr;
}

.hero > *,
.dir-layout > *,
.calc-controls > *,
.tiers-grid > *,
.calc-lead > *,
.eng-layout > *,
.proj-mosaic > *,
.director-grid > *,
.showroom-grid > *,
.form-grid-2 > *,
.design-rates > * {
  min-width: 0;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 52px 56px max(32px, calc((100vw - var(--container)) / 2 + 32px));
  border-right: 1px solid var(--line);
}

.hero-title {
  margin: 20px 0 0;
  font-family: var(--f-display);
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-sub {
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 44ch;
}

.hero-cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-right {
  position: relative;
  min-height: 520px;
  background: #DCE2DC;
  overflow: hidden;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-coord {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(18, 23, 21, 0.84);
  backdrop-filter: blur(6px);
  color: #F2F5F3;
  padding: 9px 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  border-radius: var(--radius-frame);
}

/* ---------- SECTION 2: 4-COLUMN HAIRLINE LEDGER (NO CARDS) ---------- */
.ledger {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.ledger-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.ledger-cell {
  padding: 28px 28px 28px 0;
  border-right: 1px solid var(--line);
}

.ledger-cell + .ledger-cell {
  padding-left: 28px;
}

.ledger-cell:last-child {
  border-right: none;
  padding-right: 0;
}

.ledger-val {
  font-family: var(--f-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.ledger-lbl {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-muted);
}

/* ---------- SHARED SECTION RHYTHM ---------- */
.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

.sec-head {
  margin-bottom: 44px;
  max-width: 760px;
}

.sec-title {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(24px, 2.7vw, 38px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.sec-lead {
  margin: 14px 0 0;
  font-size: 16px;
  color: var(--ink-muted);
  max-width: 60ch;
}

/* ---------- SECTION 3: INTERACTIVE ARCHITECTURAL INDEX (01-06) ---------- */
.dir-layout {
  display: grid;
  grid-template-columns: minmax(320px, 42%) 1fr;
  border: 1px solid var(--line);
  background: var(--surface);
}

.dir-list {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.dir-item {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: baseline;
  gap: 14px;
  cursor: pointer;
  transition: background-color 0.16s ease;
}

.dir-item:last-child {
  border-bottom: none;
}

.dir-item:hover {
  background: var(--bg);
}

.dir-item.is-active {
  background: var(--accent);
  color: var(--accent-ink);
}

.dir-num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-subtle);
}

.dir-item.is-active .dir-num,
.dir-item.is-active .dir-tag {
  color: rgba(255, 255, 255, 0.78);
}

.dir-name {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.dir-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-subtle);
  white-space: nowrap;
}

.dir-detail {
  display: flex;
  flex-direction: column;
}

.dir-photo {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #DCE2DC;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.dir-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.dir-photo-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: rgba(20, 24, 22, 0.86);
  color: #FFFFFF;
  font-family: var(--f-mono);
  font-size: 12px;
  padding: 7px 12px;
  border-radius: var(--radius-frame);
}

.dir-body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.dir-body h3 {
  margin: 0;
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.dir-desc {
  margin: 0;
  color: var(--ink-muted);
  max-width: 58ch;
}

.dir-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-chip {
  font-family: var(--f-mono);
  font-size: 12px;
  padding: 6px 11px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  border-radius: var(--radius-frame);
}

.dir-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.dir-meta {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--ink-muted);
}

.dir-meta strong {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- SECTION 4: 3-TIER ESTIMATE BLUEPRINT CALCULATOR ---------- */
.calc-section {
  background: var(--surface);
}

.calc-controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--bg);
}

.ctrl-box {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ctrl-box:last-child {
  border-right: none;
}

.ctrl-label {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ctrl-select {
  width: 100%;
  max-width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-ctl);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.ctrl-select:focus,
.field-input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.range-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.range-val {
  font-family: var(--f-mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--accent);
}

.range-input {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
  margin-top: 6px;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.4;
}

.check-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}

/* 3-Column Estimate Sheet */
.tiers-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.tier-col {
  padding: 28px 26px;
  border-right: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: background-color 0.16s ease;
}

.tier-col:last-child {
  border-right: none;
}

.tier-col:hover {
  background: #FAFBFA;
}

.tier-col.is-selected {
  background: var(--accent-soft);
  box-shadow: inset 0 3px 0 0 var(--accent);
}

.tier-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.tier-code {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-subtle);
}

.tier-badge {
  font-family: var(--f-mono);
  font-size: 11px;
  padding: 3px 8px;
  background: var(--accent);
  color: #FFFFFF;
  border-radius: var(--radius-frame);
}

.tier-name {
  margin: 12px 0 0;
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 500;
}

.tier-price {
  margin-top: 14px;
  font-family: var(--f-mono);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.tier-term {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-muted);
}

.tier-list {
  margin: 20px 0 24px;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-muted);
}

.tier-list li {
  padding-left: 16px;
  position: relative;
}

.tier-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 1.5px;
  background: var(--accent);
}

.tier-pick {
  margin-top: auto;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
}

/* Lead Capture Bar under 3 Tiers */
.calc-lead {
  margin-top: 24px;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 28px 30px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: start;
}

.lead-summary h3 {
  margin: 0;
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 500;
}

.lead-summary p {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--ink-muted);
}

.summary-spec {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.field-input {
  width: 100%;
  max-width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-ctl);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
}

.field-input::placeholder {
  color: #6B756F;
}

.file-drop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-ctl);
  background: var(--surface);
  font-size: 13px;
  color: var(--ink-muted);
  cursor: pointer;
}

.file-drop:hover {
  border-color: var(--accent);
  color: var(--ink);
}

.channel-row {
  display: flex;
  gap: 8px;
}

.channel-btn {
  flex: 1;
  height: 38px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: var(--radius-ctl);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink-muted);
}

.channel-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #FFFFFF;
}

.form-error {
  font-size: 13px;
  color: var(--danger);
  min-height: 18px;
}

.form-success {
  padding: 16px;
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius-ctl);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}

/* ---------- SECTION 5: BASALT CONTRAST BAND (LOCAL VIDEO + ENGINEERING) ---------- */
.band-dark {
  background: var(--basalt);
  color: var(--basalt-ink);
  border-bottom: 1px solid var(--basalt-line);
}

.band-dark .sec-lead {
  color: var(--basalt-muted);
}

.eng-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 44px;
  align-items: start;
}

.video-frame {
  border: 1px solid var(--basalt-line);
  background: #0B0E0D;
  border-radius: var(--radius-frame);
  overflow: hidden;
}

.video-frame video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: #0B0E0D;
}

.video-caption {
  padding: 14px 18px;
  border-top: 1px solid var(--basalt-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--basalt-muted);
}

.eng-tabs {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--basalt-line);
}

.eng-tab {
  border-bottom: 1px solid var(--basalt-line);
  padding: 18px 0;
}

.eng-trigger {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--basalt-ink);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  padding: 0;
}

.eng-trigger span:first-child {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 500;
}

.eng-sign {
  font-family: var(--f-mono);
  font-size: 16px;
  color: var(--basalt-accent);
}

.eng-panel {
  margin-top: 10px;
  font-size: 14px;
  color: var(--basalt-muted);
  line-height: 1.6;
  display: none;
}

.eng-tab.is-open .eng-panel {
  display: block;
}

.design-rates {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--basalt-line);
  background: var(--basalt-surface);
}

.rate-box {
  padding: 20px;
  border-right: 1px solid var(--basalt-line);
}

.rate-box:last-child {
  border-right: none;
}

.rate-price {
  font-family: var(--f-mono);
  font-size: 20px;
  color: var(--basalt-accent);
  font-weight: 500;
}

.rate-title {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--basalt-ink);
}

.rate-note {
  margin-top: 4px;
  font-size: 13px;
  color: var(--basalt-muted);
}

/* ---------- SECTION 6: ASYMMETRIC EDITORIAL PORTFOLIO + REGISTRY ---------- */
.proj-mosaic {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 20px;
}

.proj-feature,
.proj-small {
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
}

.proj-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

.proj-img-wrap {
  position: relative;
  overflow: hidden;
  background: #DCE2DC;
}

.proj-feature .proj-img-wrap {
  flex: 1;
  min-height: 440px;
}

.proj-small .proj-img-wrap {
  aspect-ratio: 16 / 9;
}

.proj-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proj-meta {
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.proj-meta h3 {
  margin: 0;
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}

.proj-meta p {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--ink-muted);
}

.proj-loc {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--accent);
  white-space: nowrap;
}

/* Filterable Tabular Registry of Real Crimean Projects */
.registry {
  margin-top: 44px;
}

.registry-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.registry-head h3 {
  margin: 0;
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 500;
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-muted);
  border-radius: var(--radius-ctl);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.filter-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}

.registry-table {
  border-top: 1px solid var(--line-strong);
}

.reg-row {
  display: grid;
  grid-template-columns: 160px 1.4fr 1.2fr 120px;
  gap: 16px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  align-items: center;
}

.reg-row.is-hidden {
  display: none;
}

.reg-city {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--accent);
}

.reg-name {
  font-weight: 600;
  color: var(--ink);
}

.reg-spec {
  color: var(--ink-muted);
}

.reg-type {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-subtle);
  text-align: right;
}

/* ---------- SECTION 7: DIRECTOR STATEMENT + 5-STEP RAIL ---------- */
.director-section {
  background: var(--surface);
}

.director-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 52px;
  align-items: start;
}

.director-quote {
  margin: 18px 0 0;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 400;
}

.director-sign {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.director-name {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 500;
}

.director-role {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 3px;
}

.process-rail {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line-strong);
}

.step-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.step-n {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

.step-row h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.step-row p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--ink-muted);
}

/* ---------- SECTION 8: SHOWROOM + EQUIPMENT + FOOTER ---------- */
.showroom-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  border: 1px solid var(--line);
  background: var(--surface);
}

.showroom-left {
  padding: 36px 40px;
  border-right: 1px solid var(--line);
}

.showroom-left h2 {
  margin: 0;
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 500;
}

.showroom-left p {
  margin: 12px 0 0;
  color: var(--ink-muted);
  max-width: 52ch;
}

.brands-strip {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brand-pill {
  font-family: var(--f-mono);
  font-size: 12px;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
}

.showroom-right {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-lbl {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-val {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.site-footer {
  padding: 28px 0 40px;
  font-size: 13px;
  color: var(--ink-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.demo-ribbon {
  background: var(--basalt);
  color: var(--basalt-muted);
  font-size: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--basalt-line);
}

.demo-ribbon-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.demo-ribbon strong {
  color: #FFFFFF;
  font-weight: 500;
}

/* Cookie Bar (152-FZ) */
.cookie-bar {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 80;
  max-width: 440px;
  background: var(--basalt);
  color: var(--basalt-ink);
  border: 1px solid var(--basalt-line);
  border-radius: var(--radius-ctl);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 32px rgba(18, 23, 21, 0.22);
}

.cookie-bar p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--basalt-muted);
}

.cookie-bar.is-hidden {
  display: none;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg);
  z-index: 55;
  padding: 28px 24px;
  flex-direction: column;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.mobile-drawer.is-open {
  display: flex;
}

.mobile-drawer a {
  font-family: var(--f-display);
  font-size: 18px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

/* ---------- RESPONSIVE BREAKPOINTS ---------- */
@media (max-width: 1080px) {
  .nav-links,
  .header-phone {
    display: none;
  }
  .burger {
    display: flex;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    max-height: none;
  }
  .proj-feature .proj-img-wrap {
    min-height: 260px;
    aspect-ratio: 4 / 3;
  }
  .hero-left {
    padding: 40px 24px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .hero-right {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .ledger-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ledger-cell {
    padding: 22px 18px;
    border-bottom: 1px solid var(--line);
  }
  .ledger-cell:nth-child(even) {
    border-right: none;
  }
  .dir-layout,
  .eng-layout,
  .proj-mosaic,
  .director-grid,
  .showroom-grid,
  .calc-lead {
    grid-template-columns: 1fr;
  }
  .dir-list {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .calc-controls {
    grid-template-columns: repeat(2, 1fr);
  }
  .ctrl-box {
    border-bottom: 1px solid var(--line);
  }
  .ctrl-box:nth-child(even) {
    border-right: none;
  }
  .tiers-grid {
    grid-template-columns: 1fr;
  }
  .tier-col {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .tier-col:last-child {
    border-bottom: none;
  }
  .showroom-left {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 18px;
  }
  .header-actions .btn {
    display: none;
  }
  .hero-left {
    padding: 32px 18px;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-sub {
    font-size: 15px;
  }
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .hero-right {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .hero-coord {
    left: 12px;
    right: 12px;
    bottom: 12px;
    font-size: 10px;
  }
  .section {
    padding: 56px 0;
  }
  .ledger-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ledger-cell {
    padding: 18px 12px;
  }
  .ledger-cell + .ledger-cell {
    padding-left: 12px;
  }
  .dir-item {
    padding: 16px 14px;
    grid-template-columns: 30px 1fr;
  }
  .dir-tag {
    display: none;
  }
  .dir-body {
    padding: 22px 18px;
  }
  .calc-controls {
    grid-template-columns: 1fr;
  }
  .ctrl-box {
    border-right: none;
    padding: 18px;
  }
  .calc-lead {
    padding: 20px 18px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .design-rates {
    grid-template-columns: 1fr;
  }
  .rate-box {
    border-right: none;
    border-bottom: 1px solid var(--basalt-line);
  }
  .rate-box:last-child {
    border-bottom: none;
  }
  .reg-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }
  .reg-type {
    text-align: left;
  }
  .showroom-left,
  .showroom-right {
    padding: 24px 18px;
  }
  .cookie-bar {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ---------- STAGE 1 ADDITIONS (SOFT FOOTNOTE, VIDEO SWITCHER, CATALOG BRIDGE, LEGAL) ---------- */
.calc-footnote {
  margin-top: 14px;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent);
  background: var(--bg);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-muted);
}

.calc-footnote strong {
  color: var(--ink);
  font-weight: 600;
}

.video-switcher {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.vid-pill {
  text-align: left;
  padding: 11px 13px;
  border: 1px solid var(--basalt-line);
  background: var(--basalt-surface);
  color: var(--basalt-muted);
  border-radius: var(--radius-ctl);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.vid-pill:hover {
  border-color: var(--basalt-accent);
  color: var(--basalt-ink);
}

.vid-pill.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}

.vid-pill-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.vid-pill-meta {
  font-family: var(--f-mono);
  font-size: 11px;
  opacity: 0.78;
}

.cat-links-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.cat-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius-frame);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.cat-link-item:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.cat-link-item span:last-child {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--accent);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.consent-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.reg-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-frame);
  padding: 4px 9px;
  cursor: pointer;
  white-space: nowrap;
}

.reg-video-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}

.legal-doc h2 {
  margin: 28px 0 10px;
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 500;
}

.legal-doc p,
.legal-doc li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-muted);
}

.legal-doc ul {
  padding-left: 20px;
  margin: 8px 0 14px;
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}

section[id] {
  scroll-margin-top: 84px;
}

.calc-addons {
  margin-top: 14px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.calc-addons-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.calc-addons-title {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calc-addons-note {
  font-size: 12px;
  color: var(--ink-subtle);
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.addon-card {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: var(--radius-ctl);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.addon-card:hover {
  border-color: var(--accent);
}

.addon-card.is-checked {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.addon-card input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}

.addon-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.addon-name {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.addon-price {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--accent);
}

@media (max-width: 1080px) {
  .addons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .brand-logo {
    height: 36px;
  }
  .video-switcher,
  .cat-links-grid,
  .addons-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- COLOR-ZONED FUNNEL BANDS, CLEAN SPACING & MOTION (blok-ui + vid-motion) ---------- */
.section {
  padding: 68px 0;
}

.sec-head {
  margin-bottom: 36px;
  max-width: none;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: end;
}

.sec-head .sec-lead {
  margin: 0;
  max-width: 52ch;
  justify-self: end;
}

.band-white {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.band-stone {
  background: #EFECE6;
  border-top: 1px solid #DDD7CC;
  border-bottom: 1px solid #DDD7CC;
}

.band-stone .proj-feature,
.band-stone .proj-small {
  background: var(--surface);
  border-color: #DCD6CA;
}

.band-stone .registry {
  background: var(--surface);
  border: 1px solid #DCD6CA;
  padding: 28px 32px;
  margin-top: 32px;
}

.registry-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.reg-row.is-extra {
  display: none;
}

.registry.is-expanded .reg-row.is-extra:not(.is-hidden) {
  display: grid;
}

.reg-video-btn {
  min-height: 36px;
  padding: 6px 12px;
}

.eng-trigger {
  min-height: 44px;
  padding: 6px 0;
}

.band-calc {
  background: #EAF1ED;
  border-top: 4px solid var(--accent);
  border-bottom: 1px solid #C6D8CE;
}

/* Clean gap-based calculator grid — zero broken border-right at tablet breakpoints! */
.band-calc .calc-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid #C6D8CE;
}

.band-calc .ctrl-box {
  padding: 0;
  border: none;
  min-width: 0;
}

.band-calc .calc-config-row {
  margin-top: 12px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid #C6D8CE;
}

.band-calc .calc-addons {
  margin-top: 12px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid #C6D8CE;
}

.calc-config-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cfg-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.step-pill {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 11px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(30, 77, 59, 0.09);
  border: 1px solid rgba(30, 77, 59, 0.22);
  border-radius: var(--radius-frame);
}

.step-pill-accent {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

.step-pill-dark {
  color: #CFE6DA;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
}

/* ---------- 3D DESIGN PROJECTS SHOWCASE ---------- */
.design-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.design-card {
  border: 1px solid var(--line);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.design-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.design-img-wrap {
  aspect-ratio: 16 / 10;
  background: #1B211E;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.design-img-blueprint {
  background: #FFFFFF;
}

.design-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.design-card:hover .design-img-wrap img {
  transform: scale(1.03);
}

.design-img-blueprint img {
  object-fit: contain;
  padding: 8px;
}

.design-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.design-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.design-body h3 {
  margin: 0;
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.design-body p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-muted);
}

.calc-excluded {
  margin-top: 10px;
  padding: 12px 18px;
  border: 1px dashed #9EB8AA;
  background: rgba(255, 255, 255, 0.72);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* ---------- HIGH-CONTRAST FINAL LEAD BAND (#173B2D) ---------- */
.band-lead {
  background: #173B2D;
  color: #F4F7F5;
  border-top: 1px solid #0E271E;
}

.lead-band-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: start;
}

.lead-band-grid > * {
  min-width: 0;
}

.lead-band-title {
  margin: 4px 0 0;
  font-family: var(--f-display);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.lead-band-sub {
  margin: 16px 0 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: #D2E1D9;
}

.summary-spec-dark {
  margin-top: 24px;
  background: rgba(11, 28, 21, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #E5F0EA;
  padding: 16px 18px;
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.lead-trust-pills {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lead-trust-pills span {
  font-family: var(--f-mono);
  font-size: 11.5px;
  padding: 6px 11px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #E9F3EE;
  border-radius: var(--radius-frame);
}

.lead-form-card {
  background: var(--surface);
  color: var(--ink);
  padding: 32px 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

/* ---------- PURPOSEFUL MOTION (vid-motion: transform + opacity only, 0 infinite loops) ---------- */
.btn,
.dir-item,
.tier-col,
.addon-card,
.vid-pill,
.filter-btn,
.channel-btn {
  transition: transform 90ms cubic-bezier(0.22, 0.9, 0.25, 1),
              background-color 160ms ease,
              border-color 160ms ease,
              color 160ms ease,
              box-shadow 180ms ease;
}

.btn:active,
.addon-card:active,
.vid-pill:active,
.filter-btn:active,
.channel-btn:active {
  transform: scale(0.985);
}

.proj-feature,
.proj-small {
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms ease;
}

.proj-feature:hover,
.proj-small:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.dir-photo img {
  transition: opacity 240ms cubic-bezier(0.16, 1, 0.3, 1), transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
}

.dir-photo img.is-swapping {
  opacity: 0.35;
  transform: scale(1.03);
}

.tier-price {
  transition: color 220ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.tier-price.is-pulse {
  color: var(--accent);
  transform: translateY(-1px);
}

/* Hero entrance animation (one-shot on load) */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-left > * {
  animation: heroRise 480ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-left > *:nth-child(2) { animation-delay: 70ms; }
.hero-left > *:nth-child(3) { animation-delay: 140ms; }
.hero-left > *:nth-child(4) { animation-delay: 210ms; }

.hero-right img {
  animation: heroRise 560ms cubic-bezier(0.16, 1, 0.3, 1) 120ms both;
}

/* Scroll reveal (JS adds .js-reveal on html so SSR/no-JS stays 100% visible) */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 460ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 460ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--rev-delay, 0ms);
}

.js-reveal .reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-left > *,
  .hero-right img {
    animation: none !important;
  }
  .js-reveal .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .btn:active,
  .design-card:hover,
  .proj-feature:hover,
  .proj-small:hover {
    transform: none !important;
  }
}

/* ---------- RESPONSIVE BREAKPOINTS (1024 / 860 / 640 — ZERO AWKWARD COLLAPSES) ---------- */
.showroom-box {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  background: var(--surface);
  border: 1px solid var(--line);
}

.showroom-left {
  padding: 36px 38px;
  border-right: 1px solid var(--line);
}

.showroom-right {
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #FAFBF9;
}

@media (max-width: 1024px) {
  .showroom-box {
    grid-template-columns: 1fr;
  }
  .showroom-left {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .sec-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .sec-head .sec-lead {
    justify-self: start;
  }
  .band-calc .calc-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .addons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lead-band-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 860px) {
  .calc-config-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .design-showcase {
    grid-template-columns: 1fr;
  }
  .eng-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ---------- CUSTOM BRANDED DROPDOWNS & SEGMENTED CONTROLS (ZERO NATIVE BLUE WINDOWS SELECTS) ---------- */
.native-select-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.fb-select {
  position: relative;
  width: 100%;
}

.fb-select-trigger {
  width: 100%;
  min-height: 44px;
  padding: 9px 36px 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-ctl);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.fb-select-trigger:hover {
  border-color: var(--accent);
}

.fb-select.is-open .fb-select-trigger,
.fb-select-trigger:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 77, 59, 0.14);
  outline: none;
}

.fb-select-val {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fb-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  pointer-events: none;
  color: var(--accent);
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.fb-select.is-open .fb-select-arrow {
  transform: rotate(180deg);
}

.fb-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 45;
  background: var(--surface);
  border: 1px solid #B5CEBF;
  border-radius: var(--radius-ctl);
  box-shadow: 0 14px 32px rgba(18, 23, 21, 0.14);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.fb-select.is-open .fb-select-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.fb-select-opt {
  width: 100%;
  min-height: 38px;
  padding: 8px 11px;
  border: none;
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: background-color 120ms ease, color 120ms ease;
}

.fb-select-opt:hover {
  background: #EAF1ED;
  color: var(--accent);
}

.fb-select-opt.is-selected {
  background: var(--accent);
  color: #FFFFFF;
}

.fb-select-opt.is-selected::after {
  content: "✓";
  font-family: var(--f-mono);
  font-size: 12px;
  flex-shrink: 0;
}

/* Branded 2-Option Segmented Controls for Configurators (no dropdown needed for 2 choices!) */
.seg-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.seg-btn {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-ctl);
  background: var(--bg);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: border-color 150ms ease, background-color 150ms ease, transform 90ms ease;
}

.seg-btn:hover {
  border-color: var(--accent);
  background: var(--surface);
}

.seg-btn:active {
  transform: scale(0.99);
}

.seg-btn.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 3px 0 0 0 var(--accent);
}

.seg-dot {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  flex-shrink: 0;
  position: relative;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.seg-btn.is-active .seg-dot {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 3px var(--surface);
}

.seg-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.seg-label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.seg-delta {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--accent);
}

/* Ensure open custom select menu isn't clipped inside calc-controls */
.band-calc .calc-controls,
.band-calc .ctrl-box {
  overflow: visible;
}

/* ---------- UX UPGRADE: MOBILE CALL CTA, SCROLL PROGRESS, PROGRESSIVE CALC, SMOOTH ACCORDIONS ---------- */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 100%;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
  will-change: transform;
}

.mobile-call-btn {
  display: none;
}

@media (max-width: 768px) {
  .header-actions .mobile-call-btn {
    display: inline-flex;
    height: 36px;
    padding: 0 13px;
    font-size: 13px;
  }
}

/* Smooth Engineering Accordion (grid-rows transition instead of abrupt display switch) */
.eng-panel {
  display: grid !important;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0;
  transition: grid-template-rows 260ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 220ms ease,
              margin-top 220ms ease;
}

.eng-panel > span,
.eng-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.eng-tab.is-open .eng-panel {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 10px;
}

.eng-sign {
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.eng-tab.is-open .eng-sign {
  transform: rotate(180deg);
}

/* Live Instant Feedback Bar inside Calculator */
.calc-live-bar {
  margin-top: 12px;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid #B5CEBF;
  border-left: 4px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.calc-live-info {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.calc-live-lbl {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-subtle);
}

.calc-live-price {
  font-family: var(--f-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.calc-live-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.calc-adv-toggle {
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  border-radius: var(--radius-ctl);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.calc-adv-toggle:hover,
.calc-adv-toggle[aria-expanded="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.calc-adv-badge {
  font-family: var(--f-mono);
  font-size: 11px;
  padding: 2px 7px;
  background: rgba(30, 77, 59, 0.12);
  color: var(--accent);
  border-radius: var(--radius-frame);
}

.calc-adv-chevron {
  display: inline-block;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.calc-adv-toggle[aria-expanded="true"] .calc-adv-chevron {
  transform: rotate(180deg);
}

/* Smooth grid-rows disclosure panel */
.calc-adv-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 300ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 220ms ease;
}

.calc-adv-panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.calc-adv-inner {
  overflow: hidden;
  min-height: 0;
}

/* Stronger, still restrained reveal scale + translate */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.988);
  transition: opacity 500ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--rev-delay, 0ms);
}

.js-reveal .reveal.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 640px) {
  .calc-live-bar {
    padding: 14px 16px;
  }
  .calc-live-actions {
    width: 100%;
  }
  .calc-adv-toggle {
    flex: 1;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .calc-adv-panel,
  .eng-panel {
    transition: none !important;
  }
}

/* ---------- EDITORIAL SERIF CALIBRATION (LORA 500 DISPLAY + GOLOS TEXT UI) & OPTION PREVIEW MODAL ---------- */
.hero-title {
  font-size: clamp(36px, 4.1vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.sec-title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.lead-band-title {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.012em;
}

/* Keep small UI headings (<= 18px) in crisp Golos Text — Lora reserved strictly for display headlines (>= 20px) */
.eng-trigger span:first-child,
.design-body h3,
.proj-meta h3,
.registry-head h3,
.director-name {
  font-family: var(--f-sans);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.tier-name,
.dir-body h3,
.showroom-left h2,
.opt-modal-title {
  font-weight: 500;
  letter-spacing: -0.01em;
}

.ledger-val,
.tier-price,
.calc-live-price,
.range-val,
.header-phone {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.tier-price {
  font-weight: 600;
}

.addon-hint {
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--ink-muted);
  margin-top: 2px;
}

.addon-foot {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.addon-preview-btn {
  padding: 2px 0;
  border: none;
  background: transparent;
  color: var(--accent);
  font-family: var(--f-sans);
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.addon-preview-btn:hover {
  color: var(--accent-hover);
}

/* Option Visual Preview Lightbox */
.opt-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(18, 23, 21, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.opt-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.opt-modal {
  width: 100%;
  max-width: 560px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-ctl);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  transform: translateY(12px) scale(0.97);
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.opt-modal-backdrop.is-open .opt-modal {
  transform: translateY(0) scale(1);
}

.opt-modal-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #1B211E;
  overflow: hidden;
}

.opt-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.opt-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(18, 23, 21, 0.78);
  color: #FFFFFF;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.opt-modal-body {
  padding: 22px 24px 24px;
}

.opt-modal-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.opt-modal-title {
  margin: 0;
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.opt-modal-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.opt-modal-desc {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-muted);
}

.opt-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------- INTERACTIVE VARIANT SWITCHER BAR (3 FONTS × 3 LAYOUTS — STAGING PREVIEW ONLY) ---------- */
.style-lab-bar {
  background: #141917;
  color: #E8EFEA;
  border-bottom: 1px solid #2A352F;
  font-family: 'Golos Text', sans-serif;
  font-size: 12.5px;
  position: relative;
  z-index: 60;
}

.style-lab-bar.is-collapsed {
  display: none;
}

.style-lab-inner {
  padding-top: 9px;
  padding-bottom: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.lab-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
}

.lab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #53B685;
  flex-shrink: 0;
}

.lab-note {
  font-weight: 400;
  color: #93A39B;
  font-size: 11.5px;
}

.lab-groups {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.lab-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.lab-lbl {
  color: #93A39B;
  font-size: 11.5px;
  margin-right: 2px;
}

.lab-btn {
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid #314039;
  border-radius: 3px;
  background: #1D2622;
  color: #DCE5E0;
  font-family: 'Golos Text', sans-serif;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.lab-btn:hover {
  border-color: #6EA88C;
  color: #FFFFFF;
}

.lab-btn.is-active {
  background: #1E4D3B;
  border-color: #53B685;
  color: #FFFFFF;
}

.lab-hide-btn {
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid #314039;
  border-radius: 3px;
  background: transparent;
  color: #A6B5AD;
  font-family: 'Golos Text', sans-serif;
  font-size: 11.5px;
  cursor: pointer;
}

.lab-hide-btn:hover {
  color: #FFFFFF;
  border-color: #7D9186;
}

.lab-reopen-btn {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #53B685;
  border-radius: 999px;
  background: #141917;
  color: #FFFFFF;
  font-family: 'Golos Text', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

/* Font Variant B: Strict All-Sans (Golos Text — DublDom / Scandinavian minimalism) */
body.font-golos {
  --f-display: 'Golos Text', -apple-system, BlinkMacSystemFont, sans-serif;
}

body.font-golos .hero-title,
body.font-golos .sec-title,
body.font-golos .lead-band-title {
  font-weight: 600;
  letter-spacing: -0.025em;
}

/* Font Variant C: Russian Classic Serif (PT Serif ParaType) */
body.font-ptserif {
  --f-display: 'PT Serif', Georgia, serif;
}

body.font-ptserif .hero-title,
body.font-ptserif .sec-title,
body.font-ptserif .lead-band-title {
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Layout Variant 2: Full-Bleed Cinema Photo Hero + Video Immediately Below */
body.layout-cinema .hero {
  position: relative;
  display: block;
  min-height: min(640px, calc(100svh - 116px));
  overflow: hidden;
  border-bottom: none;
}

body.layout-cinema .hero-right {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto !important;
  z-index: 1;
}

body.layout-cinema .hero-right::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(24, 17, 12, 0.74) 0%, rgba(24, 17, 12, 0.42) 45%, rgba(24, 17, 12, 0.06) 100%);
  pointer-events: none;
}

body.layout-cinema .hero-left {
  position: relative;
  z-index: 2;
  max-width: 720px;
  min-height: min(640px, calc(100svh - 116px));
  border-right: none;
  padding-top: 72px;
  padding-bottom: 84px;
}

body.layout-cinema .hero-left .eyebrow {
  color: #D2F0DF;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

body.layout-cinema .hero-title {
  color: #FFFFFF;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.48);
}

body.layout-cinema .hero-sub {
  color: #F4F1EC;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

body.layout-cinema .hero-cta .btn-outline {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
}

body.layout-cinema .hero-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #FFFFFF;
}

body.layout-cinema .hero-coord {
  left: auto;
  right: 24px;
  z-index: 3;
}

@media (max-width: 768px) {
  .lab-note {
    display: none;
  }
  .style-lab-inner {
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .lab-groups {
    width: 100%;
    gap: 8px;
  }
  .lab-group {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .lab-btn {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 11.5px;
    padding: 4px 8px;
  }
  body.layout-cinema .hero {
    min-height: 0;
  }
  body.layout-cinema .hero-left {
    min-height: 0;
    padding: 36px 18px 42px;
  }
  body.layout-cinema .hero-right::after {
    background: linear-gradient(180deg, rgba(24, 17, 12, 0.62) 0%, rgba(24, 17, 12, 0.40) 54%, rgba(24, 17, 12, 0.66) 100%);
  }
  body.layout-cinema .hero-coord {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 48px 0;
  }
  .band-stone .registry {
    padding: 20px 16px;
  }
  .band-calc .calc-controls,
  .calc-config-grid,
  .addons-grid {
    grid-template-columns: 1fr;
  }
  .band-calc .calc-controls,
  .band-calc .calc-config-row,
  .band-calc .calc-addons {
    padding: 16px;
  }
  .lead-form-card {
    padding: 22px 18px;
  }
}

/* ---------- WARM-UP CTA BARS IN EVERY SECTION, 4-ALBUM 3D VIEWER, 5-VIDEO SWITCHER & SPA POOL SPOTLIGHT ---------- */
.warmup-cta-bar {
  margin-top: 36px;
  padding: 22px 28px;
  background: var(--surface);
  border: 1px solid #C6D5CC;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-ctl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.warmup-cta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 680px;
}

.warmup-cta-text strong {
  font-family: var(--f-sans);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.warmup-cta-text span {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.45;
}

.warmup-cta-btn {
  min-height: 46px;
  padding: 0 24px;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(30, 77, 59, 0.20);
}

.warmup-cta-dark {
  background: #1A221E;
  border-color: #2E3D36;
  border-left-color: #53B685;
}

.warmup-cta-dark .warmup-cta-text strong {
  color: #FFFFFF;
}

.warmup-cta-dark .warmup-cta-text span {
  color: #B4C2BA;
}

.warmup-cta-dark .warmup-cta-btn {
  background: #2B7A58;
  border-color: #53B685;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.warmup-cta-dark .warmup-cta-btn:hover {
  background: #338E67;
}

/* 5-video switcher (4 infographic reviews 2x2 + 1 wide client review) */
.video-switcher-5 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.vid-pill-wide {
  grid-column: 1 / -1;
}

/* 4-card Embedded 3D Project Albums (2x2 grid) */
.design-showcase-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.design-card-album {
  cursor: pointer;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms ease, box-shadow 200ms ease;
}

.design-card-album:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 14px 32px rgba(20, 35, 28, 0.08);
}

.design-card-album .design-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
}

.album-count-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  background: rgba(16, 22, 19, 0.84);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  font-family: var(--f-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  backdrop-filter: blur(4px);
}

.album-card-actions {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Tier soft badge for Econom */
.tier-badge-soft {
  background: #E2ECE6;
  color: var(--accent);
}

/* SPA-Pools Spotlight inside Catalog/Showroom */
.spa-pool-spotlight {
  margin: 20px 0 22px;
  padding: 20px 22px;
  background: linear-gradient(135deg, #16372A 0%, #1F4E3C 100%);
  color: #FFFFFF;
  border-radius: var(--radius-ctl);
  border: 1px solid #2E6852;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.spa-pool-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(83, 182, 133, 0.22);
  border: 1px solid rgba(138, 224, 179, 0.45);
  color: #BDF0D4;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.spa-pool-spotlight h3 {
  margin: 8px 0 6px;
  font-family: var(--f-display);
  font-size: 21px;
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.2;
}

.spa-pool-spotlight p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #DCE9E2;
}

.spa-pool-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.spa-pool-spotlight .btn-primary {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #16372A;
}

.spa-pool-spotlight .btn-primary:hover {
  background: #EBF5EF;
}

.spa-pool-spotlight .btn-outline {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.36);
  color: #FFFFFF;
}

.spa-pool-spotlight .btn-outline:hover {
  background: rgba(255, 255, 255, 0.20);
  border-color: #FFFFFF;
}

.cat-link-featured {
  background: #EAF3EE !important;
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  font-weight: 600;
}

/* Embedded Full-Screen No-Download 3D Album Modal */
.album-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(12, 16, 14, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.album-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.album-modal {
  width: 100%;
  max-width: 1040px;
  max-height: 94vh;
  background: #141917;
  color: #F2F5F3;
  border: 1px solid #2C3832;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  transform: translateY(10px) scale(0.98);
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.album-modal-backdrop.is-open .album-modal {
  transform: translateY(0) scale(1);
}

.album-head {
  padding: 14px 20px;
  border-bottom: 1px solid #26312C;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.album-badge {
  display: block;
  font-size: 11.5px;
  color: #7ED2A7;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.album-title {
  margin: 3px 0 0;
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.2;
}

.album-head-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.album-counter {
  padding: 4px 10px;
  background: #1F2A25;
  border: 1px solid #33443C;
  border-radius: 3px;
  font-size: 12.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #DCE7E1;
}

.album-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #384940;
  background: #1E2823;
  color: #FFFFFF;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.album-close-btn:hover {
  background: #2C3A33;
}

.album-stage {
  position: relative;
  flex: 1;
  min-height: 260px;
  max-height: 58vh;
  background: #0D110F;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px 58px;
}

.album-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 2px;
}

.album-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(20, 28, 24, 0.85);
  color: #FFFFFF;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
}

.album-nav:hover {
  background: var(--accent);
  border-color: #53B685;
}

.album-prev { left: 12px; }
.album-next { right: 12px; }

.album-caption-row {
  padding: 12px 20px;
  border-top: 1px solid #26312C;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.album-caption {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: #D2DDD7;
  max-width: 580px;
}

.album-cta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.album-cta-row .btn-outline {
  background: transparent;
  border-color: #3D5047;
  color: #E3ECE7;
}

.album-cta-row .btn-outline:hover {
  border-color: #7ED2A7;
  color: #FFFFFF;
}

.album-thumbs {
  padding: 10px 20px 14px;
  border-top: 1px solid #202A25;
  background: #101513;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.album-thumb {
  position: relative;
  width: 84px;
  height: 54px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 3px;
  background: #1A221E;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.65;
  transition: opacity 150ms ease, border-color 150ms ease;
}

.album-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.album-thumb span {
  position: absolute;
  bottom: 2px;
  right: 4px;
  padding: 1px 4px;
  background: rgba(0, 0, 0, 0.72);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 600;
  border-radius: 2px;
}

.album-thumb:hover,
.album-thumb.is-active {
  opacity: 1;
  border-color: #53B685;
}

@media (max-width: 860px) {
  .design-showcase-4 {
    grid-template-columns: 1fr;
  }
  .video-switcher-5 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .warmup-cta-bar {
    padding: 18px 16px;
    gap: 14px;
  }
  .warmup-cta-btn {
    width: 100%;
  }
  .album-modal-backdrop {
    padding: 8px;
  }
  .album-head {
    padding: 12px 14px;
  }
  .album-title {
    font-size: 16px;
  }
  .album-stage {
    padding: 8px 10px;
    max-height: 46vh;
  }
  .album-nav {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }
  .album-prev { left: 6px; }
  .album-next { right: 6px; }
  .album-caption-row {
    padding: 10px 14px;
  }
  .album-cta-row {
    width: 100%;
  }
  .album-cta-row .btn {
    flex: 1;
    justify-content: center;
  }
  .album-thumbs {
    padding: 8px 14px 12px;
  }
  .album-thumb {
    width: 68px;
    height: 44px;
  }
}

/* ---------- YANDEX MAPS REVIEWS SHOWCASE (#reviews) & WAREHOUSE MAP ---------- */
.sec-head-compact {
  align-items: flex-end;
}

.reviews-head-action {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.reviews-top-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.reviews-bottom-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 20px;
  align-items: stretch;
}

.reviews-side-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.reviews-side-stack .review-card {
  flex: 1;
}

.review-card {
  background: var(--surface);
  border: 1px solid #DCD6CA;
  border-radius: var(--radius-ctl);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rev-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.rev-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rev-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #E6F0EA;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.rev-author {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.rev-date {
  display: block;
  font-size: 12px;
  color: var(--ink-subtle);
  margin-top: 2px;
}

.rev-stars {
  color: #D48A1C;
  font-size: 14px;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.rev-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.58;
  color: var(--ink-muted);
}

/* Strictly matched to Yandex widget native width (<= 520px) so ZERO gray gap ever appears */
.yandex-widget-card {
  width: 100%;
  max-width: 520px;
  min-height: 520px;
  background: #FFFFFF;
  border: 1px solid #DCD6CA;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
}

.yandex-widget-card iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  display: block;
}

/* Interactive Yandex Map inside #showroom */
.warehouse-map-box {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-ctl);
  overflow: hidden;
  background: var(--surface);
}

.warehouse-map-head {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
}

.warehouse-map-head strong {
  color: var(--ink);
  font-weight: 600;
}

.warehouse-map-head span {
  color: var(--ink-subtle);
}

.warehouse-map-box iframe {
  width: 100%;
  height: 240px;
  border: 0;
  display: block;
}

@media (max-width: 1080px) {
  .reviews-top-3 {
    grid-template-columns: 1fr 1fr;
  }
  .reviews-top-3 .review-card:last-child {
    grid-column: 1 / -1;
  }
  .reviews-bottom-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .yandex-widget-card {
    max-width: 520px;
    min-height: 480px;
  }
  .yandex-widget-card iframe {
    min-height: 480px;
    height: 480px;
  }
  .reviews-side-stack {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .reviews-top-3,
  .reviews-side-stack {
    grid-template-columns: 1fr;
  }
  .reviews-top-3 .review-card:last-child {
    grid-column: auto;
  }
  .reviews-head-action {
    justify-content: flex-start;
  }
  .yandex-widget-card,
  .yandex-widget-card iframe {
    min-height: 440px;
    height: 440px;
  }
}

/* ---------- V8 CALCULATOR UX: SERVICE TOOLTIPS, CATALOG SLICES, LIVE BREAKDOWN, INCLUDED BADGES ---------- */
.srv-opt {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.srv-opt + .srv-opt {
  margin-top: 8px;
}

.srv-opt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.srv-opt-head .check-row {
  margin: 0;
  flex: 1;
  min-width: 0;
}

.srv-opt-sub {
  padding-left: 26px;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--ink-subtle);
}

.help-tip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.help-tip-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--accent);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.help-tip-btn:hover,
.help-tip-wrap.is-open .help-tip-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}

.help-tip-pop {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 270px;
  max-width: min(270px, calc(100vw - 44px));
  padding: 11px 13px;
  background: #141C18;
  color: #EDF3EF;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-ctl);
  box-shadow: 0 12px 28px rgba(14, 22, 18, 0.28);
  font-size: 12px;
  line-height: 1.48;
  font-weight: 400;
  z-index: 45;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.help-tip-wrap.is-open .help-tip-pop,
.help-tip-btn:focus-visible + .help-tip-pop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .help-tip-wrap:hover .help-tip-pop {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: none;
  }
}

.calc-live-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.calc-live-main {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.calc-live-breakdown {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink-muted);
}

.cfg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.cfg-head .ctrl-label {
  margin: 0;
}

.cfg-cat-link {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dashed rgba(30, 77, 59, 0.45);
  line-height: 1.25;
  white-space: nowrap;
  transition: color 140ms ease, border-color 140ms ease;
}

.cfg-cat-link:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
}

.seg-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.seg-cat-inline {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.seg-cat-inline:hover {
  color: var(--accent-hover);
}

.addon-card.is-included {
  border-color: rgba(30, 77, 59, 0.35);
  background: #F2F8F4;
}

.addon-card.is-included input[type="checkbox"] {
  accent-color: var(--accent);
  opacity: 0.7;
  pointer-events: none;
}

.addon-included-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 3px;
  background: rgba(30, 77, 59, 0.12);
  color: var(--accent);
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .help-tip-pop {
    right: -4px;
    width: 245px;
  }
}

/* ---------- V9 INTERACTIVE PHOTO GALLERY OF COMPLETED WORKS (24 REAL PHOTOS + LIGHTBOX) ---------- */
.is-clickable-card {
  cursor: pointer;
}

.is-clickable-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.photo-gallery-block {
  margin-top: 28px;
  padding: 28px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.photo-gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.photo-gallery-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.photo-gallery-head h3 {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}

.gallery-count-pill {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gal-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 1px solid var(--line);
  background: #18201C;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms ease;
}

.gal-tile:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.gal-tile:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.gal-tile picture,
.gal-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gal-tile:hover img {
  transform: scale(1.05);
}

.gal-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 20, 17, 0.04) 42%, rgba(14, 20, 17, 0.84) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 12px;
  pointer-events: none;
}

.gal-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.gal-cat-tag {
  padding: 3px 8px;
  background: rgba(18, 25, 21, 0.72);
  backdrop-filter: blur(4px);
  color: #E7EFEA;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
}

.gal-zoom-ico {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 180ms ease, transform 180ms ease;
}

.gal-tile:hover .gal-zoom-ico {
  opacity: 1;
  transform: scale(1);
}

.gal-tile-cap {
  color: #FFFFFF;
}

.gal-tile-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.28;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.gal-tile-loc {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #D1DED6;
}

.photo-gallery-foot {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.btn[hidden] {
  display: none !important;
}

@media (max-width: 1024px) {
  .photo-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .photo-gallery-block {
    padding: 20px 16px;
  }
  .photo-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .gal-tile-overlay {
    padding: 8px 9px;
  }
  .gal-tile-title {
    font-size: 11.5px;
  }
  .gal-cat-tag {
    font-size: 9px;
    padding: 2px 6px;
  }
  .gal-tile-loc {
    display: block;
    font-size: 10px;
    line-height: 1.22;
    color: #DCE8E1;
  }
  .photo-gallery-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .photo-gallery-foot .btn {
    width: 100%;
    text-align: center;
  }
}
