/* Подключение шрифтов */
@font-face {
  font-family: "Montserrat";
  src: url("./fonts/Montserrat-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("./fonts/Montserrat-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("./fonts/Montserrat-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("./fonts/Montserrat-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
html {
  scroll-behavior: smooth;
}
:root {
  /* Основные цвета */
  --color-dark: #172039;
  --color-white: #ffffff;
  --color-accent: #ffaa3f;
  --color-accent-hover: #ffc46b;
  --color-bg-light: #f7faff;
  --color-bg-card: #f6f6f6;
  --color-border: #0c3332;
  --color-black: #000000;
  --color-badge: #e2eaff;
  --color-video-bg: #343f5e;

  /* Тени и прозрачности */
  --shadow-sm: 0 4px 30px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 20px 35px -12px rgba(0, 0, 0, 0.35);
  --shadow-card:
    0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02),
    0 0 0 1px rgba(0, 0, 0, 0.02);

  /* Шрифты */
  --font-family: "Montserrat", sans-serif;
  --font-size-base: 16px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Скругления */
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-xl: 50px;

  /* Отступы */
  --container-padding: 0 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
  margin: 0;
}

a {
  text-decoration: none;
}

button {
  padding: 0;
  border: none;
  font: inherit;
  color: inherit;
  background-color: transparent;
  cursor: pointer;
}

body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-normal);
  color: var(--color-dark);
  min-height: 100vh;
  background-color: var(--color-bg-light);
}

/* Повторяющиеся стили вынесены в классы */
.h2 {
  font-size: 41px;
  font-weight: var(--font-weight-bold);
  color: var(--color-dark);
  letter-spacing: 2%;
  line-height: 57px;
  text-transform: uppercase;
}

.btn-primary {
  color: var(--color-dark);
  font-size: 18px;
  font-weight: var(--font-weight-semibold);
  border: 1px solid rgba(255, 170, 63, 0.2);
  background-color: var(--color-accent);
  border-radius: var(--radius-xl);
  padding: 20px 34px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* --- остальные стили с заменой цветов и шрифтов --- */
/* .hero {
  background-image: url("./img-bg/bg-border-no.webp");
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  background-position: center;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
} */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  border-radius: 0 0 30px 30px;
}

.main {
  background-image: url("./img-bg/bg-body.webp");
  background-size: cover;
  background-repeat: no-repeat;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  margin: 0 auto;
  padding-left: 36px;
  padding-right: 36px;
  padding-top: 16px;
  color: var(--color-white);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-item--phone {
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
}

.contact-item svg path {
  stroke: var(--color-white);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-top__slogan {
  font-size: 17px;
  font-weight: var(--font-weight-normal);
}

.span-header {
  font-size: 17px;
}

.span-header-min-text {
  font-size: 13px;
}

.span-phone {
  font-size: 24px;
  font-weight: var(--font-weight-medium);
}

.contact-item--phone {
  gap: 5px;
  align-items: flex-end;
}

.hero__title {
  padding-top: 174px;
  font-size: 57px;
  font-weight: var(--font-weight-bold);
  line-height: 70px;
  color: var(--color-white);
  margin-bottom: 29px;
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
}

.hero__title.fade-out {
  opacity: 0;
}

.hero__text p {
  font-size: 22px;
  line-height: 41px;
  color: var(--color-white);
}

.hero__btn {
  margin-bottom: 39px;
  display: flex;
  gap: 14px;
}

.hero__btn button {
  font-size: 20px;
  color: var(--color-white);
  letter-spacing: 0.4%;
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.26);
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.041);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.hero__btn button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.hero__text {
  margin-bottom: 57px;
}

.info__banner {
  max-width: 254px;
  width: 100%;
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  position: fixed;
  bottom: 54px;
  left: 54px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  z-index: 3000;
  transition:
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease;
  transform: translateY(0);
  opacity: 1;
  padding: 10px 10px 15px 18px;
}

.info__banner.banner-hidden {
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
}

.info__banner span {
  font-size: 16px;
  line-height: 18px;
  font-weight: var(--font-weight-bold);
  display: inline-block;
}

.info__banner-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 4px;
}

