:root {
  /* Colors - Green Nature Theme */
  --primary: #1B7A4E;
  --primary-light: #2ECC71;
  --primary-dark: #156B43;
  --accent: #27AE60;
  --mint: #E8F6EF;
  --mint-light: #F0FAF5;

  --white: #FFFFFF;
  --off-white: #FAFBFC;
  --soft-gray: #F5F7FA;
  --gray-100: #E9ECEF;
  --gray-200: #DEE2E6;
  --gray-300: #CED4DA;
  --gray-400: #ADB5BD;
  --gray-500: #6C757D;
  --dark: #1A1A2E;
  --dark-soft: #2D2D44;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  --gradient-hero: linear-gradient(180deg, rgba(26, 26, 46, 0.4) 0%, rgba(26, 26, 46, 0.7) 100%);
  --gradient-card: linear-gradient(180deg, transparent 40%, rgba(26, 26, 46, 0.9) 100%);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 30px rgba(27, 122, 78, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Container */
  --container-max: 1200px;
  --container-padding: var(--space-lg);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--dark);
  background: var(--off-white);
  background-image:
    radial-gradient(circle at 20% 50%, rgba(27, 122, 78, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(46, 204, 113, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(27, 122, 78, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

ul,
ol {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  color: var(--gray-500);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow var(--transition-base);
}

.header--hidden {
  transform: translateY(-100%);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header__logo img {
  height: 48px;
  width: auto;
}

.header__logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

/* Header Phone Widget */
.header__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  margin-left: 24px;
  padding-left: 24px;
  border-left: 1px solid var(--gray-200);
}

.header__phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--primary);
  flex-shrink: 0;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.header__phone-icon svg {
  width: 18px;
  height: 18px;
}

.header__phone:hover .header__phone-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

.header__phone-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.header__phone-number {
  font-family: var(--font-primary);
  font-size: 0.938rem;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.header__phone:hover .header__phone-number {
  color: var(--primary);
}

.header__phone-label {
  font-family: var(--font-primary);
  font-size: 0.688rem;
  color: var(--gray-500);
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
}

/* Tablet & small desktop: icon only (nav active, no room for phone text) */
@media (max-width: 1200px) {
  .header__phone {
    margin-left: 12px;
    padding-left: 0;
    border-left: none;
    gap: 0;
  }

  .header__phone-info {
    display: none;
  }

  .header__phone-icon {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 1024px) {
  .nav {
    gap: var(--space-md);
  }

  .nav__list {
    gap: var(--space-md);
  }
}

/* Mobile: show phone number + label (burger active, room available) */
@media (max-width: 768px) {
  .header__phone {
    margin-left: auto;
    margin-right: 8px;
    padding-left: 0;
    border-left: none;
    gap: 6px;
  }

  .header__phone-info {
    display: flex;
  }

  .header__phone-number {
    font-size: 0.75rem;
    font-weight: 600;
  }

  .header__phone-label {
    display: block;
    font-size: 0.563rem;
  }

  .header__phone-icon {
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: var(--white);
  }

  .header__phone-icon svg {
    width: 14px;
    height: 14px;
  }
}

/* Very narrow screens (Samsung etc): icon only */
@media (max-width: 390px) {
  .header__phone {
    gap: 0;
  }

  .header__phone-info {
    display: none;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  margin-left: auto;
}

.nav__list {
  display: flex;
  gap: var(--space-lg);
}

.nav__link {
  font-weight: 500;
  color: var(--dark);
  padding: var(--space-sm) 0;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary);
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all var(--transition-base);
}

/* Mobile CTA button hidden on desktop */
.nav__cta-mobile {
  display: none;
  list-style: none;
}

@media (max-width: 768px) {
  .header__inner {
    height: 64px;
  }

  .header__logo img {
    height: 40px;
  }

  .header__logo-text {
    font-size: 1.2rem;
  }

  /* ===== Бургер-кнопка ===== */
  .mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
    z-index: 1010;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
  }

  .mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    transform-origin: center;
  }

  .mobile-toggle.active span {
    background: var(--white);
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* ===== Скрыть десктопную кнопку ===== */
  .nav__cta-desktop {
    display: none !important;
  }

  /* ===== Мобильное меню — полноэкранный оверлей ===== */
  .nav__list {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    background: linear-gradient(175deg, var(--dark) 0%, #0f2318 45%, var(--primary-dark) 100%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 80px var(--space-xl) var(--space-2xl);
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1005;
    box-sizing: border-box;
  }

  /* Декоративный фоновый элемент */
  .nav__list::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.12) 0%, transparent 70%);
    pointer-events: none;
  }

  .nav__list::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 122, 78, 0.1) 0%, transparent 70%);
    pointer-events: none;
  }

  .nav__list.open {
    transform: translateX(0);
  }

  /* ===== Навигационные ссылки ===== */
  .nav__list li {
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .nav__list.open li {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger-анимация (задержка для каждого элемента) */
  .nav__list.open li:nth-child(1) {
    transition-delay: 0.1s;
  }

  .nav__list.open li:nth-child(2) {
    transition-delay: 0.15s;
  }

  .nav__list.open li:nth-child(3) {
    transition-delay: 0.2s;
  }

  .nav__list.open li:nth-child(4) {
    transition-delay: 0.25s;
  }

  .nav__list.open li:nth-child(5) {
    transition-delay: 0.3s;
  }

  .nav__list.open li:nth-child(6) {
    transition-delay: 0.35s;
  }

  .nav__link {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: var(--space-lg) var(--space-md);
    position: relative;
    letter-spacing: 0.02em;
    transition: color 0.3s ease, letter-spacing 0.3s ease;
  }

  .nav__link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: transform 0.3s ease;
  }

  .nav__link:hover,
  .nav__link.active {
    color: var(--white);
    letter-spacing: 0.06em;
  }

  .nav__link:hover::after,
  .nav__link.active::after {
    transform: translateX(-50%) scaleX(1);
  }

  /* ===== Мобильная CTA-кнопка ===== */
  .nav__cta-mobile {
    display: block;
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 80%;
    text-align: center;
  }

  .nav__cta-mobile .btn--primary {
    display: inline-flex;
    width: auto;
    min-width: 200px;
    padding: 16px 40px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(46, 204, 113, 0.35), 0 0 40px rgba(27, 122, 78, 0.15);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
  }

  .nav__cta-mobile .btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
  }

  .nav__cta-mobile .btn--primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(46, 204, 113, 0.45), 0 0 60px rgba(27, 122, 78, 0.2);
  }

  .nav__cta-mobile .btn--primary:hover::before {
    left: 100%;
  }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn--primary,
