body, html {
      margin: 0;
      padding: 0;
	  scroll-behavior: smooth;
    }
    .hero {
      background: url('./img/_IMG_6165.jpg.webp') no-repeat center center/cover;
      min-height: 100vh;
      position: relative;
      display: flex;
      align-items: center;
      color: #fff;
    }
    .hero::before {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.45);
    }
    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 600px;
    }
	
	.hero h1 {
	  font-size: 2.8rem;       /* крупный заголовок */
	  font-weight: 700;
	  margin-bottom: 1.5rem;   /* отступ вниз */
	}

	.hero p {
	  font-size: 1.1rem;       /* мелкий подзаголовок */
	  font-weight: 300;        /* лёгкий шрифт */
	  margin-bottom: 1.5rem;
	}

	.hero h5 {
	  font-size: 1.2rem;
	  font-weight: 700;
	  margin-bottom: 2rem;     /* больше отступа перед кнопками */
	}

	.btn-custom {
	  background-color: #63b3b2;
	  color: #000 !important;
	  border: none;
	  border-radius: 8px;
	  padding: 14px 40px;      /* больше воздуха */
	  font-weight: 600;
	  font-size: 16px;
	  margin-right: 25px;      /* расстояние между кнопками */
	  transition: all 0.2s ease-in-out;
	}

	/* Ховер эффект */
	.btn-custom:hover {
	  background-color: #4fa2a0;
	  transform: translateY(-2px);
	}
	
	.btn-custom:last-child {
	  margin-right: 0;
	}
    .section-2 {
      background: url('./img/IMG_6122_2.JPG.webp') no-repeat center center/cover;
      min-height: 100vh;
      display: flex;
      align-items: center;
      color: #fff;
      text-align: center;
      position: relative;
    }
    .section-2::before {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.45);
    }
    .section-2 .container {
      position: relative;
      z-index: 2;
    }
	.custom-navbar {
	  background: rgba(255, 255, 255, 0.9);
	  backdrop-filter: blur(6px);
	  height: 70px;
	  overflow: visible;
	  z-index: 1050;
	}

/* Навбар */
.custom-navbar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  height: 80px; /* фиксированная высота полосы */
  overflow: hidden; /* чтобы логотип не вылезал за рамку */
  z-index: 1050;
}

/* Логотип */
.logo {
  height: 65px;           /* адекватная высота под 80px navbar */
  position: relative;
  top: 0;                 /* убрано смещение вниз */
  object-fit: contain;
  transition: 0.3s ease;
}

/* На мобильных — чуть меньше */
@media (max-width: 991px) {
  .logo {
    height: 55px;
    top: 0;
  }
}


.custom-navbar .nav-link {
  color: #000 !important;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.custom-navbar .nav-link:hover {
  color: #5fd0c0 !important;
}

/* расстояние между пунктами меню */
.navbar-nav .nav-item .nav-link {
  padding: 0 16px;
}

.telegram-btn {
  background-color: #5fd0c0;
  width: 38px;
  height: 38px;
  margin-left: 15px;
}

