/* ============================================================
   ЖК «Ленина 100» — wow-2 «ВОЗДУХ»
   Радикальный чёрно-белый минимал: крупный плотный Days One,
   единственный цвет на странице — сами фотографии.
   Сигнатура: фото-«окна», раскрывающиеся белыми шторками
   при скролле (только transform). Много воздуха, ничего лишнего.
   ============================================================ */

/* ---------- Шрифты (локально) ---------- */
@font-face { font-family: 'Days One'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/days-one-400-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Days One'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/days-one-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/manrope-400-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/manrope-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/manrope-500-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/manrope-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/manrope-700-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/manrope-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Токены ---------- */
:root {
  --white: #FCFBF8;         /* тёплый белый — фон и шторки */
  --ink: #191919;           /* чёрный текст */
  --grey: #6D6D68;          /* вторичный (4.9:1) */
  --line: #E4E2DB;
  --dark: #151513;          /* финал и футер */
  --font-display: 'Days One', 'Arial Black', sans-serif;
  --font-text: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- База ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.container { max-width: 1400px; margin: 0 auto; padding-left: 48px; padding-right: 48px; }
@media (max-width: 1023px) { .container { padding-left: 28px; padding-right: 28px; } }
@media (max-width: 767px)  { .container { padding-left: 20px; padding-right: 20px; } }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 16px 36px; border-radius: 0;
  font-family: var(--font-text); font-size: 15.5px; font-weight: 500; letter-spacing: 0.04em;
  text-decoration: none; cursor: pointer; border: 1px solid var(--ink);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #333331; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-white-line { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,0.7); }
.btn-white-line:hover { background: #FFFFFF; color: var(--ink); border-color: #FFFFFF; }

/* ---------- Шапка ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; color: #FFFFFF; transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease; }
.site-header.solid { background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.logo { font-family: var(--font-display); font-weight: 400; font-size: 18px; text-decoration: none; white-space: nowrap; color: inherit; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 30px; list-style: none; }
.main-nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: inherit; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.main-nav a:hover { border-bottom-color: var(--ink); }
.header-phone { font-size: 15.5px; font-weight: 700; text-decoration: none; white-space: nowrap; color: inherit; }
.header-phone:hover { opacity: 0.7; }
.nav-toggle { display: none; }

@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 48px; height: 48px; padding: 12px; margin-left: auto;
    background: none; border: none; cursor: pointer; color: inherit;
  }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; transition: transform 0.2s ease, opacity 0.2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; margin-left: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(-8px); visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .main-nav.open { opacity: 1; transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 12px 28px 20px; }
  .main-nav a { display: block; padding: 13px 0; font-size: 16px; }
}
@media (max-width: 767px) { .header-phone { display: none; } .logo { font-size: 15px; } }

/* ---------- Герой: фото дома во весь экран, текст и меню поверх ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; background: #2A2320; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24, 18, 14, 0.5) 0%, rgba(24, 18, 14, 0.12) 32%, rgba(24, 18, 14, 0.55) 72%, rgba(24, 18, 14, 0.86) 100%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 140px; padding-bottom: 72px; color: #FFFFFF; }
.hero-title {
  font-family: var(--font-display); font-weight: 400; font-size: 104px; line-height: 1.04;
  letter-spacing: 0.01em; color: #FFFFFF; text-shadow: 0 2px 8px rgba(15, 10, 6, 0.55), 0 10px 44px rgba(15, 10, 6, 0.5);
}
.hero-sub { font-size: 20px; color: #F2EFE9; max-width: 44ch; margin-top: 22px; text-shadow: 0 1px 6px rgba(15, 10, 6, 0.7), 0 6px 24px rgba(15, 10, 6, 0.5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.btn-white { background: #FFFFFF; color: var(--ink); border-color: #FFFFFF; }
.btn-white:hover { background: var(--bg-sand, #F1EDE2); }
.btn-outline-light { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,0.75); }
.btn-outline-light:hover { background: #FFFFFF; color: var(--ink); border-color: #FFFFFF; }
@media (max-width: 1439px) { .hero-title { font-size: 84px; } }
@media (max-width: 1023px) { .hero-title { font-size: 58px; } .hero-inner { padding-top: 120px; } }
@media (max-width: 767px)  { .hero-title { font-size: 36px; } .hero-sub { font-size: 17px; } .hero-inner { padding-bottom: 52px; } }

/* Фото-окно со шторками */
.window { position: relative; overflow: hidden; }
.window img { width: 100%; height: 86vh; object-fit: cover; }
.window .shutter { position: absolute; top: 0; bottom: 0; width: 34%; background: var(--white); will-change: transform; }
.window .shutter-l { left: 0; }
.window .shutter-r { right: 0; }
.window-caption { font-size: 15px; color: var(--grey); margin: 16px 48px 0; max-width: 68ch; }
@media (max-width: 1023px) { .window img { height: 60vh; } .window-caption { margin: 14px 28px 0; } }
@media (max-width: 767px)  { .window img { height: 46vh; } .window .shutter { width: 24%; } .window-caption { margin: 12px 20px 0; } }
@media (prefers-reduced-motion: reduce) { .window .shutter { display: none; } }

/* ---------- Гигантские факты ---------- */
.facts { padding-top: 150px; padding-bottom: 150px; }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; }
.fact { border-top: 1px solid var(--ink); padding-top: 26px; }
.fact-value { font-family: var(--font-display); font-weight: 400; font-size: 54px; line-height: 1.05; }
.fact-value .unit { font-family: var(--font-text); font-weight: 500; font-size: 20px; }
.fact-value .from { font-family: var(--font-text); font-weight: 400; font-size: 19px; color: var(--grey); }
.fact-label { font-size: 15.5px; color: var(--grey); margin-top: 14px; }
@media (max-width: 1279px) { .fact-value { font-size: 42px; } .fact-value .unit, .fact-value .from { font-size: 16px; } }
@media (max-width: 1023px) {
  .facts { padding-top: 80px; padding-bottom: 80px; }
  .facts-row { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
}
@media (max-width: 767px) {
  .facts { padding-top: 60px; padding-bottom: 60px; }
  .facts-row { grid-template-columns: 1fr; gap: 32px; }
  .fact-value { font-size: 34px; }
  .fact-value .from { font-size: 15px; }
}

/* ---------- Манифест ---------- */
.manifest { padding-bottom: 150px; }
.manifest-title { font-weight: 400; font-size: 46px; line-height: 1.2; max-width: 20ch; }
.manifest-note { font-size: 19px; color: var(--grey); max-width: 52ch; margin-top: 34px; }
@media (max-width: 1023px) { .manifest { padding-bottom: 80px; } .manifest-title { font-size: 32px; } }
@media (max-width: 767px)  { .manifest { padding-bottom: 60px; } .manifest-title { font-size: 23px; } .manifest-note { font-size: 17px; } }

/* ---------- Глава: текст + окно ---------- */
.chapter { padding-bottom: 150px; }
.chapter-head { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; padding-bottom: 56px; }
.chapter-title { font-weight: 400; font-size: 40px; max-width: 18ch; }
.chapter-lead { font-size: 18px; color: var(--grey); max-width: 46ch; }
.chapter-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px 48px 0; }
.chapter-pair figure { margin: 0; }
.chapter-pair img { width: 100%; height: 420px; object-fit: cover; }
.chapter-pair figcaption { font-size: 15px; color: var(--grey); margin-top: 12px; }
@media (max-width: 1023px) {
  .chapter { padding-bottom: 80px; }
  .chapter-head { grid-template-columns: 1fr; gap: 18px; padding-bottom: 36px; }
  .chapter-title { font-size: 28px; }
  .chapter-pair { padding: 32px 28px 0; gap: 28px; }
  .chapter-pair img { height: 280px; }
}
@media (max-width: 767px) {
  .chapter { padding-bottom: 60px; }
  .chapter-title { font-size: 22px; }
  .chapter-pair { grid-template-columns: 1fr; padding: 24px 20px 0; }
  .chapter-pair img { height: 240px; }
}

/* ---------- Планировки ---------- */
.plans { border-top: 1px solid var(--line); padding-top: 130px; padding-bottom: 150px; }
.plans-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 72px; }
.plans-title { font-weight: 400; font-size: 46px; }
.plans-lead { font-size: 17px; color: var(--grey); max-width: 44ch; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px; }
.plan { display: flex; flex-direction: column; }
.plan-img { border: 1px solid var(--line); padding: 20px; background: #FFFFFF; height: 340px; }
.plan-img picture { display: block; width: 100%; height: 100%; }
.plan-img img { width: 100%; height: 100%; object-fit: contain; }
.plan-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 22px; }
.plan-type { font-family: var(--font-display); font-weight: 400; font-size: 24px; }
.plan-area { font-family: var(--font-text); font-weight: 400; font-size: 20px; color: var(--grey); }
.plan-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-top: 1px solid var(--ink); margin-top: 14px; padding-top: 14px; }
.plan-price { font-size: 17px; font-weight: 700; }
.plan-link { font-size: 14.5px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; transition: opacity 0.2s ease; }
.plan-link:hover { opacity: 0.6; }
.plan-desc { font-size: 15.5px; line-height: 1.55; color: var(--grey); margin-top: 14px; }
.plan-meta, .plan-price-row { flex: none; }
@media (max-width: 1023px) {
  .plans { padding-top: 72px; padding-bottom: 80px; }
  .plans-title { font-size: 30px; }
  .plans-grid { grid-template-columns: 1fr 1fr; gap: 44px 24px; }
  .plan-img { height: 300px; }
  .plan-type { font-size: 20px; } .plan-area { font-size: 17px; }
}
@media (max-width: 700px) { .plans-grid { grid-template-columns: 1fr; } .plans-title { font-size: 26px; } }

