/* ================================================================
   BUENOS AIRES GUIDE — MAIN STYLESHEET
   ================================================================ */

/* ================================================================
   01. ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ
   ================================================================ */
:root {
  --sun-yellow: #FEDD00;
  --sky-blue: #74ACDF;
  --white: #FFFFFF;
  --light-blue: #A7C7E7;
  --dark-blue: #1E3F66;
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --carnival-purple: #6A0DAD;
  --accent-red: #E63946;
  --navy: #0c2a4d;
  --navy-2: #1a4d8c;
}

/* ================================================================
   02. БАЗА
   ================================================================ */
* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  font-family: 'Raleway', sans-serif;
  color: var(--text-dark);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 0;
}

section {
  padding: 40px 0;
  position: relative;
}

h1, h2, h3, h4 {
  margin-bottom: 20px;
  color: var(--dark-blue);
}

p {
  margin-bottom: 15px;
  color: var(--text-dark);
}

/* ================================================================
   03. КНОПКИ
   ================================================================ */
.btn {
  display: inline-block;
  padding: 12px 25px;
  background: var(--sun-yellow);
  color: var(--text-dark);
  border-radius: 15px;
  text-decoration: none;
  font-weight: 700;
  transition: all .3s;
  margin: 10px 10px 10px 0;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,.1);
  text-align: center;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,.15);
  background: #f8d000;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--text-light);
  color: var(--text-light);
}
.btn-outline:hover { background: rgba(255,255,255,.2); }

.btn-details {
  background: #002b45;
  color: #fff;
  border-radius: 12px;
  padding: 8px 16px;
  text-decoration: none;
}
.btn-details:hover { background: #004b7c; }

.btn-book {
  background: #fedd00;
  color: #002b45;
}
.btn-book:hover { background: #e6c900; }

.btn-order {
  display: block;
  width: 100%;
  text-align: center;
  background: #FEDD00;
  color: #1E3F66;
  font-weight: 700;
  padding: 15px;
  border-radius: 12px;
  text-decoration: none;
  transition: all .3s;
  border: none;
  font-size: 1.1rem;
  margin-top: auto;
}
.btn-order:hover {
  background: #e6c900;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(254,221,0,.4);
}

.btn-sm {
  padding: 8px 14px !important;
  font-size: .85rem !important;
  border-radius: 10px !important;
  line-height: 1.2;
  white-space: nowrap;
}
.btn-details.btn-sm {
  background: transparent;
  color: #0c2a4d;
  border: 2px solid #0c2a4d;
}
.btn-details.btn-sm:hover { background: #0c2a4d; color: #fff; }

.btn-outline--dark {
  background: transparent;
  border: 2px solid #0c2a4d;
  color: #0c2a4d;
  padding: 12px 24px;
  border-radius: 15px;
}
.btn-outline--dark:hover { background: #0c2a4d; color: #fff; }

/* ================================================================
   04. NAVBAR
   ================================================================ */
.navbar {
  background: linear-gradient(90deg, #1E3F66, #5b8dd3);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-brand img { height: 36px; }
.navbar-brand .subtitle {
  font-size: .9rem;
  font-weight: 400;
  color: #fff;
  margin-left: .5rem;
  opacity: 0;
  transition: opacity .3s;
  display: block;
}
.navbar-brand:hover .subtitle { opacity: 1; }

.phone {
  color: #fff;
  font-weight: 600;
  margin-left: 1.5rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: color .3s;
  text-decoration: none;
}
.phone:hover { color: #FFD700; }

.nav-link {
  color: #fff !important;
  padding: .5rem .8rem;
  transition: .3s;
  position: relative;
  font-weight: 500;
  letter-spacing: .5px;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background-color: #FFD700;
  transform: scaleX(0);
  transition: transform .3s ease;
  transform-origin: right;
}
.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-custom {
  background-color: #FFD700;
  border: none;
  color: #1E3F66;
  padding: .45rem 1.1rem;
  border-radius: 15px;
  font-weight: 600;
  transition: all .3s ease;
}
.btn-custom:hover { background-color: #e6c200; transform: scale(1.05); }

.social-icon {
  color: #fff;
  font-size: 1.2rem;
  transition: .3s;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  display: inline;
  justify-content: normal;
}
.social-icon:hover { color: #FFD700; transform: scale(1.1); }

/* Dropdown в меню */
.navbar .dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(12,42,77,.15);
  padding: 8px;
  margin-top: 8px;
}
.navbar .dropdown-item {
  border-radius: 8px;
  padding: 8px 14px;
  font-size: .9rem;
  color: #0c2a4d;
  transition: background .2s;
}
.navbar .dropdown-item:hover { background: #f3f7fc; color: #0c2a4d; }

@media (max-width: 991.98px) {
  #navbarContent { text-align: center; }
  .navbar-nav { flex-direction: column; }
  .navbar-nav .nav-item { margin-bottom: .5rem; }
  .navbar-collapse { align-items: center; }
}

/* ================================================================
   05. HERO (ГЛАВНАЯ)
   ================================================================ */
.hero-ba {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: url('/img/slide001.jpg') center/cover no-repeat;
  overflow: hidden;
}
.hero-ba__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg,
    rgba(12,42,77,.85) 0%,
    rgba(12,42,77,.55) 55%,
    rgba(12,42,77,.25) 100%);
  z-index: 1;
}
.hero-ba__content {
  position: relative; z-index: 2;
  color: #fff;
  padding: 80px 0;
  max-width: 780px;
}
.hero-ba__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(254,221,0,.95);
  color: #0c2a4d;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 25px;
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
}
.hero-ba__title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 2px 3px 12px rgba(0,0,0,.4);
}
.hero-ba__subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #fff;
  max-width: 700px;
  margin-bottom: 25px;
  opacity: .95;
}
.hero-ba__advantages {
  list-style: none;
  padding: 0;
  margin: 0 0 35px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-ba__advantages li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.02rem;
}
.hero-ba__advantages i { color: #fedd00; font-size: 1.1rem; }
.hero-ba__buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-ba__buttons .btn { padding: 15px 34px; font-size: 1.05rem; }

@media (max-width: 768px) {
  .hero-ba { min-height: 78vh; }
  .hero-ba__title { font-size: 2.2rem; }
  .hero-ba__subtitle { font-size: 1.02rem; }
  .hero-ba__content { padding: 60px 0; }
}

/* Старый слайдер — оставлен для совместимости */
.hero-slider {
  position: relative;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
}
.slide {
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
}
.slide.active { opacity: 1; }
.slide::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(rgba(0,0,0,.3), rgba(0,0,0,.5));
}
.slide-content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff;
  padding: 0 5%;
  max-width: 1200px;
  margin: 0 auto;
}
.slide h1 {
  font-size: 3.5rem;
  text-shadow: 2px 2px 5px rgba(0,0,0,.5);
  color: #fff;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}
.slide p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0,0,0,.5);
  color: #fff;
  max-width: 700px;
  animation: fadeInUp 1s ease .3s forwards;
  opacity: 0;
}
.hero-buttons { animation: fadeInUp 1s ease .6s forwards; opacity: 0; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.slider-nav {
  position: absolute;
  bottom: 50px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex; gap: 10px;
}
.slider-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: all .3s;
}
.slider-dot.active { background: var(--sun-yellow); transform: scale(1.3); }

/* ================================================================
   06. ОБО МНЕ (.about)
   ================================================================ */
.about {
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: var(--sky-blue);
  border-radius: 50%;
  opacity: .1;
  z-index: 0;
}
.about::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 400px; height: 400px;
  background: var(--sun-yellow);
  border-radius: 50%;
  opacity: .1;
  z-index: 0;
}
.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.about-img {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,.1);
  transform: rotate(-2deg);
  transition: transform .5s ease-out;
  position: relative;
  z-index: 1;
}
.about-img:hover { transform: rotate(0deg) scale(1.02); }
.about-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .4s ease;
}
.about-img:hover img { transform: scale(1.02); }

.about-text { flex: 2; position: relative; }

.about-badge {
  position: absolute;
  top: -50px; right: -20px;
  background: var(--sun-yellow);
  color: var(--text-dark);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  transform: rotate(5deg);
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
}

.advantages { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.advantage-card {
  flex: 1;
  min-width: 250px;
  padding: 25px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,.05);
  border-left: 4px solid var(--sky-blue);
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.advantage-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 5px;
  background: linear-gradient(to right, var(--sky-blue), var(--sun-yellow));
}
.advantage-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,.1); }
.advantage-card h3 {
  color: var(--dark-blue);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.advantage-card h3 i { color: var(--accent-red); }

/* ================================================================
   07. HERO СТРАНИЦЫ ТУРА (внутренние)
   ================================================================ */
.tour-hero-banner {
  background:
    linear-gradient(
      rgba(255,255,255,.58),
      rgba(255,255,255,.82),
      rgba(255,255,255,.58)
    ),
    url(/img/tour-hero-boca.jpg) center / cover no-repeat !important;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
}
.tour-hero-banner h1.display-3 {
  text-shadow: 2px 2px 8px rgba(0,0,0,.5);
  margin-bottom: 1.5rem;
}
.hero-booking-card {
  background: rgba(255,255,255,.95);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0,0,0,.2);
  margin-top: 30px;
  backdrop-filter: blur(10px);
}
.why-special-item {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0,0,0,.05);
  border-top: 4px solid var(--sun-yellow);
  transition: transform .3s ease;
}
.why-special-item:hover { transform: translateY(-8px); box-shadow: 0 10px 30px rgba(0,0,0,.1); }

.insta-grid-asymmetric {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(6, 100px);
  gap: 15px;
  margin-top: 40px;
}
.insta-item-large  { grid-column: span 6; grid-row: span 3; }
.insta-item-medium { grid-column: span 4; grid-row: span 2; }
.insta-item-small  { grid-column: span 3; grid-row: span 2; }
.insta-item { border-radius: 10px; overflow: hidden; position: relative; }
.insta-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.insta-item:hover img { transform: scale(1.05); }

.timeline-container { position: relative; padding-left: 30px; }
.timeline-container::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--sun-yellow);
}
.timeline-point { position: relative; margin-bottom: 40px; }
.timeline-point::before {
  content: '';
  position: absolute;
  left: -33px; top: 5px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--sun-yellow);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--sun-yellow);
}

.insta-locations-table {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,.05);
}
.insta-locations-table table { margin: 0; }
.insta-locations-table th {
  background: var(--dark-blue);
  color: #fff;
  border: none;
  padding: 15px;
}
.insta-locations-table td {
  padding: 15px;
  vertical-align: top;
  border-color: #eee;
}

.route-map-container {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
  height: 500px;
  position: relative;
}

