/* =============================================
   МЕДОВЫЙ — Коттеджный посёлок
   styles.css
   ============================================= */

/* ----- VARIABLES ----- */
:root {
  --white: #ffffff;
  --milk: #faf8f4;
  --beige: #f2ede4;
  --beige-dark: #e8e0d0;
  --wood: #c4a882;
  --wood-light: #d4bc9e;
  --gray-soft: #e5e1da;
  --gray-mid: #9e9890;
  --gray-dark: #6b6660;
  --olive: #7a8c5c;
  --olive-light: #a0b07a;
  --olive-dark: #5a6840;
  --green-nat: #4e7048;
  --graphite: #2c2a26;
  --graphite-mid: #3e3c38;
  --honey: #c8953a;
  --honey-light: #e8b45a;
  --shadow: 0 4px 24px rgba(44,42,38,0.10);
  --shadow-lg: 0 12px 48px rgba(44,42,38,0.16);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

/* ----- RESET ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  color: var(--graphite);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }
address { font-style: normal; }

/* ----- CONTAINER ----- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- SECTIONS ----- */
.section {
  padding: 96px 0;
}
.section__header {
  text-align: center;
  margin-bottom: 64px;
}
.section__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 14px;
}
.section__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--graphite);
}
.section__desc {
  margin-top: 16px;
  color: var(--gray-dark);
  font-size: 1.05rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--olive);
  color: var(--white);
  border-color: var(--olive);
}
.btn--primary:hover {
  background: var(--olive-dark);
  border-color: var(--olive-dark);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  border-color: var(--olive);
  color: var(--olive);
}
.btn--outline:hover {
  background: var(--olive);
  color: var(--white);
}
.btn--white {
  background: var(--white);
  color: var(--graphite);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--milk);
  transform: translateY(-2px);
}
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--lg { padding: 18px 36px; font-size: 1rem; }

/* =============================================
   HEADER
   ============================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 20px 0;
}
.header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: var(--shadow);
  padding: 12px 0;
  backdrop-filter: blur(8px);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo__icon { font-size: 1.8rem; line-height: 1; }
.logo__text { display: flex; flex-direction: column; }
.logo__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  transition: color var(--transition);
}
.logo__sub {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.header.scrolled .logo__name { color: var(--graphite); }
.header.scrolled .logo__sub { color: var(--gray-dark); }

/* Nav */
.nav { flex: 1; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: center;
}
.nav__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1.5px;
  background: var(--olive-light);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav__link:hover::after { transform: scaleX(1); }
.header.scrolled .nav__link { color: var(--graphite-mid); }
.nav__link:hover { color: var(--olive); }

/* Header actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.header__phone {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
}
.header.scrolled .header__phone { color: var(--graphite); }
.header__phone:hover { color: var(--olive-light); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.header.scrolled .burger span { background: var(--graphite); }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__nature {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 60%, rgba(78,112,72,0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(122,140,92,0.2) 0%, transparent 50%),
    linear-gradient(160deg, #2c3e28 0%, #3a4f2e 25%, #4a6035 50%, #5a7040 75%, #3e4e30 100%);
  overflow: hidden;
}

.hero__blueprint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  opacity: 0.72;
  pointer-events: none;
  display: block;
}

/* ---- Blueprint SVG animation classes (now live inside blueprint.svg) ---- */
.bp {
  fill: none;
  stroke: #a8cc88;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bp-main { stroke-width: 1.6; }
.bp-thin  { stroke-width: 0.9; opacity: 0.75; }
.bp-dim   { stroke-width: 0.8; stroke-dasharray: 6 4; opacity: 0.5; }
.bp-dot   { stroke-width: 0.6; stroke-dasharray: 2 5; opacity: 0.35; }
.bp-grid  { fill: none; stroke: #a8cc88; stroke-width: 0.25; opacity: 0.12; }

.bp-lbl {
  font-family: 'Courier New', monospace;
  fill: #a8cc88;
  font-size: 13px;
  letter-spacing: 0.1em;
  opacity: 0;
}
.bp-lbl-sm {
  font-family: 'Courier New', monospace;
  fill: #a8cc88;
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0;
}
.bp-title {
  font-family: 'Courier New', monospace;
  fill: #a8cc88;
  font-size: 14px;
  letter-spacing: 0.2em;
  opacity: 0;
}

.draw {
  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);
  animation: bp-draw var(--dur) var(--delay) cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes bp-draw {
  to { stroke-dashoffset: 0; }
}

.fade {
  animation: bp-fade 0.7s var(--fd) ease forwards;
}
@keyframes bp-fade {
  to { opacity: 1; }
}

.blink {
  opacity: 0;
  fill: #a8cc88;
  animation: bp-fade 0.1s 0.4s forwards, bp-pulse 1.2s 1.5s infinite;
}
@keyframes bp-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0.2; }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,18,8,0.82) 0%,
    rgba(10,18,8,0.55) 45%,
    rgba(10,18,8,0.18) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 50px 0 80px;
  max-width: 900px;
}
.hero__tag {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  margin-bottom: 20px;
}
.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero__title em {
  font-style: italic;
  color: var(--honey-light);
}
.hero__subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: rgba(255,255,255,0.9);
  font-weight: 300;
  margin-bottom: 20px;
}
.hero__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero__btns .btn--outline {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.hero__btns .btn--outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}
.hero__badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 32px;
  padding: 10px 18px;
  font-size: 0.85rem;
  color: var(--white);
  font-weight: 500;
}
.hero__badge-icon { font-size: 1rem; }
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent);
  animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =============================================
   ADVANTAGES
   ============================================= */