.btn--submit {
  background: linear-gradient(110deg, #1B7A4E 0%, #1B7A4E 25%, #00693e 50%, #1B7A4E 75%, #1B7A4E 100%);
  background-size: 200% 100%;
  color: var(--white);
  box-shadow: var(--shadow-md), 0 4px 15px rgba(27, 122, 78, 0.3);
  animation: btn-shimmer 2s linear infinite;
  position: relative;
  overflow: hidden;
}

@keyframes btn-shimmer {
  0% {
    background-position: 200% center;
  }

  100% {
    background-position: 0% center;
  }
}

.btn--primary:hover,
.btn--submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 8px 25px rgba(27, 122, 78, 0.45);
  background: linear-gradient(110deg, #156B43 0%, #156B43 25%, #005432 50%, #156B43 75%, #156B43 100%);
  background-size: 200% 100%;
  animation: btn-shimmer 2s linear infinite;
}

.btn--secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  /* Allow calendar to overflow */
  z-index: 10;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  z-index: -1;
}

.hero__content {
  text-align: center;
  color: var(--white);
  padding: var(--space-4xl) var(--space-lg);
  max-width: 900px;
}

.hero__title {
  color: var(--white);
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta {
  display: flex;
}

/* Horizontal Filter Scroll - Always Scroll, Never Wrap */
.filter-scroll-container {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 5px 2px 15px 2px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: flex-start;
  flex-wrap: nowrap;
  /* FORCE NO WRAP */
  scrollbar-width: none;
  -ms-overflow-style: none;
  mask-image: linear-gradient(to right, transparent, black 20px, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 20px, black 90%, transparent);
  cursor: grab;
}

.filter-scroll-container:active {
  cursor: grabbing;
}

.filter-scroll-container::-webkit-scrollbar {
  display: none;
}

/* Optional: Center items if they all fit on screen */
@media (min-width: 768px) {
  .filter-scroll-container {
    /* If we want them centered when few, we can use justify-content: center 
           BUT that breaks scroll if content overflows left. 
           Safer to keep flex-start for scrollable lists. */
    justify-content: flex-start;
  }
}


.filter-loading {
  color: var(--white);
  font-style: italic;
  opacity: 0.7;
  margin: auto;
}

/* Search Box */
.search-box {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.98);
  border-radius: 28px !important;
  padding: 28px 32px;
  margin-top: var(--space-2xl);
  box-shadow: var(--shadow-xl);
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
}

/* Search Box - Two-row layout for 5 fields + button */
.search-box__inner {
  display: grid !important;
  /* Row 1: Откуда, Куда, Дата — 3 columns */
  /* Row 2: Питание, Туристы, Найти — 3 columns */
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 14px 16px !important;
  align-items: end !important;
}

.search-box__inner > .btn {
  height: 52px !important;
  border-radius: 16px !important;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}

.search-box__field {
  width: 100% !important;
  min-width: 0 !important;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  position: relative;
  /* Ensure dropdowns position correctly */
  margin: 0 !important;
}

.search-box__btn {
  height: 52px !important;
  /* Match input height approx */
  margin: 0 !important;
  white-space: nowrap;
  border-radius: 16px !important;
}

.search-box__input {
  width: 100% !important;
  height: 52px !important;
  /* Fixed height for alignment */
  padding: 0 18px !important;
  /* Vertical centering by height */
  line-height: 52px !important;
  border-radius: 16px !important;
  font-size: 0.95rem !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Utility: Red Accent for 'L' */
.text-red-accent {
  color: #E74C3C !important;
}

/* Tablet/Mobile Search Box Fix (Vertical Stack) - MERGED BELOW */


.search-box__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.search-box__input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 1.0625rem;
  transition: all var(--transition-fast);
  background: var(--white);
  color: var(--dark);
}

.search-box__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 122, 78, 0.1);
}

/* Tablet/Mobile Search Box Fix */
@media (max-width: 1024px) {
  .search-box__inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    align-items: stretch !important;
  }

  .search-box__inner > .btn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .search-box__inner {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .search-box__field {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  /* Ensure button stretches and has top margin */
  .search-box__btn,
  .search-box__inner .btn {
    width: 100% !important;
    margin-top: 6px !important;
    height: 50px !important;
  }

  /* Reset any flex properties that might leak */
  .search-box__inner>* {
    flex: none !important;
  }
}

/* Remove redundant grid rule if present */
@media (max-width: 768px) {
  .search-box__inner {
    /* controlled by above rule now */
  }
}


/* ========== SECTIONS ========== */
.section {
  padding: var(--space-xl) 0;
  /* Reduced from 4xl */
}

.section--gray {
  background: var(--soft-gray);
}

.section--mint {
  background: var(--mint);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section__subtitle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.section__subtitle::before,
.section__subtitle::after {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.section__title {
  margin-bottom: var(--space-md);
}

.section__desc {
  font-size: 1.125rem;
  color: var(--gray-500);
}

/* ========== DESTINATION CARDS (INDEX PAGE) ========== */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.destination-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  display: block;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.destination-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.destination-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.destination-card:hover .destination-card__image {
  transform: scale(1.08);
}

.destination-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(26, 26, 46, 0.85) 100%);
  z-index: 1;
}

.destination-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  z-index: 2;
  color: #fff;
}

.destination-card__tag {
  display: inline-block;
  background: linear-gradient(110deg, #1B7A4E 0%, #1B7A4E 25%, #00693e 50%, #1B7A4E 75%, #1B7A4E 100%);
  background-size: 200% 100%;
  animation: btn-shimmer 2s linear infinite;
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  box-shadow: 0 2px 8px rgba(27, 122, 78, 0.3);
}

.destination-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.destination-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  opacity: 0.9;
}

.destination-card__price {
  font-weight: 700;
  color: var(--primary-light);
}

/* ========== DESTINATION CARDS V2 (DESTINATIONS PAGE) ========== */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.dest-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.dest-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.dest-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.dest-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dest-card:hover .dest-card__image {
  transform: scale(1.06);
}

.dest-card__tag {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: linear-gradient(110deg, #1B7A4E 0%, #1B7A4E 25%, #00693e 50%, #1B7A4E 75%, #1B7A4E 100%);
  background-size: 200% 100%;
  color: var(--white);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  z-index: 2;
  backdrop-filter: blur(4px);
  animation: btn-shimmer 2s linear infinite;
  box-shadow: 0 2px 8px rgba(27, 122, 78, 0.3);
}

.dest-card__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dest-card__title {
  font-size: 1.4rem;
  margin-bottom: var(--space-xs);
  color: var(--dark);
}

.dest-card__desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--gray-500);
  margin-bottom: var(--space-md);
  flex: 1;
}

.dest-card__resorts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--space-lg);
}

.dest-card__resort-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--mint);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
}

.dest-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(110deg, #1B7A4E 0%, #1B7A4E 25%, #00693e 50%, #1B7A4E 75%, #1B7A4E 100%);
  background-size: 200% 100%;
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  width: 100%;
  animation: btn-shimmer 2s linear infinite;
  box-shadow: var(--shadow-md), 0 4px 15px rgba(27, 122, 78, 0.3);
}