.la-boca-color  { color: #E63946; }
.san-telmo-color { color: #6A4C93; }

.gallery-60-40 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.row-top, .row-bottom {
  display: flex;
  gap: 12px;
  height: 360px;
}
.photo.big   { flex: 0 0 60%; }
.stack       { flex: 0 0 40%; display: flex; flex-direction: column; gap: 12px; }
.photo.small { flex: 1; }
.photo { overflow: hidden; border-radius: 18px; }
.photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.photo:hover img { transform: scale(1.08); }

.final-booking-section {
  position: relative;
  background: url('/img/final-booking-bg.jpg') center / cover no-repeat;
}
.final-booking-section .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(57deg, rgb(255 255 255 / 54%), rgb(60 113 167 / 87%));
}
.price-amount {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 992px) {
  .tour-hero-banner {
    min-height: auto;
    padding: 100px 0 60px;
  }
  .display-3, .display-4 { font-size: 2.5rem; }
  .hero-route .col { flex: 0 0 auto; width: auto; }
}
@media (max-width: 768px) {
  .tour-hero-banner { min-height: 60vh; padding: 80px 0 40px; }
  .tour-hero-banner h1.display-3 { font-size: 2.2rem; }
  .display-3, .display-4 { font-size: 2rem; }
  .insta-grid-asymmetric { grid-template-columns: 1fr; grid-template-rows: auto; }
  .insta-item-large, .insta-item-medium, .insta-item-small {
    grid-column: 1; grid-row: auto; height: 250px;
  }
  .timeline-container { padding-left: 20px; }
  .timeline-container::before { left: 0; }
  .timeline-point::before { left: -23px; }
  .hero-route {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
  }
  .hero-route > div, .hero-route .row { flex-wrap: nowrap; }
  .hero-route span { display: block; margin: 5px 0; }
  .hero-route i { display: none; }
  .booking-card { margin-top: 30px; }
  .final-booking-section { text-align: center; }
  .row-top, .row-bottom { flex-direction: column; height: auto; }
  .photo.big   { height: 220px; }
  .photo.small { height: 160px; }
}

/* ================================================================
   08. ДОПОЛНИТЕЛЬНЫЕ СТИЛИ СТРАНИЦЫ ТУРА
   ================================================================ */
.tour-meta {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  background: #f5f5f5;
  padding: 15px;
  border-radius: 8px;
}
.meta-item { display: flex; align-items: center; gap: 10px; }
.meta-icon { font-size: 1.5rem; color: var(--sun-yellow); }

.tour-description { padding: 80px 0; }
.tour-container {
  display: flex; gap: 50px; align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.video-container {
  flex: 1; position: relative;
  border-radius: 15px; overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,.2);
  transform: rotate(-2deg);
  transition: transform .3s;
}
.video-container:hover { transform: rotate(0deg); }
.video-container img { width: 100%; height: auto; display: block; }
.play-button {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  background: rgba(254,221,0,.8);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .3s;
}
.play-button:hover { background: var(--sun-yellow); transform: translate(-50%, -50%) scale(1.1); }
.play-button i { color: var(--dark-blue); font-size: 2rem; margin-left: 5px; }

.description-content { flex: 1; }

.highlight-box {
  background: rgba(254,221,0,.1);
  border-left: 4px solid var(--sun-yellow);
  padding: 20px;
  border-radius: 0 8px 8px 0;
  margin: 30px 0;
}

/* Программа по дням */
.program-section { background: #f8f9fa; padding: 80px 0; }
.program-container { max-width: 1200px; margin: 0 auto; }
.day-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,.05);
  position: relative;
  overflow: hidden;
  transition: all .3s;
}
.day-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,.1); }
.day-number {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(30,63,102,.1);
  z-index: 1;
}
.day-title { font-size: 1.5rem; margin-bottom: 15px; position: relative; z-index: 2; }
.day-location {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 15px;
  color: var(--dark-blue);
  font-weight: 600;
}
.day-location i { color: var(--accent-red); }
.day-activities { margin-left: 20px; }
.activity {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}
.activity::before {
  content: '•';
  position: absolute; left: 0;
  color: var(--sun-yellow);
  font-size: 1.5rem;
  line-height: 1;
}

.timeline-item { display: flex; align-items: flex-start; gap: 15px; }
.time-badge {
  background: #e9ecef;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  min-width: 100px;
  text-align: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.step-card {
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
}
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,.1) !important;
}
.step-card::before {
  content: '';
  position: absolute;
  top: 50%; right: -15px;
  transform: translateY(-50%);
  width: 30px; height: 2px;
  background: #dee2e6;
  display: none;
}
.step-card:last-child::before { display: none; }
@media (min-width: 992px) { .step-card::before { display: block; } }
@media (max-width: 768px) { .step-card { margin-bottom: 20px; } }

/* Галерея внутренних страниц */
.gallery-section { padding: 80px 0; background: var(--white); }
.gallery-container { max-width: 1400px; margin: 0 auto; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(6, 150px);
  gap: 15px;
  margin-top: 40px;
}
.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  transition: all .3s;
}
.gallery-item:hover { transform: scale(1.02); box-shadow: 0 10px 20px rgba(0,0,0,.2); }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
  color: #fff;
  padding: 15px;
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

.item-1 { grid-column: 1 / span 4;  grid-row: 1 / span 2; }
.item-2 { grid-column: 5 / span 4;  grid-row: 1 / span 3; }
.item-3 { grid-column: 9 / span 4;  grid-row: 1 / span 2; }
.item-4 { grid-column: 1 / span 3;  grid-row: 3 / span 2; }
.item-5 { grid-column: 4 / span 3;  grid-row: 3 / span 2; }
.item-6 { grid-column: 7 / span 3;  grid-row: 4 / span 2; }
.item-7 { grid-column: 10 / span 3; grid-row: 3 / span 2; }
.item-8 { grid-column: 1 / span 6;  grid-row: 5 / span 2; }
.item-9 { grid-column: 7 / span 3;  grid-row: 6 / span 1; }
.item-10 { grid-column: 10 / span 3; grid-row: 5 / span 2; }

@media (max-width: 992px) {
  .gallery-grid { grid-template-rows: repeat(10, 120px); }
  .item-1  { grid-column: 1 / span 6;  grid-row: 1 / span 2; }
  .item-2  { grid-column: 7 / span 6;  grid-row: 1 / span 3; }
  .item-3  { grid-column: 1 / span 6;  grid-row: 3 / span 2; }
  .item-4  { grid-column: 1 / span 4;  grid-row: 5 / span 2; }
  .item-5  { grid-column: 5 / span 4;  grid-row: 5 / span 2; }
  .item-6  { grid-column: 9 / span 4;  grid-row: 7 / span 2; }
  .item-7  { grid-column: 1 / span 4;  grid-row: 7 / span 2; }
  .item-8  { grid-column: 5 / span 8;  grid-row: 9 / span 2; }
  .item-9  { grid-column: 1 / span 4;  grid-row: 9 / span 1; }
  .item-10 { grid-column: 9 / span 4;  grid-row: 5 / span 2; }
}
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-item {
    grid-column: 1 / span 1 !important;
    grid-row: auto !important;
    height: 250px;
  }
}

/* Форма бронирования (booking) */
.booking-section {
  background: linear-gradient(135deg, var(--dark-blue), var(--sky-blue));
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.booking-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  gap: 50px;
}
.booking-form {
  flex: 1;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(5px);
  padding: 40px;
  border-radius: 15px;
}
.booking-details { flex: 1; }
.price-box {
  background: #fff;
  color: var(--dark-blue);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.price-includes { margin: 20px 0; padding-left: 0; list-style: none; }
.price-includes li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
}
.price-includes li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--sun-yellow);
  font-weight: 700;
}
@media (max-width: 992px) {
  .tour-container, .booking-container { flex-direction: column; }
}

/* ================================================================
   09. КАТАЛОГ ЭКСКУРСИЙ (главная)
   ================================================================ */
.ba-tours { padding: 90px 0; background: #f8f9fa; }

.ba-tours__title {
  text-align: center;
  font-size: 2.5rem;
  color: #0c2a4d;
  margin: 0 auto 15px;
  max-width: 1100px;
}
.ba-tours__subtitle {
  text-align: center;
  color: #555;
  max-width: 1000px;
  margin: 0 auto 15px;
  font-size: 1.1rem;
  line-height: 1.65;
}
.ba-tours__note {
  text-align: center;
  color: #0c2a4d;
  font-size: .95rem;
  font-weight: 600;
  margin: 0 auto 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ba-tours__note i { color: #fedd00; }

.ba-tours__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.ba-tour-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
}
.ba-tour-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0,0,0,.15);
}
.ba-tour-card__img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.ba-tour-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.ba-tour-card:hover .ba-tour-card__img img { transform: scale(1.06); }
.ba-tour-card__tag {
  position: absolute;
  top: 14px; left: 14px;
  background: #fedd00;
  color: #0c2a4d;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: .8rem;
}
.ba-tour-card__body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ba-tour-card__body h3 {
  font-size: 1.15rem;
  line-height: 1.35;
  color: #0c2a4d;
  margin-bottom: 12px;
  min-height: 3em;
}
.ba-tour-card__desc {
  color: #555;
  font-size: .94rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
}
.ba-tour-card__desc strong { color: #0c2a4d; }

.ba-tour-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: #666;
}
.ba-tour-card__features li { display: flex; align-items: center; gap: 6px; }
.ba-tour-card__features i { color: #74acdf; }

.ba-tour-card__bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}
.ba-tour-card__price {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 4px;
}
.ba-tour-card__price .price-value {
  font-size: 1.9rem;
  font-weight: 800;
  color: #0c2a4d;
}
.ba-tour-card__price .price-note { color: #888; font-size: .9rem; }

.ba-tour-card__actions,
.ba-package__actions {
  display: flex;
  gap: 10px;
}
.ba-tour-card__actions .btn,
.ba-package__actions .btn { flex: 1; text-align: center; }

.ba-package__actions .btn-details.btn-sm {
  border-color: #fedd00;
  color: #fedd00;
}
.ba-package__actions .btn-details.btn-sm:hover {
  background: #fedd00;
  color: #0c2a4d;
}

/* ================================================================
   10. ПАКЕТ + ТИГРЕ
   ================================================================ */
.ba-package {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  background: #0c2a4d;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(12,42,77,.25);
  color: #fff;
}
.ba-package__img { min-height: 420px; overflow: hidden; }
.ba-package__img img { width: 100%; height: 100%; object-fit: cover; }
.ba-package__body {
  padding: 45px 40px;
  display: flex;
  flex-direction: column;
}
.ba-package__badge {
  display: inline-block;
  align-self: flex-start;
  background: #fedd00;
  color: #0c2a4d;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 18px;
}
.ba-package__body h3 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 15px;
  line-height: 1.2;
}
.ba-package__body p {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 15px;
}
.ba-package__features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ba-package__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
  color: #fff;
}
.ba-package__features i { color: #fedd00; }
.ba-package__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.ba-package__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.ba-package__price .price-old {
  color: rgba(255,255,255,.5);
  text-decoration: line-through;
  font-size: 1.1rem;
}
.ba-package__price .price-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fedd00;
  line-height: 1;
}
.ba-package__price .price-note {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
}

@media (max-width: 992px) {
  .ba-tours__grid { grid-template-columns: 1fr; gap: 22px; }
  .ba-package { grid-template-columns: 1fr; }
  .ba-package__img { min-height: 260px; }
  .ba-package__body { padding: 30px 25px; }
  .ba-package__features { grid-template-columns: 1fr; }
  .ba-tours__title { font-size: 2rem; }
}

/* ================================================================
   11. WHY BA (Почему стоит взять гида)
   ================================================================ */
.why-ba {
  background: linear-gradient(135deg, #ffffff 0%, #f3f7fc 100%);
  padding: 80px 0;
}
.why-ba__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: center;
}
.why-ba__text h2 {
  font-size: 2.2rem;
  color: #0c2a4d;
  margin-bottom: 20px;
  line-height: 1.2;
}
.why-ba__text p {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 15px;
}
.why-ba__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.why-ba__stats .stat {
  background: #fff;
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(12,42,77,.08);
  border-top: 4px solid #fedd00;
  transition: transform .3s ease;
}
.why-ba__stats .stat:hover { transform: translateY(-6px); }
.stat__num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #0c2a4d;
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label {
  display: block;
  font-size: .85rem;
  color: #666;
  line-height: 1.3;
}
@media (max-width: 992px) {
  .why-ba__grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ================================================================
   12. ФОТО ГРУПП + ЛАЙТБОКС
   ================================================================ */
.impressions-section {
  padding: 80px 0;
  background: #0c2a4d;
  color: #fff;
}
.impressions-section__head { text-align: center; margin-bottom: 45px; }
.impressions-section__head h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.impressions-section__hint {
  color: #fff !important;
  opacity: .85;
  font-size: 1.05rem;
  margin: 0;
}

.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.photo-card {
  position: relative;
  height: 280px;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .35s ease, box-shadow .35s ease;
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
}
.photo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
}
.photo-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.photo-card:hover img { transform: scale(1.05); }
.photo-card .photo-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  color: #fff;
  pointer-events: none;
}
.photo-card .photo-overlay h5 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
}
.photo-card .photo-overlay small { opacity: .8; font-size: .82rem; }
.photo-card__zoom {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.45);
  color: #fff;
  border-radius: 50%;
  font-size: .9rem;
  opacity: 0;
  transition: opacity .3s ease;
}
.photo-card:hover .photo-card__zoom { opacity: 1; }

