/* ═══════════════════════════════════════════
   Строй Уют — основные стили
   Бренд: #3E567A (navy), #5C7EB2 (medium), #C0D9FF (light)
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700;800;900&display=swap');

:root {
  --navy:    #3E567A;
  --medium:  #5C7EB2;
  --light:   #C0D9FF;
  --teal:    #0D9488;
  --dark:    #0F1C2E;
  --bg:      #F7F9FC;
  --white:   #ffffff;
  --gray:    #64748B;
  --border:  #E1E8F0;
  --success: #22c55e;
  --accent:  #D4A017;
  --radius:  12px;
  --radius-lg: 20px;
  --shadow:    0 2px 16px rgba(15,28,46,.06);
  --shadow-md: 0 6px 24px rgba(15,28,46,.10);
  --shadow-lg: 0 16px 48px rgba(15,28,46,.14);
  /* Motion */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1);
  /* Glass */
  --glass-bg:     rgba(255,255,255,0.82);
  --glass-border: rgba(255,255,255,0.65);
}

/* ═══ 2026 Keyframe Animations ═══════════════════ */

@keyframes orb-drift {
  0%   { transform: translate(0,0) scale(1) rotate(0deg); }
  25%  { transform: translate(40px,-30px) scale(1.06); }
  50%  { transform: translate(20px, 40px) scale(0.95) rotate(180deg); }
  75%  { transform: translate(-30px,10px) scale(1.04); }
  100% { transform: translate(0,0) scale(1) rotate(360deg); }
}
@keyframes float-gentle {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-18px); }
}
@keyframes shimmer-slide {
  0%   { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(250%) skewX(-15deg); }
}
@keyframes gradient-flow {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}
@keyframes pulse-ring {
  0%   { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(62,86,122,.25); }
  70%  { transform: scale(1); box-shadow: 0 0 0 16px rgba(62,86,122,0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(62,86,122,0); }
}
@keyframes badge-in {
  0%   { opacity:0; transform: translateY(-8px) scale(0.95); }
  100% { opacity:1; transform: none; }
}
@keyframes line-grow {
  0%   { width: 0; opacity: 0; }
  100% { width: 60px; opacity: 1; }
}

/* ═══ Утилиты 2026 ═══════════════════════════════ */

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(15,28,46,.08);
}
.text-gradient {
  background: linear-gradient(135deg, #1E3A5F 0%, #3E7CB8 45%, #0D9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hover-lift {
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
}
.hover-lift:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

/* Reveal animations — переопределяем с spring */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.75s var(--ease-smooth), transform 0.75s var(--ease-smooth);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.75s var(--ease-smooth), transform 0.75s var(--ease-smooth);
}
.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.75s var(--ease-smooth), transform 0.75s var(--ease-smooth);
}
.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1; transform: none;
}
.reveal-scale {
  opacity: 0; transform: scale(0.9);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-spring);
}
.reveal-scale.visible { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: 0.08s !important; }
.reveal-delay-2 { transition-delay: 0.16s !important; }
.reveal-delay-3 { transition-delay: 0.24s !important; }
.reveal-delay-4 { transition-delay: 0.32s !important; }
.reveal-delay-5 { transition-delay: 0.40s !important; }
.reveal-delay-6 { transition-delay: 0.48s !important; }

/* ─── Hero Orbs ──────────────────────────────── */
.hero-orbs {
  position: absolute; inset: 0;
  overflow: hidden; pointer-events: none; z-index: 1;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(72px);
}
.hero-orb--1 {
  width: 700px; height: 700px;
  left: -180px; top: -150px;
  background: radial-gradient(circle, rgba(92,126,178,.7), rgba(62,86,122,.3) 50%, transparent 70%);
  animation: orb-drift 11s ease-in-out infinite;
}
.hero-orb--2 {
  width: 450px; height: 450px;
  right: -80px; bottom: -80px;
  background: radial-gradient(circle, rgba(212,160,23,.75), rgba(212,130,0,.3) 50%, transparent 70%);
  animation: orb-drift 8s ease-in-out infinite;
  animation-delay: -3s;
}
.hero-orb--3 {
  width: 300px; height: 300px;
  left: 45%; top: 10%;
  background: radial-gradient(circle, rgba(255,255,255,.18), rgba(200,220,255,.12) 50%, transparent 70%);
  animation: orb-drift 13s ease-in-out infinite;
  animation-delay: -7s;
}