.info-bottom {
  display: flex;
  gap: 36px;
  align-items: center;
}

.info-bottom p {
  font-size: 15px;
  max-width: 122px;
}

/* Липкий хедер */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--color-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}

.sticky-header.visible {
  transform: translateY(0);
}

.sticky-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* flex-wrap: wrap; */
  padding: 14px 0;
  gap: 15px;
  max-width: 1640px;
  margin: 0 auto;
}

.menu-list {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-list li a {
  text-decoration: none;
  font-size: 15px;
  font-weight: var(--font-weight-semibold);
  transition: all 0.3s ease;
  padding-bottom: 21px;
  border-bottom: 4px solid transparent;
  text-transform: uppercase;
  color: var(--color-dark);
}

.menu-list li a:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.right-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.social-icon:hover {
  opacity: 0.7;
}

.container__sticky-header {
  background-color: var(--color-white);
}

/* Секция трафика */
.traffic {
  padding-top: 140px;
  padding-bottom: 140px;
}

.text-traffic {
  font-size: 25px;
  line-height: 33px;
  margin-bottom: 54px;
}

.traffic__content {
  display: flex;
  gap: 20px;
}

.traffic-block-left {
  max-width: 786px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.traffic-card {
  background-image: url(./img/trafik-card-01.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  max-width: 786px;
  width: 100%;
  height: 527px;
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.18),
    0 2px 4px rgba(0, 0, 0, 0.04);
}

.traffic-card-text {
  position: absolute;
  bottom: 13px;
  left: 13px;
  right: 13px;
  border-radius: var(--radius-md);
  padding: 12px 20px 16px;
  background: rgba(52, 50, 50, 0.4);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(1.5px);
  max-width: 406px;
}

.traffic-card-text p {
  font-size: 25px;
  line-height: 33px;
  color: var(--color-white);
  max-width: 345px;
}

.traffic-card-bottom {
  border-radius: var(--radius-lg);
  padding: 14px 23px 22px;
  border: 2px solid var(--color-dark);
  max-width: 320px;
}

.traffic-card-bottom span {
  font-weight: var(--font-weight-semibold);
  font-size: 33px;
  margin-bottom: 7px;
  display: inline-block;
}

.traffic-card-bottom p {
  font-size: 20px;
  font-weight: var(--font-weight-medium);
}

.traffic-card-bottom strong {
  font-size: 48px;
}

.traffic-block-right {
  max-width: 832px;
}

.card-img {
  max-width: 292px;
}

.card-img img {
  width: 100%;
}

.card-img-bg p {
  font-size: 20px;
  font-weight: var(--font-weight-medium);
  margin-bottom: 38px;
  text-align: center;
}

.block-riht-top {
  display: flex;
  gap: 20px;
}

.card-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.card-img-grid img {
  max-width: 144px;
  width: 100%;
  height: auto;
  display: block;
}

.card-img-bg {
  border-radius: var(--radius-lg);
  padding: 43px 32px 49px;
  background: rgba(250, 250, 250, 0.35);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(4px);
  margin-top: -116px;
  height: 100%;
}

.block-riht-bottom {
  display: flex;
  margin-top: 18px;
  gap: 20px;
}

.block-riht-bottom .traffic-card-bottom {
  max-width: 196px;
  height: 100%;
}

.block-riht-bottom img {
  max-width: 459px;
  width: 100%;
}

/* Торговый центр */
.shopping-centre {
  background-image: url("./img-bg/bg-section-03.webp");
  background-position: center;
  background-size: cover;
  padding-top: 73px;
  border-radius: var(--radius-lg);
}

.shopping-centre-content {
  max-width: 750px;
  width: 100%;
  padding: 27px 46px 52px 45px;
  border-radius: 50px 150px 50px 50px;
  background: rgba(250, 250, 250, 0.21);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(250, 250, 250, 0.61);
}

.shopping-centre-img img {
  max-width: 606px;
  width: 100%;
  margin-left: 37px;
  margin-top: -43px;
  z-index: 1;
  position: relative;
  margin-bottom: -5px;
}

/* Слайдер */
.slider-avto-scroll {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  margin-top: 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.slider-avto-scroll::-webkit-scrollbar {
  display: none;
}

.slider-track {
  display: flex;
  gap: 12px;
  will-change: transform;
}

.slide-card {
  flex-shrink: 0;
  width: 393px;
  height: 258px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.slide-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Планирование */
.planning {
  padding-top: 123px;
  padding-bottom: 126px;
}

.container {
  max-width: 1640px;
  margin: 0 auto;
}

.planning__content {
  display: flex;
}

.planning__left {
  max-width: 1049px;
  width: 100%;
  padding: 14px 40px 55px 47px;
  background-color: var(--color-white);
  z-index: 2;
  border-radius: var(--radius-sm);
}

.planning__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.planning__title {
  font-size: 20px;
  font-weight: var(--font-weight-normal);
  color: var(--color-dark);
  padding-top: 16px;
}

.planning__current {
  font-size: 28px;
  color: var(--color-dark);
  font-weight: var(--font-weight-bold);
}

.planning__tabs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.planning__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tab {
  font-size: 22px;
  width: 40px;
  height: 40px;
  border: 2px solid var(--color-dark);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab.active {
  background: var(--color-accent);
  color: var(--color-black);
  border: 2px solid var(--color-accent);
}

.planning__scheme img {
  width: 100%;
  max-width: 962px;
  max-height: 320px;
  object-fit: contain;
  transition: 0.3s ease;
  margin-top: 77px;
}

.planning__scheme img.small {
  max-width: 464px;
  max-height: 421px;
  margin-top: 15px;
}

.planning__scheme {
  display: flex;
  justify-content: center;
}

.planning__right {
  max-width: 602px;
  width: 100%;
  z-index: 1;
  margin-left: -13px;
}

.planning__visual {
  position: relative;
}

.planning__visual img {
  width: 100%;
  display: block;
}

.zones {
  position: absolute;
  inset: 0;
}

.zone {
  position: absolute;
  width: 100%;
  left: 0;
  cursor: pointer;
}

.info {
  position: relative;
}

.info__popup {
  position: absolute;
  right: 0;
  top: 65px;
  width: 513px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-card);
  color: var(--color-dark);
  padding: 24px 22px;
  font-size: 15px;
  line-height: 21px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 10;
  box-shadow:
    0 25px 40px -12px rgba(0, 0, 0, 0.25),
    0 8px 15px -8px rgba(0, 0, 0, 0.1);
}

.info:hover .info__popup {
  opacity: 1;
  visibility: visible;
}

.info__icon svg path {
  stroke: var(--color-dark);
  transition: stroke 0.2s ease;
}

.info__icon:hover svg path {
  stroke: var(--color-white);
}

.info__icon:hover svg circle {
  fill: var(--color-black);
  cursor: pointer;
}

.info__popup::before {
  content: "";
  position: absolute;
  top: -14px;
  right: 1px;
  width: 30px;
  height: 25px;
  background: var(--color-bg-card);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
  border-top-right-radius: 15px;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
}

.planning__banner {
  display: flex;
  max-width: 955px;
  width: 100%;
  padding: 38px 43px 38px 41px;
  border-radius: var(--radius-lg);
  background: rgba(250, 250, 250, 0.21);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(2px);
  margin-left: 43px;
  margin-top: -38px;
  z-index: 2;
  position: relative;
}

.planning__banner__text p {
  font-size: 22px;
  line-height: 28px;
  font-weight: var(--font-weight-medium);
  max-width: 409px;
}

.planning__banner__text p:not(:last-child) {
  margin-bottom: 33px;
}

.planning__banner__text p::before {
  content: "•";
  color: var(--color-black);
  display: inline-block;
  width: 1em;
  margin-right: 3px;
}

.planning__banner__right h3 {
  font-size: 25px;
  color: var(--color-dark);
  line-height: 33px;
  font-weight: var(--font-weight-bold);
  max-width: 421px;
  margin-bottom: 37px;
  padding-top: 29px;
}

.planning__banner__right button {
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  background-color: var(--color-accent);
  padding: 20px 57px;
  border-radius: var(--radius-xl);
  letter-spacing: 0.4%;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
}

.planning__banner__right button:hover {
  background: var(--color-accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

/* Кастомный селект */
.planning__select {
  display: none;
  position: relative;
}

.planning__select-control {
  display: flex;
  align-items: center;
  background: var(--color-accent);
  border-radius: var(--radius-xl);
  padding: 6px 16px;
  cursor: pointer;
}

.planning__select-value {
  background: var(--color-white);
  border-radius: 40px;
  padding: 8px 18px;
  font-size: 22px;
  font-weight: var(--font-weight-bold);
  border: 2px solid black;
}

.planning__select-arrow {
  margin-left: 14px;
  transition: 0.3s;
}

.planning__select-dropdown {
  position: absolute;
  top: 60px;
  right: 0;
  width: 120px;
  height: 220px;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: 0.3s;
}

.planning__select.open .planning__select-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.planning__select.open .planning__select-arrow {
  transform: rotate(180deg);
}

.planning__select-list {
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
}

.planning__select-list div {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  scroll-snap-align: center;
}

.planning__select-highlight {
  position: absolute;
  top: 50%;
  left: 10px;
  right: 10px;
  height: 40px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
}



/* Видеосекция */
.video-section {
  background: linear-gradient(135deg, #0e1b3d, #1e3a6d);
  padding: 91px 0;
  color: var(--color-white);
  border-radius: var(--radius-lg);
}

.video-wrapper {
  display: flex;
  gap: 68px;
}

.video-left {
  max-width: 605px;
  width: 100%;
}

.video-title {
  font-size: 41px;
  margin-bottom: 20px;
  line-height: 57px;
  letter-spacing: 0.2%;
}

.video-tags {
  margin-bottom: 55px;
}

.video-tags button {
  background: var(--color-video-bg);
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  color: var(--color-white);
  cursor: pointer;
  font-size: 25px;
  margin-right: 12px;
  margin-bottom: 12px;
}

.video-tags .wide {
  padding: 10px 22px;
}

.video-features {
  display: flex;
  gap: 40px;
  margin-bottom: 22px;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding-bottom: 19px;
}

.feature p {
  font-size: 20px;
  font-weight: var(--font-weight-normal);
}

.feature img {
  width: 55px;
  margin-bottom: 10px;
}

.feature-center,
.feature-right {
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  padding-left: 24px;
  margin-bottom: -19px;
}

.video-parking {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  flex-direction: column;
}

.video-parking p {
  font-size: 20px;
  font-weight: var(--font-weight-normal);
}

.video-right {
  max-width: 965px;
  width: 100%;
  display: flex;
  justify-content: center;
  height: 543px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
}

.video-box {
  position: relative;
  max-width: 965px;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.video-preview {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: var(--radius-md);
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.video-element {
  width: 100%;
  border-radius: var(--radius-md);
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--color-accent);
  border: none;
  border-radius: 40px;
  padding: 15px 25px;
  cursor: pointer;
}

.play-icon {
  width: 40px;
  height: 40px;
  background: var(--color-white);
  border-radius: 50%;
  position: relative;
}

.play-icon::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 12px;
  border-left: 12px solid var(--color-black);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.play-text {
  display: flex;
  flex-direction: column;
}

.play-text strong {
  font-size: 18px;
  color: var(--color-dark);
}

.play-text span {
  font-size: 12px;
  opacity: 60%;
  color: var(--color-dark);
}

/* Аналитика */
.analytics {
  padding-top: 115px;
  padding-bottom: 111px;
}

.analytics-block {
  display: flex;
  gap: 30px;
}

.analytics-block-left,
.analytics-block-right {
  max-width: 804px;
}

.analytics-block-left p {
  font-size: 25px;
  line-height: 33px;
  margin-bottom: 40px;
}

.analytics-block-left h2 {
  margin-bottom: 9px;
}

.analytics-block img {
  width: 100%;
}

.block-right-text {
  margin-bottom: 40px;
  padding: 23px 60px 21px 37px;
  border-radius: var(--radius-lg);
  background: rgba(250, 250, 250, 0.21);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(2px);
}

.analytics-block-right h4 {
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  margin-bottom: 6px;
}

.block-right-top p {
  font-size: 18px;
  font-weight: var(--font-weight-normal);
}

/* Лоты */
.lots {
  padding: 111px 10px 123px 10px;
}

.lots h2 {
  margin-bottom: 38px;
}

.cards-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  margin-bottom: 50px;
}

.lots-card {
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-md);
}

.card-top img {
  width: 100%;
  border-radius: 24px;
  display: block;
  position: relative;
  z-index: 2;
}

.card-bottom {
  background: var(--color-white);
  border-radius: 24px;
  padding: 53px 35px 19px;
  margin-top: -30px;
}

.badge {
  display: inline-block;
  background: var(--color-badge);
  padding: 6px 10px;
  border-radius: var(--radius-md);
  font-size: 20px;
  margin-bottom: 9px;
  font-weight: var(--font-weight-normal);
}

.card-bottom p {
  font-size: 23px;
  line-height: 33px;
}

.lots-flex-btn {
  display: flex;
  justify-content: center;
}

/* Жизнь и работа */
.work-life {
  padding-bottom: 86px;
}

.work-life-block {
  display: flex;
}

.work-life-block-left {
  padding: 63px 66px 71px 79px;
  border-radius: var(--radius-lg) 0px 0px var(--radius-lg);
  background: rgba(254, 254, 254, 0.455);
  backdrop-filter: blur(2.6px);
  border: 1px solid rgba(228, 224, 224, 0.686);
  min-height: 498px;
  height: 100%;
  margin-top: 57px;
  box-shadow: 0 6px 10px -6px rgba(0, 0, 0, 0.06);
}

.work-life-block-left p {
  font-size: 25px;
  line-height: 33px;
  margin-bottom: 41px;
}

.work-life-block-left h2 {
  margin-bottom: 8px;
}

.work-life-block-img {
  display: flex;
  gap: 71px;
}

.work-life-block-svg span {
  display: block;
  font-size: 24px;
  line-height: 31px;
  font-weight: var(--font-weight-semibold);
}

.work-life-block-svg img {
  margin-bottom: 13px;
}

.work-life-block-right img {
  max-width: 945px;
  border-radius: var(--radius-lg);
}

/* Документы */
.documents {
  background-image: url("./img-bg/document-bg.webp");
  background-position: center;
  background-size: cover;
  border-radius: var(--radius-lg);
  padding-top: 63px;
  padding-bottom: 76px;
}

.documents-content h2 {
  color: var(--color-white);
  margin-bottom: 9px;
}

.documents-content p {
  color: var(--color-white);
  margin-bottom: 39px;
  font-size: 25px;
  line-height: 33px;
}

/* Финансирование */
.financing {
  padding-top: 86px;
  padding-bottom: 86px;
}

.financing-block {
  display: flex;
  gap: 44px;
  align-items: center;
}

.financing-block-flex {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr 1fr 1fr;
}

.financing-item {
  background-color: var(--color-white);
  width: 100%;
  box-shadow:
    0 20px 35px -10px rgba(0, 0, 0, 0.1),
    0 8px 12px -6px rgba(0, 0, 0, 0.05),
    0 0 0 1px rgba(0, 0, 0, 0.02);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
  border-radius: 16px;
}

.financing-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 45px -15px rgba(0, 0, 0, 0.2);
}

.financing-item-1 {
  padding: 66px 106px 66px 44px;
  background-image: url("./img-bg/financing-01.webp");
  background-size: cover;
  border-radius: var(--radius-lg);
}

.financing-item-2 {
  padding: 43px 52px 52px 44px;
  background-image: url("./img-bg/financing-02.webp");
  background-size: cover;
  border-radius: var(--radius-lg);
}

.financing-item-3 {
  padding: 43px 48px 52px 48px;
  background-image: url("./img-bg/financing-03.webp");
  background-size: cover;
  border-radius: var(--radius-lg);
}

.financing-block-flex p {
  font-size: 25px;
  line-height: 33px;
}

.financing-item svg {
  margin-bottom: 10px;
}

/* Контакты */
.contacts {
  margin: 0 auto;
}

.contacts__map {
  display: flex;
  justify-content: center;

  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}

.contacts__card {
  max-width: 523px;
  height: 500px;
  z-index: 2600;
  width: 100%;
  background: linear-gradient(
    47deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(34, 57, 124, 1) 100%
  );
  padding: 107px 20px;
  border-radius: 30px 30px 30px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  -webkit-border-radius: 30px 30px 30px 0px;
  -moz-border-radius: 30px 30px 30px 0px;
  -ms-border-radius: 30px 30px 30px 0px;
  -o-border-radius: 30px 30px 30px 0px;
}

.contacts h3 {
  font-size: 34px;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 32px;
}

.contacts a {
  font-size: 24px;
  font-weight: var(--font-weight-medium);
  color: var(--color-white);
  margin-bottom: 22px;
}

.contacts svg path {
  stroke: var(--color-white);
}

.contacts svg {
  margin-bottom: 6px;
}

.info p {
  font-size: 20px;
  font-weight: var(--font-weight-normal);
  color: var(--color-white);
  margin-bottom: 45px;
}

.info {
  text-align: center;
}

.socials {
  display: flex;
  gap: 13px;
}

.map-placeholder {
  max-width: 1421px;
  width: 100%;
  background-color: grey;
  margin-left: -24px;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

/* Футер */
.footer {
  color: var(--color-white);
  background-color: var(--color-dark);
}

.container-flex {
  display: flex;
  max-width: 1845px;
  justify-content: space-between;
  align-items: center;
  padding-top: 47px;
  padding-bottom: 22px;
  margin-top: -1px;
}

.footer-center p {
  font-size: 17px;
  font-weight: var(--font-weight-normal);
  line-height: 14px;
}

.footer-left p,
.footer-right p,
.footer-right a {
  font-size: 11px;
  font-weight: lighter;
  color: var(--color-white);
  opacity: 66%;
  line-height: 14px;
}
/* стили мобилка  */
.mobile-menu__list a {
  display: block;
  padding: 15px 0;
  font-size: 18px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
}
/* Мобильное меню (по умолчанию скрыто справа) */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 2800;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

/* Активное состояние – меню видно */
.mobile-menu.active {
  transform: translateX(0);
}

/* Крестик закрытия – справа сверху (если ещё не стилизован) */
.mobile-menu__header {
  display: flex;
  justify-content: flex-end;
  padding: 20px;
}

.close-btn {
  cursor: pointer;
}

.mobile-header {
  display: none;
}
.burger-btn img {
  width: 38px;
  cursor: pointer;
  display: none;
}
.mobile-menu__list li {
  border-bottom: 1px solid #eee;
}
.mobile-menu__nav {
  padding: 30px 20px;
}
.mobile-menu__list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

/* модалки формы обратной связи */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal.active {
  display: flex;
  padding-left: 15px;
  padding-right: 15px;
}

/* ОСНОВНОЙ КОНТЕЙНЕР */
.modal__content {
  width: 935px;
  height: 405px;
  background: #fff;
  border-radius: 30px;
  padding: 53px 57px 57px 57px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;

  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}

/* КРЕСТИК */
.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 26px;
  border: none;
  background: none;
  cursor: pointer;
}

/* ЛЕВАЯ ЧАСТЬ */
.modal__left {
  width: 55%;
  display: flex;
  flex-direction: column;
}

.modal__left h2 {
  font-size: 40px;
  line-height: 44px;
  margin-bottom: 15px;
}

.modal__left ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.modal__left li {
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.4;
}

/* ЧЕКБОКС ВНИЗУ */
.modal__agree {
  margin-top: auto; /* 🔥 ключ */
  font-size: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  color: #777;
  line-height: 1.3;
}

.modal__agree input {
  display: none;
}

.checkmark {
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e0e0e0;
  position: relative;
  margin-top: 2px;
}

.modal__agree input:checked + .checkmark {
  background: #cfcfcf;
}

.modal__agree input:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  font-size: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.modal__agree a {
  color: #999;
  text-decoration: underline;
}

/* ПРАВАЯ ЧАСТЬ */
.modal__form {
  padding-top: 25px;
  width: 350px;
  display: flex;
  flex-direction: column;
  gap: 30px;

  justify-content: center; /* 🔥 центр по вертикали */
}

.modal__form input {
  height: 63px;
  border-radius: 30px;
  border: 1px solid #ccc;
  padding: 19px 0 22px 21px;
  font-size: 18px;
  outline: none;
  background-color: #f8f9ff;
}

.modal__form input:focus {
  border-color: #f5a33b;
}

.modal__form input.error {
  border-color: red;
}

/* КНОПКА */
.modal__form button {
  height: 63px;
  border-radius: 30px;
  border: none;
  background: #f5a33b;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.modal__form button:hover {
  background: #e5942f;
}

/* 📱 АДАПТИВ */
@media (max-width: 768px) {
  .modal__content {
    width: 90%;
    height: auto;
    flex-direction: column;
    gap: 25px;
    padding: 25px;
  }

  .modal__left {
    width: 100%;
  }

  .modal__form {
    width: 100%;
    justify-content: flex-start;
  }

  .modal__agree {
    margin-top: 10px;
  }
}
.modal__agree-error {
  font-size: 12px;
  color: red;
  margin-top: 5px;
  opacity: 0;
  transition: 0.2s;
}

.modal__agree-error.active {
  opacity: 1;
}

.modal__agree.error .checkmark {
  border: 1px solid red;
}

/* модалка кастомная  */

.modal__content--lots {
  width: 1256px;
  /* min-height: 495px; */
  height: auto;
  background: #fff;
  border-radius: 30px;
  padding: 0;
  padding-top: 31px;
  align-items: center;
  display: flex;
  flex-direction: column;
  position: relative;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}
.lot-option p {
  max-width: 222px;
}

/* header */
.modal__lots-header h2 {
  font-size: 40px;
  line-height: 44px;
  margin-bottom: 41px;
  text-align: center;
}

/* RADIO GRID */
.lots-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 96px;
  margin-bottom: 20px;
  padding-left: 70px;
  padding-right: 70px;
}

.lot-option {
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  font-size: 17px;
  color: #172039;
  line-height: 22px;
  font-weight: 500;
}

.lot-option input {
  display: none;
}

/* КРУГ RADIO 36x36 */
.lot-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #d9d9d9;
  position: relative;
  transition: 0.2s;
  border: 2px solid black;
  margin-bottom: 12px;
}

/* active */
.lot-option input:checked + .lot-circle {
  background: #000;
}

.lot-option input:checked + .lot-circle::after {
  content: "✓";
  position: absolute;
  color: #fff;
  font-size: 18px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* BOTTOM */
.modal__lots-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  background-color: #f8f9ff;
  padding: 34px 70px 39px 70px;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}

/* LEFT TEXT */
.lots-info {
  max-width: 422px;
}
.lots-info li {
  font-size: 17px;
  color: #172039;
  margin-bottom: 20px;
}
.lots-info ul {
  padding-left: 20px;
  font-size: 14px;
}

/* RIGHT FORM */
.modal__form--lots {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.inputs-row {
  display: flex;
  gap: 30px;
}

.inputs-row input {
  flex: 1;
  height: 63px;
  border-radius: 30px;
  border: 1px solid #ccc;
  padding: 19px 0 22px 21px;
  background-color: #fff;
}

/* agree reuse */
.modal__agree {
  font-size: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.modal__agree input {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e0e0e0;
  position: relative;
}

.modal__agree input:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  font-size: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* BUTTON */
.modal__form--lots button {
  height: 63px;
  border-radius: 30px;
  border: none;
  background: #f5a33b;
  font-weight: bold;
  cursor: pointer;
}
.modal-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* стили popup */

/* Глобальный попап – позиционируется абсолютно относительно окна */
.global-messenger-popup {
  position: fixed; /* фиксированное, а не абсолютное */
  width: 260px;
  background: #dce7e3;
  border-radius: 20px;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s;
  z-index: 10000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.global-messenger-popup::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 40px;
  width: 20px;
  height: 20px;
  background: #dce7e3;
  transform: rotate(45deg);
}

.global-messenger-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(10px);
  -webkit-transform: translateY(10px);
  -moz-transform: translateY(10px);
  -ms-transform: translateY(10px);
  -o-transform: translateY(10px);
}

/* Стили внутренних элементов такие же, как у вас были */
.global-messenger-popup .popup-inner p {
  font-size: 14px;
  text-align: center;
  margin-bottom: 15px;
  color: #1e3d35;
}

.global-messenger-popup .qr {
  background: #ffffff;
  padding: 10px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.global-messenger-popup .qr img {
  width: 120px;
  height: 120px;
}

.global-messenger-popup .popup-link {
  display: block;
  text-align: center;
  font-size: 16px;
  color: #1e3d35;
  text-decoration: none;
}
/* КАРТА */
/* Задаём высоту для контейнера карты — обязательное условие */
.map-placeholder {
  width: 100%;
  height: 500px;
  border-radius: 0px 30px 30px 0px;
  overflow: hidden;
  -webkit-border-radius: 0px 30px 30px 0px;
  -moz-border-radius: 0px 30px 30px 0px;
  -ms-border-radius: 0px 30px 30px 0px;
  -o-border-radius: 0px 30px 30px 0px;
}
#map {
  width: 100%;
  height: 100%;
}
/* Скрываем логотип Яндекса только внутри карты */
#map [class*="copyright"],
#map [class*="logo"],
#map .ymaps-copyright,
#map .ymaps-copyright__logo,
#map .ymaps-copyright__link,
#map .ymaps-copyright__agreement {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.map-placeholder {
    width: 100%;  /* или 800px */
    max-width: 1427px;
    height: 500px;
}

#map {
    width: 100% !important;
    height: 100% !important;
}
.planning h2 {
  margin-bottom: 36px;
}
.block-none {
  display: none;
}





/* доп правки наведение на 2  секцию блоков ЗУМ карточек  */






/* Стили для drag-to-scroll */
.slider-avto-scroll {
  cursor: grab;
  user-select: none; /* Запрещаем выделение текста при перетаскивании */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.slider-avto-scroll:active {
  cursor: grabbing;
}

.slider-track {
  transition: transform 0.05s linear; /* Плавность при drag */
  will-change: transform;
}

.slider-avto-scroll.pause {
  cursor: grab;
}

/* Отключаем hover эффекты во время drag */
.slider-avto-scroll.dragging .slide-card:hover {
  transform: none;
  transition: none;
}

/* Улучшаем скролл на мобильных */
@media (max-width: 768px) {
  .slider-avto-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .slider-track {
    display: flex;
  }
}
.work-life-block-right {
  overflow: hidden; 
  border-radius: 30px; 
}

.work-life-block-right img {
  transition: transform 0.3s ease; 
  width: 100%; 
  height: 100%; 
  object-fit: cover;
  display: block; 
}

.work-life-block-right:hover img {
  transform: scale(1.05); 
}
.lots-card {
   
    background-color: white;
}
.planning__visual img {
    border-radius: 0 10px 10px 0;
}
