/* jost latin-ext */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/bitrix/templates/aquamarine/fonts/jost-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* jost latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/bitrix/templates/aquamarine/fonts/jost-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* jost cyrillic */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/bitrix/templates/aquamarine/fonts/jost-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --dark:    #0A1E37;
  --gold:    #EBB866;
  --white:   #FFFFFF;
  --font:    'Jost', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font); background: var(--dark); overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ==================== NAV ==================== */
.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 20px 20px 0;
  background: transparent;
  transition: background 0.35s;
}
.main-nav.scrolled {
  background: rgba(13, 27, 42, 0.97);
  padding-bottom: 0;
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding-bottom: 18px;
}
.nav-left {
  display: flex;
  align-items: center;
}
.nav-center {
  display: flex;
  justify-content: center;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links a {
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 0.7; }
.nav-logo {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--white);
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-logo--mobile { display: none; }
.nav-logo--desktop { display: block; }
.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}
.nav-phone {
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.nav-phone-icon {
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px 0;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
}
.nav-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin: 0 -40px;
}
@media (max-width: 1200px) {
  .main-nav { padding:20px 10px 0 }
  .nav-links a { font-size: 14px }
  .nav-phone { font-size: 14px }
}
@media (max-width: 960px) {
  .nav-burger { display: flex; }
  .nav-links { display: none; }
  .nav-logo--desktop { display: none; }
  .nav-logo--mobile { display: block; }
  .nav-left { gap: 0; }
}
@media (max-width: 640px) {
  .main-nav { padding: 16px 20px 0; }
  .nav-phone { display: none; }
  .nav-phone-icon { display: flex; }
  .nav-divider { margin: 0 -20px; }
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/bitrix/templates/aquamarine/images/aquamarine_hero.webp');
  background-size: cover;
  background-position: center center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 20, 35, 0.72) 0%,
    rgba(10, 20, 35, 0.35) 60%,
    rgba(10, 20, 35, 0.10) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 20px 0;
  max-width: 1400px;
  margin: 0 auto;
}
.hero-h1 {
  font-size: 50px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 30px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.01em;
  margin-bottom: 30px;
  opacity: 0.95;
}
.hero-btns {
  display: flex;
  gap: 20px;
}
.btn-hero-white {
  display: inline-flex;
  align-items: center;
  height: 43px;
  padding: 0 28px;
  background: var(--white);
  color: var(--dark);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: 5px;
  border: 2px solid var(--white);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-hero-white:hover { background: transparent; color: var(--white); }
.btn-hero-dark {
  display: inline-flex;
  align-items: center;
  height: 43px;
  padding: 0 48px;
  background: var(--dark);
  color: var(--gold);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: 5px;
  border: 2px solid var(--dark);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-hero-dark:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }
@media (max-width: 1200px) {
  .hero-content { padding: 80px 10px 0; }
}
@media (max-width: 960px) {
  .hero { height: 50vh }
  .hero-h1 { font-size: 42px; margin-bottom: 10px }
  .hero-sub { font-size: 25px; margin-bottom: 10px }
}
@media (max-width: 640px) {
  .hero { min-height: 408px; }
  .hero-h1 { font-size: 21px; margin-bottom: 10px }
  .hero-sub { font-size: 16px; margin-bottom: 10px; max-width: 250px }
  .hero-btns { max-width: 250px; flex-wrap: wrap; gap: 10px}
}

/* ==================== ADVANTAGES ==================== */
.advantages {
  background: #F0F1F3;
  padding: 60px 20px;
}
.why-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 20px;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
}
.why-left {
  display: flex;
  flex-direction: column;
}
.why-label {
  display: block;
  font-size: 16px;
  font-weight: 300;
  color: rgba(13, 27, 42, 0.45);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.why-heading {
  font-size: 40px;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 22px;
}
.why-deco {
  flex: 1;
  width: 100%;
  border-bottom-left-radius: 5px;
  border-left: 1px solid var(--dark);
  border-bottom: 1px solid var(--dark);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.why-card {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
}
.why-card--wide {
  grid-column: 1 / -1;
}
.why-num {
  font-size: 30px;
  font-weight: 500;
  color: var(--dark);
  margin: 14px 0;
  line-height: 1;
}
.why-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.why-text {
  font-size: 16px;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.65;
}
@media (max-width: 1200px) {
  .advantages { padding: 60px 10px; }
  .why-heading { font-size: 35px }
}
@media (max-width: 960px) {
  .why-heading { margin-bottom: 30px }
  .why-deco { display: none; }
  .why-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .why-heading { font-size: 25px; }
  .why-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 12px;
  }
  .why-card {
    min-width: calc(100vw - 20px);
    flex-shrink: 1;
  }
  .why-card--wide {
    grid-column: unset;
  }
}

/* ==================== LOCATION ==================== */
.location {
  background: #F0F1F3;
  padding: 60px 20px;
}
.loc-header {
  max-width: 1400px;
  margin: 0 auto 50px;
}
.loc-label {
  display: block;
  font-size: 16px;
  font-weight: 300;
  color: rgba(13, 27, 42, 0.45);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.loc-heading {
  font-size: 40px;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.15;
}
.loc-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 20px;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
}
.loc-left {
  display: flex;
  flex-direction: column;
}
.loc-text {
  font-size: 16px;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.65;
}
.loc-deco-bl {
  flex: 1;
  width: 100%;
  margin-top: 22px;
  border-bottom-left-radius: 5px;
  border-left: 1px solid var(--dark);
  border-bottom: 1px solid var(--dark);
}
#aq-map {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 5px;
  overflow: hidden;
}
.aq-pin {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  white-space: nowrap;
}
.aq-pin-label {
  position: relative;
  background: #0d1b2a;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  white-space: nowrap;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.aq-pin-label::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid #0d1b2a;
}
.aq-pin-dot {
  width: 10px;
  height: 10px;
  background: #0d1b2a;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.loc-right {
  display: flex;
  flex-direction: column;
}
.loc-deco-tr {
  flex: 1;
  width: 100%;
  margin-bottom: 22px;
  border-top-right-radius: 5px;
  border-right: 1px solid var(--dark);
  border-top: 1px solid var(--dark);
}
@media (max-width: 1200px){
  .location { padding:60px 10px }
  .loc-heading { font-size: 35px }
}
@media (max-width: 960px) {
  .loc-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .loc-map {
    grid-column: 1;
    grid-row: 1 / 3;
  }
  .loc-left {
    grid-column: 2;
    grid-row: 1;
  }
  .loc-right {
    grid-column: 2;
    grid-row: 2;
  }
  .loc-deco-bl,
  .loc-deco-tr {
    display: none;
  }
}
@media (max-width: 640px) {
  .loc-heading { font-size: 25px }
  .loc-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 10px;
  }
  .loc-map  { grid-column: 1; grid-row: 1; }
  .loc-left { grid-column: 1; grid-row: 2; }
  .loc-right { grid-column: 1; grid-row: 3; }
}

