/**
 * AItravel — кастомные стили
 * Tailwind — зібраний локально (css/tailwind.css), див. npm run build:css
 * Здесь: шрифты, анимации, премиальные детали.
 */

/* --- Шрифты (замените на свои при необходимости) --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Outfit:wght@300;400;500&display=swap');

:root {
  --color-bg: #0c0b0a;
  --color-bg-elevated: #141210;
  --color-surface: #1a1816;
  --color-border: rgba(255, 248, 240, 0.08);
  --color-text: #f5f0e8;
  --color-text-muted: rgba(245, 240, 232, 0.55);
  --color-accent: #c9a962;
  --color-accent-hover: #dfc07a;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --header-height: 5rem;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Базовые сбросы --- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  background-color: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

.font-display {
  font-family: var(--font-display);
}

/* --- Скроллбар (опционально) --- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(201, 169, 98, 0.35);
  border-radius: 3px;
}

/* --- Хедер: прозрачный → solid при скролле --- */
.site-header {
  transition:
    background-color 0.5s var(--ease-out-expo),
    backdrop-filter 0.5s var(--ease-out-expo),
    border-color 0.5s var(--ease-out-expo);
}

.site-header.is-scrolled {
  background-color: rgba(12, 11, 10, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
}

@media (min-width: 1024px) {
  .site-header__bar {
    grid-template-columns: auto 1fr auto;
  }
}

.site-header__logo {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
}

/* На планшеті/телефоні в шапці лише: лого + мова + меню */
@media (max-width: 1023px) {
  #site-header .header-cta,
  #site-header .header-back {
    display: none !important;
  }

  #site-header .site-header__bar {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  #site-header .site-header__logo {
    font-size: 1rem !important;
    letter-spacing: 0.05em !important;
  }

  #site-header .lang-switcher {
    padding: 0.125rem;
  }

  #site-header .lang-btn {
    min-width: 1.75rem;
    padding: 0.28rem 0.4rem;
    font-size: 0.5625rem;
    line-height: 1.2;
  }

  #mobile-menu-toggle {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  #mobile-menu-toggle svg {
    width: 1.375rem;
    height: 1.375rem;
  }
}

/* --- Hero: полноэкранный блок с оверлеем --- */
.hero-section {
  min-height: 100svh;
  min-height: 100vh;
}

.hero-media {
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(12, 11, 10, 0.35) 0%,
    rgba(12, 11, 10, 0.5) 40%,
    rgba(12, 11, 10, 0.85) 100%
  );
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1200ms ease-in-out;
  z-index: 1;
}

.hero-slide-bg--active {
  opacity: 1;
  z-index: 2;
}

.hero-dots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.hero-dot {
  width: 1rem;
  height: 0.375rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(245, 240, 232, 0.25);
  cursor: pointer;
  transition:
    width 500ms var(--ease-out-expo),
    background-color 300ms ease;
}

.hero-dot:hover:not(.hero-dot--active) {
  background: rgba(245, 240, 232, 0.5);
}

.hero-dot--active {
  width: 2.5rem;
  background: #c9a962;
}

.hero-counter {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.55);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

@keyframes hero-text-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text-fade {
  animation: hero-text-in 0.55s var(--ease-out-expo) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide-bg {
    transition: none;
  }

  .hero-text-fade {
    animation: none;
  }
}

/* --- Кнопки --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-bg);
  background-color: var(--color-accent);
  border: 1px solid var(--color-accent);
  transition:
    background-color 0.35s var(--ease-out-expo),
    border-color 0.35s var(--ease-out-expo),
    color 0.35s var(--ease-out-expo),
    transform 0.35s var(--ease-out-expo);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  background-color: transparent;
  border: 1px solid rgba(245, 240, 232, 0.35);
  transition:
    border-color 0.35s var(--ease-out-expo),
    color 0.35s var(--ease-out-expo),
    background-color 0.35s var(--ease-out-expo);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* --- Карточки направлений --- */
.destination-card {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition:
    border-color 0.5s var(--ease-out-expo),
    transform 0.6s var(--ease-out-expo);
}

.destination-card:hover {
  border-color: rgba(201, 169, 98, 0.25);
}