.dest-card__btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 8px 25px rgba(27, 122, 78, 0.45);
  background: linear-gradient(110deg, #156B43 0%, #156B43 25%, #005432 50%, #156B43 75%, #156B43 100%);
  background-size: 200% 100%;
  animation: btn-shimmer 2s linear infinite;
}

.dest-card__btn svg {
  transition: transform 0.3s ease;
}

.dest-card__btn:hover svg {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .destinations-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== FEATURES ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.feature-card {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  background: var(--mint);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.feature-card__title {
  margin-bottom: var(--space-sm);
}

.feature-card__desc {
  font-size: 0.9375rem;
}

/* ========== TOURS ========== */
.tours-grid,
.tour-cards-grid {
  /* Ensure this class is targeted */
  display: grid;
  /* Auto-fill with a smaller min-width for true compactness */
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  /* Specific gap */
  padding: 20px 0;
  justify-content: center;
  min-height: 400px;
}

.tour-card {
  background: var(--white);
  border-radius: 12px;
  /* Slightly tighter radius */
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  /* Softer shadow */
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  max-width: 360px;
  /* Constrain max width */
  width: 100%;
  margin: 0 auto;
  /* Center in grid cell if needed */
  display: flex;
  flex-direction: column;
}

.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.tour-card__image {
  position: relative;
  height: 180px;
  /* Fixed smaller height for compact look */
  overflow: hidden;
  flex-shrink: 0;
}

.tour-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.tour-card:hover .tour-card__image img {
  transform: scale(1.08);
}

.tour-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: var(--white);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  z-index: 10;
}

.tour-card__content {
  padding: 12px 16px;
  /* Compact padding */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.tour-card__title {
  font-size: 1.1rem;
  margin-bottom: 6px;
  line-height: 1.35;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.01em;
}

.tour-card__desc {
  font-size: 0.85rem;
  margin-bottom: 12px;
  color: #6d7278;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tour-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

.tour-card__meta-item,
.tour-card__meal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.tour-card__meta-item {
  color: #444;
  background: #fdfdfd;
}

.tour-card__meta-item svg,
.tour-card__meal-badge svg {
  opacity: 0.7;
}

/* Premium Meal Code Distinct Colors */
.meal-badge-ro {
  background: #f8f9fa;
  color: #495057;
  border-color: #e9ecef;
}

.meal-badge-bb {
  background: #f0f7ff;
  color: #0369a1;
  border-color: #e0f2fe;
}

.meal-badge-hb {
  background: #f0fdf4;
  color: #15803d;
  border-color: #dcfce7;
}

.meal-badge-fb {
  background: #fff7ed;
  color: #c2410c;
  border-color: #ffedd5;
}

.meal-badge-ai {
  background: #fdf2f8;
  color: #be185d;
  border-color: #fce7f3;
}

.meal-badge-uai {
  background: #faf5ff;
  color: #7e22ce;
  border-color: #f3e8ff;
  box-shadow: 0 1px 2px rgba(126, 34, 206, 0.06);
}

.tour-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 16px;
  background: #fcfcfc;
  border-top: 1px solid #eee;
}

.tour-card__price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.tour-card__price span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gray-500);
}

/* ========== MODAL STYLES (PREMIUM) ========== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  overflow-y: auto;
  padding: 20px;
  align-items: center;
  /* Center vertically if flex */
  justify-content: center;
}

.modal.active {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

.tour-modal {
  background: var(--white);
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  /* Prevent overflow on small screens */
}

/* Hero Image Area */
.tour-modal__hero {
  position: relative;
  height: 220px;
  width: 100%;
}

.tour-modal__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Close button on top of image */
/* Close button (Solid & Clean) */
.tour-modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  background: #ffffff;
  /* Solid White */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  color: #333;
  z-index: 100;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-weight: bold;
}

.tour-modal__close:hover {
  transform: scale(1.1);
  background: #f8f8f8;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Modal Gallery */
.tour-modal__slide {
  display: none;
  width: 100%;
  height: 100%;
}

.tour-modal__slide.active {
  display: block;
  /* Flex if needed, but block is fine for img */
  animation: fadeIn 0.3s;
}

.tour-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #333;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.tour-modal__nav:hover {
  background: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.tour-modal__nav--prev {
  left: 15px;
}

.tour-modal__nav--next {
  right: 15px;
}

.tour-modal__dots {
  position: absolute;
  bottom: 15px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 20;
}

.tour-modal__dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.tour-modal__dot.active {
  background: white;
  transform: scale(1.3);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Feature Badges (Readable) */
.tour-modal__feature {
  background: #f0f7f4;
  color: #1e4d3b;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e0ece6;
}

/* Header & Body */
.tour-modal__header {
  padding: 24px 24px 0;
}

.tour-modal__body {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* consistent spacing */
}

.tour-modal__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.25;
  color: #059669 !important;
  /* Brand Green Forced */
}

.tour-modal__subtitle {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-bottom: 15px;
}

.tour-modal__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFB800;
  /* Gold stars */
  font-weight: 600;
  margin-bottom: 15px;
}

.tour-modal__rating span {
  color: var(--gray-500);
  font-weight: 400;
  font-size: 0.9rem;
}

.tour-modal__desc {
  font-size: 0.95rem;
  color: var(--dark-soft);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Features Grid */
.tour-modal__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.tour-modal__feature {
  background: #F5F7FA;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Price Row */
.tour-modal__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid #eee;
  margin-top: auto;
  /* Push to bottom */
}

.tour-modal__price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
}

.tour-modal__price span {
  /* Ensures currency symbol matches text */
}

/* Form Styles Override for Modal */
.tour-modal .form-group {
  margin-bottom: 15px;
}

.tour-modal .form-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--dark);
  font-size: 0.9rem;
}

.tour-modal .form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.tour-modal .form-input:focus {
  border-color: var(--primary);
  outline: none;
}