/* ==================== FLATS ==================== */
.flats {
  background: #F0F1F3;
  padding: 60px 20px;
}
.flats-top {
  max-width: 1400px;
  margin: 0 auto 48px;
}
.flats-label {
  display: block;
  font-size: 16px;
  font-weight: 300;
  color: rgba(13,27,42,0.45);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.flats-heading {
  font-size: 40px;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.15;
}
.flats-body {
  display: grid;
  grid-template-columns: 264px 1fr;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}
/* ---- filter panel ---- */
.flats-filter {
  border-radius: 5px;
  background: #fff;
  padding: 24px;
  position: sticky;
  top: 80px;
}
.ff-group {
  margin-bottom: 24px;
}
.ff-title {
  font-size: 18px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 10px;
}
.ff-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ff-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid var(--dark);
  background: transparent;
  color: var(--dark);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.ff-btn.is-active {
  background: var(--dark);
  color: #fff;
}
.ff-btns-sep {
  width: 1px;
  align-self: stretch;
  background: rgba(13,27,42,0.2);
  margin: 2px 4px;
}
/* range */
.ff-range-row {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 8px;
}
.ff-range-row b { font-weight: 400; }
.ff-range-wrap {
  position: relative;
  height: 20px;
}
.ff-range-track {
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 2px;
  background: rgba(13,27,42,0.15);
  transform: translateY(-50%);
  border-radius: 1px;
  pointer-events: none;
}
.ff-range-fill {
  position: absolute;
  top: 50%;
  height: 2px;
  background: var(--gold);
  transform: translateY(-50%);
  border-radius: 1px;
  pointer-events: none;
}
.ff-rng {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  margin: 0; padding: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  outline: none;
}
.ff-rng::-webkit-slider-runnable-track { background: transparent; height: 2px; }
.ff-rng::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  pointer-events: all;
  cursor: pointer;
  margin-top: -6px;
  position: relative; z-index: 1;
}
.ff-rng::-moz-range-track { background: transparent; height: 2px; border: none; }
.ff-rng::-moz-range-thumb {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  pointer-events: all;
  cursor: pointer;
}
/* checkboxes */
.ff-checks { display: flex; flex-direction: column; gap: 12px; }
.ff-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: var(--dark);
  cursor: pointer;
}
.ff-check input[type="checkbox"] {
  width: 18px; height: 18px;
  border: 1px solid var(--dark);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}