.destination-card__image-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.destination-card__image {
  transition: transform 1.2s var(--ease-out-expo);
}

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

.destination-card--coming-soon {
  opacity: 0.65;
  pointer-events: none;
}

.destination-card--coming-soon .destination-card__image-wrap {
  background: linear-gradient(135deg, #1a1816 0%, #252220 100%);
}

/* --- Теги --- */
.tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid rgba(201, 169, 98, 0.35);
  background: rgba(201, 169, 98, 0.06);
}

/* --- Блок «Что включено» — иконки --- */
.included-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-accent);
}

/* --- Форма --- */
.form-input,
.form-select {
  width: 100%;
  padding: 1rem 1.125rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  transition: border-color 0.3s ease;
}

.form-input::placeholder {
  color: var(--color-text-muted);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: rgba(201, 169, 98, 0.5);
}

textarea.form-input {
  min-height: 7rem;
  resize: vertical;
}

.form-select {
  appearance: none;
  color-scheme: dark;
  background-color: var(--color-surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c9a962' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-select option {
  color: var(--color-text);
  background-color: var(--color-surface);
}

.form-select:invalid,
.form-select option[value=''] {
  color: var(--color-text-muted);
}

.messenger-option input:checked + label {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(201, 169, 98, 0.08);
}

/* --- Выпадающее меню --- */
.nav-dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.35s var(--ease-out-expo),
    visibility 0.35s,
    transform 0.35s var(--ease-out-expo);
}

.nav-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* --- Мобильное меню --- */
.mobile-menu {
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.5s var(--ease-out-expo),
    visibility 0s linear 0.5s;
}

.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition:
    transform 0.5s var(--ease-out-expo),
    visibility 0s;
}

#mobile-menu-toggle {
  position: relative;
  z-index: 70;
  flex-shrink: 0;
}

#site-header {
  overflow: visible;
}

/* --- Анимации появления (reveal) --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease-out-expo),
    transform 0.9s var(--ease-out-expo);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Якщо JS-модулі не завантажились — не лишати порожню сторінку */
.reveal.is-visible,
.no-js .reveal {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.scroll-mt-28 {
  scroll-margin-top: 7rem;
}

/* --- Разделители секций --- */
.section-label {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* --- Hero: лёгкая анимация текста --- */
@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-animate {
  animation: hero-fade-up 1.2s var(--ease-out-expo) forwards;
}

.hero-animate-delay-1 { animation-delay: 0.15s; opacity: 0; }
.hero-animate-delay-2 { animation-delay: 0.3s; opacity: 0; }
.hero-animate-delay-3 { animation-delay: 0.45s; opacity: 0; }

/* --- Утилиты --- */
.text-muted {
  color: var(--color-text-muted);
}

.border-subtle {
  border-color: var(--color-border);
}

.bg-elevated {
  background-color: var(--color-bg-elevated);
}

.bg-surface {
  background-color: var(--color-surface);
}

/* --- Перемикач мови UA / EN --- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.03);
}

.lang-btn {
  min-width: 2.5rem;
  padding: 0.35rem 0.6rem;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}

.lang-btn:hover {
  color: var(--color-text);
}

.lang-btn--active {
  color: var(--color-bg);
  background-color: var(--color-accent);
}

.lang-btn--active:hover {
  color: var(--color-bg);
  background-color: var(--color-accent-hover);
}

/* --- Відгуки --- */
.reviews-grid {
  display: grid;
  gap: 1.5rem;
}

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

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: border-color 0.4s var(--ease-out-expo);
}

.review-card:hover {
  border-color: rgba(201, 169, 98, 0.22);
}

.review-card__headline {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--color-text);
}

.review-card__text {
  flex: 1;
  margin: 1rem 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  font-style: normal;
}