/* ─── Bento Grid (Умный дом) ─────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 16px;
  margin-bottom: 28px;
}
.bento__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
  cursor: default;
}
.bento__item::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(62,86,122,.03), transparent);
  pointer-events: none;
}
.bento__item:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lg);
}
.bento__item--wide { grid-column: span 2; }
.bento__item--tall { grid-row: span 2; }
.bento__item--primary {
  background: linear-gradient(135deg, #1a3050 0%, var(--navy) 50%, var(--medium) 100%);
  border: none;
}
.bento__item--primary::before { display: none; }
.bento__item--accent {
  background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
  border-color: rgba(212,160,23,.3);
}
.bento__item--teal {
  background: linear-gradient(135deg, #F0FDF4, #CCFBF1);
  border-color: rgba(13,148,136,.2);
}
.bento__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; flex-shrink: 0;
}
.bento__item--primary .bento__icon { background: rgba(255,255,255,.18); color: #fff; }
.bento__item:not(.bento__item--primary) .bento__icon {
  background: rgba(62,86,122,.1); color: var(--navy);
}
.bento__item--accent .bento__icon { background: rgba(212,160,23,.15); color: #92580C; }
.bento__item--teal   .bento__icon { background: rgba(13,148,136,.12); color: var(--teal); }
.bento__big-num {
  font-size: 56px; font-weight: 900; line-height: 1;
  margin-bottom: 4px;
  background: linear-gradient(135deg, var(--navy), var(--medium));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.bento__item--primary .bento__big-num {
  background: linear-gradient(135deg, #fff, rgba(255,255,255,.7));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.bento__title {
  font-size: 17px; font-weight: 700; line-height: 1.3; margin-bottom: 8px;
  color: var(--dark);
}
.bento__desc { font-size: 13px; line-height: 1.65; color: var(--gray); }
.bento__item--primary .bento__title,
.bento__item--primary .bento__desc { color: rgba(255,255,255,.9); }
.bento__item--primary .bento__desc { color: rgba(255,255,255,.7); }
.bento__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px;
  padding: 5px 14px; font-size: 12px; font-weight: 600;
  color: #fff;
  margin-top: auto;
  width: fit-content;
}

/* ─── Section декоративный разделитель ──────── */
.section__title-line {
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--teal));
  border-radius: 2px; margin: 12px auto 0;
  animation: line-grow 0.8s var(--ease-smooth) 0.3s forwards;
}
.section__title-line--left { margin-left: 0; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { overflow-x: hidden; }
body { overflow-x: clip; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Onest', system-ui, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--medium); }
img { max-width: 100%; height: auto; display: block; }

/* ─── Navbar ─────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 200;
  height: 68px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.09);
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  transition: box-shadow .35s ease;
}
.navbar::after { display: none; }
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.11);
}
.navbar.menu-open {
  background: #fff;
  z-index: 9999;
  position: fixed;
  top: 0; left: 0; right: 0;
}
.navbar__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 0;
}
/* Logo */
.navbar__logo {
  display: flex; align-items: center; gap: 9px;
  font-size: 20px; font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -.4px;
  white-space: nowrap; flex-shrink: 0;
  transition: opacity .2s;
}
.navbar__logo:hover { opacity: .88; color: #fff; }
.navbar__logo-icon {
  width: 28px; height: 28px;
  background: rgba(212,160,23,.18);
  border: 1.5px solid rgba(212,160,23,.4);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}
.navbar__logo:hover .navbar__logo-icon {
  background: rgba(212,160,23,.3);
  border-color: rgba(212,160,23,.7);
}
.navbar__logo span { color: #D4A017; }
/* Logo on white */
.navbar__logo { color: #1B2B4B; }
.navbar__logo:hover { color: #1B2B4B; }
.navbar__logo-icon {
  background: rgba(212,160,23,.12);
  border-color: rgba(212,160,23,.4);
}
/* Divider */
.navbar__sep {
  width: 1px; height: 26px;
  background: rgba(0,0,0,.12);
  margin: 0 22px; flex-shrink: 0;
}
/* Nav links */
.navbar__links {
  display: flex; gap: 2px; list-style: none;
  flex: 1; justify-content: center;
}
.navbar__links a {
  color: rgba(27,43,75,.75);
  padding: 7px 13px;
  border-radius: 30px;
  font-size: 13.5px; font-weight: 500;
  letter-spacing: .01em;
  transition: background .18s, color .18s;
  white-space: nowrap;
}
.navbar__links a:hover { background: rgba(27,43,75,.07); color: #1B2B4B; }
.navbar__links a.active {
  background: rgba(212,160,23,.12);
  color: #B8860B;
  border: 1px solid rgba(212,160,23,.3);
}
/* Right actions */
.navbar__right {
  display: flex; align-items: center; gap: 10px;
  margin-left: auto; flex-shrink: 0;
}
.navbar__icon-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(27,43,75,.06);
  border: 1px solid rgba(27,43,75,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(27,43,75,.65);
  transition: background .2s, border-color .2s, color .2s, transform .15s;
  flex-shrink: 0;
}
.navbar__icon-btn:hover {
  color: #fff;
  transform: scale(1.08);
}
.navbar__icon-btn--wa:hover  { background: #25D366; border-color: #25D366; }
.navbar__icon-btn--tg:hover  { background: #229ED9; border-color: #229ED9; }
.navbar__phone {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 18px;
  background: #1B2B4B;
  border: 1.5px solid #1B2B4B;
  color: #fff;
  font-weight: 700; font-size: 14px;
  border-radius: 30px;
  white-space: nowrap;
  transition: background .2s, border-color .2s, transform .15s;
}
.navbar__phone:hover {
  background: #2E3F63;
  border-color: #2E3F63;
  color: #fff;
  transform: translateY(-1px);
}
/* Burger */
.navbar__burger {
  display: none; background: none; border: none;
  cursor: pointer; flex-direction: column; gap: 5px;
  padding: 4px; margin-left: 12px;
}
.navbar__burger span {
  display: block; width: 22px; height: 2px;
  background: rgba(27,43,75,.8); border-radius: 2px;
  transition: transform .25s, opacity .25s, width .25s;
}
.navbar__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.open span:nth-child(2) { opacity: 0; width: 0; }
.navbar__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ───────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--medium) 100%);
  color: var(--white);
  padding: 80px 24px;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('/static/img/hero-bg.jpg') center/cover no-repeat;
  opacity: .18;
}
.hero__content { position: relative; max-width: 700px; margin: 0 auto; }
.hero__title { font-size: clamp(28px, 5vw, 48px); font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.hero__sub   { font-size: 18px; opacity: .9; margin-bottom: 32px; }
.hero__badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero__badge {
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px; padding: 6px 16px; font-size: 14px;
}

/* ─── Buttons ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: none; transition: all .2s; text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--navy), var(--medium));
  color: var(--white);
  box-shadow: 0 4px 18px rgba(62,86,122,.38);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.28) 50%, transparent 60%);
  transform: translateX(-100%) skewX(-15deg);
}
.btn-primary:hover::after { animation: shimmer-slide 0.55s ease forwards; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(62,86,122,.52); color: var(--white); }
.btn-outline {
  background: transparent; color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-white {
  background: var(--white); color: var(--navy);
  box-shadow: var(--shadow);
}
.btn-white:hover { background: var(--light); color: var(--navy); }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ─── Container / Section ────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section--gray { background: var(--bg); }
.section__title {
  font-size: clamp(22px, 3vw, 32px); font-weight: 700;
  color: var(--dark); margin-bottom: 8px;
}
.section__sub { color: var(--gray); font-size: 16px; margin-bottom: 40px; }

/* ─── Cards Grid ─────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
}
.card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow-lg); }
.card__img { width: 100%; height: 200px; object-fit: cover; }
.card__img-placeholder {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, var(--light), #e2eeff);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}
.card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card__tag {
  display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px; color: var(--medium); margin-bottom: 8px;
}
.card__title { font-size: 18px; font-weight: 600; margin-bottom: 8px; line-height: 1.3; }
.card__meta { display: flex; gap: 16px; font-size: 13px; color: var(--gray); margin-bottom: 12px; }
.card__price { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.card__desc { font-size: 14px; color: var(--gray); flex: 1; margin-bottom: 16px; }
.card__footer { margin-top: auto; }

/* ─── Section Tiles (разделы на главной) ─── */
.section-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.section-tile {
  background: var(--white); border-radius: 12px; padding: 32px 24px;
  box-shadow: var(--shadow); text-align: center;
  border: 2px solid transparent;
  transition: border-color .2s, transform .2s;
  text-decoration: none; color: inherit;
}
.section-tile:hover { border-color: var(--medium); transform: translateY(-3px); color: inherit; }
.section-tile__icon { font-size: 40px; margin-bottom: 12px; }
.section-tile__title { font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.section-tile__desc { font-size: 14px; color: var(--gray); }

/* ─── Steps ──────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
.step { text-align: center; padding: 16px; }
.step__num {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--medium));
  color: var(--white); font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.step__title { font-weight: 600; margin-bottom: 6px; }
.step__text  { font-size: 13px; color: var(--gray); }

/* ─── Quiz Form ──────────────────────────── */
.quiz {
  background: var(--white); border-radius: 16px;
  padding: 40px; box-shadow: var(--shadow-lg);
  max-width: 600px; margin: 0 auto;
}
.quiz__step { display: none; }
.quiz__step.active { display: block; }
.quiz__title { font-size: 20px; font-weight: 700; margin-bottom: 24px; color: var(--dark); }
.quiz__progress { display: flex; gap: 6px; margin-bottom: 24px; }
.quiz__progress-dot {
  flex: 1; height: 4px; border-radius: 2px;
  background: var(--border);
}
.quiz__progress-dot.done { background: var(--navy); }
.quiz__options { display: flex; flex-direction: column; gap: 12px; }
.quiz__option {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border: 2px solid var(--border);
  border-radius: var(--radius); cursor: pointer;
  transition: border-color .15s, background .15s;
  font-size: 15px;
}
.quiz__option:hover { border-color: var(--medium); background: #f0f5ff; }
.quiz__option input { display: none; }
.quiz__option.selected { border-color: var(--navy); background: #eef3fc; font-weight: 600; }
.quiz__nav { display: flex; justify-content: space-between; margin-top: 28px; }
.quiz__input {
  width: 100%; padding: 14px 16px; border: 2px solid var(--border);
  border-radius: var(--radius); font-size: 15px; font-family: inherit;
  transition: border-color .15s; outline: none;
  margin-bottom: 12px;
}
.quiz__input:focus { border-color: var(--navy); }
.quiz__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--gray); }
.quiz__consent input { margin-top: 2px; flex-shrink: 0; }
.quiz__success { text-align: center; padding: 20px 0; }
.quiz__success h3 { font-size: 22px; color: var(--navy); margin-bottom: 8px; }

/* ─── Filters ────────────────────────────── */
.filters {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--bg); padding: 20px 24px;
  border-radius: 12px; margin-bottom: 32px;
}
.filter-pills-group { display: flex; flex-direction: column; gap: 8px; }
.filter-group-label { font-size: 11px; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: .06em; }
.filters .filter-pills { margin-bottom: 0; }

/* ─── Object Detail ──────────────────────── */
.gallery { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; border-radius: 12px; overflow: hidden; }
.gallery img { width: 100%; height: 220px; object-fit: cover; cursor: pointer; transition: opacity .2s; }
.gallery img:first-child { grid-column: span 3; height: 360px; }
.gallery img:hover { opacity: .9; }
.object-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 24px 0; }
.object-meta__item { background: var(--bg); padding: 16px; border-radius: 8px; text-align: center; }
.object-meta__val  { font-size: 22px; font-weight: 700; color: var(--navy); }
.object-meta__key  { font-size: 12px; color: var(--gray); margin-top: 4px; }

/* ─── Forms ──────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--gray); margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: 15px; font-family: inherit;
  outline: none; transition: border-color .15s;
}
.form-control:focus { border-color: var(--navy); }
textarea.form-control { min-height: 100px; resize: vertical; }

/* ─── Badge / Status ─────────────────────── */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 12px;
  font-size: 12px; font-weight: 600;
}
.badge-new        { background: #dbeafe; color: #1e40af; }
.badge-in_work    { background: #fef3c7; color: #92400e; }
.badge-negotiation{ background: #ede9fe; color: #5b21b6; }
.badge-deal       { background: #dcfce7; color: #166534; }
.badge-rejected   { background: #fee2e2; color: #991b1b; }
.badge-active     { background: #dcfce7; color: #166534; }
.badge-draft      { background: #f3f4f6; color: #6b7280; }
.badge-sold       { background: #fee2e2; color: #991b1b; }
.badge-reserved   { background: #fef3c7; color: #92400e; }

/* ─── Footer ─────────────────────────────── */
.footer {
  background: var(--dark); color: rgba(255,255,255,.75);
  padding: 48px 24px 24px;
}
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-bottom: 32px; }
.footer__logo { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.footer__logo span { color: var(--light); }
.footer__desc { font-size: 13px; line-height: 1.7; }
.footer__title { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 12px; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer__links a { font-size: 13px; color: rgba(255,255,255,.65); }
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px; font-size: 12px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer__socials { display: flex; gap: 12px; }
.footer__social {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: background .2s;
}
.footer__social:hover { background: var(--medium); color: var(--white); }

/* ─── Blog ───────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.blog-card { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; display:flex; flex-direction:column; }
.blog-card__img { height: 200px; background-size:cover; background-position:center; background-color: var(--light); flex-shrink:0; }
.blog-card__img--placeholder { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' fill='none' viewBox='0 0 24 24' stroke='%23cbd5e1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1' d='M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:center; }
.blog-card__body { padding: 24px; display:flex; flex-direction:column; flex:1; }
.blog-card__meta { display:flex; align-items:center; gap:8px; margin-bottom:10px; flex-wrap:wrap; }
.blog-card__category { background: var(--navy); color:#fff; font-size:11px; font-weight:600; padding:2px 9px; border-radius:20px; }
.blog-card__date  { font-size: 12px; color: var(--gray); }
.blog-card__title { font-size: 18px; font-weight: 600; line-height: 1.3; margin-bottom: 8px; }
.blog-card__title a { color: var(--dark); }
.blog-card__title a:hover { color: var(--navy); }
.blog-card__excerpt { font-size:14px; color:var(--gray); line-height:1.5; margin-bottom:12px; flex:1; }
.blog-card__link { font-size:14px; font-weight:600; color:var(--navy); margin-top:auto; }
.blog-card__desc { font-size: 14px; color: var(--gray); }
.blog-post__content { max-width: 800px; }
.blog-post__content h2 { font-size: 22px; margin: 32px 0 12px; }
.blog-post__content p  { margin-bottom: 14px; line-height: 1.75; }
.blog-post__content ul, .blog-post__content ol { margin: 12px 0 12px 24px; }
.blog-post__content li { margin-bottom: 6px; }

/* ─── Utility ────────────────────────────── */
.text-center { text-align: center; }
.text-navy   { color: var(--navy); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.flex  { display: flex; }
.gap-8 { gap: 8px; }
.gap-16{ gap: 16px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* ─── О компании ─────────────────────────── */
.about-section {
  position: relative;
  overflow: hidden;
}
.about-section__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center right;
  opacity: 0.06;
}
.about-photo {
  border-radius: 16px;
  overflow: hidden;
  height: 220px;
  margin-bottom: 20px;
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-tag {
  display: inline-block;
  background: rgba(62,86,122,.1);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.about-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.about-desc {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
}
.about-trust {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--border);
}
.trust-item__icon {
  width: 40px;
  height: 40px;
  background: rgba(62,86,122,.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
}
.trust-item__title { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.trust-item__sub   { font-size: 13px; color: var(--gray); line-height: 1.4; }

/* ─── Умный дом ──────────────────────────── */
.smart-section {
  position: relative;
  overflow: hidden;
}
.smart-section__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.07;
}
.smart-header { margin-bottom: 40px; }
.smart-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}
.smart-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
}
.smart-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}
.smart-card__icon {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, rgba(62,86,122,.14), rgba(92,126,178,.08));
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  color: var(--navy);
  animation: float-gentle 4s ease-in-out infinite;
}
.smart-card__icon:nth-child(1) { animation-delay: 0s; }
.smart-card__title { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.smart-card__desc  { font-size: 14px; color: var(--gray); line-height: 1.6; }
.smart-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.25);
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #15803d;
  max-width: 560px;
  margin: 0 auto;
}

/* ─── Экскурсия ──────────────────────────── */
.excursion-section { background: var(--white); }
.excursion-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #0d1e35 0%, #1a3560 100%);
  min-height: 320px;
}
.excursion-card__text {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.excursion-card__tag {
  display: inline-block;
  background: rgba(212,160,23,.18);
  border: 1px solid rgba(212,160,23,.35);
  color: #F0C040;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
  width: fit-content;
}
.excursion-card__title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
}
.excursion-card__desc {
  font-size: 15px;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  margin-bottom: 28px;
}
.excursion-card__btn { width: fit-content; }
.excursion-card__visual { position: relative; overflow: hidden; }
.excursion-card__img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #1a3560;
  opacity: .6;
}

/* ─── Уже строите ────────────────────────── */
.already-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.already-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.already-card--gift {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: rgba(212,160,23,.3);
}
.already-card__icon {
  width: 56px; height: 56px;
  background: rgba(62,86,122,.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  margin-bottom: 16px;
}
.already-card__icon--gold { background: rgba(212,160,23,.15); color: #b45309; }
.already-card__tag--gold {
  display: inline-block;
  background: rgba(212,160,23,.2);
  color: #92400e;
  font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px;
  margin-bottom: 10px;
}
.already-card__title { font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.already-card__desc  { font-size: 14px; color: var(--gray); line-height: 1.6; }
.btn-gold {
  background: linear-gradient(135deg, #D4A017, #F0C040);
  color: #1a0e00;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  transition: opacity .2s, transform .15s;
}
.btn-gold:hover { opacity: .9; transform: translateY(-1px); color: #1a0e00; }

/* ─── Отзывы ─────────────────────────────── */
.reviews-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #FFF8EE 0%, #FFFAF3 40%, #F5F9FF 100%);
}
.reviews-section__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center top;
  opacity: 0.12;
}
/* ─── Этапы строительства ─────────────────── */
.steps-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #F0F5FF 0%, #E8F4FD 100%) !important;
}
.steps-section__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.05;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.review-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
}
.review-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-lg);
}
.review-card__stars { color: #F59E0B; font-size: 18px; letter-spacing: 2px; }
.review-card__text  { font-size: 14px; color: var(--gray); line-height: 1.65; flex: 1; font-style: italic; }
.review-card__author { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--navy), var(--medium));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.review-card__name { font-size: 14px; font-weight: 700; color: var(--dark); }
.review-card__meta { font-size: 12px; color: var(--gray); margin-top: 2px; }

/* ─── Калькулятор ────────────────────────── */
/* ─── Ипотечный калькулятор ─────────────────────── */
.calc-section { background: var(--bg); }
.calc-wrap {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: start;
}
.calc-tag {
  display: inline-block;
  background: rgba(62,86,122,.1);
  color: var(--navy);
  font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
  margin-bottom: 16px;
}
.calc-title { font-size: 28px; font-weight: 800; color: var(--dark); line-height: 1.25; margin-bottom: 10px; }
.calc-sub   { font-size: 14px; color: var(--gray); line-height: 1.6; margin-bottom: 20px; }

/* Кнопки программ */
.calc-programs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.calc-program {
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 13px; font-weight: 500;
  background: var(--white); color: var(--gray);
  cursor: pointer; transition: all .2s;
  line-height: 1.2;
}
.calc-program strong { display: block; font-size: 15px; font-weight: 700; }
.calc-program.active, .calc-program:hover {
  background: var(--navy); color: #fff; border-color: var(--navy);
}

/* Ручной ввод ставки */
.calc-rate-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 20px;
}
.calc-rate-label { font-size: 13px; font-weight: 600; color: var(--dark); }
.calc-rate-input-wrap { display: flex; align-items: center; gap: 6px; }
.calc-rate-input {
  width: 56px;
  border: none; outline: none;
  font-size: 20px; font-weight: 700; color: var(--navy);
  text-align: right;
  font-family: inherit;
  background: transparent;
}
.calc-rate-input::-webkit-inner-spin-button,
.calc-rate-input::-webkit-outer-spin-button { opacity: 1; }
.calc-rate-suffix { font-size: 13px; color: var(--gray); white-space: nowrap; }

.calc-note {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--gray);
  line-height: 1.5;
}

/* Поля с number-инпутом + слайдером */
.calc-field { margin-bottom: 20px; }
.calc-field__label {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 600; color: var(--dark);
  margin-bottom: 10px;
}
.calc-field__input-wrap {
  display: flex; align-items: center; gap: 4px;
}
.calc-num-input {
  width: 120px; padding: 4px 8px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; font-weight: 700; color: var(--navy);
  text-align: right; font-family: inherit;
  background: var(--white);
  transition: border-color .2s;
}
.calc-num-input--sm { width: 64px; }
.calc-num-input:focus { outline: none; border-color: var(--navy); }
.calc-num-input::-webkit-inner-spin-button,
.calc-num-input::-webkit-outer-spin-button { opacity: 1; }
.calc-field__suffix { font-size: 13px; color: var(--gray); }
.calc-field__sub { font-size: 12px; color: var(--gray); margin-top: 4px; }

/* Слайдер */
.calc-range {
  width: 100%; appearance: none;
  height: 5px; border-radius: 4px;
  background: linear-gradient(to right, var(--navy) 0%, var(--navy) 20%, var(--border) 20%);
  outline: none; cursor: pointer;
  touch-action: pan-y;
}
.calc-range::-webkit-slider-thumb {
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(62,86,122,.4);
  cursor: pointer;
}
.calc-range::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(62,86,122,.4);
  cursor: pointer;
}
.calc-range-labels {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--gray); margin-top: 6px;
}

/* Карточка результата */
.calc-result {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-top: 4px;
  box-shadow: var(--shadow);
}
.calc-result__label { font-size: 12px; color: var(--gray); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.calc-result__payment {
  font-size: 44px; font-weight: 900;
  color: var(--navy); line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

/* Breakdown бар */
.calc-breakdown { margin-bottom: 16px; }
.calc-breakdown__bar {
  height: 8px; border-radius: 4px;
  background: var(--border);
  overflow: hidden; margin-bottom: 8px;
}
.calc-breakdown__fill {
  height: 100%; background: var(--navy);
  border-radius: 4px;
  transition: width .4s ease;
}
.calc-breakdown__legend {
  display: flex; align-items: center;
  font-size: 12px; color: var(--gray); gap: 4px;
}
.calc-breakdown__dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.calc-breakdown__dot--blue { background: var(--navy); }
.calc-breakdown__dot--gray { background: var(--border); }

.calc-result__details {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  font-size: 12px; color: var(--gray);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.calc-result__details div { display: flex; flex-direction: column; gap: 3px; }
.calc-result__details strong { color: var(--dark); font-size: 14px; font-weight: 700; }

/* ─── Responsive ─────────────────────────── */
@media (max-width: 768px) {
  /* ── Navbar mobile ── */
  .navbar__container { justify-content: space-between; }  /* logo←→burger */
  .navbar__right  { display: none; }
  .navbar__sep    { display: none; }
  .navbar__burger { display: flex; margin-left: 0; }
  .navbar__links  { flex: unset; display: none; }
  /* ── Full-screen mobile menu ── */
  .navbar__links.open {
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    background: #fff;
    display: flex; flex-direction: column;
    z-index: 199;
    padding: 0; gap: 0;
    overflow-y: auto;
    box-shadow: none; border: none;
    animation: mobileMenuIn .3s cubic-bezier(.34,1.06,.64,1);
  }
  @keyframes mobileMenuIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  /* Nav items */
  .navbar__links.open > li:not(.navbar__mobile-contacts):not(.navbar__mobile-cta) {
    border-bottom: 1px solid #f1f5f9;
  }
  .navbar__links.open > li:not(.navbar__mobile-contacts):not(.navbar__mobile-cta) > a {
    display: flex; align-items: center; gap: 10px;
    padding: 17px 28px;
    font-size: 17px; font-weight: 600; color: #1B2B4B;
    background: none; border-radius: 0;
    text-decoration: none;
    transition: background .15s;
  }
  .navbar__links.open > li:not(.navbar__mobile-contacts):not(.navbar__mobile-cta) > a::before {
    font-style: normal; font-size: 20px; flex-shrink: 0;
  }
  .navbar__links.open > li:not(.navbar__mobile-contacts):not(.navbar__mobile-cta) > a::after {
    content: '›'; margin-left: auto;
    color: #d1d9e6; font-size: 24px; font-weight: 300; line-height: 1;
    transition: transform .15s;
  }
  .navbar__links.open > li:not(.navbar__mobile-contacts):not(.navbar__mobile-cta) > a:active { background: #f8fafc; }
  .navbar__links.open > li:not(.navbar__mobile-contacts):not(.navbar__mobile-cta) > a.active { color: #B8860B; background: #fffbf0; }
  .navbar__links.open > li:not(.navbar__mobile-contacts):not(.navbar__mobile-cta) > a.active::after { color: #D4A017; }
  /* Иконки */
  .navbar__links.open > li > a[href="/stroitelstvo"]::before    { content: "🏗"; }
  .navbar__links.open > li > a[href="/gotovye-obekty"]::before  { content: "🏠"; }
  .navbar__links.open > li > a[href="/zemelnye-uchastki"]::before { content: "🌳"; }
  .navbar__links.open > li > a[href="/kvartiry"]::before        { content: "🏢"; }
  .navbar__links.open > li > a[href="/blog"]::before            { content: "📝"; }
  /* CTA кнопка */
  .navbar__links.open > .navbar__mobile-cta { display: block !important; }
  .navbar__mobile-cta { padding: 16px 24px 8px; }
  .navbar__mobile-cta a {
    display: flex !important; align-items: center !important; justify-content: center !important;
    padding: 15px 20px !important;
    background: linear-gradient(135deg, #1B2B4B, #2E4A7A) !important;
    color: #fff !important; border-radius: 12px !important;
    font-size: 16px !important; font-weight: 700 !important;
    text-decoration: none;
  }
  .navbar__mobile-cta a::before,
  .navbar__mobile-cta a::after { content: none !important; }
  /* Контакты */
  .navbar__mobile-contacts {
    display: flex !important;
    flex-wrap: wrap; gap: 10px;
    margin-top: auto;
    padding: 16px 24px 40px;
    border-top: 1px solid #f1f5f9;
  }
  .navbar__mobile-contacts a {
    display: flex; align-items: center; gap: 8px;
    padding: 13px 16px; border-radius: 12px;
    font-size: 14px; font-weight: 600;
    text-decoration: none; justify-content: center;
  }
  .navbar__mobile-contacts a.--phone {
    flex: 0 0 100%;
    background: #1B2B4B; color: #fff !important;
    font-size: 16px; padding: 15px 20px;
    border: none;
  }
  .navbar__mobile-contacts a.--wa {
    flex: 1; background: #ecfdf5; color: #166534;
    border: 1px solid #a7f3d0;
  }
  .navbar__mobile-contacts a.--tg {
    flex: 1; background: #eff6ff; color: #1e40af;
    border: 1px solid #bfdbfe;
  }
  /* ── Layout ── */
  .hero         { padding: 48px 20px; }
  .section      { padding: 40px 0; }
  .cards-grid   { grid-template-columns: 1fr; }
  .sections-grid { grid-template-columns: 1fr 1fr; }
  .hero-full__title { font-size: 28px; line-height: 1.2; }
  .hero-full__sub   { font-size: 15px; }
  .hero-full__actions { flex-direction: column; align-items: center; gap: 10px; }
  .btn-hero-primary, .btn-hero-outline { width: 100%; max-width: 280px; justify-content: center; }
  .stats-bar__inner { flex-wrap: wrap; gap: 0; }
  .stat-item    { width: 50%; padding: 16px 12px; }
  .stat-item__sep { display: none; }
  .advantages__grid { grid-template-columns: 1fr; }
  .quiz-wrap    { grid-template-columns: 1fr; }
  .quiz-left    { padding: 32px 24px; }
  .quiz         { padding: 24px 20px; }
  .gallery      { grid-template-columns: 1fr 1fr; }
  .gallery img:first-child { grid-column: span 2; height: 220px; }
  .gallery img  { height: 130px; }
  /* Hero полный экран на мобиле */
  .hero-full { min-height: 100svh; }
  /* О компании mobile */
  .about-grid   { grid-template-columns: 1fr; gap: 32px; }
  .about-title  { font-size: 24px; }
  /* Умный дом mobile */
  .smart-grid   { grid-template-columns: 1fr; gap: 16px; }
  .smart-card   { text-align: left; display: flex; align-items: flex-start; gap: 16px; padding: 20px; }
  .smart-card__icon { width: 48px; height: 48px; flex-shrink: 0; margin: 0; }
  .smart-card__title { font-size: 15px; margin-bottom: 6px; }
  /* Экскурсия mobile */
  .excursion-card { grid-template-columns: 1fr; }
  .excursion-card__text { padding: 32px 24px; }
  .excursion-card__title { font-size: 22px; }
  .excursion-card__visual { display: none; }
  /* Уже строите mobile */
  .already-grid { grid-template-columns: 1fr; }
  /* Bento mobile */
  .bento {
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto !important;
  }
  .bento__item--wide { grid-column: span 1 !important; }
  .bento__item--tall  { grid-row:    span 1 !important; }
  /* Отзывы mobile */
  .reviews-grid { grid-template-columns: 1fr; }
  /* Калькулятор mobile */
  .calc-wrap { grid-template-columns: 1fr; gap: 28px; }
  .calc-title { font-size: 24px; }
  .calc-result__payment { font-size: 36px; }
  .calc-result__details { grid-template-columns: 1fr 1fr; gap: 10px; }
  .calc-num-input { width: 100px; }
  .calc-num-input--sm { width: 56px; }
  .calc-rate-input { width: 48px; font-size: 18px; }
  .calc-breakdown__legend { flex-wrap: wrap; gap: 6px; }
}

/* ═══════════════════════════════════════════
   SECTION HERO (разделы: строительство, готовые, участки)
   ═══════════════════════════════════════════ */

.section-hero {
  position: relative;
  height: 68vh;
  min-height: 480px;
  max-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, #0d1e35 0%, #1a3560 50%, #0f2340 100%);
}
.section-hero__bg {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  will-change: transform;
  transform: scale(1.08);
  transition: transform 8s ease;
}
.section-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,20,40,.75) 0%,
    rgba(20,40,80,.55) 60%,
    rgba(10,20,40,.7) 100%
  );
}
.section-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 720px;
}
.section-hero__badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.section-hero__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.section-hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
  line-height: 1.5;
}
.section-hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.section-hero__scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.5);
  animation: bounceDown 2s infinite;
}
@keyframes bounceDown {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* Stats strip под hero */
.section-stats {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(62,86,122,.07);
}
.section-stats__inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  padding: 0;
}
.section-stat {
  flex: 1;
  text-align: center;
  padding: 20px 24px;
}
.section-stat__num {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}
.section-stat__label {
  font-size: 12px;
  color: var(--gray);
  margin-top: 4px;
  font-weight: 500;
}
.section-stat__sep {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: 12px 0;
}

/* Included grid (что входит) */
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.included-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px;
  transition: transform .25s, box-shadow .25s;
}
.included-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.included-card__icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.included-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.included-card__desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .section-hero { height: 55vh; min-height: 380px; }
  .section-hero__bg { inset: 0; transform: none !important; }
  .section-stats__inner { flex-wrap: wrap; }
  .section-stat { width: 50%; padding: 14px 12px; }
  .section-stat__sep { display: none; }
  .section-stat__num { font-size: 17px; }
  .included-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ═══════════════════════════════════════════
   HERO FULLSCREEN
   ═══════════════════════════════════════════ */

.hero-full {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, #0d1e35 0%, #1a3560 50%, #0f2340 100%);
}
.hero-full__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero-full:hover .hero-full__bg { transform: scale(1); }
.hero-full__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(25,45,74,.72) 0%, rgba(62,86,122,.55) 100%);
}
.hero-full__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 780px;
}
.hero-full__badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero-full__title {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-full__sub {
  font-size: 18px;
  color: rgba(255,255,255,.85);
  margin-bottom: 36px;
  font-weight: 400;
}
.hero-full__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  padding: 15px 32px;
  background: #D4A017;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 20px rgba(212,160,23,.4);
}
.btn-hero-primary:hover { background: #b8880f; transform: translateY(-1px); text-decoration: none; }
.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,.45);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s;
}
.btn-hero-outline:hover { background: rgba(255,255,255,.22); text-decoration: none; }
.hero-full__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  z-index: 2;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════ */

.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(62,86,122,.08);
}
.stats-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 24px 0;
}
.stat-item {
  text-align: center;
  padding: 0 40px;
}
.stat-item__num {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat-item__label {
  font-size: 12px;
  color: var(--gray);
  margin-top: 4px;
}
.stat-item__sep {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   SECTIONS GRID (4 карточки с фото)
   ═══════════════════════════════════════════ */

.sections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
@media (min-width: 900px) {
  .sections-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

.section-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 280px;
  display: block;
  text-decoration: none;
  cursor: pointer;
}
.section-card--tall { height: 280px; }
.section-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .5s ease;
}
.section-card:hover .section-card__img { transform: scale(1.06); }
.section-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(25,45,74,.85) 0%, rgba(25,45,74,.25) 60%, transparent 100%);
  transition: background .3s;
}
.section-card:hover .section-card__overlay {
  background: linear-gradient(0deg, rgba(25,45,74,.9) 0%, rgba(25,45,74,.4) 60%, transparent 100%);
}
.section-card--muted .section-card__overlay {
  background: linear-gradient(0deg, rgba(25,45,74,.9) 0%, rgba(25,45,74,.5) 100%);
}
.section-card__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  z-index: 2;
}
.section-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: #fff;
  transition: background .2s;
}
.section-card:hover .section-card__icon { background: rgba(212,160,23,.8); }
.section-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.section-card__desc {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  margin-bottom: 10px;
  line-height: 1.4;
}
.section-card__link {
  font-size: 13px;
  font-weight: 600;
  color: #D4A017;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s, transform .25s;
}
.section-card:hover .section-card__link { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════
   SECTION HEADER
   ═══════════════════════════════════════════ */

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-header__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}
.section__sub {
  color: var(--gray);
  font-size: 16px;
  margin-top: -8px;
  margin-bottom: 8px;
}

