/* novostroiki-kryma.ru — морской, но строгий: слоновая кость, глубокий бирюзовый, песок и латунь */
:root {
  --bg: #f8f5ef;
  --bg2: #f1ebe0;
  --card: #fffdf9;
  --fg: #0f1d26;
  --muted: #5b6770;
  --line: rgba(15, 29, 38, 0.10);
  --sea: #0d5c6b;
  --sea2: #12808f;
  --deep: #0a2230;
  --sand: #efe6d6;
  --brass: #a87a2f;
  --coral: #c9583a;
  --ok: #1f8a5b;
  --shadow: 0 18px 50px rgba(10, 34, 48, 0.10);
  --radius: 20px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; line-height: 1.12; margin: 0 0 14px; }
h1 { font-size: clamp(34px, 5.4vw, 60px); }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: 21px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; font-weight: 600; color: var(--brass); margin: 0 0 14px; }
section { padding: 56px 0; }
section.tight { padding: 28px 0; }
section.alt { background: var(--bg2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- шапка ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(248, 245, 239, 0.86); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--fg); font-family: var(--serif); font-size: 19px; font-weight: 600; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo svg { flex: none; }
.logo small { display: block; font: 500 10.5px/1 -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); margin-top: 3px; }
.nav nav { display: flex; align-items: center; gap: 22px; margin-left: auto; font-size: 14.5px; }
.nav nav a { color: var(--fg); }
.nav nav a.on { color: var(--sea); font-weight: 600; }
@media (max-width: 900px) { .nav nav a.hide-m { display: none; } .nav nav { gap: 14px; } }
@media (max-width: 520px) { .nav nav a.ipo { display: none; } .nav nav .btn { display: none; } .nav nav a.hide-m:first-child { display: inline; } .logo { font-size: 17px; } }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--sea); color: #fff; font: 600 15.5px/1.2 inherit; font-family: inherit; transition: background 0.18s, transform 0.12s; text-align: center; }
.btn:hover { background: var(--sea2); text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn.ghost { background: transparent; color: var(--sea); box-shadow: inset 0 0 0 1.5px var(--sea); }
.btn.ghost:hover { background: rgba(13, 92, 107, 0.06); }
.btn.light { background: #fff; color: var(--deep); }
.btn.light:hover { background: var(--sand); }
.btn.brass { background: var(--brass); }
.btn.brass:hover { background: #95692a; }
.btn:disabled { opacity: 0.55; cursor: default; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ---------- первый экран ---------- */
.hero { position: relative; overflow: hidden; color: #f4efe6; background: radial-gradient(1200px 500px at 85% -10%, rgba(18, 128, 143, 0.55), transparent 60%), linear-gradient(160deg, #0a2230 0%, #0c3644 55%, #0d4a57 100%); padding: 72px 0 120px; }
.hero h1 { color: #fff; max-width: 820px; }
.hero h1 em { font-style: italic; color: #e9cf9a; }
.hero .lead { font-size: clamp(17px, 2vw, 19px); max-width: 640px; color: rgba(244, 239, 230, 0.86); }
.hero .eyebrow { color: #e0c387; }
.hero .waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; }
.hero .stats { display: flex; flex-wrap: wrap; gap: 0; margin-top: 34px; border-top: 1px solid rgba(255, 255, 255, 0.16); max-width: 760px; }
.hero .stats div { flex: 1 1 0; min-width: 150px; padding: 16px 18px 0 0; }
.hero .stats b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 600; color: #fff; line-height: 1.1; }
.hero .stats span { font-size: 13.5px; color: rgba(244, 239, 230, 0.72); }
.hero.sub { padding: 44px 0 86px; }
.hero.sub h1 { font-size: clamp(30px, 4.4vw, 50px); }
.crumbs { font-size: 13.5px; color: rgba(244, 239, 230, 0.7); margin-bottom: 18px; }
.crumbs a { color: rgba(244, 239, 230, 0.92); }
.crumbs span { margin: 0 6px; opacity: 0.6; }
.crumbs.dark { color: var(--muted); }
.crumbs.dark a { color: var(--sea); }

/* ---------- фильтры ---------- */
.search { position: relative; z-index: 2; margin-top: -64px; }
.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; border: 1px solid var(--line); }
.panel label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.panel select { appearance: none; -webkit-appearance: none; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235b6770' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; padding: 0 34px 0 14px; font: 500 15px/1 inherit; font-family: inherit; color: var(--fg); text-transform: none; letter-spacing: 0; width: 100%; }
@media (max-width: 960px) { .panel { grid-template-columns: repeat(2, minmax(0, 1fr)); } .panel label:last-child { grid-column: span 2; } }
.found { margin: 18px 0 0; font-size: 14px; color: var(--muted); min-height: 20px; }

/* ---------- карточки ЖК ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 18px; }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; gap: 16px; } }
.card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); color: var(--fg); transition: box-shadow 0.2s, transform 0.2s; }
.card:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-2px); }
.card[hidden] { display: none; }
.card .pic { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #cfe0e0, #e9e1d1); overflow: hidden; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; }
.card .pic .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center; font-family: var(--serif); font-size: 22px; color: var(--sea); }
.card .city { position: absolute; left: 12px; top: 12px; background: rgba(10, 34, 48, 0.78); color: #fff; font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 8px; backdrop-filter: blur(6px); }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 21px; margin: 0 0 3px; }
.card .dev { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.card .price { font-family: var(--serif); font-size: 23px; font-weight: 600; color: var(--deep); }
.card .price small { font: 500 13.5px/1 -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--muted); margin-left: 6px; }
.card .row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 500; padding: 4px 9px; border-radius: 7px; background: var(--bg2); color: var(--fg); white-space: nowrap; }
.chip.sea { background: rgba(13, 92, 107, 0.10); color: var(--sea); }
.chip.hot { background: rgba(201, 88, 58, 0.11); color: var(--coral); }
.chip.ok { background: rgba(31, 138, 91, 0.11); color: var(--ok); }
.card .foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--muted); }
.card .foot b { color: var(--sea); font-weight: 600; }

/* ---------- блоки текста, ссылки ---------- */
.two { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; gap: 26px; } }
.prose { max-width: 820px; }
.prose p, .prose li { color: #26343d; }
.prose h2 { margin-top: 34px; }
.prose h3 { margin-top: 24px; }
.prose ul, .prose ol { padding-left: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags a { display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--fg); font-size: 15px; }
.tags a:hover { border-color: var(--sea); color: var(--sea); text-decoration: none; }
.tags a span { color: var(--muted); font-size: 13px; }
.cities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .cities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cities a { display: block; padding: 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: var(--fg); }
.cities a:hover { border-color: var(--sea); text-decoration: none; }
.cities b { display: block; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.cities span { font-size: 13.5px; color: var(--muted); }

/* ---------- страница ЖК ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 7.5; margin-top: -60px; position: relative; z-index: 2; box-shadow: var(--shadow); background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g0 { grid-row: span 2; }
.gallery.one { grid-template-columns: 1fr; grid-template-rows: 1fr; }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr; grid-template-rows: 1fr; aspect-ratio: 4 / 3; margin-top: -54px; } .gallery .g1, .gallery .g2 { display: none; } }
.credit { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.credit a { color: var(--muted); text-decoration: underline; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.facts div { padding: 18px 20px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts b { display: block; font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.15; }
.facts span { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts div:nth-child(3) { border-left: 0; } .facts div:nth-child(n+3) { border-top: 1px solid var(--line); } .facts b { font-size: 20px; } }
.rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.room { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.room img { height: 150px; object-fit: contain; margin-bottom: 8px; background: #fff; border-radius: 10px; }
.room b { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.room span { font-size: 14px; color: var(--muted); }
.promo { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--brass); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; font-size: 15px; }

/* таблицы */
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th, .tbl td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl thead th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; background: var(--bg2); }
.tbl tr:last-child td, .tbl tr:last-child th { border-bottom: 0; }
.tbl td.num { font-variant-numeric: tabular-nums; }
.tbl.terms th { width: 34%; white-space: normal; color: var(--muted); font-weight: 500; }
.tbl.terms td { white-space: normal; }
.old { text-decoration: line-through; color: var(--muted); font-size: 12.5px; margin-left: 6px; }
.src { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ---------- шахматка ---------- */
.chess-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0; }
.seg { display: inline-flex; background: var(--bg2); border-radius: 10px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 8px 12px; border-radius: 8px; font: 500 14px/1 inherit; font-family: inherit; color: var(--fg); cursor: pointer; }
.seg button.on { background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); color: var(--sea); font-weight: 600; }
.houses { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.houses button { flex: none; border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 9px 14px; font: 500 14px/1.2 inherit; font-family: inherit; cursor: pointer; color: var(--fg); text-align: left; }
.houses button small { display: block; font-size: 12px; color: var(--muted); }
.houses button.on { border-color: var(--sea); box-shadow: inset 0 0 0 1px var(--sea); color: var(--sea); }
.chess { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.chess .sect { display: inline-block; vertical-align: top; margin-right: 22px; }
.chess .sect h4 { margin: 0 0 8px; font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.chess .fl { display: flex; align-items: center; gap: 4px; margin-bottom: 4px; }
.chess .fl > i { flex: none; width: 26px; font-style: normal; font-size: 12px; color: var(--muted); text-align: right; padding-right: 4px; font-variant-numeric: tabular-nums; }
.cell { flex: none; width: 58px; height: 46px; border-radius: 7px; border: 0; padding: 3px; font: 600 12px/1.15 inherit; font-family: inherit; cursor: default; background: #ebe7df; color: #a59f95; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cell small { font-weight: 500; font-size: 10.5px; }
.cell.free { background: rgba(13, 92, 107, 0.12); color: var(--sea); cursor: pointer; }
.cell.free:hover { background: var(--sea); color: #fff; }
.cell.booked { background: rgba(168, 122, 47, 0.16); color: #8a6526; }
.cell.dim { opacity: 0.28; }
.cell.promo { box-shadow: inset 0 0 0 1.5px var(--coral); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); margin-top: 10px; }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; }

/* ---------- калькулятор ---------- */
.calc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.calc .f { margin-bottom: 18px; }
.calc .f label { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.calc .f label b { color: var(--fg); font-variant-numeric: tabular-nums; }
.calc input[type=range] { width: 100%; accent-color: var(--sea); height: 28px; }
.calc .out { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.calc .out div span { display: block; font-size: 13px; color: var(--muted); }
.calc .out div b { font-family: var(--serif); font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc .out .big b { color: var(--sea); font-size: 32px; }
.calc .warn { font-size: 13.5px; color: var(--coral); margin-top: 12px; min-height: 0; }
.calc .warn:empty { display: none; }
.calc .note { font-size: 12.5px; color: var(--muted); margin-top: 14px; line-height: 1.45; }

/* ---------- юридические сноски ---------- */
.legal { font-size: 12.5px; line-height: 1.5; color: var(--muted); background: var(--bg2); border-radius: 14px; padding: 14px 16px; margin-top: 18px; }
.legal p { margin: 0 0 6px; }
.legal p:last-child { margin: 0; }
.legal b { color: #3b4851; font-weight: 600; }

/* ---------- заявка ---------- */
.get { background: linear-gradient(150deg, #0a2230, #0d4a57); color: #f4efe6; border-radius: var(--radius); padding: 36px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; }
.get h2 { color: #fff; }
.get p { color: rgba(244, 239, 230, 0.82); }
.get .ch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.get .ch button { min-height: 52px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08); color: #fff; font: 600 15px/1.2 inherit; font-family: inherit; cursor: pointer; }
.get .ch button:hover { background: rgba(255, 255, 255, 0.16); }
.get .meta-note { font-size: 11.5px; color: rgba(244, 239, 230, 0.55); margin: 12px 0 0; grid-column: 1 / -1; }
@media (max-width: 820px) { .get { grid-template-columns: 1fr; padding: 26px 20px; } }

.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq summary { padding: 16px 44px 16px 18px; cursor: pointer; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 13px; font-size: 22px; color: var(--sea); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: #26343d; }

/* модальное окно заявки */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(10, 24, 32, 0.55); display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.show { display: flex; }
.sheet { background: var(--card); border-radius: 22px; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 24px; position: relative; overscroll-behavior: contain; }
.sheet h3 { font-size: 24px; margin: 0 40px 4px 0; }
.sheet .why { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.sheet .x { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg2); font-size: 18px; cursor: pointer; color: var(--fg); }
.q { margin-bottom: 12px; }
.q > span { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.pick { display: flex; flex-wrap: wrap; gap: 6px; }
.pick button { border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 8px 12px; font: 500 14px/1 inherit; font-family: inherit; cursor: pointer; color: var(--fg); }
.pick button.on { background: var(--sea); border-color: var(--sea); color: #fff; }
.field { width: 100%; height: 50px; border-radius: 11px; border: 1px solid var(--line); padding: 0 14px; font: 16px/1 inherit; font-family: inherit; margin-bottom: 10px; background: #fff; color: var(--fg); }
.field:focus { outline: 2px solid rgba(13, 92, 107, 0.35); border-color: var(--sea); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 4px 0 12px; line-height: 1.4; }
.consent input { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--sea); }
.err { color: var(--coral); font-size: 14px; min-height: 0; margin-bottom: 8px; }
.err:empty { display: none; }
.sheet .btn { width: 100%; }
.sheet .small-legal { font-size: 11.5px; color: var(--muted); margin-top: 10px; line-height: 1.4; }
.done { text-align: center; padding: 20px 0; }
.done .check { width: 64px; height: 64px; border-radius: 50%; background: rgba(31, 138, 91, 0.12); color: var(--ok); font-size: 32px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.flat-plan { background: #fff; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 12px; max-height: 260px; object-fit: contain; width: 100%; }
.flat-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-bottom: 14px; font-size: 14.5px; }
.flat-rows span { color: var(--muted); display: block; font-size: 12.5px; }
@media (max-width: 560px) { .modal { align-items: flex-end; padding: 0; } .sheet { border-radius: 22px 22px 0 0; max-height: 92vh; max-height: 92dvh; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); } }

/* ---------- подвал ---------- */
footer { background: #0a2230; color: rgba(244, 239, 230, 0.78); padding: 48px 0 34px; font-size: 14px; margin-top: 0; }
footer a { color: rgba(244, 239, 230, 0.92); }
footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
footer h4 { color: #e0c387; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 12px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 7px; }
footer .req { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 12.5px; line-height: 1.6; color: rgba(244, 239, 230, 0.6); }
footer .req p { margin: 0 0 8px; }
@media (max-width: 860px) { footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { footer .cols { grid-template-columns: 1fr; } }

.mbar { display: none; }
@media (max-width: 720px) {
  section { padding: 40px 0; }
  .mbar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(248, 245, 239, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .mbar .btn { flex: 1 1 0; min-width: 0; min-height: 46px; padding: 0 10px; font-size: 15px; }
  body.has-mbar { padding-bottom: 72px; }
}
.notfound { text-align: center; padding: 90px 0; }
.two > *, .grid > *, .panel > *, .cities > *, .facts > * { min-width: 0; overflow-wrap: anywhere; }
.actions[hidden], .houses[hidden] { display: none; }
@media (max-width: 620px) {
  .tbl.terms tr { display: block; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .tbl.terms tr:last-child { border-bottom: 0; }
  .tbl.terms th, .tbl.terms td { display: block; width: auto; padding: 0; border: 0; }
  .tbl.terms th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
  .hero .waves { height: 44px; }
  .hero { padding-bottom: 96px; }
  .hero .stats b { font-size: 24px; }
  .hero .stats div { min-width: 140px; }
}