/* ========== TESTIMONIALS ========== */
.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card__quote {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-xl);
  font-size: 4rem;
  color: var(--mint);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card__text {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  color: var(--dark-soft);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card__name {
  font-weight: 600;
  color: var(--dark);
}

.testimonial-card__role {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ========== CTA SECTION ========== */
.cta-section {
  position: relative;
  padding: var(--space-4xl) 0;
  background: var(--gradient-primary);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -25%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-section__content {
  text-align: center;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.cta-section__title {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta-section__text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn--ghost {
  background: var(--white);
  color: var(--primary);
}

.cta-section .btn--ghost:hover {
  background: var(--off-white);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

@media (max-width: 992px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer__logo img {
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.footer__logo span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.footer__desc {
  color: var(--gray-400);
  font-size: 0.9375rem;
  margin-bottom: var(--space-lg);
}

.footer__socials {
  display: flex;
  gap: var(--space-sm);
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.footer__social:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  color: var(--white);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  color: var(--gray-400);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--primary-light);
}

.footer__bottom {
  padding-top: var(--space-md);
  /* Reduced from xl */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--gray-500);
  font-size: 0.875rem;
  padding-bottom: var(--space-md);
}

/* ========== PAGE BANNER ========== */
.page-banner {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
  overflow: hidden;
}

.page-banner__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 26, 46, 0.55) 0%, rgba(26, 26, 46, 0.8) 100%);
  z-index: 1;
}

.page-banner__content {
  text-align: center;
  color: var(--white);
  position: relative;
  z-index: 2;
}

.page-banner__title {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  text-shadow: 0 3px 30px rgba(0, 0, 0, 0.5);
  line-height: 1.15;
}

.page-banner__breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.page-banner__breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s;
}

.page-banner__breadcrumb a:hover {
  text-decoration: underline;
  color: #fff;
}

/* ========== FILTERS ========== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  /* Reduced from 2xl */
  position: relative;
  z-index: 10;
  /* Fix calendar overlap */
}

.filter-btn {
  padding: 14px 28px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--primary);
  background: linear-gradient(110deg, #1B7A4E 0%, #1B7A4E 25%, #00693e 50%, #1B7A4E 75%, #1B7A4E 100%);
  background-size: 200% 100%;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(27, 122, 78, 0.3);
  animation: btn-shimmer 2s linear infinite;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
}

.contact-item__icon {
  width: 56px;
  height: 56px;
  background: var(--mint);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-item__title {
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.contact-item__text {
  color: var(--gray-500);
}

.contact-form {
  background: var(--white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--primary);
}

.contact-form__header {
  margin-bottom: var(--space-xl);
}

.contact-form__header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.contact-form__header p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* ========== CONTACTS CTA ========== */
.contacts-cta {
  background: var(--white);
  padding: var(--space-3xl) 0 var(--space-2xl);
}

.contacts-cta__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 768px) {
  .contacts-cta__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

.contacts-cta__item {
  text-align: center;
  color: #fff;
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--gradient-primary);
  box-shadow: 0 6px 20px rgba(27, 122, 78, 0.25);
  transition: all 0.3s ease;
}

.contacts-cta__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(27, 122, 78, 0.35);
}

.contacts-cta__icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  color: #fff;
}

.contacts-cta__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: #fff;
}

.contacts-cta__text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

/* ========== CONTACT SOCIALS ========== */
.contact-socials {
  padding-top: var(--space-md);
  border-top: 1px solid var(--gray-100);
}

.contact-socials__links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
  flex-wrap: wrap;
}

.contact-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 180px;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.contact-social-btn--max {
  background: linear-gradient(135deg, #6C3CE1, #8B5CF6);
  color: #fff;
}

.contact-social-btn--max:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(108, 60, 225, 0.3);
}

.contact-social-btn--vk {
  background: linear-gradient(135deg, #0077FF, #0099FF);
  color: #fff;
}

.contact-social-btn--vk:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 119, 255, 0.3);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 122, 78, 0.1);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* ========== ABOUT ========== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
  }
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
  background: var(--mint);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-text h3 {
  margin-bottom: var(--space-md);
}

.about-text p {
  margin-bottom: var(--space-md);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-item__number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-display);
}

.stat-item__label {
  color: var(--gray-500);
  font-size: 0.9375rem;
}

/* ========== UTILITIES ========== */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

.mt-xl {
  margin-top: var(--space-xl);
}

/* ========== CUSTOM DATEPICKER ========== */
.datepicker-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.datepicker-calendar {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 1000;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  min-width: 320px;
  border: 1px solid var(--gray-100);
}

.datepicker-calendar.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.datepicker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--gray-100);
}

.datepicker-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--gray-500);
  transition: all var(--transition-fast);
  cursor: pointer;
  background: transparent;
  border: none;
}

.datepicker-nav:hover {
  background: var(--mint);
  color: var(--primary);
}

.datepicker-title {
  display: flex;
  gap: var(--space-sm);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--dark);
}

.datepicker-month {
  color: var(--primary);
}

.datepicker-weekdays {
  display: grid !important;
  grid-template-columns: repeat(7, 40px) !important;
  text-align: center;
  margin-bottom: var(--space-sm);
  width: 280px !important;
}

.datepicker-weekdays span,
.datepicker-weekdays>* {
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-400);
  padding: var(--space-sm);
  text-transform: uppercase;
  width: 40px !important;
  height: 32px !important;
}

.datepicker-days {
  display: grid !important;
  grid-template-columns: repeat(7, 40px) !important;
  gap: 4px;
  width: 280px !important;
}

.datepicker-day,
.datepicker-days span,
.datepicker-days>* {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--dark);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.datepicker-day:hover:not(.disabled):not(.other-month) {
  background: var(--mint);
  color: var(--primary);
}

.datepicker-day.today {
  border: 2px solid var(--primary);
  font-weight: 700;
}

.datepicker-day.selected {
  background: var(--gradient-primary);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(27, 122, 78, 0.3);
}

.datepicker-day.selected:hover {
  color: var(--white);
}

.datepicker-day.disabled {
  color: var(--gray-300);
  cursor: not-allowed;
}

.datepicker-day.other-month {
  color: var(--gray-300);
  cursor: default;
}

.datepicker-footer {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--gray-100);
  text-align: center;
}

.datepicker-today {
  background: transparent;
  border: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.datepicker-today:hover {
  background: var(--mint);
}

/* ========== IMPROVED SECTION DESC ========== */
.section__desc {
  font-size: 1.1875rem;
  color: var(--gray-500);
  line-height: 1.75;
}

/* ========== DESTINATION DETAIL PAGE ========== */
.destination-detail {
  padding-top: 80px;
}

.destination-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.destination-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.destination-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 30%, rgba(26, 26, 46, 0.85) 100%);
}

.destination-hero__content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: var(--space-3xl);
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.destination-hero__tag {
  display: inline-block;
  background: var(--primary);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.destination-hero__title {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: var(--space-md);
}

.destination-hero__meta {
  display: flex;
  gap: var(--space-xl);
  font-size: 1.125rem;
}

.destination-hero__meta span {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Destination Info Grid */
.destination-info {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-3xl);
  padding: var(--space-3xl) 0;
}

@media (max-width: 992px) {
  .destination-info {
    grid-template-columns: 1fr;
  }
}

.destination-info__main h3 {
  margin-bottom: var(--space-md);
  margin-top: var(--space-xl);
}

.destination-info__main h3:first-child {
  margin-top: 0;
}

.destination-info__main p {
  margin-bottom: var(--space-md);
}

.destination-info__main ul {
  list-style: none;
  padding: 0;
}

.destination-info__main ul li {
  padding: var(--space-sm) 0;
  padding-left: 2rem;
  position: relative;
  font-size: 1.0625rem;
  color: var(--dark);
}

.destination-info__main ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Booking Card */
.booking-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
  height: fit-content;
}