/* Лайтбокс */
.photo-gallery-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 40px;
}
.photo-gallery-modal.active { display: flex; }
.photo-gallery-content {
  max-width: 90vw;
  max-height: 88vh;
  text-align: center;
  color: #fff;
}
.photo-gallery-content img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.photo-gallery-caption { margin-top: 16px; }
.photo-gallery-caption h4 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.photo-gallery-caption p {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  margin: 0;
}
.photo-gallery-close {
  position: absolute;
  top: 20px; right: 30px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background .3s;
}
.photo-gallery-close:hover { background: rgba(255,255,255,.25); }
.photo-gallery-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background .3s, transform .3s;
  z-index: 2;
}
.photo-gallery-nav:hover {
  background: rgba(255,255,255,.25);
  transform: translateY(-50%) scale(1.06);
}
.photo-gallery-nav.prev { left: 24px; }
.photo-gallery-nav.next { right: 24px; }

@media (max-width: 768px) {
  .impressions-section__head h2 { font-size: 1.9rem; }
  .photo-gallery-nav { width: 44px; height: 44px; font-size: 1.5rem; }
  .photo-gallery-nav.prev { left: 10px; }
  .photo-gallery-nav.next { right: 10px; }
  .photo-gallery-close { top: 12px; right: 12px; }
}

/* ================================================================
   13. ОТЗЫВЫ-ФОТО
   ================================================================ */
.reviews-photo-section { padding: 90px 0; background: #fff; }
.reviews-photo-section__head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 45px;
}
.reviews-photo-section__head h2 {
  color: #0c2a4d;
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.reviews-photo-section__head p { color: #666; font-size: 1.05rem; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.review-photo {
  position: relative;
  margin: 0;
  height: 340px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
  transition: transform .35s ease, box-shadow .35s ease;
}
.review-photo:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,.18);
}
.review-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s ease;
}
.review-photo:hover img { transform: scale(1.05); }
.review-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    transparent 0%,
    transparent 35%,
    rgba(0,0,0,.55) 65%,
    rgba(0,0,0,.9) 100%);
  pointer-events: none;
}
.review-photo__badge {
  position: absolute;
  top: 14px; left: 14px;
  background: #fedd00;
  color: #0c2a4d;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: .78rem;
  z-index: 3;
}
.review-photo__stars {
  position: absolute;
  top: 16px; right: 16px;
  color: #fedd00;
  font-size: 1rem;
  letter-spacing: 2px;
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
  z-index: 3;
}
.review-photo__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px;
  color: #fff;
  z-index: 2;
}
.review-photo__caption p {
  color: #fff;
  font-size: .95rem;
  line-height: 1.5;
  font-style: italic;
  margin: 0 0 8px;
}
.review-photo__caption span {
  font-size: .85rem;
  font-weight: 700;
  opacity: .9;
}

/* ================================================================
   14. ТРЕВЕЛ-ДИЗАЙН (объединённый блок)
   ================================================================ */
.td-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #eef4fb 100%);
  position: relative;
  overflow: hidden;
}
.td-section::before {
  content: '';
  position: absolute;
  top: -180px; right: -180px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(254,221,0,.15) 0%, transparent 65%);
  border-radius: 50%;
}
.td-section::after {
  content: '';
  position: absolute;
  bottom: -220px; left: -180px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(116,172,223,.12) 0%, transparent 65%);
  border-radius: 50%;
}
.td-section__head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 55px;
  position: relative;
  z-index: 2;
}
.td-section__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fedd00;
  color: #0c2a4d;
  padding: 7px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 18px;
  transform: rotate(-3deg);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.td-section__head h2 {
  font-size: 2.5rem;
  color: #0c2a4d;
  line-height: 1.15;
  margin-bottom: 18px;
}
.td-section__head p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.7;
}

.td-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 55px;
  position: relative;
  z-index: 2;
}
.td-feature {
  background: #fff;
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(12,42,77,.07);
  border-top: 4px solid #fedd00;
  transition: transform .3s, box-shadow .3s;
}
.td-feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(12,42,77,.14);
}
.td-feature i {
  font-size: 2rem;
  color: #0c2a4d;
  margin-bottom: 14px;
  display: block;
}
.td-feature h4 {
  font-size: 1.1rem;
  color: #0c2a4d;
  margin-bottom: 8px;
}
.td-feature p {
  color: #666;
  font-size: .9rem;
  line-height: 1.5;
  margin: 0;
}

.td-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 55px;
  position: relative;
  z-index: 2;
}
.td-step {
  position: relative;
  padding: 22px 22px 22px 70px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(12,42,77,.06);
}
.td-step span {
  position: absolute;
  left: 20px; top: 22px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #0c2a4d;
  color: #fedd00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.td-step h5 {
  font-size: 1rem;
  color: #0c2a4d;
  margin: 0 0 6px;
}
.td-step p {
  color: #666;
  font-size: .88rem;
  margin: 0;
  line-height: 1.45;
}

.td-pricing {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  align-items: stretch;
  position: relative;
  z-index: 2;
}
.td-price-card {
  background: #fff;
  border-radius: 22px;
  padding: 36px 32px;
  box-shadow: 0 15px 45px rgba(12,42,77,.12);
  display: flex;
  flex-direction: column;
  border-top: 6px solid #fedd00;
}
.td-price-card__head { margin-bottom: 22px; }
.td-price-card__label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: #74acdf;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 10px;
}
.td-price-card__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.td-price-card__price .price {
  font-size: 2.6rem;
  font-weight: 800;
  color: #0c2a4d;
  line-height: 1;
}
.td-price-card__price .price-note {
  color: #888;
  font-size: .9rem;
}
.td-price-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}
.td-price-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #333;
  font-size: .95rem;
  line-height: 1.5;
  margin-bottom: 10px;
}
.td-price-card__features i {
  color: #fedd00;
  margin-top: 3px;
}