.ff-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--dark);
}
/* reset button */
.ff-reset {
  display: block;
  width: 100%;
  margin-top: 24px;
  padding: 12px 16px;
  background: var(--dark);
  color: var(--gold);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: opacity 0.2s;
}
.ff-reset:hover { opacity: 0.85; }
/* ---- cards ---- */
.flats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  min-height: 500px;
  align-content: start;
}
.flat-card {
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  transition: opacity 0.42s;
}
.flat-card.is-fading {
  opacity: 0;
}
.flat-plan img {
  width: 100%;
  display: block;
  object-fit: contain;
  background: #f7f7f7;
}
.flat-details {
  padding: 20px;
}
.flat-name {
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 18px;
}
.flat-meta {
  font-size: 14px;
  font-weight: 300;
  color: rgba(13,27,42,0.55);
  margin-bottom: 10px;
}
.flat-price {
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 18px;
}
.flat-link {
  display: inline-flex;
  align-items: center;
  height: 43px;
  padding: 0 32px;
  background: var(--dark);
  color: var(--gold);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.04em;
  border: 2px solid var(--dark);
  border-radius: 5px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.flat-link:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }
@media (max-width: 1200px) {
  .flats { padding: 60px 10px }
  .flats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .flats-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .flats-heading { font-size: 25px }
  .flats-body {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .flats-filter {
    position: static;
  }
  .flats-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-bottom: 10px;
    min-height: unset;
  }
  .flat-card {
    width: calc(100vw - 20px);
    flex-shrink: 0;
  }
}

/* ==================== COMMERCIAL ==================== */
.commercial {
  background: #F0F1F3;
  padding: 60px 20px;
}
.comm-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.comm-header {
  margin-bottom: 50px;
}
.comm-label {
  display: block;
  font-size: 16px;
  font-weight: 300;
  color: rgba(13, 27, 42, 0.45);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.comm-heading {
  font-size: 40px;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.15;
}
.comm-top {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 20px;
  align-items: stretch;
}
.comm-bottom {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-top: 20px;
  align-items: stretch;
}
.comm-card {
  display: flex;
  flex-direction: column;
}
.comm-card-img {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.comm-card-img img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 5px;
  aspect-ratio: 1 / 1;
}
.comm-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 5px;
  pointer-events: none;
}
.comm-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 16px 16px;
  z-index: 1;
}
@media (max-width: 1200px) {
  .commercial { padding: 60px 10px }
  .comm-heading { font-size: 35px }
  .comm-top { grid-template-columns: 1fr 1fr 1fr }
  .comm-bottom { grid-template-columns: 1.6fr 1fr; }
}
@media (max-width: 960px) {
  .comm-top {
    grid-template-columns: 1fr 1fr;
  }
  .comm-top .comm-wide-img {
    display: none;
  }
  .comm-bottom {
    grid-template-columns: 1fr 1fr;
  }
  .comm-bottom .comm-card {
    order: 1;
  }
  .comm-bottom .comm-wide-img {
    order: 2;
    align-self: stretch;
    min-height: 300px;
    top: -50px;
    height: calc(100% + 50px);
  }
}
.comm-overlay span {
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.4;
}
.comm-card-text {
  font-size: 16px;
  font-weight: 300;
  color: var(--dark);
  margin-top: 16px;
}
.comm-wide-img {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border-radius: 5px;
}
.comm-wide-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
  display: block;
}
.comm-bottom .comm-card-img img {
  aspect-ratio: 372 / 274;
}
@media (max-width: 640px) {
  .comm-heading { font-size: 25px }
  .comm-wide-img { display: none; }
  .comm-scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 12px;
  }
  .comm-top,
  .comm-bottom {
    display: contents;
  }
  .comm-card {
    width: calc(100vw - 20px);
    flex-shrink: 0;
  }
  .comm-bottom .comm-card-img img,
  .comm-card img { aspect-ratio: 300/272 }
}