.booking-card__price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.booking-card__price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray-500);
}

.booking-card__info {
  margin: var(--space-xl) 0;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.booking-card__info-item {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  font-size: 1rem;
}

.booking-card__info-item span:first-child {
  color: var(--gray-500);
}

.booking-card__info-item span:last-child {
  font-weight: 600;
}

.booking-card .btn {
  width: 100%;
  margin-bottom: var(--space-md);
}

.booking-card__note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform var(--transition-base);
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--primary);
  font-weight: 600;
  margin-bottom: var(--space-xl);
  transition: all var(--transition-fast);
}

.back-link:hover {
  gap: var(--space-md);
}


.mb-xl {
  margin-bottom: var(--space-xl);
}

/* Leaf decorations */
.leaf-decoration {
  position: absolute;
  opacity: 0.1;
  z-index: -1;
}

/* ========================================= */
/* TOUR DETAIL MODAL — Premium Redesign      */
/* ========================================= */

/* Overlay */
.modal {
  display: flex !important;
  /* Force flex for centering, controlled by opacity/visibility */
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 20, 30, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  align-items: center;
  justify-content: center;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Card */
.tour-modal {
  background: #ffffff;
  width: 90%;
  max-width: 500px;
  border-radius: 24px;
  overflow: hidden;
  /* Important for header image */
  position: relative;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal.active .tour-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Modal Header (Green Bar or Image) */
.tour-modal__header {
  background: linear-gradient(135deg, #0d3d23 0%, #145e3a 40%, #1B7A4E 100%);
  padding: 30px 40px;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.tour-modal__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.tour-modal__subtitle {
  font-size: 0.95rem;
  opacity: 1;
  color: #fff;
  margin-top: 5px;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Modal Body */
.tour-modal__body {
  padding: 30px 40px;
  overflow-y: auto;
}

/* Form Styles inside Modal */
.tour-modal .form-group {
  margin-bottom: 20px;
}

.tour-modal .form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 8px;
  margin-left: 4px;
}

.tour-modal .form-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  border: 2px solid #e1e4e8;
  border-radius: 12px;
  transition: all 0.2s ease;
  background: #f9fafb;
}

.tour-modal .form-input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(27, 122, 78, 0.1);
  outline: none;
}

.tour-modal .form-input::placeholder {
  color: #adb5bd;
}

/* Submit Button */
.tour-modal .btn--submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  background: linear-gradient(110deg, #1B7A4E 0%, #1B7A4E 25%, #00693e 50%, #1B7A4E 75%, #1B7A4E 100%);
  background-size: 200% 100%;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 10px;
  box-shadow: 0 4px 12px rgba(27, 122, 78, 0.2);
  animation: btn-shimmer 2s linear infinite;
}

.tour-modal .btn--submit:hover {
  background: linear-gradient(110deg, #156B43 0%, #156B43 25%, #005432 50%, #156B43 75%, #156B43 100%);
  background-size: 200% 100%;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27, 122, 78, 0.3);
  animation: btn-shimmer 2s linear infinite;
}

/* Close Button */
.tour-modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1.2rem;
  line-height: 1;
}

.tour-modal__close:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(90deg);
}

/* Success Message */
.tour-modal__success {
  text-align: center;
  padding: 40px 20px;
  display: none;
}

.tour-modal__success-icon {
  width: 60px;
  height: 60px;
  background: #d1fae5;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.tour-modal__success-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.tour-modal__success-text {
  color: var(--gray-500);
  margin-bottom: 20px;
}

bottom: 12px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 6px;
z-index: 2;
pointer-events: none;
}

.tour-gallery-dot {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: all 0.2s;
}

.tour-gallery-dot.active {
  background: #fff;
  transform: scale(1.2);
}

/* Close Button */
.tour-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: #fff;
  transition: all 0.25s ease;
  padding: 0;
}

.tour-modal__close:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(90deg) scale(1.1);
}

/* Hero Image Section */
.tour-modal__hero {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.tour-modal__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tour-modal:hover .tour-modal__image {
  transform: scale(1.05);
}

.tour-modal__hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      transparent 100%);
  pointer-events: none;
}

.tour-modal__hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 28px;
  z-index: 2;
}

/* Tag / Subtitle badge */
.tour-modal__tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), #34d399);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}

.tour-modal__title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  margin: 0;
}

/* Body Content */
.tour-modal__body {
  padding: 28px 28px 32px;
}

/* Price Row */
.tour-modal__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f0f0f0;
}

.tour-modal__price {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.5px;
}

.tour-modal__rating {
  font-size: 16px;
  color: #f59e0b;
  letter-spacing: 2px;
}

/* Description */
.tour-modal__desc {
  font-size: 15px;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 22px;
  font-family: 'Inter', sans-serif;
}

/* Feature Pills */
.tour-modal__features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  list-style: none;
  padding: 0;
}

.tour-modal__feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  color: #16a34a;
  border: 1px solid #bbf7d0;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
}

.tour-modal__feature:hover {
  background: linear-gradient(135deg, #dcfce7, #d1fae5);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(22, 163, 74, 0.15);
}

.tour-modal__feature::before {
  content: '✓';
  font-weight: 700;
  font-size: 12px;
}

/* Actions */
.tour-modal__actions {
  padding-top: 4px;
}

.tour-modal__book-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(110deg, #1B7A4E 0%, #1B7A4E 25%, #00693e 50%, #1B7A4E 75%, #1B7A4E 100%);
  background-size: 200% 100%;
  animation: btn-shimmer 2s linear infinite;
  position: relative;
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(27, 122, 78, 0.3);
  letter-spacing: 0.3px;
}

.tour-modal__book-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(27, 122, 78, 0.45);
  background: linear-gradient(110deg, #156B43 0%, #156B43 25%, #005432 50%, #156B43 75%, #156B43 100%);
  background-size: 200% 100%;
  animation: btn-shimmer 2s linear infinite;
}

.tour-modal__book-btn:active {
  transform: translateY(0);
}

.tour-modal__book-btn svg {
  transition: transform 0.3s ease;
}

.tour-modal__book-btn:hover svg {
  transform: translateX(4px);
}

/* Responsive */
@media (min-width: 768px) {
  .tour-modal__hero {
    height: 300px;
  }

  .tour-modal__title {
    font-size: 32px;
  }

  .tour-modal__body {
    padding: 32px 32px 36px;
  }
}

@media (max-width: 480px) {
  .tour-modal {
    width: 95%;
    border-radius: 22px;
  }

  .tour-modal__hero {
    height: 220px;
  }

  .tour-modal__title {
    font-size: 24px;
  }

  .tour-modal__body {
    padding: 22px 22px 26px;
  }

  .tour-modal__price {
    font-size: 22px;
  }
}


/* REMOVED CONFLICTING STYLES and RESCUE FIXES */


/* ========================================= */
/* MOBILE STABILITY & SUGGESTIONS FIXES      */
/* ========================================= */

/* Prevent Hero jump when keyboard opens on mobile */
.hero {
  min-height: 100vh;
  /* Fallback */
  min-height: 100dvh;
  /* Modern mobile browsers */
  transition: min-height 0.3s ease;
  /* Smooth resize if it happens */
}

/* Ensure Search Box doesn't jump too aggressively */
@media (max-width: 768px) {
  .hero {
    align-items: flex-start;
    /* Align top to prevent center-jump */
    padding-top: 120px;
    /* Give space from header */
    height: auto !important;
    /* Allow growing */
    min-height: 800px !important;
    /* Enforce minimum height */
  }

  .hero__content {
    margin-top: 0 !important;
  }
}

/* Suggestions List: Robust Styling */
/* Suggestions & Tourists Dropdown — Green Themed */
.suggestions-list,
.tourists-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #1B7A4E 0%, #2ECC71 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(27, 122, 78, 0.25);
  z-index: 2005;
  max-height: 320px;
  overflow-y: auto;
  margin-top: 12px;
  padding: 0;
  list-style: none;
  /* Transition instead of display toggle */
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.suggestions-list.active,
.tourists-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
  pointer-events: auto;
}