.td-choices {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.td-choice {
  background: #fff;
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 8px 24px rgba(12,42,77,.06);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.td-choice:hover {
  transform: translateX(6px);
  box-shadow: 0 16px 36px rgba(12,42,77,.12);
}
.td-choice i {
  font-size: 1.5rem;
  color: #0c2a4d;
  margin-bottom: 10px;
}
.td-choice h5 {
  font-size: 1.05rem;
  color: #0c2a4d;
  margin: 0 0 6px;
}
.td-choice p {
  color: #666;
  font-size: .9rem;
  line-height: 1.55;
  margin: 0 0 10px;
}
.td-choice__link {
  color: #0d6efd;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  align-self: flex-start;
}
.td-choice__link:hover { color: #0c2a4d; }

@media (max-width: 992px) {
  .td-features { grid-template-columns: repeat(2, 1fr); }
  .td-steps    { grid-template-columns: repeat(2, 1fr); }
  .td-pricing  { grid-template-columns: 1fr; }
  .td-section__head h2 { font-size: 2rem; }
}
@media (max-width: 576px) {
  .td-features, .td-steps { grid-template-columns: 1fr; }
}

/* ================================================================
   15. ИНДИВИДУАЛЬНЫЕ ТУРЫ + КАРУСЕЛЬ
   ================================================================ */
.tours .tours-row { display: flex; gap: 30px; align-items: flex-start; }
.tours-desc {
  flex: 0 0 33.33%;
  max-width: 33.33%;
  padding-right: 20px;
}
.tours-carousel-wrapper {
  flex: 0 0 66.66%;
  max-width: 66.66%;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tours-desc h2 {
  margin-top: 0;
  font-size: 1.9rem;
  margin-bottom: .5rem;
}
.tours-desc .lead {
  color: #143145;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.marketing-blocks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.mb-item h4 { margin: 0 0 4px; font-size: 1rem; font-weight: 600; }
.mb-item p  { margin: 0; color: #444; font-size: .95rem; }
.tours-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  cursor: pointer;
  font-size: 24px;
  line-height: 44px;
  text-align: center;
  color: #002b45;
  flex-shrink: 0;
}
.carousel-btn:focus { outline: 2px solid rgba(51,153,204,.25); }

.carousel-viewport { overflow: hidden; width: 100%; }
.carousel-track {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform .7s cubic-bezier(.2,.9,.2,1);
  will-change: transform;
  padding: 10px 0;
}

.country-card {
  width: calc((100% - 20px) / 2);
  min-width: 300px;
  max-width: 520px;
  height: 380px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 3px 3px 6px rgba(0,0,0,.12);
  perspective: 1200px;
  background: #fff;
  position: relative;
  transition: transform .3s ease;
}

.card-front, .card-back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  border-radius: 15px;
  transition: transform .9s cubic-bezier(.2,.9,.2,1);
  transform-style: preserve-3d;
}
.card-front { transform: rotateY(0deg); z-index: 2; }
.card-back {
  transform: rotateY(180deg);
  background: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.country-card:hover .card-front { transform: rotateY(180deg); }
.country-card:hover .card-back  { transform: rotateY(0deg); }

.card-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 52%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.8) 20%,
    rgba(255,255,255,1) 50%,
    rgba(255,255,255,.9) 65%,
    rgba(0,0,0,.33) 80%,
    rgba(0,0,0,.24) 100%);
  color: #fff;
  z-index: 3;
  pointer-events: none;
}
.card-overlay h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 600; }
.card-overlay p  { margin: 0 0 6px; font-size: .95rem; }
.tour-dates { font-weight: 600; color: #fedd00; margin-top: 6px; }

.card-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: #fedd00;
  color: #111;
  padding: 6px 10px;
  border-radius: 12px;
  font-weight: 700;
  z-index: 4;
}
.card-back h3 { margin: 0 0 8px; font-size: 1.05rem; color: #002b45; }
.card-back p  { margin: 0 0 10px; color: #333; font-size: .95rem; }
.tour-features { margin: 10px 0 0 16px; color: #333; }
.card-back-actions { display: flex; justify-content: center; margin-top: 10px; }

.country-card:focus-within {
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
  transform: translateY(-8px);
}

/* Фикс карусели на главной */
.tours--individual .carousel-track {
  flex-wrap: nowrap !important;
  align-items: stretch;
}
.tours--individual .country-card {
  transform: none !important;
  height: 380px;
  flex: 0 0 calc((100% - 20px) / 2);
}
.tours--individual .card-badge { background: #fedd00; color: #0c2a4d; }

@media (max-width: 991px) {
  .tours .tours-row { flex-direction: column; }
  .tours-desc, .tours-carousel-wrapper {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .tours-carousel-wrapper { width: 100%; }
  .carousel-viewport {
    width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .carousel-viewport::-webkit-scrollbar { display: none; }
  .carousel-track { gap: 12px; }
  .country-card {
    display: inline-block;
    min-width: 300px;
    max-width: 520px;
    height: 420px;
    vertical-align: top;
  }
  .carousel-btn { display: none; }
}

/* ================================================================
   16. БЛОГ + СТАТЬИ + ПЛОЩАДКИ
   ================================================================ */
.blog-section { padding: 90px 0; background: #f8f9fa; }
.blog-section__head { text-align: center; margin-bottom: 45px; }
.blog-section__head h2 {
  color: #0c2a4d;
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.blog-section__head p { color: #666; font-size: 1.05rem; }

.site-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 55px;
}
.site-article {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(12,42,77,.07);
  text-decoration: none;
  color: inherit;
  transition: transform .35s, box-shadow .35s;
}
.site-article:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(12,42,77,.14);
}
.site-article img {
  width: 100%; height: 190px; object-fit: cover;
  transition: transform .5s;
}
.site-article:hover img { transform: scale(1.06); }
.site-article__body { padding: 22px; }
.site-article__tag {
  display: inline-block;
  background: #fedd00;
  color: #0c2a4d;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.site-article__body h3 {
  font-size: 1.1rem;
  color: #0c2a4d;
  line-height: 1.35;
  margin-bottom: 8px;
}
.site-article__body p {
  color: #555;
  font-size: .92rem;
  line-height: 1.55;
  margin: 0;
}

.external-platforms-compact {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 25px;
  border-top: 1px solid #e5e5e5;
}
.external-platforms-compact h3 {
  color: #0c2a4d;
  font-size: 1.3rem;
  margin-bottom: 22px;
}
.external-platforms-compact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.epc-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid #eee;
  text-decoration: none;
  transition: all .3s;
  text-align: left;
}
.epc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.1);
  border-color: #fedd00;
}
.epc-card__icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.epc-card--dzen .epc-card__icon { background: #000; }
.epc-card--tg .epc-card__icon   { background: #0088cc; }
.epc-card--ig .epc-card__icon   { background: linear-gradient(135deg,#feda75,#d62976,#962fbf); }
.epc-card__body { display: flex; flex-direction: column; }
.epc-card__title { font-weight: 700; color: #0c2a4d; font-size: .98rem; }
.epc-card__body small { color: #777; font-size: .8rem; margin-top: 2px; }

/* Старые стили блога (для совместимости) */
.blog { background-color: var(--white); }
.blog-header { text-align: center; margin-bottom: 50px; }
.blog-header h2 { position: relative; display: inline-block; }
.blog-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 3px;
  background: linear-gradient(to right, var(--sky-blue), var(--sun-yellow));
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}
.blog-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,.1);
  transition: all .3s;
  background: #fff;
}
.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,.2);
}
.blog-card img {
  width: 100%; height: 200px; object-fit: cover;
  transition: all .5s;
}
.blog-card:hover img { transform: scale(1.1); }
.blog-content { padding: 25px; }
.blog-content h3 { color: var(--dark-blue); margin-bottom: 15px; font-size: 1.3rem; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  color: #666;
  font-size: .9rem;
}
.blog-meta i { color: var(--sky-blue); }
.read-more {
  display: inline-block;
  margin-top: 15px;
  color: var(--sky-blue);
  font-weight: 700;
  text-decoration: none;
  transition: all .3s;
}
.read-more:hover { color: var(--dark-blue); }

@media (max-width: 992px) {
  .site-articles { grid-template-columns: 1fr; }
  .external-platforms-compact__grid { grid-template-columns: 1fr; }
  .blog-section__head h2 { font-size: 2rem; }
}

/* ================================================================
   17. КОНТАКТЫ / CTA
   ================================================================ */
.contact-section {
  background: linear-gradient(135deg, var(--dark-blue), var(--sky-blue));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact-section::before,
.contact-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.contact-section::before { top: -50px; right: -50px; width: 200px; height: 200px; }
.contact-section::after  { bottom: -100px; left: -100px; width: 300px; height: 300px; }

.contact-container {
  display: flex;
  gap: 50px;
  position: relative;
  z-index: 1;
}
.contact-form {
  flex: 1;
  background: rgba(255,255,255,.1);
  padding: 40px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
}
.contact-info { flex: 1; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color .3s;
  background: #fff;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #4a90e2;
}
.form-group textarea { height: 120px; resize: vertical; }

.form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.form-row .form-group { flex: 1; }

.consent-group {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin: 25px 0;
}
.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}
.checkbox-wrapper input[type="checkbox"] {
  margin-right: 12px;
  margin-top: 4px;
}
.consent-label { font-size: 14px; line-height: 1.5; color: #555; }
.policy-link { color: #4a90e2; text-decoration: none; }
.policy-link:hover { text-decoration: underline; }

.captcha-container {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  border: 1px dashed #ddd;
}
.captcha-question { font-weight: 600; margin-bottom: 8px; color: #333; }
.captcha-hint { font-size: 12px; color: #777; margin-top: 5px; }

.submit-btn {
  background: linear-gradient(135deg, #4a90e2, #357abd);
  color: #fff;
  border: none;
  padding: 16px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all .3s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.submit-btn:hover {
  background: linear-gradient(135deg, #357abd, #2a6599);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74,144,226,.3);
}
.submit-btn:disabled { background: #ccc; cursor: not-allowed; transform: none; }

.spinner {
  display: inline-block;
  width: 20px; height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.contact-info h3 {
  color: #fff;
  margin-bottom: 25px;
  font-size: 1.5rem;
  position: relative;
  display: inline-block;
}
.contact-info h3::after {
  content: '';
  position: absolute;
  bottom: -10px; left: 0;
  width: 50px; height: 3px;
  background: var(--sun-yellow);
}
.info-item {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.info-icon { font-size: 1.2rem; color: var(--sun-yellow); margin-top: 3px; }
.info-text h4 { color: #fff; margin-bottom: 5px; font-size: 1.1rem; }
.info-text p, .info-text a {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  transition: all .3s;
}
.info-text a:hover { color: var(--sun-yellow); }

.payment-methods { margin-top: 30px; }
.payment-methods h4 { color: #fff; margin-bottom: 15px; }
.payment-icons { display: flex; gap: 15px; flex-wrap: wrap; }
.payment-icon {
  width: 50px; height: 30px;
  background: #fff;
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--dark-blue);
}

.social-links { display: flex; gap: 15px; margin-top: 30px; }

/* Сообщения */
.alert { padding: 15px; border-radius: 8px; margin: 20px 0; font-weight: 500; }
.alert.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert.error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

@media (max-width: 1024px) {
  .contact-container { flex-direction: column; }
}
@media (max-width: 768px) {
  .form-row { flex-direction: column; gap: 0; }
  .contact-form { padding: 20px; }
  .consent-group { padding: 15px; }
}

/* ================================================================
   18. PROMO / ЧЕКЛИСТ
   ================================================================ */
.subscribe-promo {
  position: relative;
  padding: 0;
  background: var(--white);
  color: #fff;
  overflow: hidden;
}
.promo-card {
  display: flex;
  background: linear-gradient(135deg, var(--sky-blue) 0%, var(--dark-blue) 100%);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 40px;
}
.promo-content {
  flex: 1;
  color: #fff;
  position: relative;
  z-index: 3;
}
.promo-content h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #fff;
  font-weight: 700;
}
.promo-content p {
  margin-bottom: 25px;
  font-size: 1.1rem;
  opacity: .9;
}
.promo-image {
  flex: 1;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
}
.promo-image img {
  max-width: 50%;
  transition: all .5s ease;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.2));
}
.floating { animation: floating 3s ease-in-out infinite; }
@keyframes floating {
  0%   { transform: translateY(0) rotate(0deg); }
  50%  { transform: translateY(-15px) rotate(2deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.subscribe-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  align-items: center;
}
.subscribe-form input {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 30px;
  font-size: .95rem;
  transition: all .3s;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  height: 46px;
}
.subscribe-form input:focus {
  outline: none;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.subscribe-form button {
  padding: 0 25px;
  background: var(--sun-yellow);
  color: var(--dark-blue);
  border: 2px solid transparent;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s cubic-bezier(.25,.8,.25,1);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  height: 46px;
  font-size: .95rem;
  white-space: nowrap;
}
.subscribe-form button:hover {
  background: var(--accent-red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  border-color: rgba(255,255,255,.3);
}
.subscribe-form button:hover i { color: #fff; transform: translateX(3px); }
.subscribe-form button i { color: var(--dark-blue); transition: all .3s; }

.promo-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  z-index: 1;
}
.circle-1 { width: 300px; height: 300px; top: -100px; left: -100px; }
.circle-2 { width: 150px; height: 150px; bottom: -50px; right: -50px; background: rgba(255,255,255,.05); }
.promo-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.2) 1px, transparent 1px);
  background-size: 15px 15px;
  z-index: 1;
}
.promo-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--sun-yellow);
  color: var(--dark-blue);
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 700;
  transform: rotate(-5deg);
  box-shadow: 0 4px 15px rgba(0,0,0,.15);
  z-index: 4;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { transform: rotate(-5deg) scale(1); }
  50%  { transform: rotate(-5deg) scale(1.05); }
  100% { transform: rotate(-5deg) scale(1); }
}
.promo-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.star {
  position: absolute;
  background: #fff;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  opacity: .6;
}
.star:nth-child(1) { width: 20px; height: 20px; top: 10%; left: 15%; animation: twinkle 4s infinite; }
.star:nth-child(2) { width: 15px; height: 15px; top: 70%; left: 80%; animation: twinkle 5s infinite 1s; }
.star:nth-child(3) { width: 25px; height: 25px; top: 40%; left: 90%; animation: twinkle 6s infinite .5s; }
@keyframes twinkle {
  0%   { opacity: .2; transform: scale(.8); }
  50%  { opacity: .8; transform: scale(1.1); }
  100% { opacity: .2; transform: scale(.8); }
}

@media (max-width: 768px) {
  .promo-card { flex-direction: column; padding: 30px 20px; }
  .promo-image { padding: 30px; }
  .subscribe-form { flex-direction: column; }
  .subscribe-form input,
  .subscribe-form button { width: 100%; }
  .promo-badge { top: 10px; right: 10px; font-size: .9rem; }
}

/* ================================================================
   19. FAQ
   ================================================================ */
.faq {
  background-color: var(--white);
  padding: 80px 0;
  position: relative;
}
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}
.section-header h2 {
  color: var(--dark-blue);
  margin-bottom: 15px;
}
.section-header p {
  color: var(--dark-blue);
  font-size: 1.1rem;
  opacity: .8;
}
.accordion-faq { max-width: 900px; margin: 0 auto; }
.faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,.05);
  background: #fff;
  border: 1px solid rgba(0,0,0,.05);
  transition: all .3s;
}
.faq-item:hover { box-shadow: 0 8px 25px rgba(0,0,0,.1); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  cursor: pointer;
  transition: all .3s;
}
.question-content {
  display: flex;
  align-items: center;
  gap: 20px;
}
.question-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--sky-blue);
  min-width: 30px;
}
.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--dark-blue);
  transition: all .3s;
}
.faq-question i {
  color: var(--sky-blue);
  transition: all .3s;
}
.faq-item.active .faq-question { background-color: #f9f9f9; }
.faq-item.active .faq-question h3 { color: var(--accent-red); }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--accent-red); }

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all .4s cubic-bezier(.25,.8,.25,1);
}
.faq-item.active .faq-answer { padding: 0 30px 30px; max-height: 1000px; }
.faq-answer p {
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 15px;
}
.faq-answer ul { padding-left: 20px; margin-bottom: 15px; }
.faq-answer li {
  margin-bottom: 8px;
  color: var(--text-dark);
  position: relative;
  padding-left: 25px;
  list-style: none;
}
.faq-answer li::before {
  content: '•';
  position: absolute; left: 0;
  color: var(--sun-yellow);
  font-size: 1.5rem;
  line-height: 1;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.faq-item.active .faq-answer { animation: fadeIn .4s ease-out; }

@media (max-width: 768px) {
  .faq-question { padding: 20px; }
  .question-content { gap: 15px; }
  .faq-question h3 { font-size: 1.1rem; }
  .faq-answer,
  .faq-item.active .faq-answer { padding-left: 20px; padding-right: 20px; }
}

/* ================================================================
   20. ФУТЕР
   ================================================================ */
footer {
  background: linear-gradient(135deg, var(--dark-blue), #0a2540);
  color: #fff;
  padding: 60px 0 30px;
  position: relative;
}
.footer-content {
  display: flex;
  gap: 50px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.footer-column { flex: 1; min-width: 250px; }
.footer-column p { color: rgba(255,255,255,.7); font-size: 1rem; }
.footer-column h3 {
  color: #fff;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}
.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 50px; height: 2px;
  background: var(--sun-yellow);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 0;
  transition: all .3s ease;
  list-style: none;
}
.footer-links li:last-child { margin-bottom: 0; }
.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: .95rem;
  display: inline-block;
  padding: 3px 0;
  transition: all .3s ease;
  position: relative;
}
.footer-links a:hover { color: var(--sun-yellow); transform: translateX(5px); }

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-bottom p {
  margin-bottom: 10px;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
}
.legal-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.legal-links a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: all .3s;
  font-size: .8rem;
}
.legal-links a:hover { color: var(--sun-yellow); }

/* ================================================================
   21. БЛОК ИНДИВИДУАЛЬНОГО ПЛАНИРОВАНИЯ (старая версия — оставлена)
   ================================================================ */
.custom-tour-planning {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9f2fb 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.custom-tour-planning::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: rgba(30,63,102,.05);
  border-radius: 50%;
}
.planning-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}
.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #002b45;
  margin-bottom: 60px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 100px; height: 4px;
  background: #fedd00;
  margin: 15px auto 0;
}
.section-subtitle { font-size: 1.2rem; color: #5b8dd3; }

.planning-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}
.planning-map {
  flex: 1;
  position: relative;
  min-height: 500px;
}
.map-container {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,.1);
  background: #fff;
  padding: 20px;
}
.base-map {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.route-point {
  position: absolute;
  width: 30px; height: 30px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 2;
}
.route-point::after {
  content: attr(data-city);
  position: absolute;
  bottom: 100%; left: 50%;
  transform: translateX(-50%);
  background: #1E3F66;
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: .8rem;
  white-space: nowrap;
  opacity: 0;
  transition: all .3s;
}
.route-point:hover::after { opacity: 1; bottom: calc(100% + 10px); }
.point-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: #FEDD00;
  font-size: 1.5rem;
  z-index: 3;
  text-shadow: 0 0 5px rgba(0,0,0,.3);
}
.point-pulse {
  position: absolute;
  width: 100%; height: 100%;
  background: rgba(254,221,0,.5);
  border-radius: 50%;
  animation: pulse 2s infinite;
  z-index: 1;
}
@keyframes pulse {
  0%   { transform: scale(.8); opacity: .7; }
  70%  { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(.8); opacity: 0; }
}
.route-lines {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.route-line {
  fill: none;
  stroke: #FEDD00;
  stroke-width: 2;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: dash 5s linear forwards;
}
@keyframes dash { to { stroke-dashoffset: 0; } }

.buenos-aires { top: 75%; left: 35%; }
.iguazu       { top: 65%; left: 45%; }
.mendoza      { top: 60%; left: 25%; }
.patagonia    { top: 85%; left: 30%; }

.planning-details { flex: 0 0 40%; }
.service-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0,0,0,.1);
  position: relative;
  overflow: hidden;
}
.service-badge {
  position: absolute;
  top: 20px; right: -30px;
  background: #E63946;
  color: #fff;
  padding: 5px 40px;
  font-weight: 700;
  transform: rotate(45deg);
  font-size: .9rem;
}
.badge-decoration {
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid #8a1c26;
  border-bottom: 5px solid transparent;
  transform: rotate(-45deg) translate(-5px, -5px);
}
.service-card h3 {
  font-size: 1.5rem;
  color: #1E3F66;
  margin-bottom: 15px;
}
.service-description { color: #555; margin-bottom: 25px; line-height: 1.6; }
.service-price { margin: 25px 0; }
.service-features { list-style: none; padding: 0; margin: 0 0 25px; }
.service-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
}
.service-features i {
  color: #FEDD00;
  margin-right: 10px;
  font-size: 1.1rem;
  margin-top: 3px;
}
.service-documents {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f5f9ff;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 30px;
}
.document-icon { font-size: 2rem; color: #E63946; }

.planning-steps { max-width: 1000px; margin: 0 auto; }
.planning-steps h3 {
  text-align: center;
  font-size: 1.8rem;
  color: #1E3F66;
  margin-bottom: 40px;
  position: relative;
}
.planning-steps h3::after {
  content: '';
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 3px;
  background: #FEDD00;
}
.steps-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.step {
  flex: 1;
  min-width: 200px;
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0,0,0,.05);
  display: flex;
  gap: 15px;
  transition: all .3s;
}
.step:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,.1); }
.step-number {
  width: 40px; height: 40px;
  background: #FEDD00;
  color: #1E3F66;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.step-content h4 { font-size: 1.2rem; color: #1E3F66; margin-bottom: 10px; }
.step-content p  { color: #666; font-size: .95rem; line-height: 1.5; margin: 0; }

@media (max-width: 992px) {
  .planning-content { flex-direction: column; }
  .planning-map { width: 100%; min-height: 400px; }
  .planning-details { width: 100%; }
  .steps-container { flex-direction: column; }
  .step { max-width: 100%; }
}
@media (max-width: 768px) {
  .section-title { font-size: 2rem; }
  .section-subtitle { font-size: 1rem; }
  .service-card h3 { font-size: 1.3rem; }
  .price { font-size: 1.8rem; }
}

/* ================================================================
   22. ГРУППОВЫЕ ТУРЫ (старая версия — оставлена для внутренних)
   ================================================================ */
.group-tours { padding: 80px 0; background-color: #f8f9fa; }
.tour-card {
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,.1);
  margin-bottom: 50px;
}
.tour-photo { flex: 1; position: relative; }
.tour-image {
  width: 100%; height: 100%;
  object-fit: cover;
  min-height: 500px;
}
.tour-title {
  color: #fff;
  font-size: 2rem;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,.5);
}
.tour-details {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.tour-dates, .tour-route {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.tour-dates i, .tour-route i { margin-right: 10px; color: #fedd00; }

.description-block, .program-block {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #eee;
}
.block-title {
  color: #002b45;
  font-size: 1.3rem;
  margin-bottom: 15px;
  position: relative;
}
.block-title::after {
  content: '';
  display: block;
  width: 40px; height: 3px;
  background: #fedd00;
  margin-top: 8px;
}
.program-list { list-style: none; padding: 0; margin: 0; }
.program-list li { margin-bottom: 10px; display: flex; align-items: flex-start; }
.program-list i { margin-right: 10px; color: #28a745; }
.program-list strong { margin-right: .3em; }

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.detail-item { display: flex; align-items: flex-start; }
.detail-item i {
  font-size: 1.5rem;
  margin-right: 15px;
  color: #002b45;
}
.detail-label { display: block; font-size: .9rem; color: #666; }
.detail-value { display: block; font-weight: 600; color: #002b45; }

.price-block { margin-top: auto; }
.price-wrapper { margin-bottom: 20px; }
.price {
  font-size: 2rem;
  font-weight: 700;
  color: #002b45;
}
.price-note {
  font-size: .9rem;
  color: #666;
  margin-left: 10px;
}
.tour-buttons { display: flex; gap: 15px; }

/* Скидка */
.discount-item {
  border-left: 3px solid #ff6b6b;
  background-color: rgba(255,107,107,.05);
}
.discount-item .icon-discount { color: #ff6b6b; }
.discount-value { color: #ff6b6b; font-weight: 700; font-size: 1.05em; }
.discount-item.green { border-left-color: #2ecc71; background-color: rgba(46,204,113,.05); }
.discount-item.green .icon-discount { color: #2ecc71; }
.discount-item.green .discount-value { color: #2ecc71; }

/* Даты на фото */
.photo-dates-container {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,43,69,.9);
  padding: 15px 0 5px;
  overflow: hidden;
}
.photo-dates-scroll {
  display: flex;
  gap: 10px;
  padding: 0 20px 15px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.photo-dates-scroll::-webkit-scrollbar { display: none; }
.date-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 15px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  color: #fff;
  transition: all .3s ease;
  min-width: 70px;
  cursor: pointer;
}
.date-item:hover { background: rgba(255,255,255,.2); }
.date-item.active {
  background: #fedd00;
  color: #002b45;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(254,221,0,.3);
}
.date-day { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.date-month { font-size: .85rem; text-transform: uppercase; margin: 3px 0; }
.date-year { font-size: .75rem; opacity: .8; }
.date-status {
  font-size: .7rem;
  margin-top: 5px;
  padding: 2px 8px;
  border-radius: 10px;
  background: #28a745;
}
.date-item.active .date-status { background: #002b45; color: #fff; }

@media (max-width: 992px) {
  .tour-card { flex-direction: column; }
  .tour-image { min-height: 450px; }
}
@media (max-width: 768px) {
  .photo-dates-scroll { padding: 0 15px 15px; }
  .date-item { min-width: 65px; padding: 8px 12px; }
  .date-day { font-size: 1.3rem; }
}
@media (max-width: 480px) {
  .date-item { min-width: 60px; padding: 6px 10px; }
  .date-day { font-size: 1.2rem; }
  .date-month { font-size: .8rem; }
}

/* ================================================================
   23. ОБЩИЕ АДАПТИВНЫЕ ПРАВКИ
   ================================================================ */
@media (max-width: 1024px) {
  .about-content { flex-direction: column; }
  .about-img { margin-bottom: 30px; max-width: 500px; }
}

@media (max-width: 768px) {
  .footer-content { flex-direction: column; gap: 30px; }
  .section-title { font-size: 2rem; }
}

/* Модальное окно галереи (для внутренних страниц) */
#galleryModal .modal-content { background: rgba(0,0,0,.95); }
#galleryModal .modal-header { border-bottom: 1px solid #444; }
#galleryModal .btn-close { filter: brightness(0) invert(1); }
#galleryModal .carousel-item img {
  max-height: 60vh;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  display: block;
}
#galleryModal .carousel-control-prev,
#galleryModal .carousel-control-next {
  width: 50px; height: 50px;
  background: rgba(0,0,0,.5);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 15px;
}

/* Утилитарные */
.text-white { text-shadow: 1px 1px 2px rgba(0,0,0,.3); }
.lead { line-height: 1.6; }

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Дополнительно для страницы тура */
.price .old-price { font-size: 18px; }
.price .current-price { color: #0d6efd; line-height: 1; }
.discount-badge { border: 2px dashed #ffc107; }

.day-photo {
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  transition: transform .3s ease;
  position: relative;
}
.day-photo:hover { transform: scale(1.03); }
.day-photo img {
  width: 100%; height: 150px; object-fit: cover;
  transition: transform .3s ease;
}
.photo-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.4);
  opacity: 0;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .3s ease;
  pointer-events: none;
}
.day-photo:hover .photo-overlay { opacity: 1; }
.photo-overlay i { font-size: 1.5rem; color: #fff; }
@media (max-width: 768px) { .day-photo img { height: 80px; } }

/* ================================================================
   ПАТЧ v2
   ================================================================ */

/* ---------- Правка 1. Тревел-дизайн — заголовок на строку, широкий ---------- */
.td-section__head {
  max-width: 1100px;          /* было 780 — расширили */
  margin: 0 auto 55px;
}
.td-section__head h2 {
  font-size: 2.5rem;
  line-height: 1.15;
  color: #0c2a4d;
  margin-bottom: 18px;
  white-space: nowrap;        /* тянем на одну строку */
}
.td-section__head p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 992px) {
  .td-section__head h2 { white-space: normal; font-size: 2rem; }
}
@media (max-width: 576px) {
  .td-section__head h2 { font-size: 1.6rem; }
}

/* ---------- Правка 2. Убираем цветные артефакты на фото (глобально) ---------- */
img {
  image-rendering: auto !important;
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  will-change: auto !important;
  filter: none !important;
}
.about-img,
.about-img img,
.photo-card,
.photo-card img,
.site-article img,
.ba-tour-card__img img,
.country-card,
.card-front,
.card-back {
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  will-change: auto !important;
  filter: none !important;
  image-rendering: auto !important;
}
/* Убираем perspective, который создаёт 3D-контекст и артефакты */
.about-img { perspective: none !important; }
.country-card { perspective: none !important; }
.card-front, .card-back { transform-style: flat !important; }

/* ---------- Правка 3. Ширина блока цены ---------- */
.td-price-card__features li { font-size: .93rem; }

/* ---------- Правка 4. Чеклист на цветном фоне ---------- */
.subscribe-wrap {
  padding: 90px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #eef4fb 100%);
  position: relative;
  overflow: hidden;
}
.subscribe-wrap::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(254,221,0,.15) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.subscribe-promo {
  background: transparent !important;
  padding: 0;
}

/* ---------- Правка 5. Блог — полностью новые стили ---------- */
.blog-section {
  padding: 90px 0;
  background: #f8f9fa;
}

.blog-section__head {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 55px;
}
.blog-section__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fedd00;
  color: #0c2a4d;
  padding: 7px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 18px;
  transform: rotate(-3deg);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.blog-section__head h2 {
  font-size: 2.5rem;
  color: #0c2a4d;
  line-height: 1.15;
  margin-bottom: 15px;
}
.blog-section__head p {
  color: #666;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 800px;
}

.site-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.site-article {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(12,42,77,.08);
  text-decoration: none;
  color: inherit;
  transition: transform .35s ease, box-shadow .35s ease;
  height: 100%;
}
.site-article:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 50px rgba(12,42,77,.16);
}

.site-article__img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.site-article__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.site-article:hover .site-article__img img { transform: scale(1.06); }

.site-article__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #fedd00;
  color: #0c2a4d;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: .78rem;
  transform: rotate(-3deg);
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

.site-article__body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.site-article__body h3 {
  font-size: 1.15rem;
  color: #0c2a4d;
  line-height: 1.35;
  margin-bottom: 12px;
  min-height: 3em;
}
.site-article__body p {
  color: #555;
  font-size: .94rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
}
.site-article__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0d6efd;
  font-weight: 700;
  font-size: .9rem;
  margin-top: auto;
  transition: gap .3s;
}
.site-article:hover .site-article__link { gap: 10px; }

/* Внешние площадки компактно */
.external-platforms-compact {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 35px;
  border-top: 1px solid #e5e5e5;
}
.external-platforms-compact h3 {
  color: #0c2a4d;
  font-size: 1.4rem;
  margin-bottom: 25px;
}
.external-platforms-compact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.epc-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid #eee;
  text-decoration: none;
  transition: all .3s;
  text-align: left;
}
.epc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.1);
  border-color: #fedd00;
}
.epc-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.epc-card__icon--dzen { background: #000; }
.epc-card__icon--tg   { background: #0088cc; }
.epc-card__icon--ig   { background: linear-gradient(135deg,#feda75,#d62976,#962fbf); }
.epc-card__body { display: flex; flex-direction: column; }
.epc-card__title {
  font-weight: 700;
  color: #0c2a4d;
  font-size: 1rem;
}
.epc-card__body small {
  color: #777;
  font-size: .82rem;
  margin-top: 2px;
}

@media (max-width: 992px) {
  .site-articles { grid-template-columns: 1fr; }
  .external-platforms-compact__grid { grid-template-columns: 1fr; }
  .blog-section__head h2 { font-size: 2rem; white-space: normal; }
}
@media (max-width: 992px) {
  .blog-section__head h2 { white-space: normal; }
}

/* ---------- Правка 6. Контакты — все заголовки белые ---------- */
.contact-section h1,
.contact-section h2,
.contact-section h3,
.contact-section h4,
.contact-section .section-header h2,
.contact-section .section-title {
  color: #fff !important;
}
.contact-section p,
.contact-section .section-header p {
  color: rgba(255,255,255,.9) !important;
}

/* ---------- Правка 7. Форма согласий в одну строку ---------- */
.consent-group {
  background: #f8f9fa;
  padding: 20px 22px;
  border-radius: 10px;
  margin: 25px 0;
}
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  cursor: pointer;
  font-size: .92rem;
  line-height: 1.55;
  color: #555;
}
.consent-row + .consent-row {
  border-top: 1px solid #e5e5e5;
  margin-top: 4px;
  padding-top: 12px;
}
.consent-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #0c2a4d;
}
.consent-row span { flex: 1; }
.consent-row .policy-link {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 600;
}
.consent-row .policy-link:hover { text-decoration: underline; }

/* ================================================================
   ПАТЧ v3 — Форма контактов + согласия + белый заголовок
   ================================================================ */

/* ---------- Заголовок "Контакты" белый ---------- */
.contact-section > .container > h2,
.contact-section h2 {
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.25);
  text-align: center;
  margin-bottom: 40px;
}

/* ---------- Согласия — аккуратные строки ---------- */
.consent-group {
  background: rgba(255,255,255,.12);
  padding: 18px 22px;
  border-radius: 10px;
  margin: 25px 0;
  border: 1px solid rgba(255,255,255,.18);
}

.consent-row {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  cursor: pointer;
  font-size: .9rem;
  line-height: 1.55;
  color: rgba(255,255,255,.92) !important;
  text-align: left !important;
  font-weight: 400 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}
.consent-row + .consent-row {
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 4px;
  padding-top: 12px;
}

.consent-row input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  margin: 2px 0 0 0 !important;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #fedd00;
  border-radius: 4px;
  background: #fff;
}

.consent-text {
  display: block;
  flex: 1;
  color: rgba(255,255,255,.92);
}

.consent-row .policy-link {
  color: #fedd00;
  text-decoration: underline;
  font-weight: 600;
}
.consent-row .policy-link:hover {
  color: #fff;
  text-decoration: none;
}

/* Убираем старые стили чекбоксов, которые мешают */
.contact-form .checkbox-wrapper {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  text-align: left !important;
}
.contact-form .consent-label {
  text-align: left !important;
  margin: 0 !important;
  display: inline;
}

/* На всякий случай убираем центрирование внутри формы */
.contact-form label,
.contact-form .consent-group label {
  text-align: left !important;
}

/* Мобильная версия — компактнее */
@media (max-width: 576px) {
  .consent-group { padding: 14px 16px; }
  .consent-row { font-size: .85rem; gap: 10px; padding: 8px 0; }
  .consent-row input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
  }
}

/* ================================================================
   NAVBAR — финальная версия (одна строка, Max, мобильный collapse)
   ================================================================ */

#mainNav {
  background: linear-gradient(90deg, #1E3F66 0%, #5b8dd3 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 10px 0 !important;
}

.nav-shell {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 16px;
}

.nav-logo {
  height: 38px;
  width: auto;
  display: block;
}

/* ================================================================
   МЕНЮ — flex только на десктопе, чтобы не ломать Bootstrap collapse
   ================================================================ */
@media (min-width: 992px) {
  #navbarContent {
    display: flex !important;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    flex-basis: auto !important;
  }
}

.nav-main {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-main .nav-item { flex-shrink: 0; }
.nav-main .nav-link {
  color: #fff !important;
  font-weight: 500;
  font-size: .9rem;
  padding: .45rem .7rem !important;
  position: relative;
  white-space: nowrap;
  line-height: 1.2;
}
.nav-main .nav-link::after {
  content: '';
  position: absolute;
  left: 12%; right: 12%;
  bottom: 2px;
  height: 2px;
  background: #FFD700;
  transform: scaleX(0);
  transition: transform .3s ease;
  transform-origin: right;
}
.nav-main .nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ================================================================
   ПРАВАЯ ЧАСТЬ
   ================================================================ */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* --- Телефон → Max --- */
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  padding: 6px 12px;
  border-radius: 10px;
  transition: background .25s, transform .25s;
  white-space: nowrap;
}
.nav-phone:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-1px);
}
.nav-phone__icon {
  font-size: 1.05rem;
  color: #FFD700;
  flex-shrink: 0;
}
.nav-phone__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav-phone__text strong {
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  transition: color .25s;
}
.nav-phone__text small {
  font-size: .68rem;
  font-weight: 500;
  color: #FFD700;
  opacity: .95;
  letter-spacing: .2px;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.nav-phone__text small i {
  font-size: .6rem;
  color: #FFD700;
}
.nav-phone:hover .nav-phone__text strong { color: #FFD700; }

/* --- Мессенджеры --- */
.nav-messengers {
  display: flex;
  gap: 6px;
}
.nav-messenger {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s, background .25s;
  background: rgba(255,255,255,.12);
}
.nav-messenger:hover {
  transform: translateY(-2px) scale(1.05);
  color: #fff;
}
.nav-messenger--wa:hover {
  background: #25D366;
  box-shadow: 0 6px 16px rgba(37,211,102,.5);
}
.nav-messenger--tg:hover {
  background: #0088cc;
  box-shadow: 0 6px 16px rgba(0,136,204,.5);
}

/* --- CTA кнопка --- */
.btn-custom {
  background-color: #FFD700;
  border: none;
  color: #1E3F66;
  padding: .5rem 1.1rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: .88rem;
  white-space: nowrap;
  transition: all .3s ease;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}
.btn-custom:hover {
  background-color: #e6c200;
  color: #1E3F66;
  transform: scale(1.04);
  box-shadow: 0 6px 18px rgba(255,215,0,.35);
}

/* ================================================================
   АДАПТИВ NAVBAR
   ================================================================ */
@media (max-width: 1199px) {
  .nav-main .nav-link { padding: .45rem .55rem !important; font-size: .86rem; }
  .nav-phone__text strong { font-size: .85rem; }
  .nav-shell { gap: 12px; }
}

/* ================================================================
   МОБИЛКА: <992px — Bootstrap collapse работает штатно
   ================================================================ */
@media (max-width: 991.98px) {
  .nav-shell {
    flex-wrap: wrap;
    row-gap: 8px;
    justify-content: space-between;
  }
  .navbar-toggler {
    order: 3;
    margin-left: 8px;
  }

  /* Меню закрыто по умолчанию, Bootstrap управляет collapse */
  #navbarContent.collapse:not(.show) { display: none !important; }
  #navbarContent.collapse.show       { display: block !important; }

  #navbarContent {
    order: 4;
    flex-basis: 100%;
    width: 100%;
    margin-top: 10px;
    text-align: center;
  }

  .nav-main {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  .nav-main .nav-item { width: 100%; }
  .nav-main .nav-link {
    padding: .65rem 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.08);
    text-align: center;
    font-size: .95rem;
  }
  .nav-main .nav-link::after { display: none; }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    order: 2;
    margin-left: auto;
  }
  .nav-phone { padding: 4px 8px; }
  .nav-phone__text strong { font-size: .82rem; }
  .nav-phone__text small { font-size: .62rem; }
  .nav-messenger { width: 34px; height: 34px; font-size: .95rem; }
  .btn-custom { display: none !important; }
}

@media (max-width: 576px) {
  .nav-shell { gap: 6px; }
  .nav-logo { height: 34px; }
  .nav-phone { gap: 6px; padding: 4px 6px; }
  .nav-phone__icon { font-size: .95rem; }
  .nav-phone__text strong { font-size: .78rem; }
  .nav-phone__text small { font-size: .6rem; }
  .nav-messengers { gap: 5px; }
  .nav-messenger { width: 32px; height: 32px; font-size: .9rem; }
}

@media (max-width: 400px) {
  .nav-phone__icon { display: none; }
  .nav-phone__text strong { font-size: .74rem; }
  .nav-phone__text small { font-size: .58rem; }
}

/* ================================================================
   ФИКС АРТЕФАКТОВ НА КАРТИНКАХ
   ================================================================ */

/* Убираем will-change, backface-visibility, filter, perspective —
   именно они дают Chrome повод растеризовать картинку в низком разрешении */
.ba-tour-card__img img,
.ba-package__img img,
.photo-card img,
.review-photo img,
.site-article__img img,
.about-img img,
.individual-tour-card img,
.insta-item img,
.gallery-item img,
.card-img {
  will-change: auto !important;
  backface-visibility: visible !important;
  -webkit-backface-visibility: visible !important;
  filter: none !important;
  image-rendering: auto !important;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* Родители тоже без 3D-контекста */
.ba-package,
.ba-package__img,
.ba-tour-card,
.ba-tour-card__img,
.photo-card,
.review-photo,
.site-article,
.about-img {
  will-change: auto !important;
}

/* Флип-карточки: perspective нужен ТОЛЬКО когда мы реально делаем флип */
.country-card {
  perspective: 1200px;
}
.card-front,
.card-back {
  transform-style: preserve-3d;
}

/* Карусель — убираем will-change, часто источник бага при anchor-скролле */
.carousel-track {
  will-change: auto !important;
}

/* ================================================================
   КОНТАКТЫ — белый заголовок и компактные согласия
   ================================================================ */
.contact-section h1,
.contact-section h2,
.contact-section h3,
.contact-section h4 {
  color: #fff !important;
}
.contact-section p {
  color: rgba(255,255,255,.9) !important;
}

.consent-group {
  background: rgba(255,255,255,.12);
  padding: 18px 22px;
  border-radius: 10px;
  margin: 25px 0;
  border: 1px solid rgba(255,255,255,.18);
}

.consent-row {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  cursor: pointer;
  font-size: .9rem;
  line-height: 1.55;
  color: rgba(255,255,255,.92) !important;
  text-align: left !important;
  font-weight: 400 !important;
  margin: 0 !important;
  width: 100% !important;
}
.consent-row + .consent-row {
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 4px;
  padding-top: 12px;
}
.consent-row input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  margin: 2px 0 0 0 !important;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #fedd00;
}
.consent-text {
  display: block;
  flex: 1;
  color: rgba(255,255,255,.92);
}
.consent-row .policy-link {
  color: #fedd00;
  text-decoration: underline;
  font-weight: 600;
}
.consent-row .policy-link:hover { color: #fff; text-decoration: none; }

@media (max-width: 576px) {
  .consent-group { padding: 14px 16px; }
  .consent-row { font-size: .85rem; gap: 10px; padding: 8px 0; }
  .consent-row input[type="checkbox"] { width: 16px !important; height: 16px !important; }
}

/* ================================================================
   Отзывы-фото — курсор и иконка приближения
   ================================================================ */

.review-photo {
  cursor: pointer;
}

/* Иконка-лупа в углу, появляется при наведении */
.review-photo__zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.5);
  color: #fff;
  border-radius: 50%;
  font-size: .9rem;
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 4;
  pointer-events: none;
}
.review-photo:hover .review-photo__zoom {
  opacity: 1;
  transform: scale(1.05);
}

/* ================================================================
   СТРАНИЦА ТУРА — финальный блок стилей
   ================================================================ */

/* ---------- Хлебные крошки ---------- */
.tour-breadcrumbs {
  background: #f8f9fa;
  padding: 12px 0;
  font-size: .88rem;
  border-bottom: 1px solid #eee;
}
.tour-breadcrumbs .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #666;
}
.tour-breadcrumbs a {
  color: #0d6efd;
  text-decoration: none;
  transition: color .2s;
}
.tour-breadcrumbs a:hover { color: #0c2a4d; text-decoration: underline; }
.tour-breadcrumbs span { color: #888; }
.tour-breadcrumbs span:last-child { color: #333; font-weight: 600; }

/* ---------- Hero badge ---------- */
.hero-badge {
  display: inline-block;
  background: rgba(254,221,0,.95);
  color: #0c2a4d;
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}

/* ---------- Act badge ---------- */
.act-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .5px;
  flex-shrink: 0;
}

/* ---------- Booking card ---------- */
.hero-booking-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
}
.booking-card__dates {
  margin: 20px 0;
  padding-top: 18px;
  border-top: 1px solid #eee;
}
.booking-card__cta .btn {
  border-radius: 10px;
  font-weight: 600;
  padding: 10px 0;
}
.booking-card__cta .btn-success {
  background: #25D366;
  border-color: #25D366;
}
.booking-card__cta .btn-success:hover {
  background: #1eaa52;
  border-color: #1eaa52;
}

/* ---------- Блок "Что входит" ---------- */
.tour-includes {
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.include-card {
  background: #f8f9fa;
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  height: 100%;
  border-top: 3px solid #fedd00;
  transition: transform .3s, box-shadow .3s;
}
.include-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(12,42,77,.1);
}
.include-card i {
  font-size: 1.6rem;
  color: #0c2a4d;
  margin-bottom: 12px;
  display: block;
}
.include-card h4 {
  font-size: 1rem;
  color: #0c2a4d;
  margin-bottom: 6px;
  font-weight: 700;
}
.include-card p {
  font-size: .85rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* ---------- Похожие экскурсии ---------- */
.related-tours { background: #f8f9fa; }
.related-card {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 25px rgba(12,42,77,.08);
  transition: transform .35s, box-shadow .35s;
  height: 100%;
}
.related-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(12,42,77,.15);
}
.related-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform .5s;
}
.related-card:hover img { transform: scale(1.06); }
.related-card__body { padding: 20px; }
.related-card__body h3 {
  font-size: 1.1rem;
  color: #0c2a4d;
  margin-bottom: 8px;
  line-height: 1.3;
}
.related-card__body p {
  color: #666;
  font-size: .92rem;
  margin-bottom: 12px;
  line-height: 1.5;
}
.related-card__price {
  color: #0d6efd;
  font-weight: 700;
  font-size: .95rem;
}
.related-card__price s { color: #999; font-weight: 400; margin-right: 6px; }
.related-card__price strong {
  color: #fedd00;
  background: #0c2a4d;
  padding: 2px 8px;
  border-radius: 6px;
}
.related-card--highlight { border: 2px solid #fedd00; }

/* ---------- FAQ на странице тура ---------- */
.tour-faq { background: #fff; }
.tour-faq h2 { color: #0c2a4d; }

/* ---------- Общие правки страницы тура ---------- */
.booking-details-card p,
.booking-details-card h6 {
  color: #fff;
}

/* Мобильная адаптация */
@media (max-width: 991px) {
  .sticky-top { position: static !important; }
  .tour-hero-banner { padding: 80px 0 40px; }
  .tour-hero-banner .display-3 { font-size: 2rem; }
  .hero-booking-card { margin-top: 30px; }
  .related-tours .row { row-gap: 20px; }
}

@media (max-width: 576px) {
  .display-3 { font-size: 1.7rem; }
  .price-amount { font-size: 42px; }
  .act-badge { font-size: .75rem; padding: 6px 14px; }
  .time-badge { min-width: 70px; font-size: 11px; }
  .tour-breadcrumbs { font-size: .8rem; }
  .include-card { padding: 18px 14px; }
  .include-card i { font-size: 1.4rem; }
  .related-card img { height: 160px; }
}

/* Блоки внутри героя-баннера тура — тёмный текст */
.tour-hero-banner .booking-details-card h6,
.tour-hero-banner .booking-details-card p,
.tour-hero-banner .booking-details-card .small {
  color: #0c2a4d !important;
}
.tour-hero-banner .booking-details-card h6 {
  font-weight: 700;
}
.tour-hero-banner .display-3 {
  font-size: 2.6rem;
  line-height: 1.15;
}

@media (max-width: 991px) {
  .tour-hero-banner .display-3 { font-size: 2rem; }
}
@media (max-width: 576px) {
  .tour-hero-banner .display-3 { font-size: 1.6rem; }
}
/* ================================================================
   END
   ================================================================ */

   /* ================================================================
   СТРАНИЦА ИНДИВИДУАЛЬНЫХ ТУРОВ
   ================================================================ */

/* ---------- СЛАЙДЕР ---------- */
/* ---------- СЛАЙДЕР ---------- */
.indv-slider {
  position: relative;
  height: 78vh;
  min-height: 560px;
  overflow: hidden;
  background: #0c2a4d;
  padding: 0 !important;   /* ← убивает синие полосы */
  margin: 0 !important;
}
.indv-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
}
.indv-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;   /* ← параллакс-эффект */
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease, visibility 1.2s ease;
  display: flex;
  align-items: center;
}
.indv-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.indv-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    rgba(12, 42, 77, 0.88) 0%,
    rgba(12, 42, 77, 0.6) 55%,
    rgba(12, 42, 77, 0.25) 100%);
  z-index: 1;
}
.indv-slide__content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 780px;
  padding: 60px 0;
}
.indv-slide__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(254, 221, 0, 0.95);
  color: #0c2a4d;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
}
.indv-slide__title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 2px 3px 12px rgba(0,0,0,.4);
}
.indv-slide__text {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #fff;
  max-width: 640px;
  opacity: .95;
  margin-bottom: 30px;
}
.indv-slide__buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.indv-slide__buttons .btn { padding: 14px 30px; font-size: 1rem; }