.advantages { background: var(--milk); }
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.adv-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-bottom: 3px solid transparent;
}
.adv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--olive-light);
}
.adv-card__icon { font-size: 2rem; margin-bottom: 16px; }
.adv-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--graphite);
}
.adv-card__text { font-size: 0.88rem; color: var(--gray-dark); line-height: 1.6; }

/* =============================================
   ABOUT
   ============================================= */
.about { background: var(--white); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__visual { position: relative; }
.about__img-wrap {
  position: relative;
  height: 480px;
}
.about__img {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about__img--main {
  top: 0; left: 0;
  width: 75%; height: 75%;
}
.about__img--sm {
  width: 45%; height: 45%;
}
.about__img--sm1 { bottom: 0; right: 0; }
.about__img--sm2 { bottom: 30%; left: 55%; }
.about__img-scene {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #4a6035 0%, #3a5028 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
/* Main house illustration */
.about__img-scene::before {
  content: '🏡';
  font-size: 5rem;
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
}
.about__img-scene::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(50,70,40,0.6), transparent);
}
.about__img-scene--green {
  background: linear-gradient(135deg, #5a7040 0%, #3e5028 100%);
}
.about__img-scene--green::before { content: '🌿'; font-size: 3rem; }
.about__img-scene--terrace {
  background: linear-gradient(135deg, #c4a882 0%, #a08060 100%);
}
.about__img-scene--terrace::before { content: '☀️'; font-size: 3rem; }
.about__img-label {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--graphite);
  letter-spacing: 0.05em;
}
.about__content { }
.about__text {
  color: var(--gray-dark);
  margin-bottom: 18px;
  line-height: 1.75;
  font-size: 1rem;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--beige-dark);
}
.about__stat { }
.about__stat-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--olive);
  line-height: 1;
  margin-bottom: 6px;
}
.about__stat-label { font-size: 0.85rem; color: var(--gray-dark); }

/* =============================================
   CATALOG
   ============================================= */
.catalog { background: var(--beige); }
.catalog__filter {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 24px;
  border-radius: 32px;
  border: 1.5px solid var(--beige-dark);
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-dark);
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--white);
}
.catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.catalog__grid .house-card.hidden { display: none; }

/* House Cards */
.house-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.house-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.house-card__img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.house-card__scene {
  width: 100%; height: 100%;
  transition: transform 0.5s ease;
}
.house-card:hover .house-card__scene { transform: scale(1.05); }