/* мобильная версия */
@media (max-width: 991px) {
  .navbar-nav {
    text-align: center;
  }

  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    padding: 15px 0;
  }

  .nav-link {
    padding: 10px 0;
    font-size: 1.05rem;
  }

  .telegram-btn {
    position: absolute;
    right: 15px;
    bottom: 10px;
  }

  
}


	
	.section-3 {
	  background: url('./img/IMG_6158_2.jpg.webp') 
				  no-repeat center center/cover;
	  min-height: 100vh;
	  display: flex;
	  align-items: center;
	  text-align: center;
	  color: #fff;
	  position: relative;
	}

	.section-3::before {
	  content: "";
	  position: absolute;
	  top: 0; left: 0; right: 0; bottom: 0;
	  background: rgba(0,0,0,0.45); /* затемнение */
	}

	.section-3 .container {
	  position: relative;
	  z-index: 2;
	  max-width: 800px;
	}

	.section-3 p {
	  font-size: 1.2rem;
	  line-height: 1.7;
	  font-weight: 500;
	}

	.section-4 {
	  background: #000;
	  min-height: 100vh;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  padding: 80px 0;
	}

	.section-4 h2 {
	  letter-spacing: 1px;
	}

	.section-4 .price-item {
	  font-size: 1.25rem;
	}

	/* таблица */
	.section-4 table {
	  color: #fff;
	  width: 100%;
	  border-collapse: separate !important;
	  border-spacing: 0 12px !important; /* расстояние между рядами */
	}

	.section-4 thead th {
	  font-weight: 600;
	  border: none;
	  padding-bottom: 12px;
	}

	.section-4 tbody tr {
	  background: rgba(255,255,255,0.08);
	  border-radius: 10px;
	}

	.section-4 tbody tr td {
	  border: none;
	  padding: 14px 16px;
	  font-size: 1.05rem;
	}

	.section-4 tbody tr td:first-child {
	  border-radius: 10px 0 0 10px;
	  text-align: left;
	  font-weight: 600;
	}

	.section-4 tbody tr td:last-child {
	  border-radius: 0 10px 10px 0;
	}

	/* выравнивание и центрирование */
	.section-4 tbody td:not(:first-child) {
	  text-align: center;
	}
	
	.section-2 .text-block {
	  background: rgba(0, 0, 0, 0.45); /* полупрозрачная тёмная подложка */
	  backdrop-filter: blur(10px); /* лёгкий эффект размытия фона */
	  border-radius: 12px; /* мягкие углы */
	  padding: 40px 30px;
	  max-width: 800px;
	  margin: 0 auto;
	  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
	}
	
	.section-3 .text-block {
	  background: rgba(0, 0, 0, 0.45); /* полупрозрачная тёмная подложка */
	  backdrop-filter: blur(10px); /* лёгкий эффект размытия фона */
	  border-radius: 12px; /* мягкие углы */
	  padding: 40px 30px;
	  max-width: 800px;
	  margin: 0 auto;
	  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
	}

	.section-2 .text-block h4 {
	  font-weight: 700;
	}

	.section-2 .text-block p {
	  font-size: 1.1rem;
	  line-height: 1.7;
	}
	
	.hero,
	.section-2,
	.section-3 {
	  background-attachment: fixed;
	  background-size: cover;
	  background-position: center;
	}
	
	
.section-5 {
  background: #000;
  padding: 80px 0;
  overflow: hidden;
}

.section-5 .container {
  max-width: 1300px;
  padding: 0;
}

.gallery-swiper {
  height: 560px;
  overflow: visible;
}

.gallery-swiper .swiper-slide {
  transition: transform .4s ease, opacity .4s ease, filter .4s ease;
  opacity: .5;
  transform: scale(0.9);
  filter: brightness(.8);
}

.gallery-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
  filter: none;
  z-index: 2;
}

/* Видимые соседние — не обрезаются */
.gallery-swiper .swiper-wrapper {
  overflow: visible;
}

.gallery-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

/* стрелки */
.section-5 .swiper-button-prev,
.section-5 .swiper-button-next {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  top: 50%;
  transform: translateY(-50%);
}
.section-5 .swiper-button-prev::after,
.section-5 .swiper-button-next::after {
  font-size: 18px;
  color: #fff;
}

/* точки */
.section-5 .swiper-pagination-bullet {
  background: #fff;
  opacity: .6;
}
.section-5 .swiper-pagination-bullet-active {
  background: #5fd0c0;
  opacity: 1;
}


.section-6 {
  background: #000;
  padding: 100px 0;
  color: #fff;
}

.section-6 .quotes {
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 500;
}

.section-6 .quotes p {
  max-width: 480px;
}

.section-6 img {
  max-height: 520px;
  border-radius: 8px;
  object-fit: cover;
}

/* адаптив */
@media (max-width: 991px) {
  .section-6 {
    text-align: center;
  }

  .section-6 img {
    margin-top: 40px;
    max-width: 90%;
  }
}


.section-7 {
  background: #000;
}

.section-7 .map-container iframe {
  width: 100%;
  height: 500px;
  border: none;
}

.btn-contact {
  background-color: #5fd0c0;
  color: #000 !important;
  border-radius: 40px;
  padding: 12px 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.2s ease-in-out;
}

.btn-contact:hover {
  background-color: #4cb6aa;
  transform: translateY(-2px);
}

.section-7 i {
  color: #5fd0c0;
  transition: 0.2s;
}

.section-7 i:hover {
  color: #fff;
}

