@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

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

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: #333;

}
html, body{
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: #fff;
}

/* Геройская секция */
.hero {
    position: relative;
    min-height: 480px;
    background: url('../images/main-banner.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: start;
    text-align: center;
    color: #fff;
    max-width: 1200px;
    margin: 20px auto;
    border-radius: 12px;
    padding: 2rem;


}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: 20px;
    text-align: left;
}

.hero__title {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero__text {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 600px;
    
}

.hero__socials {
    margin-bottom: 20px;
}

.fa-brands, .fa-regular{
	color: #303030;
    background: #fff;
    padding: 8px;
    border-radius: 20px;
    font-size: 20px;
    margin-right: 10px;
}
.social-link {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1em;
}

.social-link:hover {
    text-decoration: underline;
}

.hero__button {
    display: inline-block;
    padding: 10px 30px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 12px;
}
.wa-button{
    background-color: #24CC63;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    text-decoration: none;
    display: block;
}
.fa-arrow-right{
	margin-left: 8px;
	font-size: 14px;
}
.hero__button:hover {
    background-color: #ddd;
}

/* Статистика */
.stats {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.stats__container {
    display: flex;
    gap: 20px;
    width: 100%;
}

.stats__card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 50%;
    position: relative;
    height: 250px;
}
.stats__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(255 255 255 / 10%);
    border-radius: 12px;
}
.stats__number {
    font-size: 2.2em;
    color: #000;
}

.stats__label {
    font-size: 1.4em;
    color: #000;
    font-weight: 500;
}

/* Партнёры */
.partnerships {
	margin-top: 100px;
    padding: 40px 20px;
    text-align: center;
    background-color: #f3f4f6;
}

.partnerships__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.partnerships-left{
	width: 40%;
	text-align: left;
}
.partnerships__title {
    font-size: 2em;
    margin-bottom: 10px;
}

.partnerships__text {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 20px;
}

.partnerships__logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 60%;
    flex-wrap: wrap;
}

.partnership-logo {
    width: 40%;
    height: auto;
    background-color: #fff;
    border-radius: 12px;
    padding: 30px 50px;
}

/* Услуги */
.swiper {
  width: 100%;
  height: auto;
  overflow: hidden;
  padding: 10px!important;
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  flex-shrink: 0;
  width: auto;
}
.video{
background:#F3F4F6;
}
.properties, .video {
    padding: 40px 20px;
    text-align: center;
}

.properties__container, .video__container {
    max-width: 1200px;
    margin: 0 auto;
}

.properties__title, .video__title {
    font-size: 2em;
    margin-bottom: 10px;
    text-align: center;
}

.properties__text, .video__text {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 20px;
}

.properties__grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.property-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    width: 250px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    min-height: 550px;
}

.property-card__image img{
    height: 350px;
    object-fit: cover;
    width: 100%;
}
.property-card__title {
    font-size: 1.2em;
    margin: 10px;
}

.property-card__location {
    font-size: 1em;
    color: #666;
    margin: 0 10px 10px;
}

.swiper-button-next:after, .swiper-button-prev:after{
    background: #fff;
    padding: 10px;
    font-size: 25px!important;
    font-weight: 800;
    color: #1f2937;
}

.properties__button {
    display: inline-block;
    padding: 10px 30px;
    background-color: #1f2937;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 20px;
}

.properties__button:hover {
    background-color: #333;
}

/* О нас */
.about {
    padding: 40px 20px;
    text-align: center;
    
}

.about__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 50px;
    align-items: center;
}

.about-left, .about-right{
    width: 50%;
    text-align: left;
}