/* ==================== RENT ==================== */
.rent {
  background: #F0F1F3;
  padding: 90px 40px;
}
.rent-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.rent-header {
  margin-bottom: 50px;
}
.rent-label {
  display: block;
  font-size: 16px;
  font-weight: 300;
  color: rgba(13, 27, 42, 0.45);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.rent-heading {
  font-size: 40px;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.15;
}
.rent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rent-card {
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 5px;
}
.rent-plan {
  padding: 20px;
  background: #fff;
}
.rent-plan img {
  width: 100%;
  display: block;
  object-fit: contain;
  aspect-ratio: 4 / 3;
}
.rent-details {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.rent-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}
.rent-specs {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}
.rent-specs li {
  font-size: 14px;
  font-weight: 300;
  color: var(--dark);
  line-height: 2;
}
.rent-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  height: 43px;
  padding: 0 48px;
  background: var(--dark);
  color: var(--gold);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.04em;
  border-radius: 5px;
  border: 2px solid var(--dark);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.rent-link:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }
@media (max-width: 1200px) {
  .rent { padding: 60px 10px }
  .rent-heading { font-size: 35px }
}
@media (max-width: 960px) {
  .rent-grid { grid-template-columns: 1fr; gap: 10px }
  .rent-card { flex-direction: row }
  .rent-plan, .rent-details { width: 50% }
}
@media (max-width: 640px) {
  .rent-heading { font-size: 25px }
  .rent-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 12px;
  }
  .rent-card {
    width: calc(100vw - 20px);
    flex-shrink: 0;
    flex-direction: column;
  }
  .rent-plan,
  .rent-details {
    width: auto;
  }
}
/* ==================== PROMO ==================== */
.promo {
  background: #F0F1F3;
  padding: 60px 20px;
}
.promo-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.promo-header {
  margin-bottom: 50px;
}
.promo-label {
  display: block;
  font-size: 16px;
  font-weight: 300;
  color: rgba(13, 27, 42, 0.45);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.promo-heading {
  font-size: 40px;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 18px;
}
.promo-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.65;
  max-width: 480px;
}
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 10px;
}
.promo-card {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
}
.promo-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.promo-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.promo-text {
  font-size: 16px;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.65;
}
.promo-disclaimer {
  font-size: 12px;
  font-weight: 300;
  color: #0A1E37;
  line-height: 1.6;
  margin-top: 10px;
  max-width: 666px;
}
@media (max-width: 1200px) {
  .promo { padding: 60px 10px }
  .promo-heading { font-size: 35px }
  .promo-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 10px;
  }
  .promo-card {
    min-width: 280px;
    max-width: 40vw;
    flex-shrink: 0;
  }
}
@media (max-width: 960px) {
  .promo-grid {
    display: grid;
    grid-template-columns: 1fr;
    overflow-x: unset;
  }
  .promo-card { min-width: unset; max-width: unset; }
}
@media (max-width: 640px) {
  .promo-heading { font-size: 25px }
  .promo-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 0;
  }
  .promo-card {
    width: calc(100vw - 20px);
    flex-shrink: 0;
  }
}

