html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Montserrat", sans-serif;
  color: #1a1a1a;
  background: #ffffff;
}

/* ======================== HEADER ======================== */

.header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  width: calc(100% - 120px);
  max-width: 1200px;
  padding: 12px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: #ffffff;
  border-radius: 100px;
  opacity: 0;
  transition: transform 0.8s cubic-bezier(.25,0,.25,1), opacity 0.8s ease;
}

.header.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.header-left { display: flex; align-items: center; gap: 40px; }
.logo { height: 32px; width: auto; }
.nav { display: flex; gap: 60px; }

.nav a {
  text-decoration: none;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 500;
}

.header-btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-btn-reg {
  background: #4e75a6;
  color: #ffffff;
  padding: 6px 22px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid #4e75a6;
  transition: background 0.2s ease;
  font-family: "Montserrat", sans-serif;
}

.header-btn-reg:hover { background: #3a5d8a; border-color: #3a5d8a; }

.header-btn-login {
  background: transparent;
  color: #4e75a6;
  padding: 6px 22px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid #4e75a6;
  transition: background 0.2s ease, color 0.2s ease;
  font-family: "Montserrat", sans-serif;
}

.header-btn-login:hover { background: #4e75a6; color: #ffffff; }

.header-contacts {
  background: #4e75a6;
  color: #ffffff;
  padding: 6px 22px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease;
}

.header-contacts:hover { background: #3a5d8a; }

/* ======================== HERO ======================== */

.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.slides { display: flex; height: 100vh; will-change: transform; }

.slide {
  width: 100vw; height: 100vh;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
  z-index: 5;
}

.hero-text {
  position: absolute;
  top: 57%; left: 370px;
  transform: translateY(-50%);
  z-index: 30;
  opacity: 0;
  transition: opacity 0.8s ease 0.4s;
}

.hero-text.visible { opacity: 1; }
.subtitle { font-size: 19px; font-weight: 500; color: #ffffff; margin-bottom: 20px; }

.hero-title {
  display: block;
  margin-bottom: 15px;
  transition: opacity 0.4s ease;
  max-height: 200px;
  width: auto;
  mix-blend-mode: screen;
}

.cta { margin-top: 140px; }

.btn {
  background: #ffffff;
  color: #1a1a1a;
  border: none;
  padding: 12px 60px;
  font-size: 18px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  border-radius: 100px;
  cursor: pointer;
  display: inline-block;
  margin-bottom: 25px;
}

.desc { font-size: 18px; font-weight: 500; color: #ffffff; }

.girl {
  position: absolute;
  bottom: 0; right: 370px;
  height: 70vh;
  z-index: 40;
  pointer-events: none;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 1s cubic-bezier(.25,0,.25,1) 0.3s, opacity 1s ease 0.3s;
}

.girl.visible { transform: translateY(0); opacity: 1; }

.click {
  position: absolute; top: 0;
  width: 50%; height: 100%;
  z-index: 60; cursor: pointer;
}
.click.left { left: 0; }
.click.right { right: 0; }

/* ======================== ПЛАШКИ ======================== */

.tour-pills {
  display: flex;
  gap: 14px;
  padding: 40px 140px;
  background: #ffffff;
}

.tour-pill {
  flex: 1;
  height: 130px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.tour-pill:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.14);
}

.tour-pill-photo { width: 50%; flex-shrink: 0; overflow: hidden; }

.tour-pill-photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s ease;
}

.tour-pill:hover .tour-pill-photo img { transform: scale(1.06); }

.tour-pill-text {
  flex: 1;
  background: #e6effe;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
}

.tour-pill-text span {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
}

/* ======================== О НАС ======================== */

.about {
  background: #ffffff;
  padding: 80px 140px 100px;
}

.about-heading {
  text-align: center;
  margin-bottom: 100px;
}

.about-title {
  font-size: 36px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
  letter-spacing: -2px;
  max-width: 900px;
  margin: 0 auto 20px;
}

.about-accent { color: #4e75a6; }

.about-subtitle {
  font-size: 18px;
  font-weight: 500;
  color: #1a1a1a;
  text-align: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-main-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 520px;
  box-shadow: 0 16px 60px rgba(0,0,0,0.2);
}

.about-main-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.about-main-card::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.38);
}

.about-main-content {
  position: relative;
  z-index: 2;
  padding: 36px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.about-main-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
}

.about-main-tags {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: auto;
}

.about-main-tag {
  background: rgba(255,255,255,0.18);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 100px;
  display: inline-block;
  width: fit-content;
  backdrop-filter: blur(4px);
}

.about-main-text {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  margin-top: 28px;
}

.about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-info-card {
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.about-info-grid:has(.about-info-card:hover) .about-info-card:not(:hover) {
  transform: scale(0.97); opacity: 0.85;
}

.about-info-card:hover { transform: scale(1.03); }

.about-info-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.25;
}

.about-info-text {
  font-size: 14px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.65;
}

/* ======================== ТУРЫ ======================== */

.tours {
  background: #ffffff;
  padding: 50px 140px 40px;
}

.tours-title {
  font-size: 36px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -2px;
  margin-bottom: 28px;
}

.tours-grid {
  display: flex;
  gap: 14px;
  height: 500px;
}

.tour-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex-shrink: 0;
  transition: flex 0.5s cubic-bezier(.25,0,.25,1), box-shadow 0.3s ease;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.tour-card > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(.25,0,.25,1);
}

.tour-card::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 75%;
  background: linear-gradient(to top, rgba(0,0,0,0.82), rgba(0,0,0,0));
  z-index: 1;
}