.review-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.review-card__name {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.link-instagram {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.link-instagram:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

.review-form-wrap {
  margin-top: 3rem;
  padding: 2rem 2rem 2.25rem;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Dropdown: поверх контенту */
#nav-destinations-dropdown {
  z-index: 100;
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  background: rgba(20, 18, 16, 0.97);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

.cookie-consent.hidden {
  display: none;
}

.cookie-consent__text {
  flex: 1 1 16rem;
  max-width: 42rem;
  margin: 0;
}

.cookie-consent__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Honeypot — приховане поле для ботів */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* --- Юридичні сторінки --- */
.legal-page {
  color: var(--color-text);
}

.legal-intro {
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-disclaimer {
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  border: 1px solid rgba(201, 169, 98, 0.25);
  background: rgba(201, 169, 98, 0.06);
}

.legal-prose h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.legal-prose p,
.legal-prose li {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.legal-prose ul {
  margin: 0.5rem 0 0 1.25rem;
  list-style: disc;
}

.legal-prose a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-prose a:hover {
  color: var(--color-accent-hover);
}

.legal-prose strong {
  color: var(--color-text);
  font-weight: 400;
}

/* --- Сторінка напрямку --- */
.dest-hero {
  overflow: hidden;
  position: relative;
  min-height: 70vh;
  min-height: 70svh;
  display: flex;
  align-items: flex-end;
}

.dest-hero > .relative,
.dest-hero .relative.z-10 {
  position: relative;
  z-index: 10;
  width: 100%;
}

/* Safari / Telegram: контент видно навіть без JS */
@media (hover: none) and (pointer: coarse) {
  body[data-destination] .reveal {
    opacity: 1;
    transform: none;
  }
}

.dest-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dest-safari-tabs__link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(245, 240, 232, 0.75);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.dest-safari-tabs__link:hover {
  color: var(--color-accent, #c9a962);
  border-color: rgba(201, 169, 98, 0.45);
}

.dest-safari-tabs__link--active {
  color: #0c0b0a;
  background-color: #c9a962;
  border-color: #c9a962;
}

.nav-dest-group + .nav-dest-link,
.nav-dest-group + .nav-dest-group {
  border-top: none;
}

/* Акордеон «Сафарі» в меню напрямків */
.nav-dest-accordion__chevron {
  /* w-3.5 не в tailwind.css — Safari/Telegram без цього розтягують SVG */
  width: 0.875rem;
  height: 0.875rem;
  min-width: 0.875rem;
  min-height: 0.875rem;
  max-width: 0.875rem;
  max-height: 0.875rem;
  flex-shrink: 0;
  display: block;
  transition: transform 0.2s var(--ease-out-expo);
}

.nav-destinations-dropdown .nav-dest-accordion__chevron,
#nav-destinations-list .nav-dest-accordion__chevron {
  width: 0.75rem;
  height: 0.75rem;
  min-width: 0.75rem;
  min-height: 0.75rem;
  max-width: 0.75rem;
  max-height: 0.75rem;
}

.nav-dest-accordion.is-open .nav-dest-accordion__chevron {
  transform: rotate(180deg);
}

.nav-dest-accordion__panel {
  display: none;
}

.nav-dest-accordion__panel[hidden] {
  display: none;
}

.nav-dest-accordion.is-open > .nav-dest-accordion__panel,
.nav-dest-accordion__panel.is-open {
  display: block;
}

/* Мобільний drawer: пункти як «Про нас» */
.mobile-menu__nav .mobile-nav-item {
  background: transparent;
  border: none;
  text-align: left;
  font: inherit;
  cursor: pointer;
  width: 100%;
}

/* Мобільне меню: <details> замість JS-акордеону (Safari / Telegram WebView) */
.mobile-menu__nav .nav-dest-details {
  width: 100%;
}

.mobile-menu__nav .nav-dest-details > summary {
  list-style: none;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.mobile-menu__nav .nav-dest-details > summary::-webkit-details-marker {
  display: none;
}

.mobile-menu__nav .nav-dest-details > summary::marker {
  content: '';
  display: none;
}

.mobile-menu__nav .nav-dest-details__summary {
  background: transparent;
  border: none;
  text-align: left;
  font: inherit;
  width: 100%;
  touch-action: manipulation;
}

.mobile-menu__nav .nav-dest-details[open] > summary .nav-dest-accordion__chevron {
  transform: rotate(180deg);
}

.mobile-menu__nav .nav-dest-details__content {
  display: block;
}

/* Підменю «Сафарі» (кнопка + панель, без вкладеного <details>) */
.mobile-menu__nav .nav-dest-safari-toggle {
  background: transparent;
  border: none;
  text-align: left;
  font: inherit;
  width: 100%;
  touch-action: manipulation;
  cursor: pointer;
}

.mobile-menu__nav .nav-dest-safari-block__links {
  display: block;
}

.mobile-menu__nav .nav-dest-safari-block__links[hidden] {
  display: none;
}

.mobile-menu__nav .nav-dest-safari-block__links.is-open {
  display: block !important;
}

.mobile-menu__nav .nav-dest-safari-toggle.is-open .nav-dest-accordion__chevron {
  transform: rotate(180deg);
}

.nav-dest-accordion--root.is-open > .nav-dest-accordion__trigger .nav-dest-accordion__chevron,
.nav-dest-accordion--safari.is-open > .nav-dest-accordion__trigger .nav-dest-accordion__chevron {
  transform: rotate(180deg);
}

@media (max-width: 1023px) {
  .mobile-menu__nav .nav-dest-accordion__trigger {
    touch-action: manipulation;
  }

  .nav-dest-accordion.is-open > .nav-dest-accordion__panel--root,
  .nav-dest-accordion.is-open > .nav-dest-accordion__panel--safari,
  .nav-dest-accordion__panel--root.is-open,
  .nav-dest-accordion__panel--safari.is-open {
    display: block !important;
  }
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .nav-dest-accordion:hover .nav-dest-accordion__panel,
  .nav-dest-accordion.is-open .nav-dest-accordion__panel {
    display: block !important;
  }
}

.dest-highlights-grid {
  display: grid;
  gap: 1.25rem;
}

/* ——— Interactive highlights ——— */
#highlights {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  #highlights {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

#highlights .text-center.max-w-2xl {
  margin-bottom: 1.25rem !important;
}

#highlights h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem) !important;
}

#highlights .section-label {
  margin-bottom: 0.5rem;
}

#highlights .text-center.mt-14 {
  display: none;
}

.dest-highlights-panel {
  display: grid;
  gap: 2rem;
  align-items: start;
  max-width: 52rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .dest-highlights-panel {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 2rem 2.5rem;
  }

  .dest-highlights-panel__visual {
    order: 1;
  }

  .dest-highlights-panel__text {
    order: 2;
  }
}

@media (min-width: 1024px) {
  .dest-highlights-panel {
    gap: 2.5rem 3rem;
  }
}

.dest-highlights-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.dest-highlights-item {
  margin: 0;
}

.dest-hi-link {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-text);
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.dest-hi-link:hover,
.dest-hi-link:focus-visible,
.dest-hi-link.is-active {
  background: rgba(201, 169, 98, 0.12);
  border-color: rgba(201, 169, 98, 0.4);
  color: var(--color-accent);
  outline: none;
}

.dest-highlights-panel__visual {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  width: 100%;
  max-width: 17.5rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .dest-highlights-panel__visual {
    max-width: 19rem;
    margin: 0;
    justify-self: start;
  }
}

.dest-highlights-visual__frame {
  margin: 0;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  overflow: hidden;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.dest-highlights-panel__visual.is-lit .dest-highlights-visual__frame {
  border-color: rgba(201, 169, 98, 0.45);
  box-shadow:
    0 0 0 1px rgba(201, 169, 98, 0.12),
    0 12px 32px rgba(0, 0, 0, 0.18);
}

.dest-highlights-visual__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: 11.5rem;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease;
}

.dest-highlights-visual__meta {
  padding: 0.75rem 0.9rem 0.85rem;
  border-top: 1px solid rgba(201, 169, 98, 0.15);
}

.dest-highlights-visual__caption {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 0.35rem;
  color: var(--color-text);
}

.dest-highlights-visual__detail {
  font-size: 0.8125rem;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 767px) {
  .dest-highlights-panel {
    grid-template-columns: 1fr;
    max-width: 24rem;
  }

  .dest-highlights-panel__visual {
    position: static;
    order: -1;
    max-width: 100%;
  }
}

/* legacy unused */
.dest-highlights-item__title,
.dest-highlights-item__desc,
.dest-highlights-item__spots,
.dest-spot-wrap,
.dest-spot-link,
.dest-spot-tip,
.dest-spot-sep,
.dest-spot-info,
.dest-highlights-hint,
.dest-highlights-item__num,
.dest-highlights-item__theme,
.dest-highlights-visual__badge {
  display: none !important;
}

@media (min-width: 640px) {
  .dest-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .dest-highlights-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.dest-highlight {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition:
    border-color 0.4s ease,
    transform 0.4s var(--ease-out-expo);
}

.dest-highlight:hover {
  border-color: rgba(201, 169, 98, 0.3);
  transform: translateY(-2px);
}

.dest-highlight__img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-bg-elevated);
}

.dest-highlight__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out-expo);
}