.about-left img{
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.about__title {
    font-size: 2em;
    margin-bottom: 10px;
}

.about__text {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about__button {
    display: inline-block;
    padding: 10px 30px;
    background-color: #1f2937;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 20px;
}

.about__button:hover {
    background-color: #333;
}

.about__stats {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.about__stat {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    
}

.stat-number {
    font-size: 1.5em;
    color: #000;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1em;
    color: #666;
}

/* Контакты */
.contact {
    padding: 40px 20px;
    text-align: center;
    background-color: #fff;
}

.contact__container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact__title {
    font-size: 2em;
    margin-bottom: 10px;
}

.contact__text {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 20px;
}

.contact__info {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.contact__item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 300px;
}
.contact__item a{
    color: #333;
    text-decoration: none;
}
.contact-icon {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.contact-icon .fa-solid{
    color: #1f2937;
}

.form {
    padding: 40px 20px;
    text-align: center;
    background-color: #F3F4F6;
}

.form__container{
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.form-left{
    width: 35%;
}

.form-right{
    width: 65%;
}

.form-left img{
    width: 100%;
}

.form-right{
    background-color: #fff;
    border-radius: 0px 15px 15px 0px;
}

.callback-form {
      flex: 1 1 400px;
      padding: 30px;

    }

.callback-form h2 {
      font-size: 2em;
      line-height: 1.2em;
      margin-bottom: 10px;
      
    }

.partnerships{
    margin-top: 50px;
}












    

    .form-row {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      margin-bottom: 20px;
    }

    .form-row input {
      flex: 1 1 180px;
      padding: 12px 16px;
      border-radius: 8px;
      border: 2px solid #ccc;
      font-size: 16px;
    }

    .form-row input:focus {
      border-color: #990000;
      outline: none;
    }

    .callback-form button {
      background-color: #1F2937;
      color: white;
      border: none;
      padding: 14px 28px;
      font-size: 16px;
      border-radius: 8px;
      cursor: pointer;
      transition: background-color 0.3s;
      width: 100%;
    }

    

    .form-policy {
      margin-top: 15px;
      font-size: 14px;
    }

    .form-policy input {
      margin-right: 6px;
    }

    .form-policy a {
      color: #990000;
      text-decoration: underline;
    }

    header {
      background-color: #fff;
      padding: 16px 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid #ddd;
      position: relative;
      z-index: 10;
      max-width: 1200px;
      margin: 0 auto;
    }

    .logo {
      font-size: 22px;
      font-weight: bold;
      color: #990000;
      width: 8%;
    }
    .logo img{
        width: 100%;
    }

    nav {
      display: flex;
      gap: 24px;
    }

    nav a {
      text-decoration: none;
      color: #1F2937;
      font-weight: 500;
      transition: color 0.3s;
    }

    nav a:hover {
      color: #990000;
    }

    .burger {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 4px;
      cursor: pointer;
      z-index: 1001;
    }

    .burger span {
      width: 24px;
      height: 3px;
      background: #333;
      border-radius: 2px;
    }

    .mobile-nav {
      position: fixed;
      top: 0;
      right: -100%;
      width: 250px;
      height: 100%;
      background: #fff;
      display: flex;
      flex-direction: column;
      padding: 60px 20px;
      box-shadow: -2px 0 8px rgba(0,0,0,0.1);
      transition: right 0.3s ease;
      z-index: 1002;
    }

    .mobile-nav a {
      padding: 12px 0;
      color: #1F2937;
      text-decoration: none;
      font-weight: 500;
    }

    .mobile-nav .close-btn {
      position: absolute;
      top: 16px;
      right: 16px;
      font-size: 24px;
      cursor: pointer;
      color: #990000;
    }

    .mobile-nav.active {
      right: 0;
    }






.catalog {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    flex-direction: column;
    padding: 50px 0;
    gap: 20px;
}

.catalog__container {
    display: flex;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}

.catalog__card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 50%;
    position: relative;
    height: 250px;
}
.catalog__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(255 255 255 / 10%);
    border-radius: 12px;
}
.catalog__number {
    font-size: 2.2em;
    color: #000;
}

.catalog__label {
    font-size: 1.4em;
    color: #000;
    font-weight: 500;
}



.catalog-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    width: 30%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    min-height: 550px;
    padding-bottom: 20px;
}

.catalog-card__image img{
    height: 350px;
    object-fit: cover;
    width: 100%;
}
.catalog-card__title {
    font-size: 1.2em;
    margin: 10px;
}

.catalog-card__location {
    font-size: 1em;
    color: #666;
    margin: 0 10px 10px;
}

.catalog__button {
    display: block;
    padding: 10px 30px;
    background-color: #1F2937;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}

.catalog__button:hover {
    background-color: #21324F;
}

.popup {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  
}

.popup-content {
  background: #fff;
  border-radius: 10px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}
.popup-close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 26px;
  cursor: pointer;
  font-weight: bold;
}

/* 📐 Две колонки */
.popup-body {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.popup-image{
    flex: 1;
}
.popup-image img {
  width: 100%;
  border-radius: 8px;
}

.popup-text {
  flex: 1;
  overflow-y: auto;
}

.popup-text h2 {
  margin-top: 0;
}

.promo-popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 15px;
}

.promo-popup-content {
  background: #fff;
  width: 90%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  animation: fadeIn 0.5s ease;
  max-width: 800px;
}

.promo-popup-inner {
  display: flex;
  flex-direction: row;
}

.promo-popup-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo-popup-image {
  flex: 1;
}

.promo-popup-text {
  flex: 1;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.promo-popup-text h2 {
  margin-bottom: 15px;
  color: #2D4FA9;
  font-size: 28px;
}

.promo-popup-text p {
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
}

.promo-popup-text .note {
  font-size: 14px;
  color: #FF5E14;
  margin-bottom: 20px;
}

.promo-popup-btn {
  background-color: #21324F;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
  align-self: flex-start;
  text-decoration: none;
}

.promo-popup-btn:hover {
  background-color: #2D4FA9;
}

.promo-popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}

    @media (max-width: 900px) {
    .promo-popup-inner {
    flex-direction: column;
  }
  .promo-popup-text {
    text-align: center;
    padding: 20px;
  }
  .promo-popup-text h2 {
    font-size: 22px;
  }
  .promo-popup-text p {
    font-size: 14px;
  }
  .promo-popup-btn {
    font-size: 14px;
    padding: 10px 20px;
    align-self: center;
  }
    
    .logo{
        width: 20%;
    }
    nav {
        display: none;
      }

    .burger {
        display: flex;
     }

     header, .hero, .stats, .partnerships__container, .properties__container, .about__container, .contact__container, .form__container{
        width: 95%;

     }

     .hero__content{
        padding: 0px;
     }
     .properties{
        padding: 40px 0px;
     }
     .hero__title{
        font-size: 2em;
     }

     h3, .hero__text{
        font-size: 0.9em;
     }

     .stats__card{
        height: 150px;
     }

     .stats__number{
        font-size: 1.4em;
     }
     .stats__label{
        font-size: 1em;
     }

     .partnerships__container{
        flex-direction: column;
     }

     .partnerships-left, .partnerships__logos{
        width: 100%;
        text-align: center;
     }

     .partnership-logo{
        padding: 10px;
     }

     .about__container{
        flex-direction: column;
        gap: 20px;
     }

     .about-left, .about-right{
        width: 100%;
     }
     .about__stats{
        flex-direction: column;
     }
     .about__stat{
        width: 100%;
        text-align: center;
     }
     .contact__info{
        flex-direction: column;
     }
     .contact__item{
        width: 100%;
     }

     .form__container{
        flex-direction: column;
     }
     .form-left{
        display: none;
     }
     .form-right{
        width: 100%;
        border-radius: 12px;
     }

    .partnerships__title, .properties__title, .about__title, .contact__title, .video__title, .callback-form h2{
        font-size: 1.8em;
    }




      .callback-section {
        flex-direction: column;
        padding: 20px;
      }

      .callback-form h2 {
        text-align: center;
      }
      .callback-form{
          padding: 20px;
      }
      .form-row {
        flex-direction: column;
      }

      .form-row input {
        width: 100%;
      }

      .callback-form button {
        width: 100%;
      }

      .form-policy {
        text-align: center;
      }
      .form-row input{
        flex: 1 1 30px;
      }
      
      
      .catalog{
          width:95%;
      }
      .catalog-card{
        width: 100%;
     }
     .catalog__card{
        height: 150px;
     }

     .catalog__number{
        font-size: 1.4em;
     }
     .catalog__label{
        font-size: 1em;
     }
      
      .popup-body {
    flex-direction: column;
  }

  .popup-image img {
    width: 100%;
  }
  .popup-content{
    width: 100%;
  }
    }
    
    


    /* Слайды */
    

    /* Видео-контейнер с соотношением 9:16 */
    .video-wrapper {
  position: relative;
  padding-bottom: 177.77%; /* 9:16 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: #000;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* чтобы видео масштабировалось и не искажалось */
  border-radius: 12px;
}
 /* ПК: 3 видео рядом, без прокрутки и навигации */
@media (min-width: 769px) {
  .video-block .swiper-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .video-block .swiper-slide {
    width: 340px !important;
  }

  /* Скрываем стрелки только у видео-слайдера */
  .video-block .swiper-button-prev,
  .video-block .swiper-button-next {
    display: none;
  }
}

.swiper-pagination {
  display: none !important;
}