.suggestions-list li {
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 15px;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.suggestions-list li:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.suggestions-list li:last-child {
  border-bottom: none;
}

/* ========================================= */
/* ANIMATIONS & KEYFRAMES                    */
/* ========================================= */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================= */
/* GREEN THEME for dropdowns                 */
/* ========================================= */

.tourists-dropdown {
  padding: 24px;
  min-width: 320px;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .tourists-dropdown {
    min-width: 100%;
    width: 100%;
  }
}

.suggestions-list {
  padding: 0;
}

/* Text Colors for Green Background */
.tourists-dropdown .tourist-row span {
  color: #FFFFFF !important;
  font-weight: 600;
}

.tourists-dropdown .tourist-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.tourists-dropdown .tourist-row:last-child {
  border-bottom: none !important;
}

.tourists-dropdown .counter-controls {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
}

.tourists-dropdown #adultCount,
.tourists-dropdown #childCount {
  font-size: 18px !important;
  font-weight: 700 !important;
  min-width: 20px !important;
  text-align: center !important;
  color: #FFFFFF !important;
}

/* Circular Counter Buttons */
.tourists-dropdown .counter-btn {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  color: #1B7A4E !important;
  font-weight: bold !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
}

.tourists-dropdown .counter-btn:hover {
  transform: scale(1.1);
  background: #f0f0f0 !important;
}

/* Suggestions Items */
.suggestions-list li {
  color: #FFFFFF !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.suggestions-list li:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
}

/* Baggage Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.2);
  /* Semi-transparent dark on green */
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
}

input:checked+.slider {
  background-color: #fff;
  /* White track when active */
}

input:checked+.slider:before {
  transform: translateX(24px);
  background-color: #1B7A4E;
  /* Green knob when active */
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}


/* On mobile/tablet, full width dropdowns */
@media (max-width: 992px) {
  .tourists-dropdown {
    left: 0;
    right: 0;
    width: 100%;
    min-width: 0;
  }
}


/* Datepicker Fixes */
.datepicker-container,
.datepicker-panel {
  z-index: 2100 !important;
}

/* ========================================= */
/* BOOKING MODAL                              */
/* ========================================= */
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 10001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.booking-modal-content {
  background: #fff;
  width: 90%;
  max-width: 420px;
  border-radius: 24px;
  padding: 40px 32px 32px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .booking-modal-content {
  transform: translateY(0) scale(1);
}

.booking-modal-content .modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  color: #666;
  transition: all 0.2s;
  line-height: 1;
  z-index: 10;
  box-shadow: none;
}

.booking-modal-content .modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: scale(1.1);
}

.booking-modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.booking-modal-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.booking-modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.booking-modal-subtitle {
  font-size: 0.9375rem;
  color: var(--gray-500);
  font-family: 'Inter', sans-serif;
}

.booking-form .form-group {
  margin-bottom: 16px;
}

.booking-form .form-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-100);
  border-radius: 14px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: #FAFAFA;
  transition: all 0.25s ease;
  outline: none;
  box-sizing: border-box;
}

.booking-form .form-input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(27, 122, 78, 0.1);
}

.booking-form .form-input::placeholder {
  color: var(--gray-400);
}

.btn--full {
  width: 100%;
  text-align: center;
  margin-top: 8px;
  padding: 16px;
  font-size: 1.0625rem;
  border-radius: 14px;
}

.form-consent {
  margin-bottom: 12px !important;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--gray-500);
  cursor: pointer;
}

.consent-label input[type="checkbox"] {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.consent-label a {
  color: var(--primary);
  text-decoration: underline;
}

.consent-label a:hover {
  color: var(--primary-dark);
}

/* ========== МОБИЛЬНАЯ АДАПТАЦИЯ — РАВНОМЕРНЫЕ ОТСТУПЫ ========== */
@media (max-width: 768px) {

  /* --- Контейнер --- */
  .container {
    padding: 0 16px;
  }

  /* --- Секции: уменьшаем громадные отступы --- */
  .section {
    padding: var(--space-2xl) 0;
    /* 3rem вместо 6rem */
  }

  .section__header {
    margin: 0 auto var(--space-xl);
    /* 2rem вместо 4rem */
  }

  .section__title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
  }

  .section__desc {
    font-size: 1rem;
    line-height: 1.6;
  }

  .section__subtitle {
    font-size: 0.8125rem;
    margin-bottom: var(--space-sm);
  }

  /* --- Гриды: 1 колонка на мобилке --- */
  .destinations-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .tours-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .testimonials-slider {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* --- Карточки направлений v2 handled in main styles --- */

  /* --- Карточки туров: равномерные отступы --- */
  .tour-card {
    border-radius: var(--radius-md);
  }

  .tour-card__image {
    aspect-ratio: 16/9;
  }

  .tour-card__content {
    padding: 16px 16px 12px;
  }

  .tour-card__title {
    font-size: 1.125rem;
    margin-bottom: 6px;
  }

  .tour-card__desc {
    font-size: 0.875rem;
    margin-bottom: 12px;
    line-height: 1.5;
  }

  .tour-card__meta {
    padding-top: 12px;
    gap: var(--space-md);
  }

  .tour-card__meta-item {
    font-size: 0.8125rem;
  }

  .tour-card__footer {
    padding: 12px 16px;
  }

  .tour-card__price {
    font-size: 1.25rem;
  }

  .tour-card__price span {
    font-size: 0.8125rem;
  }

  .tour-card__footer .btn {
    padding: 10px 20px;
    font-size: 0.9375rem;
  }

  /* --- Benefit карточки --- */
  .benefit-card {
    padding: var(--space-lg);
  }

  /* --- CTA секция --- */
  .cta-section {
    padding: var(--space-2xl) 0;
  }

  .cta-section__title {
    font-size: 1.5rem;
  }

  .cta-section__text {
    font-size: 0.9375rem;
  }

  /* --- Hero секция --- */
  .hero {
    min-height: 70vh;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  /* --- Форма поиска --- */
  .search-box {
    margin-top: var(--space-md);
    border-radius: var(--radius-lg);
  }

  .search-box__inner {
    padding: var(--space-lg) !important;
  }

  /* --- Футер --- */
  .footer {
    padding: var(--space-2xl) 0 var(--space-lg);
  }

  .footer__grid {
    gap: var(--space-xl);
  }

  /* --- Общие типографские поправки --- */
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  /* --- Кнопки --- */
  .btn {
    padding: 12px 24px;
    font-size: 0.9375rem;
  }

  /* --- Карусель отзывов --- */
  .testimonial-card {
    padding: var(--space-lg);
  }
}

/* ========================================= */
/* DATE FILTER STYLES                        */
/* ========================================= */

.filter-date-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.date-input-container {
  display: flex;
  align-items: center;
}

.filter-date-input {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #ffffff;
  color: #333333;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  outline: none;
  font-family: inherit;
  /* Remove default appearance */
  appearance: none;
  -webkit-appearance: none;
  min-width: 160px;
  text-align: center;
}

.filter-date-input:focus,
.filter-date-input:hover {
  border-color: #1b7a4e;
  /* Primary Green */
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05), 0 4px 15px rgba(27, 122, 78, 0.15);
  transform: translateY(-2px);
}

/* Custom Calendar Icon styling */
.filter-date-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
  padding: 5px;
  width: 20px;
  height: 20px;
}