/* Scene colors for house cards */
.house-card__scene--1 { background: linear-gradient(135deg, #e8e0d0 0%, #c4a882 30%, #4a6035 100%); }
.house-card__scene--2 { background: linear-gradient(135deg, #d4c0a0 0%, #b89070 30%, #5a7040 100%); }
.house-card__scene--3 { background: linear-gradient(135deg, #c8d0c0 0%, #8090a0 30%, #3e5028 100%); }
.house-card__scene--4 { background: linear-gradient(135deg, #e0dcd8 0%, #c0b8b0 30%, #506040 100%); }
.house-card__scene--5 { background: linear-gradient(135deg, #d0d8c8 0%, #90a880 30%, #3a4e30 100%); }
.house-card__scene--6 { background: linear-gradient(135deg, #d8e0d0 0%, #a0b890 30%, #4e6038 100%); }
.house-card__scene--7 { background: linear-gradient(135deg, #c8d0c8 0%, #8898a0 30%, #384830 100%); }
.house-card__scene--8 { background: linear-gradient(135deg, #e8e4de 0%, #c8b89a 30%, #5a7048 100%); }

/* House illustration overlay */
.house-card__scene::before {
  content: '🏠';
  position: absolute;
  font-size: 4rem;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}
.house-card__scene::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(40,50,30,0.4), transparent);
}

.house-card__badges {
  position: absolute;
  top: 12px; left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  z-index: 2;
}
.badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.badge--red { background: #e74c3c; color: #fff; }
.badge--green { background: #4a7a40; color: #fff; }
.badge--blue { background: #3a70a0; color: #fff; }
.badge--olive { background: var(--olive); color: #fff; }
.badge--amber { background: var(--honey); color: #fff; }
.badge--gray { background: var(--gray-dark); color: #fff; }
.badge--dark { background: var(--graphite); color: #fff; }

.house-card__body { padding: 24px; }
.house-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 8px;
}
.house-card__desc { font-size: 0.85rem; color: var(--gray-dark); margin-bottom: 16px; line-height: 1.55; }
.house-card__specs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.house-card__specs span {
  font-size: 0.8rem;
  background: var(--beige);
  border-radius: 6px;
  padding: 4px 10px;
  color: var(--graphite-mid);
  font-weight: 500;
}
.house-card__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
}
.house-card__price-new {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--olive-dark);
}
.house-card__price-old {
  font-size: 0.9rem;
  color: var(--gray-mid);
  text-decoration: line-through;
}
.house-card__btns { display: flex; gap: 10px; }
.house-card__btns .btn { flex: 1; }

/* =============================================
   INCLUDED
   ============================================= */
.included { background: var(--white); }
.included__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.included-card {
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1.5px solid var(--beige-dark);
  background: var(--milk);
  transition: all var(--transition);
  text-align: center;
}
.included-card:hover {
  border-color: var(--olive-light);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.included-card__icon { font-size: 2.4rem; margin-bottom: 16px; }
.included-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.included-card__text { font-size: 0.88rem; color: var(--gray-dark); line-height: 1.6; }

.included__cta { }
.included__cta-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--graphite);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  color: var(--white);
}
.included__cta-icon { font-size: 2.5rem; flex-shrink: 0; }
.included__cta-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.included__cta-text strong { font-size: 1.15rem; font-weight: 600; }
.included__cta-text span { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

/* =============================================
   TECHNOLOGIES
   ============================================= */
.tech { background: var(--beige); }
.tech__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.tech-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.tech-block__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--beige-dark);
}
.tech-block__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--olive-light);
  line-height: 1;
  flex-shrink: 0;
}
.tech-block__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
}
.tech-block__list { display: flex; flex-direction: column; gap: 12px; }
.tech-block__list li {
  font-size: 0.88rem;
  color: var(--gray-dark);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.tech-block__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--olive);
  font-weight: 600;
}
.tech__materials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tech-mat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow);
}
.tech-mat__icon { font-size: 1.6rem; flex-shrink: 0; }
.tech-mat div { display: flex; flex-direction: column; gap: 4px; }
.tech-mat strong { font-size: 0.92rem; font-weight: 600; color: var(--graphite); }
.tech-mat span { font-size: 0.8rem; color: var(--gray-dark); }

/* =============================================
   MATERIALS
   ============================================= */
.materials { background: var(--graphite); }
.materials__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.materials .section__tag { color: var(--olive-light); }
.materials .section__title { color: var(--white); }
.materials__desc {
  color: rgba(255,255,255,0.75);
  margin-top: 20px;
  line-height: 1.75;
  font-size: 0.97rem;
}
.materials__props {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.materials__prop { display: flex; flex-direction: column; gap: 4px; }
.materials__prop span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--honey-light);
}
.materials__prop small { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* Brick pattern visual */
.brick-pattern {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0px, transparent 28px,
      rgba(255,255,255,0.08) 28px, rgba(255,255,255,0.08) 30px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0px, transparent 58px,
      rgba(255,255,255,0.08) 58px, rgba(255,255,255,0.08) 60px
    ),
    linear-gradient(135deg, #c4813a 0%, #9a6028 40%, #7a4818 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.brick-pattern::before {
  content: '🧱';
  font-size: 6rem;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.4;
}
.brick-pattern__inner {
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 24px 32px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.2);
  position: relative;
  z-index: 2;
}
.bp-label {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
}
.bp-sub {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

/* =============================================
   GALLERY
   ============================================= */
.gallery { background: var(--milk); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 16px;
}
.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery__item--wide { grid-column: span 2; }
.gallery__scene {
  width: 100%; height: 100%;
  transition: transform 0.5s ease;
  position: relative;
}
.gallery__item:hover .gallery__scene { transform: scale(1.06); }
.gallery__scene--1 { background: linear-gradient(135deg, #d0c8b8 0%, #90a880 50%, #3a5028 100%); }
.gallery__scene--2 { background: linear-gradient(135deg, #c8b898 0%, #d4bc9e 50%, #7a6040 100%); }
.gallery__scene--3 { background: linear-gradient(135deg, #c0d0b8 0%, #80a870 50%, #3e5828 100%); }
.gallery__scene--4 { background: linear-gradient(135deg, #e0d8c8 0%, #b8a888 50%, #685840 100%); }
.gallery__scene--5 { background: linear-gradient(135deg, #b0c8a8 0%, #68987a 50%, #304828 100%); }
.gallery__scene--6 { background: linear-gradient(135deg, #e8e4de 0%, #d0c8b8 50%, #a09080 100%); }

.gallery__scene::before {
  content: '';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.gallery__scene--1::before { content: '🏡'; font-size: 4rem; text-align: center; padding-top: 40%; }
.gallery__scene--2::before { content: '🌅'; font-size: 3rem; padding-top: 40%; text-align: center; }
.gallery__scene--3::before { content: '🌿'; font-size: 3.5rem; padding-top: 40%; text-align: center; }
.gallery__scene--4::before { content: '🚪'; font-size: 3rem; padding-top: 40%; text-align: center; }
.gallery__scene--5::before { content: '🌲'; font-size: 4rem; padding-top: 38%; text-align: center; }
.gallery__scene--6::before { content: '🔨'; font-size: 3rem; padding-top: 40%; text-align: center; }

.gallery__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 24px 16px 12px;
}
.gallery__item::after {
  content: '🔍';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 2rem;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
  z-index: 2;
}
.gallery__item:hover::after { transform: translate(-50%, -50%) scale(1); }

/* =============================================
   STEPS
   ============================================= */
.steps { background: var(--white); }
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}
.step-card {
  padding: 32px 24px;
  border-radius: var(--radius);
  background: var(--milk);
  border-left: 4px solid var(--olive-light);
  transition: all var(--transition);
}
.step-card:hover {
  background: var(--white);
  box-shadow: var(--shadow);
  border-color: var(--olive);
  transform: translateX(4px);
}
.step-card__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--olive-light);
  line-height: 1;
  margin-bottom: 16px;
}
.step-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.step-card__text { font-size: 0.88rem; color: var(--gray-dark); line-height: 1.6; }
.steps__accent {
  text-align: center;
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-dark) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px 32px;
  font-size: 1.05rem;
  font-weight: 500;
}

/* =============================================
   LOCATION
   ============================================= */
.location { background: var(--beige); }
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.map-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-widget__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 60% 40%, rgba(160,190,140,0.3) 0%, transparent 50%),
    radial-gradient(circle at 20% 70%, rgba(120,160,100,0.2) 0%, transparent 40%),
    linear-gradient(135deg, #d4dcc8 0%, #c0ccb0 50%, #a8bcA0 100%);
}
.map-widget__label {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.9);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--graphite);
  white-space: nowrap;
}
.map-widget__route { position: relative; z-index: 2; padding: 24px; }
.map-route {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.map-route__city, .map-route__dest {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 280px;
}
.map-route__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.map-route__dot--city { background: var(--graphite); }
.map-route__dot--dest { background: var(--olive); }
.map-route__line {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-dark);
  font-size: 0.85rem;
}
.map-route__car { font-size: 1.2rem; }
.map-route__time {
  background: var(--olive);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}
.map-route__dest strong { display: block; font-weight: 600; color: var(--graphite); }
.map-route__dest small { font-size: 0.78rem; color: var(--gray-dark); }
.map-route__city span { font-weight: 600; color: var(--graphite); }

.loc-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--beige-dark);
}
.loc-item:last-of-type { border-bottom: none; }
.loc-item__icon { font-size: 1.4rem; flex-shrink: 0; padding-top: 2px; }
.loc-item div { display: flex; flex-direction: column; gap: 4px; }
.loc-item strong { font-weight: 600; color: var(--graphite); }
.loc-item span { font-size: 0.88rem; color: var(--gray-dark); }

/* =============================================
   REVIEWS
   ============================================= */
.reviews { background: var(--milk); }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform var(--transition);
}
.review-card:hover { transform: translateY(-6px); }
.review-card__stars { color: var(--honey); font-size: 1.1rem; letter-spacing: 2px; }
.review-card__text {
  font-size: 0.93rem;
  color: var(--gray-dark);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}
.review-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--beige-dark);
}
.review-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.review-card__author div { display: flex; flex-direction: column; gap: 2px; }
.review-card__author strong { font-size: 0.92rem; font-weight: 600; }
.review-card__author span { font-size: 0.78rem; color: var(--gray-dark); }

/* =============================================
   FAQ
   ============================================= */
.faq { background: var(--white); }
.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--beige-dark);
}
.faq-item__q {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--graphite);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}
.faq-item__q:hover { color: var(--olive); }
.faq-item__q.open { color: var(--olive); }
.faq-item__arrow {
  font-size: 0.75rem;
  transition: transform var(--transition);
  flex-shrink: 0;
  color: var(--olive);
}
.faq-item__q.open .faq-item__arrow { transform: rotate(180deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item__a.open { max-height: 400px; }
.faq-item__a p {
  padding-bottom: 24px;
  color: var(--gray-dark);
  line-height: 1.75;
  font-size: 0.95rem;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--graphite) 0%, #3a4a30 50%, var(--olive-dark) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '🍯';
  position: absolute;
  font-size: 30rem;
  opacity: 0.03;
  right: -5%;
  top: -20%;
  pointer-events: none;
}
.cta-section__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.cta-section__header { margin-bottom: 48px; }
.cta-section__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta-section__sub { color: rgba(255,255,255,0.75); font-size: 1rem; line-height: 1.7; }

/* Forms */
.cta-form { text-align: left; }
.cta-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.8); }
.form-field input, .form-field select {
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--white);
  transition: border-color var(--transition), background var(--transition);
}
.form-field input::placeholder { color: rgba(255,255,255,0.4); }
.form-field input:focus, .form-field select:focus {
  outline: none;
  border-color: var(--olive-light);
  background: rgba(255,255,255,0.15);
}
.form-field select { color: rgba(255,255,255,0.8); }
.form-field select option { background: var(--graphite); color: var(--white); }
.form-field.error input { border-color: #e74c3c; }

/* Dark form variant (for modals) */
.form-field--dark label { color: var(--graphite); }
.form-field--dark input {
  background: var(--milk);
  border: 1.5px solid var(--beige-dark);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--graphite);
}
.form-field--dark input:focus {
  outline: none;
  border-color: var(--olive);
  background: var(--white);
}
.form-field--dark { margin-bottom: 12px; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
}
.form-check input { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; cursor: pointer; }
.cta-section .btn--white { width: 100%; }
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 32px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  margin-top: 16px;
  color: var(--white);
}
.form-success--dark {
  background: var(--milk);
  color: var(--graphite);
}
.form-success.visible { display: flex; }
.form-success__icon { font-size: 2.5rem; }
.form-success strong { font-size: 1.2rem; }
.form-success span { font-size: 0.9rem; opacity: 0.8; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--graphite-mid);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 64px;
  padding-bottom: 48px;
}
.footer .logo__name { color: var(--white); }
.footer .logo__sub { color: rgba(255,255,255,0.5); }
.footer__about {
  margin-top: 16px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
}
.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.footer__social-link {
  font-size: 0.82rem;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}
.footer__social-link:hover {
  border-color: var(--olive-light);
  color: var(--white);
}
.footer__nav-title {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}
.footer__nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--white); }
.footer__contact-link {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin-bottom: 8px;
  transition: color var(--transition);
}
.footer__contact-link:hover { color: var(--olive-light); }
.footer__address {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-top: 12px;
}
.footer__hours {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}
.footer__bottom a { color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer__bottom a:hover { color: var(--white); }

/* =============================================
   MODALS
   ============================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal.open {
  opacity: 1;
  pointer-events: all;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,18,14,0.7);
  backdrop-filter: blur(4px);
}
.modal__inner {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 680px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal.open .modal__inner { transform: translateY(0); }
.modal__inner--sm { max-width: 480px; }
.modal__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--beige);
  color: var(--graphite);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.modal__close:hover { background: var(--graphite); color: var(--white); }

/* Modal house details */
.modal-house__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.modal-house__status {
  display: inline-block;
  padding: 4px 14px;
  background: var(--olive);
  color: var(--white);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.modal-house__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.modal-spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--milk);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.modal-spec__label { font-size: 0.75rem; color: var(--gray-dark); text-transform: uppercase; letter-spacing: 0.08em; }
.modal-spec__value { font-size: 0.95rem; font-weight: 600; color: var(--graphite); }
.modal-house__desc {
  font-size: 0.93rem;
  color: var(--gray-dark);
  line-height: 1.75;
  margin-bottom: 24px;
}
.modal-house__price { margin-bottom: 24px; }
.modal-house__price-new {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--olive-dark);
}
.modal-house__price-old {
  font-size: 1rem;
  color: var(--gray-mid);
  text-decoration: line-through;
  margin-left: 12px;
}

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
}
.lightbox__inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 90%;
  text-align: center;
}
.lightbox__img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
}
.lightbox__caption {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-top: 16px;
  font-weight: 500;
}
.lightbox__close {
  position: absolute;
  top: -48px; right: 0;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  color: var(--white);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox__close:hover { background: rgba(255,255,255,0.3); }

/* =============================================
   BACK TO TOP
   ============================================= */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px; height: 48px;
  background: var(--olive);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 999;
}
.back-top.visible { opacity: 1; pointer-events: all; }
.back-top:hover { background: var(--olive-dark); transform: translateY(-4px); }