.dest-highlight:hover .dest-highlight__img {
  transform: scale(1.06);
}

.dest-highlight__body {
  padding: 1.5rem 1.25rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dest-highlight__num {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.dest-highlight__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.dest-highlight__desc {
  font-size: 0.875rem;
  line-height: 1.6;
}

.dest-city {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .dest-city {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .dest-city--reverse .dest-city__image-wrap {
    order: 2;
  }
}

.dest-city__image-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.dest-city__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out-expo);
}

.dest-city:hover .dest-city__image {
  transform: scale(1.04);
}

.dest-city__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dest-city__list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.65rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.dest-city__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

.dest-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dest-check-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
  color: var(--color-text);
}

.dest-check-list--muted li {
  color: var(--color-text-muted);
}

.dest-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 0.75rem 1rem;
  background: rgba(12, 11, 10, 0.96);
  border-top: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
}

.dest-sticky-cta .btn-primary {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 2.75rem;
}

.mobile-menu__panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  padding-top: max(1rem, env(safe-area-inset-top));
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
}

.mobile-menu__nav {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-right: 0.25rem;
}

/* --- Мобільна адаптація --- */
@media (max-width: 639px) {
  :root {
    --header-height: 4rem;
  }

  html {
    overflow-x: clip;
  }

  body {
    overflow-x: clip;
  }

  .dest-hero > img,
  .dest-highlight__img,
  .dest-city__image,
  .destination-card__image,
  .hero-media {
    max-width: none;
  }

  .max-w-7xl.mx-auto,
  .max-w-3xl.mx-auto,
  .max-w-xl.mx-auto {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-section {
    padding-bottom: 4.5rem;
  }

  .hero-section h1 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    line-height: 1.15;
  }

  .hero-section .btn-primary {
    width: 100%;
    max-width: 100%;
  }

  .destination-card h3 {
    font-size: 1.65rem;
    line-height: 1.2;
  }

  .destination-card .p-6 {
    padding: 1.25rem;
  }

  #included-grid {
    gap: 2rem;
  }

  .review-card {
    padding: 1.25rem;
  }

  .review-card__text,
  .review-card__headline,
  .link-instagram {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .review-form-wrap {
    margin-top: 2rem;
    padding: 1.5rem 1.25rem;
  }

  .cookie-consent {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .cookie-consent__text {
    flex: 1 1 auto;
    max-width: none;
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  .cookie-consent__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .cookie-consent__actions .btn-primary {
    width: 100%;
  }

  .form-input,
  .form-select {
    font-size: 16px;
  }

  .mobile-menu__panel {
    width: min(100%, 20rem);
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .dest-safari-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 1rem;
    padding-bottom: 0.35rem;
  }

  .dest-safari-tabs::-webkit-scrollbar {
    display: none;
  }

  .dest-safari-tabs__link {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .reviews-hero .btn-primary {
    width: 100%;
    max-width: 100%;
  }

  .dest-hero h1 {
    font-size: clamp(2rem, 9vw, 2.75rem);
    line-height: 1.1;
  }

  .dest-hero .btn-primary,
  .dest-hero .btn-outline {
    width: 100%;
    max-width: 100%;
  }

  .dest-hero .flex.flex-wrap.gap-4 {
    flex-direction: column;
  }

  body[data-destination] {
    padding-bottom: 5.5rem;
  }

  body[data-destination] footer {
    padding-bottom: 1rem;
  }

  #reviews-teaser .btn-primary,
  #reviews-teaser .btn-outline {
    width: 100%;
    max-width: 100%;
  }
}

@media (min-width: 1024px) {
  body[data-destination] {
    padding-bottom: 0;
  }
}