/* ==================== CONTACTS ==================== */
.contacts {
  background: #F0F1F3;
  padding: 90px 20px;
}
.contacts-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  column-gap: 20px;
  row-gap: 20px;
  align-items: start;
}
.contacts-promo-img {
  grid-column: 1 / -1;
}
.contacts-deco {
  border-right: 1px solid var(--dark);
  border-bottom: 1px solid var(--dark);
  border-bottom-right-radius: 5px;
  align-self: stretch;
}
.contacts-label {
  display: block;
  font-size: 16px;
  font-weight: 300;
  color: rgba(13, 27, 42, 0.45);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  margin-top: 30px;
}
.contacts-heading {
  font-size: 40px;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 14px;
}
.contacts-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.65;
  max-width: 420px;
  margin-bottom: 28px;
}
.contacts-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contacts-form > div:not(.cf-success) { display: contents; }
.contacts-form form { display: flex; flex-direction: column; gap: 12px; }
.cf-field {
  width: 100%;
}
.cf-input {
  width: 100%;
  height: 56px;
  padding: 0 20px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 300;
  color: var(--dark);
  background: #fff;
  border: 1px solid rgba(13, 27, 42, 0.25);
  outline: none;
  transition: border-color 0.2s;
}
.cf-input::placeholder { color: rgba(13, 27, 42, 0.4); }
.cf-input:focus { border-color: var(--dark); }
.cf-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  height: 43px;
  padding: 0 48px;
  background: var(--dark);
  color: var(--gold);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.04em;
  border: 2px solid var(--dark);
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  margin-top: 4px;
}
.cf-submit:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.cf-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin-top: 4px;
}
.cf-consent input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--dark);
  cursor: pointer;
}
.cf-consent span {
  font-size: 13px;
  font-weight: 300;
  color: rgba(13, 27, 42, 0.6);
  line-height: 1.5;
}
.cf-consent a {
  text-decoration: underline;
  color: inherit;
}
.cf-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px 0;
}
.cf-success p { margin: 0; }
.cf-error {
  padding: 10px 16px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 14px;
  border-radius: 4px;
}