.tour-card-arrow {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 10;
  width: 50px;
  height: 50px;
}

.tour-card-arrow .arrow-img {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.tour-card-arrow .arrow-img--hover {
  position: absolute;
  top: 0; left: 0;
  width: 50px;
  height: 50px;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tour-card:hover .arrow-img { opacity: 0; }
.tour-card:hover .arrow-img--hover { opacity: 1; }

.tour-card-tags {
  position: absolute;
  top: 16px; left: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  z-index: 2;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.tour-tag {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
  padding: 5px 12px;
  border-radius: 100px;
  display: inline-block;
  width: fit-content;
  backdrop-filter: blur(6px);
}

.tour-card-bottom {
  position: relative;
  z-index: 2;
  padding: 0 16px 16px;
}

.tour-card-info { margin-bottom: 10px; }

.tour-card-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tour-card-price {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}

.tour-card-btn {
  background: #ffffff;
  padding: 10px 10px 10px 18px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tour-card-btn span {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  font-family: "Montserrat", sans-serif;
}

.tour-btn-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #f0f0f0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tour-card--expanded { flex: 2; }
.tour-card--expanded .tour-card-tags { opacity: 1; transform: translateY(0); }
.tour-card--collapsed { flex: 1.1; }
.tour-card--collapsed:hover { flex: 2; }
.tour-card--collapsed:hover > img { transform: scale(1.05); }
.tour-card--collapsed:hover .tour-card-tags { opacity: 1; transform: translateY(0); }
.tours-grid:has(.tour-card--collapsed:hover) .tour-card--expanded { flex: 1.1; }
.tours-grid:has(.tour-card--collapsed:hover) .tour-card--collapsed:not(:hover) { flex: 0.8; }

/* ======================== СТАТИСТИКА ======================== */

.stats {
  padding: 0 140px 80px;
  background: #ffffff;
}

.stats-card {
  background: #eff7df;
  border-radius: 20px;
  padding: 70px 60px 80px;
  position: relative;
  overflow: hidden;
}

.stats-snake {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.stats-snake path {
  fill: none;
  stroke: rgba(160, 210, 120, 0.45);
  stroke-width: 54;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

.stat-num {
  font-size: 56px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-text {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.5;
}

/* ======================== ОТЗЫВЫ ======================== */

.reviews {
  background: #ffffff;
  padding: 80px 0 0;
}

.reviews-header { padding: 0 140px 50px; }

.reviews-title {
  font-size: 36px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -2px;
}

.reviews-bg {
  background: url('../image/reviews.png') center/cover no-repeat;
  margin: 0 140px;
  border-radius: 40px;
  overflow: hidden;
  padding: 200px 0 130px;
  min-height: 700px;
}

.reviews-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 520px;
}

.reviews-track { position: relative; width: 100%; height: 100%; }

.review-card {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(.25,0,.25,1),
              opacity 0.6s ease, filter 0.6s ease,
              width 0.6s cubic-bezier(.25,0,.25,1),
              height 0.6s cubic-bezier(.25,0,.25,1);
}

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

.review-card.rc-active  { width: 340px; height: 480px; transform: translate(-50%,-50%); opacity: 1; filter: none; z-index: 3; }
.review-card.rc-prev    { width: 260px; height: 390px; transform: translate(calc(-50% - 310px),-50%); opacity: 0.7; filter: blur(2px); z-index: 2; }
.review-card.rc-next    { width: 260px; height: 390px; transform: translate(calc(-50% + 310px),-50%); opacity: 0.7; filter: blur(2px); z-index: 2; }
.review-card.rc-hidden  { width: 260px; height: 390px; opacity: 0; pointer-events: none; z-index: 1; }

.reviews-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: #ffffff; border: none; border-radius: 100px;
  width: 65px; height: 47px; font-size: 18px; cursor: pointer;
  z-index: 10; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: background 0.2s ease;
  color: #1a1a1a;
}

.reviews-arrow:hover { background: #4e75a6; color: #ffffff; }
.reviews-arrow--left  { left: 60px; }
.reviews-arrow--right { right: 60px; }

/* ======================== ГАЛЕРЕЯ ======================== */

.gallery {
  background: #ffffff;
  padding: 80px 140px;
  position: relative;
  z-index: 2;
}

.gallery-header { margin-bottom: 40px; }
.gallery-label { font-size: 16px; font-weight: 500; color: #4e75a6; margin-bottom: 6px; }
.gallery-title { font-size: 36px; font-weight: 600; color: #1a1a1a; letter-spacing: -2px; }

.gallery-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.gallery-track {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.gallery-grid {
  display: flex;
  gap: 16px;
  transition: transform 0.5s cubic-bezier(.25,0,.25,1);
}

.gallery-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 500px;
  flex: 0 0 calc(33.333% - 11px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex-shrink: 0;
}

.gallery-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.gallery-card::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
  z-index: 1;
}

.gallery-card-bottom {
  position: relative;
  z-index: 2;
  padding: 0 16px 16px;
}

.gallery-card-info { margin-bottom: 10px; }

.gallery-card-name {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.gallery-card-tour {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}

.gallery-card-btn {
  background: #ffffff;
  padding: 10px 10px 10px 18px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.gallery-card-btn span {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  font-family: "Montserrat", sans-serif;
}

.gallery-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
  color: #1a1a1a;
  z-index: 2;
}

.gallery-arrow:hover { background: #4e75a6; color: #ffffff; }

/* ======================== КАРТА ======================== */

.map-section {
  margin: 0 140px 80px;
}

.map-title {
  font-size: 36px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -2px;
  margin-bottom: 30px;
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}


/* Текстовые карточки отзывов */
.review-card-inner {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow: hidden;
}
.rc-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}
.rc-tag {
  font-size: 12px;
  color: #727056;
  font-weight: 500;
}
.rc-date {
  font-size: 12px;
  color: #aaa;
}
.rc-name {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
  letter-spacing: -.3px;
}
.rc-stars {
  color: #FFD600;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.rc-stars span { color: #ddd; }
.rc-text {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  overflow-y: auto;
  flex: 1;
}
.reviews-empty {
  color: #fff;
  text-align: center;
  font-size: 16px;
  opacity: .85;
  width: 100%;
}

.reviews-bg{position:relative}
.reviews-view-all{
  position:absolute;
  top:28px;
  right:28px;
  z-index:5;
  background:rgba(255,255,255,.95);
  color:#1a1a1a;
  text-decoration:none;
  padding:11px 24px;
  border-radius:100px;
  font-size:14px;
  font-weight:600;
  font-family:'Montserrat',sans-serif;
  white-space:nowrap;
  box-shadow:0 4px 16px rgba(0,0,0,.15);
  transition:background .2s, transform .2s;
}
.reviews-view-all:hover{background:#fff;transform:translateY(-2px)}