/* футер */
.footer {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .back-to-top {
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer .back-to-top:hover {
  opacity: 0.8;
}

/* адаптив */
@media (max-width: 991px) {
  .section-7 .contact-info {
    padding: 40px 0;
  }

  .section-7 .map-container iframe {
    height: 400px;
  }

  .footer {
    text-align: center;
    flex-direction: column;
  }
}


@media (max-width: 991px) {

  /* исправляем поведение collapse */
  .navbar-collapse {
    position: absolute;
    top: 70px;              /* ниже навбара */
    left: 0;
    width: 100vw;           /* во всю ширину экрана */
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(6px);
    padding: 25px 0;
    text-align: center;
    z-index: 1049;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  }

  /* пункты меню аккуратно по центру */
  .navbar-collapse .nav-link {
    font-size: 1.1rem;
    padding: 12px 0;
    display: block;
  }

  /* убираем Telegram-кнопку из-под меню */
  .telegram-btn {
    position: absolute;
    top: 16px;
    right: 15px;
    bottom: auto;
  }

  /* чтобы не прыгала высота навбара */
  .custom-navbar {
    height: 70px;
    position: relative;
  }
}

@media (max-width: 991px) {

  /* прячем телеграм-кнопку в шапке */
  .telegram-btn {
    display: none !important;
  }

  /* добавляем её в меню */
  .navbar-collapse::after {
    content: "";
    display: block;
    height: 1px;
    background: rgba(0,0,0,0.1);
    margin: 15px auto;
    width: 60%;
  }

  .navbar-collapse .nav-item:last-child::after {
    content: "";
    display: block;
    margin-bottom: 15px;
  }

  /* кнопка внизу меню */
  .navbar-collapse .telegram-btn-mobile {
    display: inline-flex;
    background-color: #5fd0c0;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-top: 5px;
  }

  .navbar-collapse .telegram-btn-mobile i {
    color: #fff;
    font-size: 1.3rem;
  }
}


@media (max-width: 767px) {
  .hero {
    min-height: 90vh;
    text-align: left;
    padding: 60px 15px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 1.6rem;
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }

  .hero h5 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .btn-custom {
    display: block;
    width: 100%;
    margin: 0 auto 12px auto;
    padding: 12px 0;
    font-size: 0.95rem;
    border-radius: 10px;
  }
}

@media (max-width: 767px) {
  .gallery-swiper {
    height: 300px !important; /* ограничиваем высоту */
  }

  .gallery-swiper .swiper-slide img {
    height: 100%;
    width: 100%;
    object-fit: cover;        /* заполняет блок, не искажая */
    border-radius: 12px;
  }

  /* уменьшаем расстояние между слайдами */
  .gallery-swiper .swiper-slide {
    transform: scale(0.95);
    opacity: 0.8;
  }

  .gallery-swiper .swiper-slide-active {
    transform: scale(1);
    opacity: 1;
  }

  /* центрируем пагинацию ближе к низу */
  .section-5 .swiper-pagination {
    bottom: 5px !important;
  }
}


.rasp-iframe {
  width: 100%;
  border: 0;
  display: block;
  height: 1732px; /* десктоп */
}

/* мобилка */
@media (max-width: 991px) {
  .rasp-iframe {
    height: 1100px; /* мобильная версия */
  }
}

/* фон "fixed" только на десктопе */
@media (min-width: 992px) {
  .hero,
  .section-2,
  .section-3 {
    background-attachment: fixed;
  }
}

/* на мобилке — обычный фон без глюков Safari */
@media (max-width: 991px) {
  .hero,
  .section-2,
  .section-3 {
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
  }
}

@media (max-width: 768px) {
  .text-block {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box;
  }
}

/* Мобильная адаптация */
@media (max-width: 767px) {
  .section-4 table {
    font-size: 0.9rem;           /* меньше шрифт */
  }

  .section-4 td, 
  .section-4 th {
    padding: 6px 4px;           /* компактнее отступы */
	white-space: nowrap; /* запрет на перенос строк */
  }

  .section-4 td:first-child {
    font-size: 0.85rem;
    max-width: 80px;            /* ограничение ширины первого столбца */
    white-space: normal;        /* позволяем перенос текста */
  }

  .section-4 th {
    font-size: 0.8rem;
    line-height: 1.2;
  }

  .section-4 .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* --- Мобильная адаптация --- */
@media (max-width: 990px) {
  .price-item {
    flex-direction: column;         /* цена под текстом */
    align-items: center;
    text-align: center;
    gap: 5px;
    font-size: 1rem;               /* меньше шрифт */
  }

  .price-item span {
    white-space: normal;           /* разрешаем перенос */
  }

  .price-item strong {
    font-size: 1.05rem;
  }

  .price-item small {
    display: inline-block;
  }

  .price-item + .price-item {
    margin-top: 1rem;
  }

  .section-prices .col-md-8 {
    padding: 0 20px;
  }
}

.mobile { display: none; }
.desktop { display: inline; }

@media (max-width: 990px) {
  .desktop { display: none; }
  .mobile { display: block; text-align: center; line-height: 1.6; }
}
