body {
  scroll-behavior: smooth;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7fb;
  color: #212529;
}

.navbar-main {
  background: rgba(248, 250, 252, 0.95) !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  backdrop-filter: blur(12px);
  box-shadow: 0 0.35rem 0.9rem rgba(15, 23, 42, 0.08);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding-inline: 0.9rem;
  padding-block: 0.35rem;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.navbar-nav .nav-link:hover {
  color: #0d6efd;
  background-color: rgba(148, 163, 184, 0.12);
  transform: translateY(-1px);
}

.navbar-nav .nav-link:focus-visible {
  outline: 2px solid #0d6efd;
  outline-offset: 2px;
}

.navbar-nav .nav-link.active {
  color: #0d6efd;
  background-color: rgba(13, 110, 253, 0.12);
}

.navbar-toggler {
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  border-color: rgba(148, 163, 184, 0.7);
  box-shadow: 0 0.5rem 1.1rem rgba(15, 23, 42, 0.15);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.35);
}

#hero {
  min-height: 55vh;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.15));
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 1.5rem;
   /* Пропускаем клики дальше, кроме самих кнопок */
  pointer-events: none;
}

.hero-content .btn {
  pointer-events: auto;
  z-index: 2;
}

@media (max-width: 576px) {
  #hero {
    min-height: 60vh;
  }

  .hero-content h1 {
    font-size: 1.9rem;
  }

  .hero-content .lead {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .hero-content {
    padding: 3rem 4rem;
  }
}

.section-padding {
  padding: 3.5rem 0;
}

@media (max-width: 576px) {
  .section-padding {
    padding: 2.5rem 0;
  }
}

.section-title {
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 700;
}

.section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  margin: 0.75rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #0d6efd, #20c997);
}

.card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, translate 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.18);
}

.card-img-top {
  object-fit: cover;
  height: 200px;
}

@media (max-width: 576px) {
  .card-img-top {
    height: 180px;
  }
}

.map-placeholder {
  width: 100%;
  height: 350px;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border-radius: 1rem;
  border: 1px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.95rem;
  color: #4b5563;
}

@media (max-width: 576px) {
  .map-placeholder {
    height: 260px;
  }
}

.btn-primary {
  border-radius: 999px;
  padding-inline: 1.75rem;
  box-shadow: 0 0.75rem 1.5rem rgba(37, 99, 235, 0.25);
}

.btn-outline-light {
  border-radius: 999px;
  padding-inline: 1.75rem;
}

.btn-primary:hover {
  box-shadow: 0 1rem 2rem rgba(37, 99, 235, 0.35);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.review-avatar {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 999px;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 1.25rem 1.25rem;
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.35);
}

.hero-carousel .carousel-item img {
  width: 100%;
  height: clamp(260px, 60vh, 520px);
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 6s ease-out;
}

.hero-carousel .carousel-item.active img {
  transform: scale(1.06);
}

.hero-carousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

.hero-carousel .carousel-indicators .active {
  background-color: #0d6efd;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
  width: 1.75rem;
  height: 1.75rem;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.8));
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 2.5rem;
  height: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
  background-color: rgba(0, 0, 0, 0.18);
  transform: translateY(-50%) scale(1.04);
}

@media (max-width: 576px) {
  .hero-carousel .carousel-item img {
    height: 260px;
  }
}

footer {
  padding: 1.5rem 0;
  background: #f8f9fa;
  font-size: 0.9rem;
}

.lipnumber {
  margin: 2px;
  font-size: small;
}

.logo-img {
  max-height: 40px;
  height: auto;
  width: auto;
  max-width: 100%;
}

@media (min-width: 768px) {
  .logo-img {
    max-height: 56px;
  }
}
