.lot-cta { position: relative; background-size: cover; background-repeat: no-repeat; background-position: center center; padding: 80px 0; min-height: 560px; }
.lot-cta__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.35); backdrop-filter: blur(7px); border-radius: 15px; }
.lot-cta__container { position: relative; max-width: 1160px; margin: 0 auto; display: grid; place-items: center; }
.lot-cta__panel { width: min(560px, 92%); background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 20px 40px rgba(0,0,0,.25); text-align: center; }
.lot-cta__title { font-family: 'Akrobat', var(--font-family-base); font-weight: 800; font-size: 80px; line-height: 1; letter-spacing: -0.04em; text-transform: uppercase; color: #131315; margin-bottom: 10px; }
.lot-cta__subtitle { color: #131315; opacity: .9; font-family: var(--font-family-base); font-size: 24px; font-weight: 400; text-transform: none; line-height: 1.2; margin: 40px 0; }

@media (min-width: 1025px) {
  .lot-cta { background-position: center 35%; }
}
@media (max-width: 640px) {
  .lot-cta { background-position: center top; padding: 60px 0; min-height: 480px; }
}
.related { padding: 60px 0 80px; background: #F3F3F3; border-radius: 15px; margin: 0 5px; }
.related__inner { max-width: 1160px; margin: 0 auto; }
.related__title { font-family: 'Akrobat', var(--font-family-base); font-weight: 800; font-size: 64px; letter-spacing: -0.04em; text-transform: uppercase; text-align: center; margin-bottom: 24px; }
.settlement { background: #131315; padding: 160px 0 80px; }
.settlement__inner { max-width: 1160px; margin: 0 auto; }
.settlement__grid { display: grid; grid-template-columns: 575px 1fr; gap: 40px; align-items: start; }
.settlement__content { display: grid; gap: 16px; }
.settlement__title { font-family: 'Akrobat', var(--font-family-base); font-weight: 800; font-size: 72px; line-height: 0.9; letter-spacing: -0.04em; text-transform: uppercase; color: #FFFFFF; }
.settlement__stats { display: inline-flex; gap: 10px; }
.settlement__chip { display: inline-flex; align-items: center; height: 34px; border-radius: 8px; padding: 0 12px; background: #F3F3F3; color: #131315; font-size: 14px; }
.settlement__text { color: #FFFFFF; opacity: .9; max-width: 760px; }
.settlement__btn { display: inline-flex; justify-content: center; align-items: center; height: 62px; border-radius: 29px; padding: 20px 40px 20px; background: linear-gradient(90deg, #FFD04E 0%, #D5A149 100%); color: #131315; text-transform: uppercase; font-family: 'Akrobat', var(--font-family-base); font-weight: 800; letter-spacing: -0.04em; width: fit-content; }
.settlement__media { position: relative; border-radius: 15px; overflow: hidden; background: #9b9b9b; min-height: 520px; display: grid; /*grid-template-columns: 60px 1fr 60px;*/ align-items: center; }
.settlement__nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.12); color: #fff; }
.settlement__nav--prev { justify-self: center; }
.settlement__nav--next { justify-self: center; }
.settlement__image { background-size: cover; background-position: center; height: 100%; }

@media (max-width: 1024px) {
  .settlement__grid { grid-template-columns: 1fr; }
}
.lot-card { border-radius: 24px; background: #FFFFFF; border: 1px solid #E5E5E5; padding: 24px; display: grid; gap: 16px; }
.lot-price__label { color: #9CA3AF; font-size: 18px; }
.lot-price__value { font-family: 'Akrobat', var(--font-family-base); font-weight: 800; font-size: 44px; letter-spacing: -0.02em; color: #131315; }
.lot-currs { display: inline-flex; gap: 0; padding: 2px; height: 32px; border-radius: 16px; background: #F3F3F3; border: 1px solid #E5E5E5; width: fit-content; }
.lot-curr { height: 26px; width: 26px; border-radius: 29px; background: #F3F3F3; color: #131315; cursor: pointer; border: none; }
.lot-curr.is-active { background: #000; border-color: transparent; color: #FFD04E; }
.lot-action { height: 64px; border-radius: 34px; font-size: 22px; }
.lot-action--secondary { background: #FFFFFF; border: 2px solid #131315; }
.lot-action--primary { background: linear-gradient(90deg, #FFD04E 0%, #D5A149 100%); color: #131315; }
.lot-main__inner { display: grid; grid-template-columns: 1fr 360px; gap: 20px; }
.lot-gallery { border-radius: 15px; overflow: hidden; background: #222; }
.lot-gallery__main { height: 540px; background-size: cover; background-position: center; }
.lot-gallery__thumbs { display: grid; grid-auto-flow: column; gap: 8px; padding: 8px; background: #0f0f0f; overflow-x: auto; }
.lot-thumb { width: 120px; height: 80px; border-radius: 8px; background-size: cover; background-position: center; border: 2px solid transparent; cursor: pointer; }
.lot-thumb.is-active { border-color: #FFD04E; }

.lot-aside { display: grid; gap: 16px; align-content: start; }
.lot-price { display: grid; gap: 8px; }
.lot-price__value { font-family: 'Akrobat', var(--font-family-base); font-weight: 800; font-size: 32px; color: #131315; }
.lot-price__currency { display: inline-flex; gap: 8px; }
.lot-specs { display: grid; gap: 10px; padding: 30px 0;}
.lot-specs__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; color:#8C8C8C }
.lot-specs__row b { color:#000; font-weight: 400; }
.lot-actions { display: grid; gap: 10px; }
.lot-action { width: 100%; border-radius: 29px; font-family: 'Akrobat', var(--font-family-base); font-weight: 800; text-transform: uppercase; letter-spacing: -0.04em; cursor: pointer; }
/* Secondary actions styled like .property-search__button */
.lot-action--secondary { display: flex; justify-content: center; align-items: center; height: 54px; border: 1px solid #131315; background: transparent; color: #131315; font-size: 22px; line-height: 100%; }
/* Primary action styled like .lead__button */
.lot-action--primary { height: 54px; padding: 0 28px; border: none; background: linear-gradient(90deg, #FFD04E 0%, #D5A149 100%); color: #131315; font-size: 22px; }
/* Lot page */
.lot-wrap { background: #F3F3F3; border-radius: 15px; padding: 30px 30px 40px; margin: 0 5px; top: 70px; position: relative; }
.lot-wrap__inner { max-width: 1160px; margin: 0 auto; }
.breadcrumbs { text-align: center; color: #989898; margin-bottom: 16px; font-size: 18px; }
.breadcrumbs span { font-weight: bold; color:#323232 }
.lot-head { display: block; margin-bottom: 16px; }
.lot-title { font-family: 'Akrobat', var(--font-family-base); font-weight: 800; font-size: 80px; letter-spacing: -0.04em; text-transform: uppercase; color: #131315; }
.lot-head__loc { display: inline-flex; align-items: center; gap: 8px; color: #131315; margin-top: 6px; }
.loc-ic { width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 15s5-3.8 5-8A5 5 0 0 0 3 7c0 4.2 5 8 5 8z' fill='%23131315'/%3E%3Ccircle cx='8' cy='7' r='1.8' fill='%23FFFFFF'/%3E%3C/svg%3E") center/contain no-repeat; }
.loc-ic--gold { background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='16' y2='16'%3E%3Cstop stop-color='%23FFD04E'/%3E%3Cstop offset='1' stop-color='%23D5A149'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M8 15s5-3.8 5-8A5 5 0 0 0 3 7c0 4.2 5 8 5 8z' fill='url(%23g)'/%3E%3Ccircle cx='8' cy='7' r='1.8' fill='%23131315'/%3E%3C/svg%3E") center/contain no-repeat; }

.lot-main__inner { display: grid; grid-template-columns: 1fr 360px; gap: 20px; }
.lot-gallery { border-radius: 15px; overflow: hidden; background: #222; }
.lot-gallery__main { height: 540px; background-size: cover; background-position: center; }
.lot-gallery__thumbs { display: grid; grid-auto-flow: column; gap: 8px; padding: 8px; background: #0f0f0f; overflow-x: auto; }
.lot-thumb { width: 120px; height: 80px; border-radius: 8px; background-size: cover; background-position: center; border: 2px solid transparent; cursor: pointer; }
.lot-thumb.is-active { border-color: #FFD04E; }
.lot-slider-zoom .material-icons { color: #FFF; margin-bottom: 20px; }
.lot-aside { display: grid; gap: 16px; align-content: start; }
.lot-desc { margin: 45px 0 60px; color: #131315; max-width: 780px; }
.visually-hidden { position: absolute; clip: rect(0 0 0 0); width: 1px; height: 1px; margin: -1px; overflow: hidden; }
.lot-cta { border-radius: 15px; margin: 5px; color: #131315; font-family: 'Akrobat', var(--font-family-base); font-weight: 800; text-transform: uppercase; border: none; cursor: pointer; }

@media (max-width: 1024px) {
  .lot-main__inner { grid-template-columns: 1fr; }
}
/* Catalog */
.catalog-head { background: #131315; }
.catalog-head__inner { max-width: 1160px; margin: 0 auto; padding: 120px 0 20px; }
.catalog-head__title { font-family: 'Akrobat', var(--font-family-base); font-weight: 800; font-size: 80px; line-height: 1; letter-spacing: -0.04em; text-transform: uppercase; color: #FFD04E; text-align: center; }

.catalog-filter { background: #F3F3F3; border-radius: 15px; margin: 70px 0 5px; padding: 30px 0 50px; }
.catalog-filter__inner { max-width: 1160px; margin: 0 auto; }
.catalog-toolbar { max-width: 1160px; margin: 14px auto 18px; padding: 0 0; display: flex; justify-content: flex-start; }
.catalog-sort { display: grid; gap: 8px; }
.catalog-sort__label { color: #a3a3a3; font-size: 14px; }
.catalog-sort__select { width: 373px; height: 40px; border-radius: 8px; border: 1px solid #E5E5E5; background: #fff; padding: 0 14px; font-size: 18px; color: #131315; -webkit-text-fill-color: #131315; appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23131315' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 28px center; padding-right: 40px; }
.catalog-sort__select option { color: #131315; }
.catalog-grid__list { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0 0; }
.catalog-card { border-radius: 15px; overflow: hidden; background: #fff; display: grid; grid-template-rows: 300px auto; }
.catalog-card__cover { background-size: cover; background-position: center; border-radius: 15px;}
.catalog-card__body { padding: 16px; display: grid; gap: 4px; }
.catalog-card__title { font-family: 'Akrobat', var(--font-family-base); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.catalog-card__loc { display: inline-flex; align-items: center; gap: 4px; color: #666; font-size: 14px; }
.catalog-card__loc-ic { width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 15s5-3.8 5-8A5 5 0 0 0 3 7c0 4.2 5 8 5 8z' fill='%23131315'/%3E%3Ccircle cx='8' cy='7' r='1.8' fill='%23FFFFFF'/%3E%3C/svg%3E") center/contain no-repeat; }
/* Pagination */
.pagination { max-width: 1160px; margin: 24px auto 0; display: flex; gap: 10px; align-items: center; justify-content: flex-start; }
.pagination__pill { height: 58px; padding: 0 20px; border-radius: 29px; border: 1px solid rgba(19,19,21,.12); background: #fff; color: #131315; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 16px; }
.pagination__pill[aria-disabled="true"] { opacity: .5; cursor: default; }
.pagination__ic { width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.5 3L6.5 9l5 6' stroke='%23131315' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.pagination__ic--right { transform: scaleX(-1); }
.pagination__page { width: 58px; height: 58px; border-radius: 50%; border: 1px solid rgba(19,19,21,.12); background: #F5F5F5; color: #131315; cursor: pointer; font-weight: 600; }
.pagination__page--active { background: #131315; color: #FFD04E; border-color: #131315; }
/* Legacy ul.pagination from backend inside .catalog-pagination */
.catalog-pagination .pagination { list-style: none; padding: 0; margin: 24px auto 0; display: flex; align-items: center; gap: 10px; }
.catalog-pagination .pagination li a,
.catalog-pagination .pagination li span { display: inline-flex; justify-content: center; align-items: center; width: 58px; height: 58px; border-radius: 50%; background: #fff; border: 1px solid #E0E0E0; color: #131315; text-decoration: none; font-weight: 700; font-size: 16px; }
.catalog-pagination .pagination li.active a,
.catalog-pagination .pagination li.active span { background: #131315; color: #FFD04E; border-color: #131315; }
.catalog-pagination .pagination li:first-child a,
.catalog-pagination .pagination li:last-child a { border-radius: 999px; padding: 0 28px; width: auto; height: 58px; font-size: 22px; font-weight: 500; color: #131315; background: #fff; border: 1px solid #E0E0E0; }
.catalog-pagination .pagination li:first-child a { position: relative; font-size: 0; }
.catalog-pagination .pagination li:first-child a:before { content: ""; display: inline-block; width: 22px; height: 22px; margin-right: 3px; background: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.5 3L6.5 9l5 6' stroke='%23888888' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.catalog-pagination .pagination li:first-child a:after { content: "Назад"; font-size: 16px; color: #8A8A8A; }
.catalog-pagination .pagination li:last-child a { position: relative; font-size: 0; }
.catalog-pagination .pagination li:last-child a:after { content: "Вперёд"; font-size: 16px; color: #131315; margin-right: 12px; }
.catalog-pagination .pagination li:last-child a:before { content: ""; display: inline-block; width: 22px; height: 22px; margin-left: 3px; background: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.5 3l5 6-5 6' stroke='%23131315' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.catalog-pagination .pagination li a:hover { border-color: #D5A149; }

@media (max-width: 640px) {
  .pagination { padding: 0 16px; }
}
.catalog-card__price { font-family: 'Akrobat', var(--font-family-base); font-weight: 800; font-size: 24px; color: #131315; }
.catalog-card__features { display: flex; flex-wrap: wrap; gap: 8px; }
.catalog-tag { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 8px; background: #F3F3F3; color: #131315; font-size: 13px; letter-spacing: -0.02em; }

@media (max-width: 1024px) {
  .catalog-grid__list { grid-template-columns: repeat(2, 1fr); }
  .catalog-toolbar { max-width: 960px; }
}

@media (max-width: 640px) {
  .catalog-head__inner { padding: 80px 0 10px; }
  .catalog-head__title { font-size: 44px; }
  .catalog-grid__list { grid-template-columns: 1fr; gap: 12px; padding: 0; }
  .catalog-toolbar { padding: 0 16px; display: block; }
  .catalog-sort__select {width: 100%; }
  .catalog-card { grid-template-rows: 280px auto; }
  .catalog-pagination .pagination li:first-child a,
  .catalog-pagination .pagination li:last-child a { width: 58px; padding: 0; font-size: 0; }
  .catalog-pagination .pagination li:first-child a:after,
  .catalog-pagination .pagination li:last-child a:after { content: ""; margin: 0; }
}
/* CSS Variables and base reset */
:root {
  --color-bg: #ffffff;
  --color-text: #111111;
  --color-muted: #6b7280;
  --color-primary: #111111;
  --color-accent: #e11d48;
  --color-glass-bg: rgba(19,19,21,.38);
  --color-on-dark: #ffffff;

  --container-max: 1200px;
  --container-max-hero: 1600px;
  --container-pad-x: 16px;

  --font-family-base: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.5;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 6px 16px rgba(0,0,0,.12);

  --transition-fast: .2s ease;
  --transition: .3s ease;
}

/* Fonts */
@font-face {
  font-family: 'Akrobat';
  src: url('../assets/fonts/Akrobat/Commercial/WEB/Akrobat-ExtraBold.woff2') format('woff2'),
       url('../assets/fonts/Akrobat/Commercial/WEB/Akrobat-ExtraBold.woff') format('woff'),
       url('../assets/fonts/Akrobat/Commercial/TTF/Akrobat-ExtraBold.ttf') format('truetype');
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Akrobat';
  src: url('../assets/fonts/Akrobat/Commercial/WEB/Akrobat-Regular.woff2') format('woff2'),
       url('../assets/fonts/Akrobat/Commercial/WEB/Akrobat-Regular.woff') format('woff'),
       url('../assets/fonts/Akrobat/Commercial/TTF/Akrobat-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background: #131315;
}
/* Prevent side scrolling glitches on mobile */
.page { overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
.bold {font-weight: bold;}

.heading--desktop { display: block; }
.heading--mobile { display: none; }
.only-mobile { display: none; }
.only-desktop { display: block; }

/* Сохраняем оригинальный display для элементов с only-desktop */
.only-desktop.settlement__media { display: grid !important; }

.container {
  width: 100%;
  max-width: calc(var(--container-max) + var(--container-pad-x) * 2);
  margin-inline: auto;
  padding-inline: var(--container-pad-x);
}
.page { display: flex; min-height: 100%; flex-direction: column; }
.main { flex: 1 1 auto; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: var(--color-text);
  color: #fff;
  font-weight: 600;
  transition: background var(--transition);
}
.button--gold { background: linear-gradient(90deg, rgba(255, 208, 78, 1) 0%, rgba(213, 161, 73, 1) 100%); color: #131315; }
.button:hover { background: #000; }

/* Header */
.header { position: absolute; left: 0; right: 0; top: 0; z-index: 50; background: rgba(255,255,255,.0); }

.header--glass .nav__link { color: rgba(255,255,255,.86); }
.header--glass .nav__link:hover { color: #fff; }
.header__burger { display: none; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.34); border-radius: 10px; background: rgba(255,255,255,.06) url('../assets/img/icon_burger.svg') center/22px 22px no-repeat; color: #fff; }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; max-width: 1920px; margin: 0 auto; padding: 0 80px; }
.header__logo-image { height: 40px; width: auto; }
.nav { flex: 1 1 auto; display: flex; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: 40px; }
.nav__link { padding: 8px 4px; color: var(--color-muted); transition: color var(--transition-fast); font-family: 'Akrobat', var(--font-family-base); font-weight: 400; }
.nav__link:hover, .nav__link:focus { color: var(--color-text); }
.header__contacts { display: flex; align-items: center; gap: 10px; }
.header__icon-image { width: 25px; height: 25px; }
.header__phone { color: #fff; font-weight: 500; margin-left: 6px; }
.header__burger { display: none; width: 40px; height: 40px; border: 1px solid rgba(17,17,17,.12); border-radius: 10px; margin-left: 10px; }

.header__mobile { position: fixed; inset: 0; z-index: 100; display: none; }
.header__mobile:not([hidden]) { display: block; }
.mobile-nav { position: absolute; inset: 0; background: rgba(0,0,0,.5); color: #fff; display: grid; place-items: center; padding: 16px; }
.mobile-nav__panel { width: min(92%, 360px); background: #f0f0f0; color: #131315; border-radius: 18px; box-shadow: 0 20px 40px rgba(0,0,0,.45); display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 10px; padding: 16px; }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav__logo { width: 150px; height: auto; }
.mobile-nav__close { position: relative; width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(19,19,21,.12); background: #ffffff; cursor: pointer; }
.mobile-nav__close:before, .mobile-nav__close:after { content: ""; position: absolute; top: 50%; left: 50%; width: 18px; height: 2px; background: #131315; border-radius: 2px; transform-origin: center; }
.mobile-nav__close:before { transform: translate(-50%, -50%) rotate(45deg); }
.mobile-nav__close:after { transform: translate(-50%, -50%) rotate(-45deg); }
.mobile-nav__title { text-align: center; color: #8d8d8d; font-size: 14px; margin-top: 30px; }
.mobile-nav__list { display: grid; gap: 0; padding: 10px 0 20px; margin: 0; }
.mobile-nav__list--plain { list-style: none; }
.mobile-nav__link-plain { display: block; text-align: center; font-family: 'Akrobat', var(--font-family-base); font-weight: 800; letter-spacing: -0.04em; text-transform: uppercase; color: #131315; font-size: 22px; }
.mobile-nav__contacts { display: grid; gap: 10px; padding: 0; margin-bottom: 26px; }
.mobile-nav__addr { font-size: 12px; color: #131315; display: inline-flex; align-items: center; gap: 6px; justify-content: center; }
.mobile-nav__loc { width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 13S12 9 12 5.5 9.985 1 7.5 1 3 3.015 3 5.5 7 13 7 13Z' fill='%23FFD04E'/%3E%3Ccircle cx='7.5' cy='5.5' r='1.5' fill='%23131215'/%3E%3C/svg%3E") center/contain no-repeat; }
.mobile-nav__socials { display: flex; align-items: center; justify-content: center; gap: 6px; }
.mobile-nav__social img { width: 30px; height: 30px; }
.mobile-nav__phone { color: #131315; margin-left: 8px; }
.mobile-nav__cta { height: 46px; border-radius: 12px; background: linear-gradient(90deg, #FFD04E 0%, #D5A149 100%); color: #131315; font-family: 'Akrobat', var(--font-family-base); font-size: 20px; font-weight: 800; text-transform: uppercase; border: none; cursor: pointer; }

/* Hero */
.hero { position: relative; padding: 0 0 80px; color: var(--color-on-dark); min-height: 980px; }
.hero::before { content: ""; position: absolute; inset: 0; background: url('../assets/img/Evgeniy-site-bg.png') center / cover no-repeat; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 120% at 50% 0%, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 90%, rgba(0,0,0,.75) 100%); z-index: -1; }
.hero__inner { position: relative; width: 100%; max-width: 1920px; margin: 0 auto; padding: 0; height: 980px; }
.hero__title { position: absolute; left: 80px; top: 770px; width: 986px; height: 120px; font-size: 120px; line-height: 100%; font-weight: 800; letter-spacing: -0.04em; text-transform: uppercase; font-family: 'Akrobat', var(--font-family-base); background: linear-gradient(90deg, #FFD04E 0%, #D5A149 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent; z-index: 10; }
.hero__subtitle { position: absolute; left: 87px; top: 890px; width: 607px; font-size: 20px; line-height: 120%; color: #FFFFFF; z-index: 10; }
.hero__text-right { position: absolute; left: 739px; top: 890px; width: 377px; font-size: 20px; line-height: 120%; color: #989898; z-index: 10; }
/* Mobile-only text variants hidden by default */
.hero__subtitle_mobile, .hero__text-right_mobile { display: none; }
.hero__person { position: absolute; left: 907px; top: 116px; width: 474.94px; height: 938px; background: url('../assets/img/hero-1.png') center / cover no-repeat; z-index: 1; }
.hero__badge { position: absolute; left: 1160px; top: 500px; width: 204px; z-index: 10; }
.hero__name { color: #FFD04E; font-weight: 800; text-transform: uppercase; font-size: 34px; line-height: 1em; margin-bottom: 8px; font-family: 'Akrobat', var(--font-family-base); }
.hero__quote { color: #989898; font-size: 16px; line-height: 1.1em; margin: 0; }
.hero__cta { position: absolute; left: 853px; top: 6343px; }

/* Sections */
.section { padding: 72px 0; }
.section__title { font-size: 32px; font-weight: 700; margin-bottom: 28px; letter-spacing: -0.01em; }


/* House Selection */
.house-selection { background: #F3F3F3; border-radius: 15px; margin: 0 5px; padding: 48px 0; position: relative; z-index: 2; }
.house-selection__inner { max-width: 1920px; width: 1160px; margin: 0 auto; padding-top: 20px; }
.house-selection__content { margin-bottom: 60px; }
.house-selection__title { font-family: 'Akrobat', var(--font-family-base); font-weight: 800; font-size: 80px; line-height: 100%; text-align: center; letter-spacing: -0.04em; text-transform: uppercase; color: #131315; margin-bottom: 45px; }
.house-selection__grid { display: flex; flex-wrap: wrap; gap: 20px; width: 1160px; }
.house-card { position: relative; background: #989898; border-radius: 15px; overflow: hidden; height: 275px; }
.house-card--large { width: 767px; }
.house-card--190,.house-card--130 { width: 373px; }
.house-card:nth-child(5), .house-card:nth-child(6), .house-card:nth-child(7), .house-card:nth-child(8) { width: 275px; }
.house-card__image { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; background-size: cover; background-position: center; }
.house-card__image--pool { background-image: url('../assets/img/pool.jpg'); }
.house-card__image--water { background-image: url('../assets/img/water.jpg'); }
.house-card__image--forest { background-image: url('../assets/img/forest.jpg'); }
.house-card__image--classic { background-image: url('../assets/img/classic.jpg'); }
.house-card__image--neoclassic { background-image: url('../assets/img/neoclassic.jpg'); }
.house-card__image--modern { background-image: url('../assets/img/modern.jpg'); }
.house-card__image--investment { background-image: url('../assets/img/investment.jpg'); }
.house-card__image--bedrooms { background-image: url('../assets/img/bedrooms.jpg'); }
.house-card__overlay { position: absolute; bottom: 0; left: 0; right: 0; height: 59px; background: linear-gradient(180deg, rgba(19, 19, 22, 0) 0%, #131316 100%); }
.house-card__title { position: absolute; bottom: 20px; left: 20px; font-family: 'Akrobat', var(--font-family-base); font-weight: 800; font-size: 28px; line-height: 100%; letter-spacing: -0.04em; text-transform: uppercase; color: #FFFFFF; }

/* Property Search */
.property-search { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.property-search__title { font-family: 'Akrobat', var(--font-family-base); font-weight: 800; font-size: 80px; line-height: 100%; text-align: center; letter-spacing: -0.04em; text-transform: uppercase; color: #131315; }
.property-search__tabs { position: relative; display: flex; background: #131315; border-radius: 34px; padding: 6px; gap: 6px; margin-bottom: 24px; width: 100%; max-width: 400px; margin: 28px auto; }
.property-search__slider { position: absolute; top: 5px; left: 0; width: 192px; height: calc(100% - 10px); border-radius: 29px; background: linear-gradient(90deg, #FFD04E 0%, #D5A149 100%); transition: transform var(--transition), width var(--transition), left var(--transition); will-change: transform; }
.property-search__tab { width: 192px; display: flex; justify-content: center; align-items: center; padding: 20px 5px; border-radius: 29px; font-family: 'Akrobat', var(--font-family-base); font-weight: 800; font-size: 22px; line-height: 100%; letter-spacing: -0.04em; text-transform: uppercase; color: #FFFFFF; background: transparent; border: none; cursor: pointer; transition: background var(--transition), color var(--transition); z-index: 2; }
.property-search__tab--active { color: #131315; }
.property-search__filters { display: flex; align-items: flex-end; gap: 10px; width: 1160px;}
.filter-group { display: flex; flex-direction: column; gap: 6px; flex: 1; width: 230px;}
.filter-group__label { font-family: 'Inter', var(--font-family-base); font-weight: 400; font-size: 14px; line-height: 120%; letter-spacing: -0.04em; color: #989898; }
.filter-group__select { position: relative; }
.filter-group__dropdown { width: 100%; padding: 18px; background: #FFFFFF; border: 1px solid #E0E0E0; border-radius: 8px; font-family: 'Inter', var(--font-family-base); font-weight: 400; font-size: 18px; line-height: 100%; letter-spacing: -0.04em; color: #131315; appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23131315' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 40px; }
.property-search__button { display: flex; justify-content: center; align-items: center; width: 173px; height: 54px; border: 1px solid #131315; border-radius: 29px; font-family: 'Akrobat', var(--font-family-base); font-weight: 800; font-size: 22px; line-height: 100%; letter-spacing: -0.04em; text-transform: uppercase; color: #131315; background: transparent; cursor: pointer; }

/* Map backend filter classes to our look */
.filter-select-cover { display: flex; flex-direction: column; gap: 6px; flex: 1; width: 230px; }
.filter-select-cover .filter-select { width: 100%; height: 54px; padding: 0 18px; background: #FFFFFF; border: 1px solid #E0E0E0; border-radius: 8px; font-family: 'Inter', var(--font-family-base); font-weight: 400; font-size: 18px; color: #131315; appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23131315' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 40px; }
.filter-select-cover .filter-select::-webkit-textfield-decoration-container { color: #131315; }
.filter-select-cover .filter-select::-webkit-input-placeholder { color: #131315; }
.filter-select-cover .filter-select:focus { color: #131315; }

/* Price dropdown visuals aligned with selects */
.price-dropdown { width: 100%; }
.price-dropdown .dropdown-header { display: none; }
.price-dropdown .dropdown-content { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.price-dropdown .form-block { display: grid; gap: 6px; }
.price-dropdown .form-label { font-family: 'Inter', var(--font-family-base); font-weight: 400; font-size: 14px; color: #989898; }
.price-dropdown .form-input { width: 100%; height: 54px; padding: 0 18px; background: #FFFFFF; border: 1px solid #E0E0E0; border-radius: 8px; font-size: 18px; }

/* Lead Section */
.lead { background: #131315; }
.lead__inner { position: relative; max-width: 1160px; margin: 0 auto; padding: 100px 0; min-height: 520px; }
.lead__content { position: relative; z-index: 5; max-width: 760px; }
.lead__title { font-family: 'Akrobat', var(--font-family-base); font-weight: 800; font-size: 64px; line-height: 1em; letter-spacing: -0.04em; text-transform: uppercase; color: #FFD04E; }
.lead__subtitle { margin-top: 16px; color: #ffffff; font-size: 18px; }
.lead__form { display: grid; grid-template-columns: 240px 240px 224px; align-items: center; gap: 12px 16px; margin-top: 28px; }
.lead__field { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.lead__label { position: absolute; clip: rect(0 0 0 0); width: 1px; height: 1px; margin: -1px; overflow: hidden; }
.lead__input { width: 100%; height: 54px; padding: 0 14px; border: 1px solid #E0E0E0; border-radius: 10px; background: #fff; font-size: 16px; }
.lead__button { width: 100%; height: 54px; padding: 0 28px; border-radius: 29px; border: none; background: linear-gradient(90deg, #FFD04E 0%, #D5A149 100%); font-family: 'Akrobat', var(--font-family-base); font-weight: 800; font-size: 22px; line-height: 57px; text-transform: uppercase; color: #131315; cursor: pointer; justify-self: start; grid-column: 3; grid-row: 1; }
.lead__consent { grid-column: 1 / -1; grid-row: 2; margin-top: 6px; color: #8d8d8d; font-size: 12px; display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 8px; }
.lead__consent-check { width: 16px; height: 16px; }
.lead__field--phone { display: grid; }
.lead__phone { display: grid; grid-template-columns: 58px 1fr; align-items: center; }
.lead__phone-prefix { display: inline-flex; align-items: center; justify-content: space-between; height: 54px; padding: 0 14px; border: 1px solid #E0E0E0; border-right: none; border-radius: 10px 0 0 10px; background: #fff; color: #131315; }
.lead__phone-caret { display: inline-block; width: 0; height: 0; margin-left: 6px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid #131315; }
.lead__input--phone { border-radius: 0 10px 10px 0; }
.lead__consent-check { width: 18px; height: 18px; }
.lead__media { position: absolute; right: -11px; top: 70px; bottom: 0; display: flex; align-items: center; }
.lead__media:before { content: ""; position: absolute; inset: 0; background: radial-gradient(250px 250px at 50% 40%, rgba(255,208,78,.25), rgba(0,0,0,0) 75%); z-index: 0; pointer-events: none; }
.lead__person { width: 500px; height: 600px; background: url('../assets/img/hero-2.png') center bottom / contain no-repeat; filter: none; opacity: 1; z-index: 1; }
.lead__figure { display: none; }
.lead__mobile-controls { display: none; }
.lead__success-inner h4, .cta__success h4 {color: #fff; margin-top: 30px;}
.lead__success-inner p, .cta__success p {color: #fff; padding-bottom: 30px;}

/* Settlements horizontal list */
.settlements { background: #F3F3F3; border-radius: 15px; margin: 0 5px; z-index: 2; position: relative; }
.settlements__inner { max-width: 1920px; margin: 0 auto; padding: 50px 20px 80px 200px; }
.settlements__title { font-family: 'Akrobat', var(--font-family-base); font-weight: 800; font-size: 80px; line-height: 1; text-align: center; letter-spacing: -0.04em; text-transform: uppercase; color: #131315; padding-top: 120px; }
.settlements__viewport { position: relative; }
.settlements__track { display: grid; grid-auto-flow: column; grid-auto-columns: 300px; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; cursor: grab; }
.settlements__track::-webkit-scrollbar { display: none; }
.settlement-card { scroll-snap-align: start; position: relative; width: 300px; border-radius: 15px; overflow: hidden; background: #fff; border: 1px solid rgba(0,0,0,.06); display: flex; flex-direction: column; }
.settlement-card__cover { height: 300px; background-size: cover; background-position: center; }
.settlement-card__body { display: flex; flex-direction: column; gap: 14px; padding: 15px; }
.settlement-card__name { font-family: 'Akrobat', var(--font-family-base); font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; letter-spacing: -0.04em; color: #131315; }
.settlement-card__loc { display: flex; align-items: center; gap: 4px; color: #000; font-size: 18px; letter-spacing: -0.04em; }
.settlement-card__loc-ic { width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='18' y2='18' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23FFD04E'/%3E%3Cstop offset='1' stop-color='%23D5A149'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M9 17s6-4.2 6-9c0-3.314-2.686-6-6-6S3 4.686 3 8c0 4.8 6 9 6 9Z' fill='url(%23g)' fill-opacity='0.85'/%3E%3Ccircle cx='9' cy='8' r='2.2' fill='%23FFFFFF' fill-opacity='0.9'/%3E%3C/svg%3E") center/contain no-repeat; }
.settlement-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.settlement-card__tag { display: inline-flex; align-items: center; justify-content: center; padding: 8px; border-radius: 6px; background: #F3F3F3; color: #131315; font-size: 14px; letter-spacing: -0.04em; }
.settlements__nav { position: absolute; top: 50%; right: 0; transform: translateY(-50%); display: flex; gap: 8px; }
.settlements__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; cursor: pointer; }
.settlements__btn[disabled] { opacity: .4; cursor: default; }

/* Benefits */
.benefits { background: #131315; }
.benefits__inner { max-width: 1920px; margin: 0 auto; padding: 80px 0; }
.benefits__title { font-family: 'Akrobat', var(--font-family-base); font-weight: 800; font-size: 80px; line-height: 1; letter-spacing: -0.04em; text-transform: uppercase; color: #FFD04E; text-align: center; margin-bottom: 52px; }
.benefits__grid { display: flex; flex-wrap: wrap; column-gap: 20px; row-gap: 52px; justify-content: center; width: 1160px; margin: 0 auto; }
.benefit-card { width: 373px; }
.benefit-card:nth-child(n+4) { width: 570px; }
.benefit-card { position: relative; display: grid; grid-template-columns: 1fr; align-items: start; gap: 0; padding: 20px 120px 20px 20px; width: 373px; height: 168px; border-radius: 15px; background: linear-gradient(180deg, rgba(45,45,53,1) 0%, rgba(19,19,21,1) 100%); color: #fff; }
.benefit-card__image { position: absolute; right: 20px; top: 37px; width: 80px; height: 80px; border-radius: 10px; background-size: cover; background-position: center; pointer-events: none; }
.benefit-card__body { display: grid; gap: 15px; }
.benefit-card__name { font-family: 'Akrobat', var(--font-family-base); font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: -0.04em; }
.benefit-card__text { font-size: 16px; line-height: 1.2; letter-spacing: -0.04em; }

/* Socials */
.socials { background: #131315; }
.socials__inner { max-width: 1128px; margin: 0 auto; padding: 80px 0; }
.socials__title { font-family: 'Akrobat', var(--font-family-base); font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -0.04em; color: #fff; text-align: center; margin-bottom: 60px; text-transform: uppercase;}
.gold__color {color: #FFD04E}
.socials__grid { display: grid; grid-template-columns: repeat(5, 216px); gap: 20px; justify-content: center; }
.social-card { display: grid; gap: 20px; padding: 20px; width: 216px; border-radius: 15px; background: linear-gradient(180deg, rgba(45,45,53,1) 0%, rgba(19,19,21,1) 100%); color: #fff; }
.social-card__head { display: grid; gap: 10px; justify-items: start; }
.social-card__icon { width: 24px; height: 24px; }
.social-card__icon--instagram { background: url('../assets/img/Instagram_logo.svg') center/contain no-repeat; }
.social-card__icon--youtube { background: url('../assets/img/icon_youtube.svg') center/contain no-repeat; }
.social-card__icon--telegram { background: url('../assets/img/icon_telegram.svg') center/contain no-repeat; }
.social-card__icon--tiktok { background: url('../assets/img/icon_tiktok.svg') center/contain no-repeat; }
.social-card__icon--vk { background: url('../assets/img/icon_vk.svg') center/contain no-repeat; }
.social-card__name { font-family: 'Akrobat', var(--font-family-base); font-weight: 800; font-size: 28px; letter-spacing: -0.04em; text-transform: uppercase;}
.social-card__stats { display: grid; grid-auto-flow: column; align-items: center; width: 100px; }
.social-card__stats-ic { width: 24px; height: 24px; background: url('../assets/img/icon_counter.svg') center/contain no-repeat; }
.social-card__count { font-size: 16px; }
.social-card__btn { display: inline-grid; place-items: center; height: 40px; border-radius: 10px; padding: 0 16px; font-size: 16px; font-weight: 400; letter-spacing: -0.04em; text-transform: uppercase; background: #F3F3F3; color: #131315; border: none; cursor: pointer; }

/* Press */
.press { background: #131315; }
.press__inner { width: 1155px; margin: 0 auto; }
.press__title { font-family: 'Akrobat', var(--font-family-base); font-weight: 800; font-size: 80px; line-height: 1; letter-spacing: -0.04em; text-transform: uppercase; color: #FFD04E; text-align: center; margin-top: 30px; margin-bottom: 60px; }
.press__viewport { position: relative; }
.press__track { display: grid; grid-template-columns: repeat(8, 140px); gap: 5px; overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
.press__track::-webkit-scrollbar { display: none; }

.press-card { width: 100%; height: 140px; border-radius: 15px; overflow: hidden; background: #111; }
.press-card__image { width: 100%; height: 100%; background-size: cover; background-position: center; }
.press__nav { display: none; }
.press__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: #1b1b1b; color: #fff; box-shadow: var(--shadow-sm); cursor: pointer; }

/* CTA */
.cta { background: #131315; padding-top: 50px; }
.cta__inner { 
    max-width: 1920px;
    margin: 0 auto;
    width: 1155px;
    display: grid;
    grid-template-columns: 843px 312px;
    gap: 0px;
    align-items: center;
}
.cta__title { font-family: 'Akrobat', var(--font-family-base); font-weight: 800; font-size: 80px; line-height: 1; letter-spacing: -0.04em; text-transform: uppercase; color: #FFFFFF; width: 697px; }
.cta__form { display: grid; grid-template-columns: 286px 286px 240px; gap: 10px; margin-top: 24px; }
.cta__input { height: 60px; border-radius: 10px; border: 1px solid #2A2A2E; background: #FFFFFF; padding: 0 16px; font-size: 16px; }
.cta__button { height: 60px; border-radius: 29px; background: linear-gradient(90deg, #FFD04E 0%, #D5A149 100%); color: #131315; font-size: 22px; line-height: 62px; font-family: 'Akrobat', var(--font-family-base); font-weight: 800; text-transform: uppercase; border: none; cursor: pointer; }
.cta__consent { display: inline-flex; align-items: center; gap: 8px; color: #8d8d8d; font-size: 12px; margin-top: 10px; }
.cta__media { display: flex; justify-content: flex-end; }
.cta__person { width: 522px; height: 500px; background: url(../assets/img/composition.gif) -110px -34px / cover no-repeat; }
/* Footer */
.footer { background: #131215; border-top: 1px solid rgba(255,255,255,.08); }
.footer__inner { max-width: 1920px; margin: 0 auto; padding: 30px 80px 24px; display: grid; gap: 16px; }
.footer__top { display: flex; align-items: center; justify-content: space-between; }
.footer__left { display: flex; align-items: center; gap: 14px; }
.footer__logo-image { height: auto; width: 183px; }
.footer__tagline { display: none; }
.footer__contacts { display: grid; gap: 10px; justify-items: end; }
.footer__address { color: #FFFFFF; font-size: 14px; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 6px; }
.footer__loc-ic { width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 13S12 9 12 5.5 9.985 1 7.5 1 3 3.015 3 5.5 7 13 7 13Z' fill='%23FFD04E'/%3E%3Ccircle cx='7.5' cy='5.5' r='1.5' fill='%23131215'/%3E%3C/svg%3E") center/contain no-repeat; }
.footer__socials { display: flex; align-items: center; gap: 10px; }
.footer__social img { display: block; width: 20px; height: 20px; }
.footer__phone { color: #FFFFFF; margin-left: 8px; }
.footer__divider { height: 1px; background: rgba(255,255,255,.08); margin-top: 8px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; }
.footer__copy { color: #989898; font-size: 12px; letter-spacing: -0.04em; }
.footer__policy { color: #989898; font-size: 12px; letter-spacing: -0.04em; }

/* Responsive */
@media (max-width: 1200px) {
  .header__inner { padding: 0 40px; }
  .house-selection__inner,
  .benefits__inner,
  .socials__inner,
  .press__inner,
  .cta__inner { padding: 60px 40px; }
}

/* 1280 x 800 breakpoint */
@media screen and (max-width: 1500px) and (min-width: 1025px) {
  /* Header */
  .header__inner { padding: 0 60px; }

  /* Hero */
  .hero { min-height: 600px; padding: 0; }
  .hero__inner { height: 600px; }
  .hero__title { left: 56px; top: 394px; font-size: 87px; width: auto; }
  .hero__subtitle { left: 60px; top: 500px; width: 400px; font-size: 14px; }
  .hero__text-right { left: 500px; top: 500px; width: 250px; font-size: 14px; }
  .hero__person { left: 633px; width: 300px; height: 600px; }
  .hero__badge { left: 782px; top: 323px; }

  /* House selection */
  .house-card { height: 180px; }
  .house-selection__inner { width: 960px; padding: 0; }
  .house-selection__title { font-size: 64px; }
  .house-selection__grid { width: 960px; justify-content: center; gap: 16px; }
  .house-card--large { width: 600px; }
  .house-card--small { width: calc(960px - 600px - 16px); }
  .house-card:nth-child(5),
  .house-card:nth-child(6),
  .house-card:nth-child(7),
  .house-card:nth-child(8) { width: 228px; height: 180px; }

  /* Lead */
  .lead__inner { padding: 100px 40px; }
  .lead__media { top: 86px; right: 0; }
  .lead__person { height: 450px; }
  .lead__form { grid-template-columns: 240px 240px 200px; gap: 10px 12px; }

  /* Settlements */
  .settlements__inner { padding: 45px 20px 60px 140px; }
  .settlements__title { font-size: 56px; }
  .settlements__track { grid-auto-columns: 250px; }
  .settlement-card { width: 250px; }
  .settlement-card__cover { height: 250px; }
  .settlement-card__name { font-size: 24px; }
  .settlement-card__loc { font-size: 14px; }

  /* Benefits */
  .benefits__inner { padding: 60px 0; }
  .benefits__grid { width: 100%; }
  .benefits__title { font-size: 64px; }

  /* Socials */
  .socials__inner { padding: 60px 160px; }
  .socials__title { font-size: 56px; }
  .socials__grid { grid-template-columns: repeat(5, 180px); gap: 16px; }
  .social-card { width: 180px; gap: 10px; }
  .social-card__name { font-size: 24px; }

  /* Press */
  .press__inner { padding: 60px 120px; }
  .press__title { font-size: 56px; }
  .press__track { display: grid; grid-auto-flow: initial; grid-template-columns: repeat(8, 1fr); gap: 16px; overflow: visible; scroll-snap-type: none; }
  .press__nav { display: none; }
  .press-card { width: 100%; height: 120px; }

  /* CTA */
  .cta__inner { padding: 20px 50px; grid-template-columns: 1fr 375px; gap: 20px; }
  .cta__title { font-size: 65px;  width: 550px; }
  .cta__person { width: 400px; height: 400px; background: url(../assets/img/composition.gif) right center / contain no-repeat;
}

 }

  /* Footer */
  .footer__inner { padding: 24px 160px; }

/* Tablets */
@media (max-width: 1024px) {
  /* Header */
  .nav__list { gap: 24px; }
  .header__phone { display: none; }

  /* Hero (keep composition but reduce sizes) */
  .hero__title { left: 40px; top: 540px; font-size: 72px; width: 720px; height: auto; }
  .hero__subtitle { left: 40px; top: 640px; width: 520px; font-size: 18px; }
  .hero__text-right { left: 580px; top: 640px; width: 320px; font-size: 18px; }
  .hero__person { left: 720px; width: 380px; height: 720px; }

  /* House selection */
  .house-selection__grid { width: 100%; justify-content: center; }
  .house-card--large { width: 60%; min-width: 520px; }
  .house-card--small { width: 38%; min-width: 360px; }
  .house-card:nth-child(5), .house-card:nth-child(6), .house-card:nth-child(7), .house-card:nth-child(8) { width: 48%; }

  /* Benefits */
  .benefits__grid { width: 100%; }
  .benefit-card { width: 48%; }
  .benefit-card:nth-child(n+4) { width: 48%; }

  /* Socials */
  .socials__grid { grid-template-columns: repeat(3, 216px); }

  /* Press */
  .press__track { grid-auto-columns: 216px; }

  /* CTA */
  .cta__inner { grid-template-columns: 1fr 520px; gap: 0; }
  .cta__title { font-size: 56px; }
  .cta__form { grid-template-columns: 1fr 1fr 220px; }

  /* Footer */
  .footer__inner { padding: 24px 40px; }
}

/* Smartphones */
@media (max-width: 640px) {
  .section { padding: 30px 0;}
  /* Header */
  .nav__list { display: none; }
  .header__burger { display: inline-flex; }
  .header__inner { padding: 0 16px; }
  .heading--desktop { display: none; }
  .heading--mobile { display: block; }
  .only-desktop { display: none; }
  .only-mobile { display: block; }
  
  /* Сохраняем оригинальный display для мобильной версии */
  .only-mobile.settlement__media { display: grid !important; }
  .header__phone { display: none; }

  /* Hero: person behind text */
  .hero { padding: 40px 0 24px; min-height: 609px; margin-bottom: 40px;}
  .hero__inner { position: relative; height: auto; display: grid; grid-template-columns: 1fr; }
  .hero::before { top: 0; left: -25px; right: 0; bottom: auto; height: 400px; background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)), url('../assets/img/Evgeniy-site-bg.png') center top / cover no-repeat; }
  .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 649px; background: linear-gradient(180deg, rgba(19, 19, 21, 0) 20%, #131315 100%); z-index: 1; }
  
  .hero__title, .hero__subtitle, .hero__text-right, .hero__subtitle_mobile, .hero__text-right_mobile, .hero__badge {
    position: relative;
    z-index: 2;
    width: 230px;
    margin-left: 16px;
    margin-right: 16px;
    top: 52px;
    left: 3px;
  }
  .hero__title {font-size: 62px;
    margin-top: 0;
    width: 320px;
    top: 47px;
    left: 3px;
    font-weight: bold;
  }
  .hero__text-right { color: #989898; }
  /* switch desktop/mobile text variants */
  .hero__subtitle, .hero__text-right { display: none; }
  .hero__subtitle_mobile, .hero__text-right_mobile { display: block; font-size: 14px; margin-top: 12px; }
  .hero__text-right_mobile { color: #989898; }
  .hero__badge { margin-top: 47px; left: 130px; }
  .hero__name { font-size: 24px; }
  .hero__quote { font-size: 12px; }
  .hero__person { display: block; position: absolute; left: 177px; top: 100px; bottom: 0; width: min(60vw, 329px); height: 492px; max-width: 321px; background-position: right bottom; background-size: contain; z-index: 0; pointer-events: none; }

  /* House selection */
  .house-selection__inner { padding: 0 10px; width: 100%;}
  .house-selection__title { font-size: 40px; margin-bottom: 30px;}
  .house-selection__grid { 
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        width: 100%; 
  }
  .house-card--large { width: 100%; min-width: 0; }
 
  .house-card--190 { width: 60%; min-width: 0; }
  .house-card--130 { width: 37%; min-width: 0; }
  .house-card:nth-child(5), .house-card:nth-child(8) { width: 60%; min-width: 0; }
  .house-card:nth-child(6), .house-card:nth-child(7) { width: 37%; min-width: 0; }
 .house-card { height: 155px; }
 .house-card__title {font-size: 18px; left: 12px; bottom: 12px;}

  /* Property Search (mobile) */
  .property-search { gap: 28px; }
  .property-search__title { font-size: 34px; }
  .property-search__tabs { width: 100%; border-radius: 34px; padding: 6px; max-width: calc(100% - 20px); }
  .property-search__tab { flex: 1; height: 60px; }
  .property-search__filters { display: grid; grid-template-columns: 1fr; gap: 12px; width: 100%; padding: 0 10px; }
  .filter-group,.filter-select-cover {width: 100%}
  .filter-group__dropdown { height: 64px; border-radius: 16px; font-size: 18px; padding: 0 18px; }
  .property-search__button { width: 100%; height: 72px; border-radius: 46px; font-size: 22px; border-width: 2px; margin-top: 20px; }

  /* Benefits */
  .benefits__inner { padding: 40px 16px; }
  .benefits__title { font-size: 40px; }
  .benefit-card {height: 154px;}
  .benefits__grid {row-gap: 10px;}
  .benefit-card,
  .benefit-card:nth-child(n+4) { width: 100%; }
  .benefit-card__name {font-size: 25px;}
  .benefit-card__body {gap: 10px;}
  .benefit-card__text {font-size: 14px;}

  /* Socials */
  .socials__inner { padding: 40px 16px; }
  .socials__title { font-size: 32px; }
  .socials__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .social-card { width: 100%; height: 155px; gap: 0; padding: 10px 20px; }
  .social-card--large { grid-column: span 2; }
  .social-card__head { gap: 0; }
  .social-card__stats {margin-bottom: 5px;}
  .social-card__name {line-height: 32px;}

  /* Press */
  .press__inner { width: 100%; padding: 0 5px; }
  .press__title { font-size: 40px; margin-bottom: 30px;}
  .press__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 130px;
    gap: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    cursor: grab;
  }
  .press__track::-webkit-scrollbar { display: none; }
  .press-card { width: 135px; height: 135px; scroll-snap-align: start; }
  .press__nav { display: none; }

  /* CTA */
  .cta {padding: 0 30px;}
  .cta__inner { width: 100%; padding: 40px 16px; grid-template-columns: 1fr; grid-template-areas: "title" "media" "form"; }
  .cta__content { display: contents; }
  .cta__title { width: 100%; font-size: 40px; grid-area: title; text-align: center; }
  .cta__form { grid-template-columns: 1fr; grid-area: form; margin-top: -80px; z-index: 2; }
  .cta__button { width: 100%; }
  .cta__media { grid-area: media; justify-content: center; }
  .cta__person { width: 100%; height: 420px; background-position: center;}

  /* Lot */
  .lot-head { text-align: center; }
  .lot-title { font-size: 40px; text-align: center; }
  .settlement { padding: 160px 10px 80px; }
  .settlement__title { font-size: 40px; text-align: center; }
  .settlement__media { min-height: 330px; }
  .related__title { font-size: 40px; text-align: center; } 
  .lot-cta__title { font-size: 40px; text-align: center; } 
  /* Footer */
  .footer__inner { padding: 24px 16px; }
  .footer__top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__contacts { justify-items: start; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  /* Lead mobile */
  .lead__inner { position: relative; margin: 0 auto; padding: 60px 16px 28px; min-height: 0; }
  .lead__content { position: relative; z-index: 5; max-width: none; text-align: center; }
  .lead__title { font-size: 44px; line-height: 1.02; }
  .lead__subtitle { margin-top: 12px; font-size: 18px; line-height: 1.2; opacity: .95; }
  .lead__form { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: -120px; z-index: 2; position: relative; }
  .lead__form { grid-template-columns: 1fr !important; }
  .lead__field, .lead__phone, .lead__button { width: 100%; min-width: 0; }
  .lead__form > * { grid-column: 1 / -1; }
  .lead__input { width: 100%; height: 64px; padding: 0 16px; border-radius: 12px; font-size: 18px; }
  .lead__phone { grid-template-columns: 90px 1fr; }
  .lead__phone-prefix { height: 64px; border-radius: 12px 0 0 12px; }
  .lead__input--phone { height: 64px; border-radius: 0 12px 12px 0; }
  .lead__consent, .lead__button { display: none; }
  .lead__mobile-controls { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .lead__mobile-consent { display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 10px; text-align: left; margin: 8px 0 0; font-size: 12px; color: #8d8d8d; }
  .lead__mobile-check { width: 18px; height: 18px; }
  .lead__mobile-button { width: 100%; height: 72px; border-radius: 46px; font-size: 22px; border: none; background: linear-gradient(90deg, #FFD04E 0%, #D5A149 100%); color: #131315; font-family: 'Akrobat', var(--font-family-base); font-weight: 800; text-transform: uppercase; }
  .lead__media { position: relative; right: auto; top: auto; bottom: auto; margin-top: 14px; display: flex; justify-content: center; }
  .lead__person { position: relative; width: 320px; height: 460px; filter: none; opacity: 1; z-index: 1; }
  .lead__figure { position: relative; display: flex; justify-content: center; margin: 14px 0 10px; }
  .lead__figure:before { content: ""; position: absolute; inset: 0; background: radial-gradient(250px 250px at 50% 50%, rgba(255,208,78,.35), rgba(0,0,0,0) 70%); z-index: 0; }
  .lead__figure:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 220px; background: linear-gradient(180deg, rgba(19, 19, 21, 0) 0%, #000 100%); z-index: 1; }
  .lead__media { display: none; }

  /* Settlements: one full card + peek next */
  .settlements__inner { padding: 34px 16px; }
  .settlements__title { font-size: 44px; padding-top: 40px;}
  .settlements__track { grid-auto-columns: calc(100% - 72px); gap: 12px; }
  .settlement-card { width: auto; }
  .settlements__nav { display: flex; }
  .lot-gallery__main {height: 240px;}
  .catalog-pagination .pagination {gap: 2px;}
  .settlement__btn { margin: 0 auto; }
}
/* Galaxy Fold adaptive */
@media (max-width: 350px) {
  .hero__badge {width: 180px;}
  .house-card--190,.house-card:nth-child(5), .house-card:nth-child(8) {width: 59%;}
  .property-search {gap: 0;}
  .property-search__tabs {margin: 30px auto; max-width: calc(100% - 80px);}
  .property-search__filters {max-width: calc(100% - 70px); margin: 0 auto;}
  .social-card__head {gap: 10px;}
  .social-card__btn {font-size: 11px; font-weight: bold;}
  .cta__inner {padding: 40px 0;}
  .cta__title {font-size: 36px;}
  .footer__logo-image {width: 200px; margin-bottom: 20px;}
  .catalog-pagination .pagination {gap: 2px;}
  .catalog-pagination .pagination li:first-child a, .catalog-pagination .pagination li:last-child a {width: 35px;}
  .lot-title {font-size: 35px;}
  .lot-wrap {padding: 23px 8px 10px;}
  .settlement__chip {font-size: 12px;}
  .village-stats__value {font-size: 32px;}
  .village-stats__label {font-size: 13px;}
}
/* Modal */
.modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; padding: 24px; z-index: 100; }
.modal--open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(2px); }
.modal__dialog { position: relative; width: min(960px, 100%); background: #fff; border-radius: 16px; box-shadow: var(--shadow-md); overflow: hidden; }
.modal__dialog--request { width: min(520px, 92%); border-radius: 18px; }
.modal__close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(17,17,17,.12); background: linear-gradient(transparent 48%, var(--color-text) 48%, var(--color-text) 52%, transparent 52%); transform: rotate(90deg); }
.modal__close--cross { background: #fff; border: 1px solid rgba(17,17,17,.12); transform: none; }
.modal__close--cross:before, .modal__close--cross:after { content: ""; position: absolute; top: 50%; left: 50%; width: 18px; height: 2px; background: #131315; border-radius: 2px; transform-origin: center; }
.modal__close--cross:before { transform: translate(-50%, -50%) rotate(45deg); }
.modal__close--cross:after { transform: translate(-50%, -50%) rotate(-45deg); }
.modal__body { display: grid; /*grid-template-columns: 1fr 1fr; */}
.modal__body--stack { grid-template-columns: 1fr; padding: 24px; }
.modal__content { padding: 28px; }
.modal__title { font-size: 44px; font-weight: 800; margin-bottom: 12px; font-family: 'Akrobat', var(--font-family-base); letter-spacing: -0.04em; text-transform: uppercase; }
.modal__subtitle { color: #131315; opacity: .8; font-size: 18px; line-height: 1.2; margin-bottom: 20px; }
.modal__consent { margin: 8px 0 16px; font-size: 12px; color: var(--color-muted); }
.request-form { display: grid; gap: 12px; }
.request-form__row { position: relative; }
.request-input { width: 100%; height: 64px; padding: 0 16px; border-radius: 12px; border: 1px solid #E0E0E0; background: #fff; font-size: 18px; }
.request-form__row--phone { display: grid; grid-template-columns: 60px 1fr; align-items: center; }
.request-phone__prefix { display: inline-flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 14px; border: 1px solid #E0E0E0; border-right: none; border-radius: 12px 0 0 12px; background: #fff; color: #131315; }
.request-phone__caret { display: inline-block; width: 0; height: 0; margin-left: 6px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid #131315; }
.request-input--phone { border-radius: 0 12px 12px 0; }
.request-consent { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 8px; margin: 8px 0 8px; font-size: 10px; font-weight: 400; text-transform: none; color: #8d8d8d; text-align: left; line-height: 25px; }
.request-consent__check { width: 18px; height: 18px; -webkit-appearance: none; appearance: none; border: 1px solid #E0E0E0; border-radius: 4px; background: transparent; display: inline-grid; place-items: center; }
.request-consent__check:checked { background-image: url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5l3 3 7-7' stroke='%23131315' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 12px 9px; }
.request-consent__check:focus { outline: none; box-shadow: 0 0 0 2px rgba(19,19,21,.15); }
.request-consent__link { color: #E6B64C; text-decoration: none; }
.request-submit { width: 100%; height: 62px; border-radius: 29px; background: linear-gradient(90deg, #FFD04E 0%, #D5A149 100%); color: #131315; font-family: 'Akrobat', var(--font-family-base); font-weight: 800; text-transform: uppercase; font-size: 22px; border: none; cursor: pointer; }
.modal__media { display: block; min-height: 100%; }
.modal__image { width: 100%; height: 100%; object-fit: cover; }
.plan-image { text-align: center; }
.plan-image img { max-width: 100%; height: auto; border-radius: 8px; }
.plan-carousel { position: relative; margin: 0 auto; max-width: 900px; }
.plan-carousel__viewport { overflow: hidden; border-radius: 16px; background: #f5f5f7; }
.plan-carousel__track { display: flex; transition: transform 0.4s ease; }
.plan-carousel__slide { min-width: 100%; padding: 16px; box-sizing: border-box; display: flex; justify-content: center; }
.plan-carousel__slide img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 16px 40px rgba(19, 19, 21, 0.16); }
.plan-carousel__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(0,0,0,0.45); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background 0.2s ease; z-index: 3;}
.plan-carousel__nav--prev { left: 12px; }
.plan-carousel__nav--next { right: 12px; }
.plan-carousel__nav:hover { background: rgba(0,0,0,0.65); }
.plan-carousel__nav::before { content: ''; display: inline-block; width: 10px; height: 10px; border: 2px solid currentColor; border-top: none; border-right: none; transform: rotate(45deg); }
.plan-carousel__nav--next::before { transform: rotate(-135deg); }
.plan-carousel__nav--prev::before { transform: rotate(45deg); }
.plan-carousel__nav:disabled { opacity: 0.3; cursor: default; }
.plan-carousel__nav:disabled:hover { background: rgba(0,0,0,0.45); }

@media (max-width: 768px) {
  .modal__body { grid-template-columns: 1fr; }
  .modal__media { display: none; }
}


.sonar-wrapper { position: fixed; bottom: 40px; right: 40px; z-index: 180; }
.sonar-emitter { position: relative; width: 68px; height: 68px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 18px 40px rgba(37, 211, 102, 0.4); transition: transform .3s ease; }
.sonar-emitter:hover { transform: scale(1.05); }
.sonar-emitter::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(37, 211, 102, 0.45); animation: sonarPulse 2.8s infinite; }
.sonar-wave { position: relative; width: 45px; height: 45px; background: url('../assets/img/whatsapp.png') center/contain no-repeat; z-index: 2; }
@keyframes sonarPulse {
  0% { transform: scale(1); opacity: 0.8; }
  55% { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
@media (max-width: 640px) {
  .sonar-wrapper { bottom: 24px; right: 24px; }
  .sonar-emitter { width: 58px; height: 58px; }
  .sonar-wave { width: 45px; height: 45px; }
}