/* Навигация слайдера */
.indv-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 5;
  transition: background .3s, transform .3s;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}
.indv-slider__nav:hover {
  background: rgba(254,221,0,.9);
  color: #0c2a4d;
  transform: translateY(-50%) scale(1.06);
}
.indv-slider__nav.prev { left: 26px; }
.indv-slider__nav.next { right: 26px; }

.indv-slider__dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.indv-slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: all .3s;
}
.indv-slider__dot.active {
  background: #fedd00;
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(254,221,0,.6);
}

@media (max-width: 991px) {
  .indv-slider { height: 70vh; min-height: 480px; }
  .indv-slide__title { font-size: 2.2rem; }
  .indv-slide__text { font-size: 1.02rem; }
  .indv-slider__nav { width: 42px; height: 42px; font-size: .95rem; }
  .indv-slider__nav.prev { left: 12px; }
  .indv-slider__nav.next { right: 12px; }
}
@media (max-width: 576px) {
  .indv-slide__title { font-size: 1.7rem; }
  .indv-slide__text { font-size: .95rem; }
  .indv-slide__content { padding: 40px 0; }
  .indv-slider__nav { display: none; }
}

/* ================================================================
   КАТАЛОГ ИНДИВИДУАЛЬНЫХ ТУРОВ
   ================================================================ */