/* ========== TOUR GALLERY (MODAL) ========== */
.tour-modal__hero {
  position: relative;
  height: 300px;
  /* Increased height for gallery */
  width: 100%;
  background: #000;
}

.gallery-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease-out;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  cursor: zoom-in;
  /* Indicate clickable */
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
  z-index: 10;
}

.gallery-nav:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
  left: 15px;
}

.gallery-next {
  right: 15px;
}

.gallery-counter {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  backdrop-filter: blur(4px);
}

/* ========== LIGHTBOX (FULLSCREEN) ========== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 20000;
  /* Highest z-index */
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: transparent;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 20001;
  transition: transform 0.2s;
}

.lightbox-close:hover {
  transform: scale(1.1) rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 60px;
  cursor: pointer;
  z-index: 20001;
  transition: color 0.2s;
  padding: 20px;
}

.lightbox-nav:hover {
  color: white;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

.filter-date-input:hover::-webkit-calendar-picker-indicator {
  opacity: 1;
}
/* Beautiful City Selector */
.city-selector-container {
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 100;
}

.city-selector {
    position: relative;
    font-family: inherit;
}

.city-selector__selected {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid #e0e4e8;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.city-selector__selected:hover {
    border-color: #2a815a;
    box-shadow: 0 6px 12px rgba(42, 129, 90, 0.1);
    transform: translateY(-1px);
}

.city-selector.is-active .city-selector__selected {
    border-color: #2a815a;
    background: #f8faf9;
    border-radius: 20px 20px 0 0;
}

.city-selector__icon {
    font-size: 1.2rem;
}

.city-selector__name {
    flex: 1;
    font-weight: 600;
    color: #2c3e50;
}

.city-selector__arrow {
    font-size: 0.8rem;
    color: #95a5a6;
    transition: transform 0.3s ease;
}

.city-selector.is-active .city-selector__arrow {
    transform: rotate(180deg);
}

.city-selector__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1B7A4E 0%, #2ECC71 100%);
    border: none;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 20px 50px rgba(27, 122, 78, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 300;
    overflow: hidden;
}

.city-selector.is-active .city-selector__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.city-selector__search-wrapper {
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.city-selector__search {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 0.9rem;
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.city-selector__search::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.city-selector__search:focus {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.2);
}

.city-selector__list {
    max-height: 250px;
    overflow-y: auto;
    padding: 10px 0;
}

.city-selector__list::-webkit-scrollbar {
    width: 6px;
}

.city-selector__list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.city-selector__list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
}

.city-item {
    padding: 10px 20px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #FFFFFF;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.city-item:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding-left: 25px;
}

.city-item.is-active {
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    font-weight: 700;
}

.city-item.is-active::after {
    content: "✓";
    font-size: 0.8rem;
    color: #FFFFFF;
}

/* Compact filter pills inside search panel */
.tours-search-panel .filter-btn {
    padding: 9px 18px;
    font-size: 0.84rem;
    border-radius: 20px;
    border: 1.5px solid #d4e8dc;
    background: #f0f8f4;
    color: #2c6e4f;
    font-weight: 600;
    transition: all 0.2s ease;
}

.tours-search-panel .filter-btn:hover {
    background: #e0f2e8;
    border-color: #2a815a;
    box-shadow: 0 2px 8px rgba(27, 122, 78, 0.15);
    transform: translateY(-1px);
}

.tours-search-panel .filter-btn.active {
    background: linear-gradient(135deg, #1B7A4E 0%, #2ECC71 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgba(27, 122, 78, 0.3);
    transform: translateY(-1px);
}

.tours-search-panel .filter-scroll-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tours-search-panel .tours-search-panel__filter-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #7f9c8e;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding-left: 10px;
    border-left: 3px solid #2a815a;
    min-width: 105px;
    line-height: 1.6;
}

/* ========== TOURS SEARCH PANEL (Premium Card) ========== */
.tours-search-panel {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 28px 32px 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 32px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.tours-search-panel__row {
    margin-bottom: 20px;
}

.tours-search-panel__selectors {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    align-items: end;
}

.tours-search-panel__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

/* Z-index hierarchy: city > tourists > date to prevent overlap */
.tours-search-panel__selectors > .tours-search-panel__field:nth-child(1) { z-index: 3; }
.tours-search-panel__selectors > .tours-search-panel__field:nth-child(2) { z-index: 2; }
.tours-search-panel__selectors > .tours-search-panel__field:nth-child(3) { z-index: 1; }

.tours-search-panel__label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Override city-selector and tourists-selector within the panel */
.tours-search-panel .city-selector__selected,
.tours-search-panel .tourists-selector__selected {
    background: #fff;
    border: 2px solid #e8ece9;
    border-radius: 14px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-shadow: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2c3e50;
}

.tours-search-panel .city-selector__selected:hover,
.tours-search-panel .tourists-selector__selected:hover {
    border-color: #2a815a;
}

.tours-search-panel .city-selector__arrow,
.tours-search-panel .tourists-selector__arrow {
    font-size: 0.65rem;
    color: #95a5a6;
}

.tours-search-panel__input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8ece9;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2c3e50;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.tours-search-panel__input:hover,
.tours-search-panel__input:focus {
    border-color: #2a815a;
}

/* Filter pills area */
.tours-search-panel__filters {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid #f0f2f4;
    overflow: visible;
}

.tours-search-panel__filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 2px 0;
}

.tours-search-panel__filter-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    min-width: 100px;
}