/* ═══════════════════════════════════════════
   ADVANTAGES
   ═══════════════════════════════════════════ */

/* Градиентный фон для секции преимуществ — даёт glass-эффект */
.advantages {
  background: linear-gradient(145deg, #EEF4FF 0%, #F0F7FF 50%, #EAF3FF 100%) !important;
}

.advantages__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}
@media (min-width: 640px) {
  .advantages__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .advantages__grid { grid-template-columns: repeat(3, 1fr); }
}
.adv-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
}
.adv-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px) scale(1.01);
}
.adv-card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(62,86,122,.12), rgba(92,126,178,.06));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.adv-card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.adv-card__desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════
   QUIZ SECTION
   ═══════════════════════════════════════════ */

.quiz-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--navy) 100%);
}
.quiz-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.quiz-left { padding: 24px 0; }
.quiz-right { padding: 8px 0; }
@media (min-width: 900px) {
  .quiz-wrap { grid-template-columns: 1fr 480px; gap: 48px; }
  .quiz-left { padding: 40px 0; }
}
.quiz {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.quiz__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--gray);
  margin-bottom: 8px;
}
.quiz__q {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.quiz__options { display: flex; flex-direction: column; gap: 8px; }
.quiz__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
}
.quiz__option input { display: none; }
.quiz__option:hover { border-color: var(--navy); background: #f0f4f9; }
.quiz__option input:checked + span,
.quiz__option.selected { color: var(--navy); }
.quiz__option:has(input:checked) {
  border-color: var(--navy);
  background: #eef3fa;
}
.quiz__step { display: none; }
.quiz__step.active { display: block; }
.quiz__input {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
  width: 100%;
}
.quiz__input:focus { border-color: var(--navy); }
.quiz__btn {
  padding: 14px;
  background: var(--navy);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: background .2s;
  font-family: inherit;
}
.quiz__btn:hover { background: var(--dark); }
.quiz__progress {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 20px;
  overflow: hidden;
}
.quiz__progress-bar {
  height: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: width .3s ease;
}

/* ═══════════════════════════════════════════
   REDESIGN v2 — Premium Visual System
   ═══════════════════════════════════════════ */

/* navbar already defined above */

/* ─── Shimmer Buttons ────────────────────── */
.btn-primary {
  background: linear-gradient(90deg, #3a5275 0%, #5a7caf 30%, #7aa0d4 50%, #5a7caf 70%, #3a5275 100%) !important;
  background-size: 250% 100% !important;
  background-position: 0% 0 !important;
  transition: background-position .6s ease, transform .15s, box-shadow .2s, color .1s !important;
  color: #fff !important;
  border-radius: 6px !important;
}
.btn-primary:hover {
  background-position: 100% 0 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(62,86,122,.55) !important;
  color: #fff !important;
}
.btn-hero-primary {
  position: relative;
  background: linear-gradient(90deg, #c49010 0%, #e0b52a 40%, #f5d060 55%, #e0b52a 70%, #c49010 100%);
  background-size: 250% 100%;
  background-position: 0% 0;
  transition: background-position .6s ease, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 22px rgba(212,160,23,.45);
  color: #1a1000;
  font-weight: 700;
}
.btn-hero-primary:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212,160,23,.6);
  color: #1a1000;
  text-decoration: none;
}

/* ─── Ticker ─────────────────────────────── */
.ticker {
  background: #12223a;
  padding: 11px 0;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.ticker__track {
  display: inline-flex;
  animation: tickerScroll 32s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  color: rgba(255,255,255,.6);
  font-size: 13px;
  font-weight: 500;
  padding: 0 40px;
  letter-spacing: .02em;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ticker__item::before {
  content: '★';
  color: #D4A017;
  font-size: 10px;
}
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Scroll Reveal ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity .7s ease, transform .7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity .7s ease, transform .7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }
.reveal-delay-6 { transition-delay: .6s; }

/* ─── Dark CTA Section ───────────────────── */
.dark-cta {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background: #0d1e31;
}
.dark-cta__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .18;
  transition: transform 10s ease;
}
.dark-cta:hover .dark-cta__bg { transform: scale(1.04); }
.dark-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13,30,49,.9) 0%, rgba(30,60,100,.75) 100%);
}
.dark-cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}
.dark-cta__tag {
  display: inline-block;
  background: rgba(212,160,23,.18);
  border: 1px solid rgba(212,160,23,.35);
  color: #D4A017;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.dark-cta__title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -.5px;
}
.dark-cta__sub {
  color: rgba(255,255,255,.6);
  font-size: 16px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.dark-cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── Gallery Slider (object detail) ────── */
.gallery-slider {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0d1e31;
  aspect-ratio: 16/9;
  max-height: 520px;
  cursor: grab;
  user-select: none;
}
.gallery-slider:active { cursor: grabbing; }
.gallery-slider__track {
  display: flex;
  height: 100%;
  transition: transform .38s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.gallery-slider__slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
}
.gallery-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  pointer-events: auto;
  -webkit-user-drag: none;
}
.gallery-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: background .2s, transform .15s;
  padding: 0;
}
.gallery-slider__btn:hover {
  background: rgba(255,255,255,.36);
  transform: translateY(-50%) scale(1.08);
}
.gallery-slider__prev { left: 14px; }
.gallery-slider__next { right: 14px; }
.gallery-slider__counter {
  position: absolute;
  bottom: 14px;
  right: 16px;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 12px;
  z-index: 4;
}
.gallery-slider__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 4;
  padding: 4px 8px;
  background: rgba(0,0,0,.3);
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
.gallery-slider__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  transition: background .2s, transform .2s, width .2s;
  cursor: pointer;
  flex-shrink: 0;
}
.gallery-slider__dot.active {
  background: #fff;
  width: 18px;
  border-radius: 3px;
}
.gallery-slider--single .gallery-slider__btn,
.gallery-slider--single .gallery-slider__counter,
.gallery-slider--single .gallery-slider__dots { display: none; }