.indv-tours {
  padding: 90px 0;
  background: #f8f9fa;
}
.indv-tours__head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 55px;
}
.indv-tours__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fedd00;
  color: #0c2a4d;
  padding: 7px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 18px;
  transform: rotate(-3deg);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.indv-tours__head h2 {
  font-size: 2.5rem;
  color: #0c2a4d;
  line-height: 1.15;
  margin-bottom: 18px;
}
.indv-tours__head p {
  color: #555;
  font-size: 1.08rem;
  line-height: 1.7;
}

.indv-tours__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.indv-tour-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(12,42,77,.08);
  transition: transform .35s ease, box-shadow .35s ease;
  height: 100%;
}
.indv-tour-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 50px rgba(12,42,77,.15);
}
.indv-tour-card__img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.indv-tour-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.indv-tour-card:hover .indv-tour-card__img img { transform: scale(1.06); }
.indv-tour-card__tag {
  position: absolute;
  top: 14px; left: 14px;
  background: #fedd00;
  color: #0c2a4d;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: .78rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.indv-tour-card__body {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.indv-tour-card__body h3 {
  font-size: 1.15rem;
  color: #0c2a4d;
  line-height: 1.35;
  margin-bottom: 12px;
  min-height: 3em;
}
.indv-tour-card__desc {
  color: #555;
  font-size: .94rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
}
.indv-tour-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: #666;
}
.indv-tour-card__features li { display: flex; align-items: center; gap: 6px; }
.indv-tour-card__features i { color: #74acdf; }

.indv-tour-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid #eee;
  margin-top: auto;
}
.indv-tour-card__price .price-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0c2a4d;
}
.indv-tour-card__price .price-note {
  color: #888;
  font-size: .85rem;
}