/* Плавающая кнопка каталога Домопланера — штатный элемент виджета, не трогаем */
.plans-catalog-btn { margin-top: 22px; }

/* ---------- Ночной финал ---------- */
/* Ночной блок: кадру даны родные пропорции — дом и двор видны целиком */
.night { position: relative; aspect-ratio: 3 / 2; min-height: 600px; display: flex; align-items: flex-end; color: #FFFFFF; background: var(--dark); }
.night-bg { position: absolute; inset: 0; overflow: hidden; }
.night-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.night-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 9, 8, 0.2) 30%, rgba(9, 9, 8, 0.84) 100%); }
.night-content { position: relative; z-index: 1; width: 100%; padding-top: 120px; padding-bottom: 80px; }
.night-title { font-weight: 400; font-size: 48px; max-width: 16ch; }
.night-text { font-size: 18px; color: #D8D8D3; max-width: 46ch; margin-top: 22px; }
.night .btn { margin-top: 38px; }
@media (max-width: 1023px) { .night { aspect-ratio: auto; min-height: 70vh; } .night-title { font-size: 32px; } }
@media (max-width: 767px)  { .night { aspect-ratio: auto; min-height: 78vh; } .night-title { font-size: 25px; } .night-text { font-size: 16.5px; } }

/* ---------- Новости ---------- */
.news { background: #EDECE4; border-top: 1px solid var(--line); padding-top: 130px; padding-bottom: 140px; }
.news .plans-lead { color: #5C5C57; }
.news-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 52px; }
.news-filter {
  min-height: 48px; padding: 12px 22px; font-family: var(--font-text); font-size: 15px; font-weight: 500;
  color: var(--ink); background: transparent; border: 1px solid #BBB9B0; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.news-filter:hover { border-color: var(--ink); }
.news-filter[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.news-card {
  display: flex; flex-direction: column; text-decoration: none; background: #FFFFFF;
  border: 1px solid var(--line); transition: transform 0.2s ease, border-color 0.2s ease;
}
.news-card:hover { transform: translateY(-4px); border-color: var(--ink); }
.news-card[hidden] { display: none; }
.news-cover img { width: 100%; height: 230px; object-fit: cover; }
.news-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.news-meta { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #5C5C57; }
.news-title { font-family: var(--font-display); font-size: 19px; line-height: 1.32; color: var(--ink); }
.news-more { margin-top: auto; padding-top: 12px; font-size: 14.5px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.news-actions { margin-top: 48px; }
@media (max-width: 1023px) {
  .news { padding-top: 72px; padding-bottom: 80px; }
  .news-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .news-cover img { height: 190px; }
}
@media (max-width: 700px) { .news-grid { grid-template-columns: 1fr; } }

/* ---------- Расположение ---------- */
.location { padding-top: 130px; padding-bottom: 130px; }
.location-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.location-title { font-weight: 400; font-size: 36px; }
.location-note { font-size: 17px; color: var(--grey); margin-top: 16px; max-width: 42ch; }
.infra { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.infra li { font-size: 14.5px; font-weight: 500; padding: 10px 18px; border: 1px solid var(--line); }
.location-map { margin: 0; }
.location-map img { border: 1px solid var(--line); }
.location-map figcaption { font-size: 15px; color: var(--grey); margin-top: 14px; max-width: 58ch; }
@media (max-width: 1023px) {
  .location { padding-top: 72px; padding-bottom: 72px; }
  .location-grid { grid-template-columns: 1fr; gap: 40px; }
  .location-title { font-size: 26px; }
}

/* ---------- Вопросы и ответы ---------- */
.faq { border-top: 1px solid var(--line); padding-top: 130px; padding-bottom: 130px; }
.faq .plans-title { margin-bottom: 56px; }
.faq-list { max-width: 900px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 26px 44px 26px 0; position: relative;
  font-family: var(--font-display); font-size: 21px; line-height: 1.35; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; position: absolute; right: 8px; top: 34px; width: 14px; height: 14px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(45deg); transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); top: 40px; }
.faq-item p { font-size: 17px; line-height: 1.65; color: var(--grey); max-width: 68ch; padding-bottom: 26px; }
@media (max-width: 1023px) { .faq { padding-top: 72px; padding-bottom: 72px; } .faq-item summary { font-size: 18px; padding-right: 36px; } }

/* ---------- Контакты ---------- */
.contact { border-top: 1px solid var(--line); padding-top: 130px; padding-bottom: 150px; }
.contact-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 88px; align-items: center; }
.contact-title { font-weight: 400; font-size: 40px; max-width: 16ch; }
.contact-text { font-size: 17.5px; color: var(--grey); max-width: 44ch; margin-top: 20px; }
.contact-phone { display: inline-block; font-family: var(--font-display); font-weight: 400; font-size: 30px; color: var(--ink); text-decoration: none; margin-top: 34px; }
.contact-phone:hover { opacity: 0.65; }
.contact-hours { font-size: 15.5px; color: var(--grey); margin-top: 8px; }
.lead-form { display: flex; flex-direction: column; gap: 22px; }
.form-field { display: flex; flex-direction: column; gap: 9px; }
.form-field label { font-size: 15px; font-weight: 700; }
.form-field input[type="text"], .form-field input[type="tel"] {
  min-height: 56px; padding: 14px 16px; font-family: var(--font-text); font-size: 17px;
  color: var(--ink); background: #FFFFFF; border: 1px solid #C9C7BF; border-radius: 0;
  transition: border-color 0.2s ease;
}
.form-field input::placeholder { color: #9C9A92; }
.form-field input:focus { outline: none; border-color: var(--ink); }
.form-consent-note { font-size: 14px; line-height: 1.5; color: var(--grey); max-width: 56ch; }
.form-consent-note a { color: var(--ink); }
.form-error { display: none; font-size: 14.5px; color: #A4472E; }
.form-field.invalid .form-error { display: block; }
.form-field.invalid input { border-color: #C0603F; }
.form-success { display: none; font-size: 16.5px; color: #37522F; }
.form-failure { display: none; font-size: 15.5px; color: #A4472E; }
.form-failure.visible { display: block; }
.form-success.visible { display: block; }
@media (max-width: 1023px) {
  .contact { padding-top: 72px; padding-bottom: 80px; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-title { font-size: 27px; }
  .contact-phone { font-size: 24px; }
}

/* ---------- Футер ---------- */
.site-footer { background: #EDECE4; color: #5C5C57; border-top: 1px solid var(--line); padding-top: 56px; padding-bottom: 40px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 24px 56px; align-items: baseline; justify-content: space-between; }
.footer-brand { font-family: var(--font-display); font-weight: 400; font-size: 30px; color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 26px; list-style: none; }
.footer-links a { font-size: 15px; color: #5C5C57; text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-builders { margin-top: 44px; }
.builders-row { margin-top: 4px; }
.builders-row { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.builders-row img { height: 46px; width: auto; }
.footer-legal { margin-top: 36px; padding-top: 24px; border-top: 1px solid #D9D7CE; font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; }
.footer-legal p { max-width: 66ch; }
.footer-legal a { color: #5C5C57; }
.footer-legal a:hover { color: var(--ink); }

/* ---------- Появление при скролле ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.35s ease, transform 0.35s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .nav-toggle span { transition: none; }
}

/* ---------- Кнопки мессенджеров (слева внизу, чтобы не спорить с кнопкой каталога) ---------- */
.msg-widget { position: fixed; right: 32px; bottom: 166px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.msg-btn {
  display: flex; align-items: center; justify-content: center; width: 56px; height: 56px;
  border-radius: 16px; color: #FFFFFF; text-decoration: none; overflow: hidden;
  box-shadow: 0 6px 20px rgba(20, 16, 12, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.msg-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(20, 16, 12, 0.34); }
.msg-btn--max { background: transparent; }
.msg-btn--max img { width: 100%; height: 100%; display: block; }
.msg-btn--tg { background: #2C9FD8; }
@media (max-width: 767px) {
  .msg-widget { right: 17px; bottom: 114px; gap: 10px; }
  .msg-btn { width: 52px; height: 52px; border-radius: 15px; }
}
@media (prefers-reduced-motion: reduce) { .msg-btn { transition: none; } }
