/* 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; }

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

.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: 32px; 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: 18px; height: 18px; opacity: .95; }
.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: 14px; 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: 12px; }
.mobile-nav__list { display: grid; gap: 14px; padding: 0; 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: 16px; }
.mobile-nav__contacts { display: grid; gap: 10px; padding: 0; }
.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: 10px; }
.mobile-nav__social img { width: 20px; height: 20px; }
.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-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; }
.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: 60px; }
.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 { display: flex; background: #131315; border-radius: 34px; padding: 5px; gap: 5px; }
.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; }
.property-search__tab--active { background: linear-gradient(90deg, #FFD04E 0%, #D5A149 100%); color: #131315; }
.property-search__filters { display: flex; align-items: flex-end; gap: 10px; }
.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; padding: 20px 40px; 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; }

/* 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: 16px; 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; }

/* 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: 64px; 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; 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: 8px; color: #989898; 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; bottom: 20px; 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/icon_instagram.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: 14px; font-weight: 400; letter-spacing: -0.04em; 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 { position: absolute; top: 50%; right: 0; transform: translateY(-50%); display: none; gap: 8px; }
.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-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 (max-width: 1280px) and (min-width: 1025px) {
  /* Header */
  .header__inner { padding: 0 60px; }

  /* Hero */
  .hero { min-height: 780px; padding: 0; }
  .hero__inner { height: 810px; }
  .hero__title { left: 60px; top: 580px; font-size: 96px; width: 860px; }
  .hero__subtitle { left: 60px; top: 680px; width: 500px; font-size: 18px; }
  .hero__text-right { left: 580px; top: 680px; width: 360px; font-size: 18px; }
  .hero__person { left: 650px; width: 350px; height: 684px; }
  .hero__badge { left: 844px; top: 354px; }

  /* House selection */
  .house-selection__inner { padding: 10px 160px 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: 228px; }

  /* Lead */
  .lead__inner { padding: 80px 160px; }
  .lead__media { right: 120px; }
  .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, .only-desktop { display: none; }
  .heading--mobile, .only-mobile { display: block; }
  .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: 92px; 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: 44px; }
  .property-search__tabs { width: 100%; border-radius: 34px; padding: 6px; }
  .property-search__tab { flex: 1; height: 60px; }
  .property-search__filters { display: grid; grid-template-columns: 1fr; gap: 12px; width: 100%; }
  .filter-group {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,
  .benefit-card:nth-child(n+4) { width: 100%; }

  /* 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;
  }
  .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;}

  /* 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; }
}

/* 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: 90px 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 14px; font-size: 12px; color: #8d8d8d; }
.request-consent__check { width: 18px; height: 18px; }
.request-consent__link { color: #E6B64C; text-decoration: none; }
.request-submit { width: 100%; height: 66px; border-radius: 20px; 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; }

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