.indv-tours__note {
  text-align: center;
  color: #555;
  font-size: 1rem;
  padding: 22px;
  background: #fff;
  border-radius: 14px;
  border-left: 4px solid #fedd00;
  max-width: 800px;
  margin: 30px auto 0;
  box-shadow: 0 6px 20px rgba(12,42,77,.06);
}
.indv-tours__note i { color: #fedd00; margin-right: 6px; }
.indv-tours__note a { color: #0d6efd; font-weight: 700; text-decoration: none; }
.indv-tours__note a:hover { text-decoration: underline; }

@media (max-width: 992px) {
  .indv-tours__grid { grid-template-columns: 1fr; }
  .indv-tours__head h2 { font-size: 2rem; }
}

/* ================================================================
   ПОЧЕМУ СО МНОЙ (О ГИДЕ)
   ================================================================ */
.indv-why {
  padding: 90px 0;
  background: #fff;
}
.indv-why__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 55px;
  align-items: center;
}
.indv-why__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fedd00;
  color: #0c2a4d;
  padding: 7px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 18px;
  transform: rotate(-3deg);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.indv-why__text h2 {
  font-size: 2.3rem;
  color: #0c2a4d;
  line-height: 1.2;
  margin-bottom: 22px;
}
.indv-why__text p {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 15px;
}
.indv-why__signature {
  font-style: italic;
  color: #0c2a4d !important;
  font-weight: 600;
  padding-left: 20px;
  border-left: 4px solid #fedd00;
  margin-top: 25px;
}

.indv-why__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.indv-stat {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 26px 20px;
  text-align: center;
  border-top: 4px solid #fedd00;
  transition: transform .3s, box-shadow .3s;
}
.indv-stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(12,42,77,.1);
}
.indv-stat__num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: #0c2a4d;
  line-height: 1;
  margin-bottom: 8px;
}
.indv-stat__label {
  display: block;
  font-size: .88rem;
  color: #666;
  line-height: 1.3;
}