/* ─── Section light ──────────────────────── */
.section--light { background: #f4f7fc; }

/* ─── Adv cards enhanced ─────────────────── */
.adv-card {
  border: 1px solid #e8edf5;
  box-shadow: 0 2px 10px rgba(62,86,122,.06);
  transition: box-shadow .3s, transform .3s, border-color .3s;
}
.adv-card:hover {
  border-color: rgba(92,126,178,.3);
  box-shadow: 0 10px 36px rgba(62,86,122,.14);
  transform: translateY(-4px);
}
.adv-card__icon { background: linear-gradient(135deg, #eef3fc, #dde9fd); }

/* ─── Step numbers enhanced ──────────────── */
.step__num {
  background: linear-gradient(90deg, #3a5275 0%, #5a7caf 50%, #7aa0d4 100%);
  background-size: 250% 100%;
  background-position: 0% 0;
  box-shadow: 0 4px 14px rgba(62,86,122,.3);
  transition: background-position .5s ease, box-shadow .3s;
}
.step:hover .step__num {
  background-position: 100% 0;
  box-shadow: 0 6px 20px rgba(62,86,122,.45);
}

/* ─── Object cards enhanced ──────────────── */
.card {
  border: 1px solid #eaeff7;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(62,86,122,.16);
  border-color: rgba(92,126,178,.25);
}
.card__img { transition: transform .5s ease; }
.card:hover .card__img { transform: scale(1.04); }

/* ─── Section header link ────────────────── */
.section-header__link {
  background: linear-gradient(90deg, #3a5275 0%, #5a7caf 50%, #7aa0d4 100%);
  background-size: 250% 100%;
  background-position: 0% 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  transition: background-position .5s ease;
}
.section-header__link:hover { background-position: 100% 0; }

/* ─── Mobile responsive (slider) ────────── */
@media (max-width: 768px) {
  .gallery-slider { aspect-ratio: 4/3; max-height: 300px; }
  .gallery-slider__btn { width: 36px; height: 36px; font-size: 18px; }
  .dark-cta { padding: 56px 0; }
  .ticker__item { padding: 0 24px; }
  .dark-cta__actions { flex-direction: column; align-items: center; }
}

/* ─── Legal pages ────────────────────────── */
.legal-page { padding: 60px 0 80px; }
.legal-page__inner {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 48px 56px;
  box-shadow: 0 4px 24px rgba(25,45,74,.07);
}
.legal-page__inner h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #192d4a;
  margin-bottom: 6px;
}
.legal-page__date {
  color: #94a3b8;
  font-size: 0.875rem;
  margin-bottom: 32px;
}
.legal-page__inner h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #192d4a;
  margin-top: 36px;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e8edf5;
}
.legal-page__inner p {
  color: #374151;
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-page__inner ul {
  color: #374151;
  line-height: 1.75;
  padding-left: 24px;
  margin-bottom: 14px;
}
.legal-page__inner ul li { margin-bottom: 6px; }
.legal-page__inner a { color: #3a5a8a; text-decoration: underline; }
.legal-page__inner a:hover { color: #d4a017; }
.legal-page__inner strong { color: #192d4a; font-weight: 600; }
.legal-page__back {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e8edf5;
}
.legal-page__back a {
  color: #3a5a8a;
  font-weight: 600;
  text-decoration: none;
  transition: color .15s;
}
.legal-page__back a:hover { color: #d4a017; }

/* Footer legal links */
.footer__legal-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__legal-links a {
  color: rgba(255,255,255,.5);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color .15s;
}
.footer__legal-links a:hover { color: rgba(255,255,255,.85); }

/* Footer bottom two-column layout */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 640px) {
  .legal-page__inner { padding: 28px 20px; }
  .legal-page__inner h1 { font-size: 1.5rem; }
  .footer__legal-links { justify-content: center; }
  .footer__bottom { justify-content: center; text-align: center; }
}

/* ═══════════════════════════════════════════
   2026 UPGRADE — scroll progress, section themes,
   blog magazine, reading progress, filter pills
   ═══════════════════════════════════════════ */

/* ─── 1. Scroll Progress Bar ─────────────── */
#scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 0%; height: 3px;
  background: linear-gradient(90deg, #D4A017, #5C7EB2, #0D9488);
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ─── 2. Noise texture overlay ───────────── */
.noise-overlay::after {
  content: '';
  position: absolute; inset: 0; z-index: 3;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ─── 3. Section accent color themes ─────── */
/* Each catalog page overrides these vars in {% block head %} */
:root {
  --section-accent: var(--navy);
  --section-accent-glow: rgba(62,86,122,.35);
  --section-overlay-from: rgba(10,20,40,.78);
  --section-overlay-to:   rgba(20,40,80,.55);
  --section-stat-accent: var(--navy);
}

/* Construction — steel blue */
.theme-construction {
  --section-accent: #1E3A5F;
  --section-accent-glow: rgba(30,58,95,.4);
  --section-overlay-from: rgba(5,15,30,.82);
  --section-overlay-to:   rgba(15,35,65,.6);
  --section-stat-accent: #1E3A5F;
}
/* Ready homes — warm amber */
.theme-homes {
  --section-accent: #B45309;
  --section-accent-glow: rgba(180,83,9,.35);
  --section-overlay-from: rgba(20,12,4,.80);
  --section-overlay-to:   rgba(40,24,8,.55);
  --section-stat-accent: #B45309;
}
/* Land — forest green */
.theme-land {
  --section-accent: #14532D;
  --section-accent-glow: rgba(20,83,45,.35);
  --section-overlay-from: rgba(4,18,10,.82);
  --section-overlay-to:   rgba(8,36,20,.55);
  --section-stat-accent: #166534;
}
/* Apartments — deep teal */
.theme-apartments {
  --section-accent: #0F4C5C;
  --section-accent-glow: rgba(15,76,92,.4);
  --section-overlay-from: rgba(4,16,22,.82);
  --section-overlay-to:   rgba(8,40,55,.55);
  --section-stat-accent: #0F766E;
}

/* Apply theme colors to hero overlay */
.section-hero.themed .section-hero__overlay {
  background: linear-gradient(
    160deg,
    var(--section-overlay-from) 0%,
    var(--section-overlay-to) 60%,
    var(--section-overlay-from) 100%
  );
}

/* Apply to btn-hero-primary for themed pages */
.theme-homes .btn-hero-primary    { background: #D97706; box-shadow: 0 4px 20px rgba(217,119,6,.4); }
.theme-homes .btn-hero-primary:hover { background: #B45309; }
.theme-land .btn-hero-primary     { background: #16A34A; box-shadow: 0 4px 20px rgba(22,163,74,.4); }
.theme-land .btn-hero-primary:hover  { background: #15803D; }
.theme-apartments .btn-hero-primary  { background: #0F766E; box-shadow: 0 4px 20px rgba(15,118,110,.4); }
.theme-apartments .btn-hero-primary:hover { background: #0D5C55; }

/* Stat accent per theme */
.theme-construction .section-stat__num { color: #2D4A6B; }
.theme-homes        .section-stat__num { color: #92400E; }
.theme-land         .section-stat__num { color: #166534; }
.theme-apartments   .section-stat__num { color: #0F766E; }

/* Included card top border accent per theme */
.theme-homes        .included-card:hover { border-color: #F59E0B; }
.theme-land         .included-card:hover { border-color: #22C55E; }
.theme-apartments   .included-card:hover { border-color: #14B8A6; }
.theme-construction .included-card:hover { border-color: #5C7EB2; }

/* ─── 4. Card image zoom on hover ─────────── */
.card { overflow: hidden; }
.card__img {
  transition: transform 0.55s var(--ease-smooth);
  will-change: transform;
}
.card:hover .card__img { transform: scale(1.07); }

/* ─── 5. Filter pills ────────────────────── */
.filter-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 28px;
}
.filter-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 30px;
  font-size: 13px; font-weight: 500; color: var(--gray);
  cursor: pointer;
  transition: all .2s var(--ease-smooth);
  white-space: nowrap;
  user-select: none;
}
.filter-pill:hover {
  border-color: var(--navy); color: var(--navy);
  background: rgba(62,86,122,.06);
}
.filter-pill.active {
  background: var(--navy); color: #fff;
  border-color: var(--navy);
  box-shadow: 0 2px 12px var(--section-accent-glow);
}
.filter-pill__icon { font-size: 15px; }

/* ─── 6. Blog magazine layout ────────────── */
.blog-magazine { display: flex; flex-direction: column; gap: 36px; }

.blog-featured {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  min-height: 360px;
  text-decoration: none;
  color: inherit;
  transition: transform .35s var(--ease-spring), box-shadow .35s ease;
}
.blog-featured:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: inherit; }
.blog-featured__img {
  background-size: cover; background-position: center;
  background-color: var(--light);
  min-height: 360px;
  position: relative;
  overflow: hidden;
}
.blog-featured__img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(62,86,122,.08) 0%, transparent 60%);
}
.blog-featured__body {
  padding: 40px 36px;
  display: flex; flex-direction: column;
  justify-content: center;
}
.blog-featured__label {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(62,86,122,.1); color: var(--navy);
  font-size: 11px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; padding: 4px 12px;
  border-radius: 20px; margin-bottom: 16px;
  width: fit-content;
}
.blog-featured__title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800; color: var(--dark);
  line-height: 1.25; margin-bottom: 14px;
}
.blog-featured__excerpt {
  font-size: 15px; color: var(--gray);
  line-height: 1.65; margin-bottom: 24px;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.blog-featured__meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--gray); margin-bottom: 20px;
}
.blog-featured__meta span { display: flex; align-items: center; gap: 4px; }
.blog-featured__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--navy);
  transition: gap .2s;
}
.blog-featured:hover .blog-featured__cta { gap: 12px; }

.blog-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* ─── 7. Reading progress bar ────────────── */
#reading-progress {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 0%; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--teal));
  pointer-events: none;
}

/* ─── 8. Article typography ──────────────── */
.article-body {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.82;
  color: #2D3748;
  overflow-x: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
  font-size: 14px;
  margin-bottom: 18px;
}
.article-body table th,
.article-body table td {
  border: 1px solid var(--border);
  padding: 8px 12px;
  text-align: left;
}
.article-body table th { background: rgba(62,86,122,.06); font-weight: 700; }
.article-body pre, .article-body code {
  white-space: pre-wrap;
  word-break: break-all;
  font-size: 13px;
}
.article-body iframe, .article-body embed, .article-body video {
  max-width: 100%;
  height: auto;
}
.article-body h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800; color: var(--dark);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.article-body h3 {
  font-size: 18px; font-weight: 700;
  color: var(--dark); margin: 28px 0 12px;
}
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol {
  margin: 0 0 18px 24px;
}
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--dark); }
.article-body blockquote {
  border-left: 4px solid var(--navy);
  padding: 16px 20px;
  background: rgba(62,86,122,.05);
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
  font-style: italic; color: var(--gray);
}
.article-body img {
  width: 100%; border-radius: 12px;
  margin: 24px 0; box-shadow: var(--shadow-md);
}

/* Post header */
.post-header { margin-bottom: 36px; }
.post-meta {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap; margin-bottom: 16px;
  font-size: 13px; color: var(--gray);
}
.post-meta__cat {
  background: var(--navy); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .06em;
}
.post-meta__sep { color: var(--border); }
.reading-time {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--gray);
}

/* ─── 9. Scrollytelling Steps ─────────────────────── */
.steps-scroll-wrap { position: relative; }

.steps-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 28px;
}

/* Background layers (one per step) */
.steps-scroll-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.steps-bg-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .9s ease;
  will-change: opacity;
}
.steps-bg-item.active { opacity: 1; }

/* Dark gradient overlay */
.steps-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(4,12,26,.82) 0%,
    rgba(10,24,52,.76) 100%
  );
  z-index: 1;
}

/* Top progress bar */
.steps-scroll-progress {
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #3b82f6, #93c5fd);
  transition: width .45s cubic-bezier(.4,0,.2,1);
  z-index: 10;
  border-radius: 0 2px 2px 0;
}

/* Header */
.steps-scroll-header {
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}
.steps-scroll-header h2 {
  color: #fff;
  font-size: clamp(20px, 3.5vw, 32px);
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -.025em;
}
.steps-scroll-header p {
  color: rgba(255,255,255,.45);
  font-size: 14px;
  letter-spacing: .01em;
}

/* Stage */
.steps-scroll-stage {
  position: relative;
  width: 100%;
  max-width: 500px;
  flex: 1;
  z-index: 2;
}

/* Ghost big number — vertically centered, right side */
.step-sc__ghost {
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  font-size: clamp(140px, 35vw, 260px);
  font-weight: 900;
  color: rgba(255,255,255,.07);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: -.05em;
}

/* Step item */
.step-sc {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(32px) scale(.97);
  transition: opacity .5s cubic-bezier(.4,0,.2,1),
              transform .5s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  padding: 0 8px;
}
.step-sc.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Small step number above title */
.step-sc__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 22px;
  font-variant-numeric: tabular-nums;
}

/* Intro (step 0) — bigger title, no ghost */
.step-sc--intro .step-v__title {
  font-size: clamp(44px, 11vw, 72px) !important;
  letter-spacing: -.04em;
}
.step-sc--intro .step-v__text {
  font-size: 18px !important;
  color: rgba(255,255,255,.5) !important;
  margin-top: 4px;
}

/* Big gradient title */
.step-sc .step-v__title {
  font-size: clamp(38px, 9vw, 58px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.0;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.step-sc .step-v__text {
  font-size: 16px;
  max-width: 320px;
  color: rgba(255,255,255,.52);
  line-height: 1.75;
}

/* Nav */
.steps-scroll-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

/* Pill dots */
.steps-scroll-dots { display: flex; gap: 6px; align-items: center; }
.steps-scroll-dot {
  width: 20px; height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,.2);
  border: none; cursor: pointer; padding: 0;
  transition: width .3s ease, background .3s ease;
}
.steps-scroll-dot.active {
  width: 36px;
  background: #3b82f6;
}

/* Scroll hint */
.steps-scroll-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.25);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  animation: hintBounce 2.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes hintBounce {
  0%,100% { opacity: .3; transform: translateX(-50%) translateY(0); }
  50%      { opacity: .55; transform: translateX(-50%) translateY(7px); }
}

/* ─── 9b. Vertical Steps Timeline (legacy static) ─── */
.steps-section-dark {
  background: linear-gradient(160deg, #0a1628 0%, #112040 100%);
  padding: 72px 0;
}
.steps-vertical {
  position: relative;
  max-width: 460px;
  margin: 48px auto 0;
  padding: 0 20px;
}
.steps-vertical::before {
  content: '';
  position: absolute;
  left: 50%; top: 32px; bottom: 32px;
  width: 2px;
  background: linear-gradient(180deg,
    rgba(255,255,255,.05) 0%,
    rgba(255,255,255,.25) 40%,
    rgba(255,255,255,.25) 60%,
    rgba(255,255,255,.05) 100%);
  transform: translateX(-50%);
}
.step-v {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}
.step-v:last-child { margin-bottom: 0; }
.step-v__circle {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
  color: #fff; font-size: 22px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px rgba(37,99,235,.18), 0 8px 28px rgba(0,0,0,.5);
  margin-bottom: 14px;
  transition: transform .3s var(--ease-spring), box-shadow .3s;
}
.step-v:hover .step-v__circle {
  transform: scale(1.1);
  box-shadow: 0 0 0 8px rgba(37,99,235,.3), 0 12px 32px rgba(0,0,0,.6);
}
.step-v__badge {
  display: inline-block;
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.35);
  color: #6ee7b7;
  font-size: 10px; font-weight: 700;
  padding: 3px 12px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 10px;
}
.step-v__title {
  font-size: 18px; font-weight: 700;
  color: #fff; margin-bottom: 8px;
}
.step-v__text {
  font-size: 14px; color: rgba(255,255,255,.55);
  line-height: 1.65; max-width: 300px;
}

/* ─── 9b. Horizontal steps timeline (legacy) ─── */
.steps-timeline {
  display: flex;
  gap: 0;
  position: relative;
  margin-top: 40px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.steps-timeline::before {
  content: '';
  position: absolute; top: 28px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--navy), var(--teal));
  z-index: 0;
}
.step-tl {
  flex: 1; min-width: 140px;
  text-align: center; padding: 0 12px;
  position: relative; z-index: 1;
}
.step-tl__dot {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--medium));
  color: #fff; font-size: 18px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px var(--section-accent-glow);
  border: 3px solid var(--white);
  transition: transform .3s var(--ease-spring);
}
.step-tl:hover .step-tl__dot {
  transform: scale(1.15) translateY(-4px);
}
.step-tl__title {
  font-size: 13px; font-weight: 700;
  color: var(--dark); margin-bottom: 6px;
}
.step-tl__text {
  font-size: 12px; color: var(--gray); line-height: 1.5;
}

/* ─── 10. Section unique visuals ─────────── */

/* Construction: dark hero stripe + metallic card tops */
.theme-construction .section-hero { min-height: 540px; }
.theme-construction .included-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #1E3A5F, #5C7EB2);
  border-radius: 14px 14px 0 0;
}
.theme-construction .included-card { position: relative; overflow: hidden; }

/* Land: earth-tone stats */
.theme-land .section-stats {
  background: linear-gradient(135deg, #F0FDF4, #ECFDF5);
  border-bottom-color: rgba(22,163,74,.15);
}

/* Homes: warm stats bar */
.theme-homes .section-stats {
  background: linear-gradient(135deg, #FFFBEB, #FEF9EC);
  border-bottom-color: rgba(245,158,11,.2);
}

/* Apartments: cool stats bar */
.theme-apartments .section-stats {
  background: linear-gradient(135deg, #F0FDFA, #ECFDF5);
  border-bottom-color: rgba(15,118,110,.15);
}

/* ─── 11. Card accent border on hover ────── */
.card { position: relative; }
.card:hover {
  border-color: rgba(92,126,178,.45);
  box-shadow: 0 0 0 1px rgba(92,126,178,.2), 0 16px 48px rgba(62,86,122,.16);
}

/* ─── 12. Section header accent line ─────── */
.section-header {
  display: flex; align-items: flex-start;
  justify-content: space-between; margin-bottom: 32px;
}
.section-header::after {
  display: none; /* let __title-line handle it */
}

/* ─── 13. Mobile improvements ────────────── */
@media (max-width: 768px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured__img { min-height: 220px; }
  .blog-featured__body { padding: 24px 20px; }
  .steps-timeline { gap: 0; padding: 0 12px 8px; }
  .step-tl { min-width: 110px; }
  .blog-grid-2 { grid-template-columns: 1fr; }
  .article-body { font-size: 16px; }
}