/* =============================================
   REVEAL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
  .catalog__grid { grid-template-columns: repeat(2, 1fr); }
  .tech__materials { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__visual { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
  .materials__inner { grid-template-columns: 1fr; gap: 40px; }
  .brick-pattern { max-width: 400px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section__header { margin-bottom: 40px; }

  /* Header mobile */
  .nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-100%);
    transition: transform var(--transition);
    z-index: 999;
  }
  .nav.open { transform: translateX(0); }
  .nav__list { flex-direction: column; gap: 24px; text-align: center; }
  .nav__link { font-size: 1.3rem; color: var(--graphite) !important; }
  .header__actions { display: none; }
  .burger { display: flex; }

  /* Hero */
  .hero__content { padding: 90px 0 48px; }
  .hero__badges { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero__btns { flex-direction: column; align-items: flex-start; }

  /* Grids */
  .advantages__grid { grid-template-columns: 1fr; }
  .catalog__grid { grid-template-columns: 1fr; }
  .included__grid { grid-template-columns: 1fr; }
  .tech__grid { grid-template-columns: 1fr; }
  .tech__materials { grid-template-columns: 1fr 1fr; }
  .steps__grid { grid-template-columns: 1fr 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .location__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
  .gallery__grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery__item--wide { grid-column: auto; }

  /* CTA form */
  .cta-form__grid { grid-template-columns: 1fr; }

  /* Modal */
  .modal__inner { padding: 32px 24px; }
  .modal-house__grid { grid-template-columns: 1fr; }

  /* About */
  .about__stats { grid-template-columns: repeat(2, 1fr); }

  /* Included CTA */
  .included__cta-inner { flex-direction: column; text-align: center; }

  /* Materials */
  .materials__props { flex-direction: column; gap: 16px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .steps__grid { grid-template-columns: 1fr; }
  .tech__materials { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .hero__title { font-size: 2.4rem; }
}