/* Right column */
.contacts-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}
.contacts-left{
  margin-top: 30px;
}
.contacts-promo-img img {
  width: 100%;
  display: block;
}
.contacts-block-title {
  font-size: 20px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 6px;
}
.contacts-block-text {
  font-size: 15px;
  font-weight: 300;
  color: #262626;
  line-height: 1.6;
}
.contacts-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.contacts-links a { color: #262626; }
.contacts-links a:hover { opacity: 0.6; }
@media (max-width: 1200px) {
  .contacts { padding: 60px 10px }
  .contacts-heading { font-size: 35px }
}
@media (max-width: 960px) {
  .contacts-left { margin-top: 0px }
  .contacts-inner { grid-template-columns: 1fr }
  .contacts-deco { display: none }
  .cf-input { height: 50px }
  .contacts-right {
    display: grid;
    grid-template-columns: 0.8fr 0.8fr 1.4fr;
    gap: 10px;
    margin-top: 10px;
  }
  .contacts-links { flex-direction: column; gap: 10px}
}
@media (max-width: 640px) {
  .contacts-heading { font-size: 25px }
  .contacts-sub {
    margin-bottom: 20px;
  }
  .contacts-right { grid-template-columns: 1fr; }
  .contacts-links { flex-direction: row;  column-gap: 20px}
  .contacts-links a:nth-child(1) {
    flex-grow: 1;
    width: 100%;
  }
}

/* ==================== HORIZONTAL SCROLLBARS ==================== */
/* promo-grid CSS scrollbar for 641–1200px desktop */
@media (min-width: 641px) {
  .promo-grid { scrollbar-width: thin; scrollbar-color: rgba(13,27,42,.35) rgba(13,27,42,.08); }
  .promo-grid::-webkit-scrollbar { height: 3px; }
  .promo-grid::-webkit-scrollbar-track { background: rgba(13,27,42,.08); border-radius: 2px; }
  .promo-grid::-webkit-scrollbar-thumb { background: rgba(13,27,42,.35); border-radius: 2px; }
}

/* Hide native scrollbar on mobile scroll containers — replaced by .cscroll-track */
@media (max-width: 640px) {
  .why-grid,
  #flats-grid,
  .comm-scroll,
  .rent-grid,
  .promo-grid {
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
  }
  .why-grid > *,
  #flats-grid > *,
  .rent-grid > *,
  .promo-grid > * {
    scroll-snap-align: start;
  }
  .comm-scroll .comm-card {
    scroll-snap-align: start;
  }
  .why-grid::-webkit-scrollbar,
  #flats-grid::-webkit-scrollbar,
  .comm-scroll::-webkit-scrollbar,
  .rent-grid::-webkit-scrollbar,
  .promo-grid::-webkit-scrollbar { display: none; }
}

/* Custom scrollbar track injected by JS below each mobile scroll container */
@media (max-width: 640px) {
  .cscroll-track {
    position: relative;
    height: 4px;
    background: rgba(13, 27, 42, 0.1);
    border-radius: 2px;
    margin-top: 6px;
  }
  .cscroll-thumb {
    position: absolute;
    top: 0;
    height: 4px;
    background: rgba(13, 27, 42, 0.4);
    border-radius: 2px;
    cursor: pointer;
    touch-action: none;
  }
}

/* ==================== MOBILE MENU ==================== */
.mob-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mob-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mob-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 270px;
  max-width: 85vw;
  background: #fff;
  z-index: 301;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mob-menu.is-open { transform: translateX(0); }
.mob-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  height: 65px;
  flex-shrink: 0;
}
.mob-close {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.mob-close:hover { opacity: 1; }
.mob-top-spacer { width: 32px; flex-shrink: 0; }
.mob-logo {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--dark);
  text-transform: uppercase;
}
.mob-nav {
  display: flex;
  flex-direction: column;
  padding: 20px 10px;
  gap: 10px;
  flex: 1;
}
.mob-nav a {
  font-size: 18px;
  font-weight: 400;
  color: var(--dark);
  transition: opacity 0.2s;
}
.mob-nav a:hover { opacity: 0.45; }
.mob-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 10px;
  flex-shrink: 0;
}
.mob-bottom-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}
.mob-bottom-icons a {
  display: flex;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.mob-bottom-icons a:hover { opacity: 1; }
.mob-urban-link { display: inline-flex; align-items: center; }

/* ==================== FOOTER ==================== */
.site-footer {
  background: #F0F1F3;
  border-top: 1px solid var(--gold);
  padding: 50px 20px;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-logo {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--dark);
  text-transform: uppercase;
}
.footer-copy {
  font-size: 16px;
  font-weight: 300;
  color: rgba(13, 27, 42, 0.5);
}
.footer-copy-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-urban {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s;
}
.footer-urban:hover { opacity: 0.5; }
.footer-urban img { display: block; }
.footer-col-title {
  font-size: 17px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 16px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  font-size: 18px;
  font-weight: 300;
  color: var(--dark);
  transition: opacity 0.2s;
}
.footer-nav a:hover { opacity: 0.55; }
@media (max-width: 1200px) {
  .site-footer { padding: 40px 10px }
  .footer-col-title { font-size: 16px }
  .footer-nav a { font-size: 17px }
}
@media (max-width: 960px) {
  .footer-inner { grid-template-columns: repeat(3, 1fr) }
  .footer-brand { grid-column: 1 / -1 }
  .footer-col-title { font-size: 14px }
  .footer-nav a { font-size: 14px }
}
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; gap: 24px }
  .footer-brand { grid-column: auto }
  .footer-col-title { font-size: 17px }
  .footer-nav a { font-size: 16px }

  /* Меню: 2 ссылки в строку */
  .footer-inner .footer-col:nth-child(2) .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 8px;
  }
  .footer-inner .footer-col:nth-child(2) .footer-nav li:nth-child(even) { width: calc(60% - 10px) }
  .footer-inner .footer-col:nth-child(2) .footer-nav li:nth-child(6) { width: auto }

  /* Контакты: телефон и почта на всю строку, 3 соцсетки в ряд */
  .footer-inner .footer-col:nth-child(3) .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 8px;
  }
  .footer-inner .footer-col:nth-child(3) .footer-nav li:nth-child(-n+2) { width: 100% }

  /* Политика/реквизиты/сеон: каждая на всю строку */
  .footer-inner .footer-col:nth-child(4) .footer-nav { flex-direction: column; gap: 8px }
}