@media (max-width: 992px) {
  .indv-why__grid { grid-template-columns: 1fr; gap: 35px; }
  .indv-why__text h2 { font-size: 1.9rem; }
}

/* ================================================================
   ПРЕИМУЩЕСТВА
   ================================================================ */
.indv-adv {
  padding: 90px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #eef4fb 100%);
  position: relative;
  overflow: hidden;
}
.indv-adv::before {
  content: '';
  position: absolute;
  top: -180px; right: -180px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(254,221,0,.15) 0%, transparent 65%);
  border-radius: 50%;
}
.indv-adv__head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 55px;
  position: relative; z-index: 2;
}
.indv-adv__head h2 {
  font-size: 2.5rem;
  color: #0c2a4d;
  margin-bottom: 12px;
}
.indv-adv__head p {
  color: #666;
  font-size: 1.08rem;
}
.indv-adv__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative; z-index: 2;
}
.indv-adv-card {
  background: #fff;
  border-radius: 20px;
  padding: 34px 26px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(12,42,77,.08);
  transition: transform .35s, box-shadow .35s;
  border-top: 5px solid #fedd00;
  display: flex;
  flex-direction: column;
}
.indv-adv-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 50px rgba(12,42,77,.15);
}
.indv-adv-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0c2a4d 0%, #1a4d8c 100%);
  color: #fedd00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(12,42,77,.2);
}
.indv-adv-card h3 {
  font-size: 1.12rem;
  color: #0c2a4d;
  margin-bottom: 12px;
}
.indv-adv-card p {
  color: #666;
  font-size: .92rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 992px) {
  .indv-adv__grid { grid-template-columns: repeat(2, 1fr); }
  .indv-adv__head h2 { font-size: 2rem; }
}
@media (max-width: 576px) {
  .indv-adv__grid { grid-template-columns: 1fr; }
}

/* Бейдж на секции отзывов */
.review-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fedd00;
  color: #0c2a4d;
  padding: 7px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 18px;
  transform: rotate(-3deg);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

/* ================================================================
   СТРАНИЦА ТРЕВЕЛ-ДИЗАЙНА — дополнительный блок
   ================================================================ */

/* ---------- Карточка в hero ---------- */
.td-hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}
.td-hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  color: #333;
  font-size: .95rem;
}
.td-hero-list li:last-child { border-bottom: none; }
.td-hero-list i {
  color: #fedd00;
  background: #0c2a4d;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
}
.td-hero-list span { padding-top: 6px; }

/* ---------- Проблемы тревел-дизайна ---------- */
.td-problem-card {
  background: #fff;
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 10px 30px rgba(12,42,77,.07);
  border-top: 4px solid #fedd00;
  transition: transform .3s, box-shadow .3s;
}
.td-problem-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(12,42,77,.12);
}
.td-problem-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0c2a4d 0%, #1a4d8c 100%);
  color: #fedd00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.td-problem-card h4 {
  font-size: 1.1rem;
  color: #0c2a4d;
  margin-bottom: 14px;
}
.td-problem-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.td-problem-card ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: .9rem;
  line-height: 1.55;
  color: #555;
}
.td-problem-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #fedd00;
  font-size: 1.2rem;
  line-height: 1;
  top: 1px;
}
.td-problem-card ul li strong { color: #0c2a4d; }

/* ---------- Блок про ИИ ---------- */
.td-ai__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.td-ai__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fedd00;
  color: #0c2a4d;
  padding: 7px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 18px;
  transform: rotate(-3deg);
}
.td-ai__left h2 {
  font-size: 2.2rem;
  color: #0c2a4d;
  line-height: 1.2;
  margin-bottom: 22px;
}
.td-ai__left p {
  color: #444;
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 15px;
}
.td-ai__highlight {
  background: rgba(254,221,0,.15);
  border-left: 4px solid #fedd00;
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  color: #0c2a4d !important;
  font-weight: 500;
}
.td-ai__right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.td-ai-card {
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 8px 24px rgba(12,42,77,.06);
}
.td-ai-card--bad {
  background: #fdf2f2;
  border-left: 4px solid #E63946;
}
.td-ai-card--good {
  background: #f0faf4;
  border-left: 4px solid #27ae60;
}
.td-ai-card h4 {
  font-size: 1.05rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.td-ai-card--bad h4 { color: #E63946; }
.td-ai-card--good h4 { color: #27ae60; }
.td-ai-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.td-ai-card ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: .9rem;
  line-height: 1.5;
  color: #444;
}
.td-ai-card ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: inherit;
  opacity: .5;
}

@media (max-width: 992px) {
  .td-ai__wrapper { grid-template-columns: 1fr; gap: 30px; }
  .td-ai__left h2 { font-size: 1.8rem; }
}

/* ---------- Кейсы с горизонтальной прокруткой ---------- */
.td-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fedd00;
  color: #0c2a4d;
  padding: 7px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 18px;
  transform: rotate(-3deg);
}

.td-cases-carousel {
  position: relative;
  padding: 0 60px;
}
.td-cases-carousel__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 10px 4px 30px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.td-cases-carousel__track::-webkit-scrollbar { display: none; }

.td-case-card {
  flex: 0 0 380px;
  background: #fff;
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: 0 12px 32px rgba(12,42,77,.08);
  scroll-snap-align: start;
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
  border-top: 4px solid #fedd00;
}
.td-case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(12,42,77,.15);
}
.td-case-card__badge {
  display: inline-block;
  align-self: flex-start;
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: .75rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.td-case-card h4 {
  font-size: 1.1rem;
  color: #0c2a4d;
  line-height: 1.3;
  margin-bottom: 16px;
}
.td-case-card p {
  font-size: .92rem;
  color: #555;
  line-height: 1.55;
  margin-bottom: 10px;
}
.td-case-card__customer {
  background: #f8f9fa;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: .88rem !important;
}
.td-case-card__result {
  margin-top: auto;
  padding: 14px 18px;
  background: rgba(39,174,96,.1);
  border-left: 4px solid #27ae60;
  border-radius: 0 8px 8px 0;
  font-size: .88rem;
  font-weight: 600;
  color: #1a7a42;
  display: flex;
  align-items: center;
  gap: 10px;
}
.td-case-card__result i { color: #27ae60; font-size: 1rem; }

.td-cases-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  left: 0;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
}
.td-cases-carousel__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #0c2a4d;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(12,42,77,.25);
  transition: background .3s, transform .3s;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.td-cases-carousel__btn:hover {
  background: #fedd00;
  color: #0c2a4d;
  transform: scale(1.06);
}

@media (max-width: 768px) {
  .td-cases-carousel { padding: 0 20px; }
  .td-case-card { flex: 0 0 300px; padding: 22px 20px; }
  .td-cases-carousel__btn { width: 40px; height: 40px; font-size: .9rem; }
}

/* ---------- Расширенный блок цены ---------- */
.td-price-big {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(12,42,77,.12);
}
.td-price-big__left {
  padding: 45px 40px;
  background: #fff;
}
.td-price-big__left h3 {
  font-size: 1.8rem;
  color: #0c2a4d;
  margin-bottom: 8px;
}
.td-price-big__sub {
  color: #777;
  font-size: 1rem;
  margin-bottom: 24px;
}
.td-price-big__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px dashed #eee;
}
.td-price-big__amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: #0c2a4d;
  line-height: 1;
}
.td-price-big__note {
  color: #888;
  font-size: 1rem;
}
.td-price-big__features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.td-price-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.td-price-feature > i {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(254,221,0,.18);
  color: #0c2a4d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}
.td-price-feature strong {
  display: block;
  font-size: .98rem;
  color: #0c2a4d;
  margin-bottom: 3px;
}
.td-price-feature span {
  font-size: .88rem;
  color: #666;
  line-height: 1.45;
}

.td-price-big__right {
  padding: 45px 40px;
  background: linear-gradient(135deg, #0c2a4d 0%, #1a4d8c 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
}
.td-price-big__right h4 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.td-savings {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 10px;
}
.td-savings__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: .92rem;
  color: rgba(255,255,255,.8);
}
.td-savings__row strong {
  color: #fedd00;
  font-size: 1rem;
  white-space: nowrap;
}
.td-savings hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,.15);
  margin: 10px 0;
}
.td-savings__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 1rem;
  font-weight: 700;
}
.td-savings__total strong {
  color: #fedd00;
  font-size: 1.4rem;
  white-space: nowrap;
}
.td-price-big__right .btn-warning {
  background: #fedd00;
  color: #0c2a4d;
  border: none;
}
.td-price-big__right .btn-warning:hover {
  background: #e6c900;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(254,221,0,.35);
}
.td-price-big__guarantee {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.85);
}
.td-price-big__guarantee i {
  color: #fedd00;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .td-price-big__left,
  .td-price-big__right {
    padding: 30px 24px;
  }
  .td-price-big__amount { font-size: 2rem; }
  .td-price-big__left h3 { font-size: 1.4rem; }
}

/* Кастомный чекбокс под синий фон */
.consent-box {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    background: transparent;
    margin-top: 1px;
    transition: all .15s;
    display: grid;
    place-items: center;
}

/* Галочка внутри */
.consent-box::after {
    content: "";
    width: 10px;
    height: 5px;
    border-left: 2px solid #1e3a8a; /* Тёмно-синий цвет галочки */
    border-bottom: 2px solid #1e3a8a;
    transform: rotate(-45deg) scale(0);
    margin-top: -2px;
    transition: transform .15s;
}

.consent:hover .consent-box { border-color: #fff; }

.consent input:checked + .consent-box {
    background: #fff;
    border-color: #fff;
}

.consent input:checked + .consent-box::after {
    transform: rotate(-45deg) scale(1);
}

/* Если чекбокс не нажат - подсвечиваем красным при ошибке */
.consent-box.error {
    border-color: #ef4444 !important;
}

/* Стили для сообщений */
#checklist-msg.success {
    display: block;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10b981;
    color: #a7f3d0;
}
#checklist-msg.error {
    display: block;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #fecaca;
}