/* Override city-selector width within panel */
.tours-search-panel .city-selector-container {
    margin-bottom: 0;
}

.tours-search-panel .city-selector {
    width: 100%;
}

.tours-search-panel .tourists-selector-container {
    max-width: none;
}

.tours-search-panel .tourists-selector {
    width: 100%;
}

/* Responsive */
@media (max-width: 900px) {
    .tours-search-panel__selectors {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .tours-search-panel__selectors > :last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .tours-search-panel {
        padding: 20px 16px;
        border-radius: 18px;
    }
    .tours-search-panel__selectors {
        grid-template-columns: 1fr;
    }
    .tours-search-panel__filter-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
/* Tourists Selector */
.tourists-selector-container {
    width: 100%;
    max-width: 300px;
    position: relative;
    z-index: 90;
}

.tourists-selector {
    position: relative;
}

.tourists-selector__selected {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #e0e4e8;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.tourists-selector__selected:hover {
    border-color: #2a815a;
    box-shadow: 0 6px 12px rgba(42, 129, 90, 0.1);
}

.tourists-dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    min-width: 280px;
    background: linear-gradient(135deg, #1B7A4E 0%, #2ECC71 100%);
    border: none;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(27, 122, 78, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2005;
}

.tourists-selector.is-active .tourists-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.tourists-dropdown__item {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.tourists-dropdown__item:last-of-type {
    border-bottom: none;
    margin-bottom: 10px;
}

.tourists-dropdown__info {
    display: flex;
    flex-direction: column;
}

.tourists-dropdown__title {
    font-weight: 600;
    color: #FFFFFF;
    font-size: 0.95rem;
}

.tourists-dropdown__subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.counter {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 8px;
    border-radius: 12px;
}

.counter__btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 50% !important;
    border: none !important;
    background: #FFFFFF !important;
    color: #1B7A4E !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0 !important;
}

.counter__btn:hover:not(:disabled) {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.counter__btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.counter__value {
    font-weight: 700 !important;
    min-width: 24px !important;
    text-align: center !important;
    color: #FFFFFF !important;
    font-size: 1.15rem !important;
    flex-shrink: 0 !important;
}

.tourists-dropdown__apply {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    backdrop-filter: blur(4px);
}

.tourists-dropdown__apply:hover {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Baggage Badge in Card */
.baggage-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #f1f8f5;
    color: #2a815a;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 5px;
}

/* Additional Price and Adults Info Styling */
.tour-card__price-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tour-card__adults-info {
    font-size: 0.75rem;
    color: #95a5a6;
    font-weight: 500;
}

/* ========== DEPARTURE CITY DROPDOWN (Index Hero) — Green Theme ========== */
.departure-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  min-width: 280px;
  background: linear-gradient(135deg, #1B7A4E 0%, #2ECC71 100%);
  border: none;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(27, 122, 78, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 200;
  max-height: 320px;
  display: flex;
  flex-direction: column;
}

.departure-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.departure-dropdown__search {
  padding: 12px 14px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.departure-dropdown__search-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.departure-dropdown__search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.departure-dropdown__search-input:focus {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.2);
}

.departure-dropdown__list {
  list-style: none;
  padding: 8px;
  margin: 0;
  overflow-y: auto;
  max-height: 240px;
  scrollbar-width: thin;
}

.departure-dropdown__list li {
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #FFFFFF;
  transition: all 0.15s ease;
}

.departure-dropdown__list li:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.departure-dropdown__list li.is-selected {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  font-weight: 600;
}

/* ========== MODAL TRIGGER BUTTONS ========== */
.modal-trigger-btn {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8ece9;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2c3e50;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.modal-trigger-btn:hover {
    border-color: #2a815a;
    box-shadow: 0 2px 10px rgba(27, 122, 78, 0.1);
}

.modal-trigger-btn__icon {
    font-size: 1.4rem;
    color: #95a5a6;
    font-weight: 300;
    transition: transform 0.2s;
}

.modal-trigger-btn:hover .modal-trigger-btn__icon {
    color: #2a815a;
    transform: translateX(3px);
}

.modal-trigger-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 12px;
    border: 1.5px solid #d4e8dc;
    background: #f0f8f4;
    color: #2c6e4f;
    font-weight: 600;
    font-size: 0.84rem;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.2;
}

.modal-trigger-pill:hover {
    background: #e0f2e8;
    border-color: #2a815a;
}

.modal-trigger-pill.has-selection {
    background: #1B7A4E;
    border-color: #1B7A4E;
    color: #fff;
}

.modal-trigger-pill__arrow {
    font-size: 0.9rem;
    font-weight: 400;
}

/* ========== FILTER MODAL OVERLAY ========== */
.filter-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.filter-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.filter-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
}

.filter-modal__card {
    position: relative;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s ease;
}

.filter-modal.is-open .filter-modal__card {
    transform: translateY(0) scale(1);
}

.filter-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    background: linear-gradient(135deg, #1B7A4E 0%, #2ECC71 100%);
    color: #fff;
}

.filter-modal__header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.filter-modal__close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-modal__close:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.1);
}

.filter-modal__search {
    padding: 16px 24px;
    border-bottom: 1px solid #f0f2f4;
}

.filter-modal__search input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8ece9;
    border-radius: 14px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.filter-modal__search input:focus {
    border-color: #2a815a;
}

.filter-modal__grid {
    padding: 16px 24px 24px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.filter-modal__grid::-webkit-scrollbar {
    width: 6px;
}

.filter-modal__grid::-webkit-scrollbar-thumb {
    background: #2a815a;
    border-radius: 10px;
}

.filter-modal__item {
    padding: 14px 16px;
    border: 2px solid #e8ece9;
    border-radius: 14px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2c3e50;
    background: #fff;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-modal__item:hover {
    border-color: #2a815a;
    background: #f0f8f4;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(27, 122, 78, 0.1);
}

.filter-modal__item.is-active {
    border-color: #1B7A4E;
    background: linear-gradient(135deg, #1B7A4E 0%, #2ECC71 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(27, 122, 78, 0.25);
}

.filter-modal__item.is-active::after {
    content: "✓";
    font-size: 0.85rem;
    font-weight: 700;
}

.filter-modal__item-count {
    font-size: 0.75rem;
    opacity: 0.6;
    margin-left: 6px;
}

.filter-modal__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px;
    color: #95a5a6;
    font-size: 0.95rem;
}

@media (max-width: 600px) {
    .filter-modal__card {
        width: 95%;
        max-height: 85vh;
        border-radius: 18px;
    }
    .filter-modal__grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
}
