:root {
  color-scheme: light;
  --ink: #102033;
  --muted: #607083;
  --paper: #fffaf4;
  --white: #ffffff;
  --coral: #ff5a45;
  --coral-dark: #dd3427;
  --aqua: #00a6bf;
  --pine: #0d766c;
  --gold: #ffc857;
  --shadow: 0 26px 80px rgba(17, 35, 58, 0.18);
  --soft-shadow: 0 16px 44px rgba(17, 35, 58, 0.12);
  --font-ui: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(42, 157, 143, 0.14), transparent 30rem),
    radial-gradient(circle at 88% 36%, rgba(0, 166, 191, 0.08), transparent 28rem),
    linear-gradient(180deg, #fbfdff 0%, #eef8f8 46%, #f9fbff 100%);
  font-family: var(--font-ui);
  overflow-x: hidden;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  filter: blur(3rem);
  opacity: 0.24;
  pointer-events: none;
  animation: drift 10s ease-in-out infinite alternate;
}

.ambient-one {
  top: 8rem;
  left: -8rem;
  background: var(--aqua);
}

.ambient-two {
  right: -9rem;
  bottom: 18rem;
  background: #b7e7ee;
  opacity: 0.13;
  animation-delay: -3s;
}

.hero-preloader {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 31, 52, 0.96), rgba(10, 126, 132, 0.88)),
    url("assets/optimized/montenegro-hero.jpg") center/cover;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.hero-preloader::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.18), transparent 36%);
  content: "";
}

.hero-preloader.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

html.suppress-hero-preloader .hero-preloader {
  display: none;
}

.hero-preloader-mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: 5.2rem;
  height: 5.2rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: var(--white);
  background: rgba(0, 128, 112, 0.62);
  box-shadow: 0 1.4rem 4rem rgba(0, 0, 0, 0.22);
  font-size: 2rem;
  font-weight: 900;
}

.hero-preloader-wave {
  position: absolute;
  left: 50%;
  top: calc(50% + 4.7rem);
  width: 11rem;
  height: 1.1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  transform: translateX(-50%);
  animation: preloaderWave 1.6s ease-in-out infinite;
}

.hero-preloader p {
  position: absolute;
  top: calc(50% + 6.6rem);
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 5vw, 4rem);
  color: var(--white);
  animation: headerEnter 0.75s ease both;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.site-header.is-scrolled {
  padding-block: 0.7rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 30px rgba(18, 38, 63, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.05;
}

.brand small {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}

.brand-mark {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 0.28rem rgba(255, 255, 255, 0.12);
  animation: markPulse 4.8s ease-in-out infinite;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.brand-mark.has-logo {
  overflow: hidden;
  padding: 0;
  background: rgba(255, 255, 255, 0.14);
}

.is-scrolled .brand-mark {
  color: var(--white);
  border-color: transparent;
  background: var(--pine);
}

.is-scrolled .brand-mark.has-logo {
  background: rgba(13, 118, 108, 0.12);
}

.nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.4rem);
  font-size: 0.95rem;
  font-weight: 800;
}

.nav a {
  position: relative;
  color: inherit;
  text-decoration: none;
}

.nav a::after {
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-contact {
  display: inline-flex;
  max-width: 18rem;
  color: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  opacity: 0.86;
}

.admin-link {
  color: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  opacity: 0.78;
}

.ghost-button,
.primary-button,
.trip-bottom button,
.trip-bottom a,
.mood-tabs button {
  border: 0;
  border-radius: 999px;
  font-weight: 800;
}

.ghost-button {
  padding: 0.85rem 1.2rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(14px);
}

.is-scrolled .ghost-button {
  color: var(--white);
  background: var(--coral);
  border-color: var(--coral);
}

.primary-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.3rem;
  padding: 0.8rem 1.55rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--coral), #ff8d36);
  box-shadow: 0 18px 34px rgba(255, 90, 69, 0.32);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0 30%, rgba(255, 255, 255, 0.32) 45%, transparent 60% 100%);
  content: "";
  transform: translateX(-130%);
  animation: buttonShine 4.4s ease-in-out infinite;
}

.primary-button > * {
  position: relative;
  z-index: 1;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(255, 90, 69, 0.42);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.ai-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.8rem 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px);
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease;
}

.ai-button::before {
  content: "✦";
}

.ai-button:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-2px);
}

.primary-button svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.compact {
  min-height: 2.8rem;
}

.full {
  width: 100%;
}

.hero {
  position: relative;
  display: grid;
  min-height: 80svh;
  padding: clamp(7rem, 10vw, 9rem) clamp(1rem, 5vw, 4rem) 3rem;
  overflow: hidden;
}

.hero-bg,
.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -4;
  background-image: url("assets/optimized/montenegro-hero.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.06);
  animation: heroZoom 18s ease-in-out infinite alternate, heroPan 24s ease-in-out infinite alternate;
}

.hero-video {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.04);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(11, 31, 50, 0.78) 0%, rgba(11, 31, 50, 0.45) 42%, rgba(11, 31, 50, 0.08) 75%),
    linear-gradient(180deg, rgba(9, 27, 45, 0.35), rgba(9, 27, 45, 0.06) 48%, rgba(255, 250, 244, 0.98) 100%);
}

.hero-content {
  align-self: center;
  width: min(58rem, 100%);
  color: var(--white);
}

.hero-content h1 {
  max-width: 58rem;
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 5.4vw, 5.15rem);
  font-weight: 800;
  line-height: 0.97;
  letter-spacing: 0;
  animation: titleLift 0.9s 0.1s ease both;
}

.hero-copy {
  animation: titleLift 0.9s 0.22s ease both;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--coral-dark);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  line-height: 0.98;
}

h1 {
  max-width: 50rem;
  margin-bottom: 1.25rem;
  font-size: clamp(2.65rem, 5.2vw, 5.15rem);
  text-wrap: balance;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4rem);
}

.hero-copy {
  max-width: 40rem;
  margin-bottom: 1.65rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.98rem, 1.7vw, 1.18rem);
  line-height: 1.6;
}

.search-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.65fr auto;
  gap: 0.8rem;
  width: min(66rem, 100%);
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  animation: panelEnter 0.9s 0.34s ease both, panelBreath 5.5s ease-in-out infinite;
}

.search-panel::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(0, 166, 191, 0.22), rgba(255, 90, 69, 0.28), rgba(255, 200, 87, 0.2));
  content: "";
  opacity: 0.8;
  filter: blur(1rem);
  animation: panelGlow 6s ease-in-out infinite alternate;
}

.search-panel label {
  display: grid;
  gap: 0.25rem;
  padding: 0.55rem 0.9rem;
  border-radius: 1rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
}

.search-panel span {
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-panel input,
.search-panel select {
  width: 100%;
  min-width: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  outline: none;
  font-weight: 800;
}

.hero-stats {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  width: min(34rem, 100%);
  margin-left: auto;
  color: var(--white);
}

.hero-stats div {
  transform: translateY(0);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  animation: statFloat 5s ease-in-out infinite;
}

.hero-stats div:nth-child(2) {
  animation-delay: -1.4s;
}

.hero-stats div:nth-child(3) {
  animation-delay: -2.8s;
}

.hero-stats strong {
  display: block;
  font-size: clamp(1.45rem, 2.4vw, 1.8rem);
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 700;
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: end;
  padding: clamp(3rem, 6vw, 5rem) 0 1.2rem;
}

.intro-band h2 {
  max-width: 44rem;
  margin-bottom: 0;
}

.mood-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.mood-tabs button {
  position: relative;
  overflow: hidden;
  padding: 0.8rem 1rem;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(17, 35, 58, 0.08);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.mood-tabs button::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.34), transparent 62%);
  content: "";
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mood-tabs button:hover::before,
.mood-tabs button.active::before {
  opacity: 1;
  transform: scale(1.8);
}

.mood-tabs button:hover,
.mood-tabs button.active {
  color: var(--white);
  background: var(--pine);
  transform: translateY(-2px);
}

.trips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.15rem;
  padding-top: 1.1rem;
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.trip-card {
  position: relative;
  --lift: 0rem;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  min-height: 31rem;
  overflow: hidden;
  border: 1px solid rgba(17, 35, 58, 0.08);
  border-radius: 1rem;
  background: var(--white);
  box-shadow: 0 18px 54px rgba(17, 35, 58, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.82) inset;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--lift));
  transform-style: preserve-3d;
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.25s ease;
}

.trip-card::before {
  display: none;
}

.trip-card:hover {
  --lift: -0.55rem;
  box-shadow: 0 30px 70px rgba(17, 35, 58, 0.2);
}

.trip-card.is-hidden {
  display: none;
}

.trip-visual {
  position: relative;
  height: 16.25rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(16, 32, 51, 0.05), rgba(16, 32, 51, 0.35)),
    radial-gradient(circle at 30% 20%, hsla(var(--hue), 90%, 72%, 0.9), transparent 34%),
    linear-gradient(135deg, hsl(var(--hue), 82%, 44%), hsl(calc(var(--hue) + 46), 70%, 58%));
  clip-path: polygon(0 0, 100% 0, 100% 89%, 0 100%);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.trip-card:hover .trip-visual {
  filter: saturate(1.12) contrast(1.04);
  transform: scale(1.04);
}

.trip-visual::before,
.trip-visual::after {
  display: block;
  content: "";
}

.trip-visual::before {
  width: 150%;
  height: 7rem;
  margin-left: -20%;
  background:
    radial-gradient(ellipse at 22% 100%, rgba(255, 255, 255, 0.88) 0 16%, transparent 17%),
    radial-gradient(ellipse at 45% 100%, rgba(255, 255, 255, 0.7) 0 12%, transparent 13%),
    radial-gradient(ellipse at 70% 100%, rgba(255, 255, 255, 0.75) 0 15%, transparent 16%);
  transform: translateY(7.2rem);
}

.trip-visual::after {
  width: 100%;
  height: 6rem;
  background:
    linear-gradient(105deg, transparent 0 34%, rgba(255, 255, 255, 0.85) 35% 37%, transparent 38%),
    linear-gradient(155deg, transparent 0 52%, rgba(255, 255, 255, 0.75) 53% 55%, transparent 56%),
    linear-gradient(180deg, transparent 0 52%, rgba(255, 255, 255, 0.18) 53% 100%);
}

.bay::after {
  transform: translateY(0.3rem);
}

.canyon::after {
  background:
    linear-gradient(100deg, transparent 0 28%, rgba(255, 255, 255, 0.9) 29% 31%, transparent 32%),
    linear-gradient(180deg, transparent 0 58%, rgba(12, 78, 68, 0.24) 59% 100%);
}

.lake::after {
  background:
    radial-gradient(ellipse at 30% 76%, rgba(255, 255, 255, 0.8) 0 7%, transparent 8%),
    radial-gradient(ellipse at 57% 70%, rgba(255, 255, 255, 0.66) 0 5%, transparent 6%),
    linear-gradient(180deg, transparent 0 60%, rgba(255, 255, 255, 0.24) 61% 100%);
}

.wine::after {
  background:
    repeating-linear-gradient(110deg, transparent 0 1rem, rgba(255, 255, 255, 0.28) 1.08rem 1.3rem),
    linear-gradient(180deg, transparent 0 58%, rgba(108, 64, 28, 0.16) 59% 100%);
}

.trip-visual.has-image {
  background: #dfe8f2;
}

.trip-visual.has-image::before,
.trip-visual.has-image::after {
  display: none;
}

.trip-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trip-image-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(16, 32, 51, 0.04), rgba(16, 32, 51, 0.34) 46%, rgba(16, 32, 51, 0.82)),
    radial-gradient(circle at 20% 16%, hsla(var(--hue), 90%, 72%, 0.24), transparent 34%);
  pointer-events: none;
}

.tourist-choice {
  position: absolute;
  top: 1.05rem;
  left: 50%;
  z-index: 6;
  padding: 0.68rem 1.12rem;
  border: 1px solid rgba(255, 238, 196, 0.88);
  border-radius: 999px;
  color: #2b2214;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 238, 196, 0.82)),
    linear-gradient(135deg, #ffeec4, #ffc857);
  box-shadow: 0 1rem 2.2rem rgba(17, 35, 58, 0.22), 0 0 0 0.45rem rgba(255, 238, 196, 0.2);
  font-size: 0.74rem;
  font-weight: 1000;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
  backdrop-filter: blur(12px);
}

.trip-card.is-top {
  border-color: rgba(255, 200, 87, 0.56);
  box-shadow:
    0 30px 84px rgba(17, 35, 58, 0.2),
    0 0 0 4px rgba(255, 255, 255, 0.9),
    0 0 0 8px rgba(255, 200, 87, 0.18);
}

.trip-card.is-top::after {
  position: absolute;
  inset: 0;
  z-index: 5;
  border: 2px solid rgba(255, 200, 87, 0.5);
  border-radius: 1rem;
  content: "";
  pointer-events: none;
}

.trip-card.is-top:hover {
  box-shadow:
    0 34px 92px rgba(17, 35, 58, 0.24),
    0 0 0 4px rgba(255, 255, 255, 0.94),
    0 0 0 9px rgba(255, 200, 87, 0.22);
}

.trip-mood-copy {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1.3rem;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: var(--white);
  text-shadow: 0 0.3rem 1rem rgba(16, 32, 51, 0.45);
}

.trip-mood-copy span {
  width: fit-content;
  padding: 0.32rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trip-mood-copy span.secondary {
  color: #2b2214;
  background: rgba(255, 200, 87, 0.86);
  border-color: rgba(255, 238, 196, 0.54);
}

.trip-mood-mark {
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  z-index: 3;
  display: grid;
  width: 3.55rem;
  height: 3.55rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(11, 31, 50, 0.24);
  box-shadow: 0 1rem 2.5rem rgba(16, 32, 51, 0.2);
  backdrop-filter: blur(10px);
  transform: translateZ(2rem);
}

.trip-mood-mark span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.trip-mood-mark::before,
.trip-mood-mark::after {
  position: absolute;
  content: "";
}

.mood-sea .trip-mood-mark::before {
  left: 0.58rem;
  right: 0.58rem;
  bottom: 0.5rem;
  height: 0.92rem;
  border-radius: 0 0 999px 999px;
  background:
    radial-gradient(ellipse at 24% 0%, rgba(255, 255, 255, 0.9) 0 18%, transparent 19%),
    radial-gradient(ellipse at 58% 0%, rgba(255, 255, 255, 0.72) 0 14%, transparent 15%),
    linear-gradient(180deg, rgba(89, 213, 230, 0.9), rgba(7, 91, 119, 0.96));
}

.mood-sea .trip-mood-mark::after {
  left: 0.82rem;
  top: 0.5rem;
  width: 1.9rem;
  height: 1.82rem;
  background:
    linear-gradient(90deg, transparent 0.88rem, rgba(255, 255, 255, 0.96) 0.9rem 1rem, transparent 1.02rem),
    linear-gradient(135deg, transparent 0 47%, rgba(255, 255, 255, 0.98) 48% 100%),
    linear-gradient(225deg, transparent 0 47%, rgba(182, 244, 250, 0.95) 48% 100%);
  clip-path: polygon(48% 0, 100% 70%, 61% 70%, 61% 86%, 12% 86%, 12% 72%, 0 72%);
}

.mood-sea .trip-mood-mark span {
  left: 0.94rem;
  bottom: 0.72rem;
  width: 1.65rem;
  height: 0.25rem;
  clip: auto;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(7, 91, 119, 0.96);
  text-indent: -999px;
}

.mood-mountains .trip-mood-mark::before,
.mood-mountains .trip-mood-mark::after {
  bottom: 0.66rem;
  width: 1.65rem;
  height: 1.75rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(13, 118, 108, 0.72));
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.mood-mountains .trip-mood-mark::before {
  left: 0.7rem;
}

.mood-mountains .trip-mood-mark::after {
  right: 0.62rem;
  height: 2.2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 200, 87, 0.52));
}

.mood-pilgrim .trip-mood-mark::before {
  width: 1.04rem;
  height: 1.95rem;
  border-radius: 60% 60% 45% 45%;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.98) 0 0.28rem, transparent 0.32rem),
    linear-gradient(180deg, rgba(255, 238, 196, 0.98), rgba(255, 200, 87, 0.5));
  box-shadow: 0 0 1.4rem rgba(255, 238, 196, 0.6);
}

.mood-pilgrim .trip-mood-mark::after {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 238, 196, 0.5);
  border-radius: 50%;
}

.mood-crossborder .trip-mood-mark::before,
.mood-default .trip-mood-mark::before {
  width: 2.28rem;
  height: 2.28rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background:
    linear-gradient(45deg, transparent 0 43%, rgba(255, 255, 255, 0.95) 44% 56%, transparent 57%),
    linear-gradient(135deg, transparent 0 43%, rgba(255, 200, 87, 0.95) 44% 56%, transparent 57%);
}

.mood-crossborder .trip-mood-mark::after,
.mood-default .trip-mood-mark::after {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 0.18rem rgba(255, 255, 255, 0.9);
}

.mood-sea .trip-visual::after,
.mood-mountains .trip-visual::after,
.mood-pilgrim .trip-visual::after,
.mood-crossborder .trip-visual::after {
  position: absolute;
  inset: auto -8% -1.2rem;
  z-index: 2;
  display: block;
  height: 4.8rem;
  pointer-events: none;
}

.mood-sea .trip-visual::after {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 255, 255, 0.78) 0 15%, transparent 16%),
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.52) 0 12%, transparent 13%),
    radial-gradient(ellipse at 78% 0%, rgba(255, 255, 255, 0.64) 0 14%, transparent 15%);
}

.mood-mountains .trip-visual::after {
  background:
    linear-gradient(135deg, transparent 0 28%, rgba(255, 255, 255, 0.6) 29% 31%, transparent 32%),
    linear-gradient(180deg, transparent 0 34%, rgba(13, 118, 108, 0.34) 35% 100%);
  clip-path: polygon(0 100%, 12% 34%, 22% 100%, 39% 18%, 58% 100%, 76% 42%, 92% 100%, 100% 68%, 100% 100%);
}

.mood-pilgrim .trip-visual::after {
  background: radial-gradient(circle at 50% 100%, rgba(255, 238, 196, 0.72), transparent 58%);
}

.mood-crossborder .trip-visual::after {
  height: 3.2rem;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.7) 0 1.2rem, transparent 1.2rem 1.85rem);
  transform: rotate(-4deg) translateY(-1rem);
}

.mood-sea .trip-visual.has-image::after,
.mood-mountains .trip-visual.has-image::after,
.mood-pilgrim .trip-visual.has-image::after,
.mood-crossborder .trip-visual.has-image::after {
  display: none;
}

.heart {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  font-size: 1.45rem;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.heart:hover,
.heart.active {
  background: var(--coral);
  transform: scale(1.08);
}

.trip-body {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.8rem;
  padding: 1.1rem;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.trip-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.trip-schedule {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.trip-schedule span {
  width: fit-content;
  padding: 0.32rem 0.48rem;
  border: 1px solid rgba(42, 157, 143, 0.22);
  border-radius: 999px;
  color: var(--pine);
  background: rgba(42, 157, 143, 0.08);
  font-size: 0.68rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
}

.trip-schedule .schedule-muted {
  color: var(--muted);
  background: rgba(96, 112, 131, 0.08);
  border-color: rgba(96, 112, 131, 0.16);
}

.next-date,
.next-tour-date {
  margin: -0.25rem 0 0;
  color: var(--pine);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.35;
}

.tour-schedule {
  margin-top: 0.1rem;
}

.sidebar-schedule {
  margin-bottom: 0.7rem;
}

.trip-card h3 {
  margin-bottom: 0;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.trip-description {
  display: -webkit-box;
  min-height: 7.2rem;
  margin-bottom: 0;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.filter-summary {
  grid-column: 1 / -1;
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.trip-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.trip-bottom strong {
  font-size: 1.35rem;
}

.trip-price {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.65rem;
  line-height: 1;
}

.trip-price span {
  display: grid;
  gap: 0.22rem;
}

.trip-price small {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trip-bottom button,
.trip-bottom a {
  padding: 0.72rem 0.95rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--coral), #ff8a3d);
  box-shadow: 0 0.85rem 1.8rem rgba(255, 90, 69, 0.22);
  text-decoration: none;
}

.trust-section {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto clamp(4rem, 8vw, 7rem);
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 1.5rem;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 32, 51, 0.95), rgba(13, 118, 108, 0.88)),
    url("assets/optimized/montenegro-hero.jpg") center/cover;
  box-shadow: var(--shadow);
}

.trust-section::before {
  position: absolute;
  top: -30%;
  left: -20%;
  width: 42%;
  height: 150%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  content: "";
  transform: rotate(14deg);
  animation: trustSweep 9s ease-in-out infinite;
}

.trust-copy p:not(.eyebrow) {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.7;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.trust-card {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 12rem;
  align-content: start;
  gap: 0.7rem;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.trust-card:nth-child(1) {
  background: rgba(255, 200, 87, 0.2);
}

.trust-card:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.17);
  transform: translateY(-0.35rem);
}

.trust-card span {
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.trust-card strong {
  font-size: 1.08rem;
}

.trust-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem clamp(1rem, 5vw, 4rem);
  color: var(--white);
  background: var(--ink);
}

.footer span {
  color: rgba(255, 255, 255, 0.7);
}

.booking-modal {
  width: min(92vw, 31rem);
  max-height: calc(100svh - 2rem);
  overflow: auto;
  padding: 0;
  border: 0;
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

.ai-modal {
  width: min(94vw, 54rem);
}

.booking-modal::backdrop {
  background: rgba(12, 24, 39, 0.55);
  backdrop-filter: blur(8px);
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(16, 32, 51, 0.08);
  font-size: 1.5rem;
}

.modal-content {
  display: grid;
  gap: 1rem;
  padding: 2rem;
}

.modal-content h2 {
  margin-bottom: 0;
  font-size: 2.4rem;
}

.modal-content p {
  color: var(--muted);
  line-height: 1.55;
}

.modal-content label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-weight: 800;
}

.modal-content input,
.modal-content select,
.modal-content textarea {
  min-height: 3.2rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(16, 32, 51, 0.14);
  border-radius: 0.8rem;
  color: var(--ink);
  background: #fbfcfe;
  outline-color: var(--aqua);
}

.ai-quiz {
  display: grid;
  gap: 1rem;
}

.ai-screen {
  display: grid;
  gap: 1rem;
}

.ai-thinking {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  min-height: 21rem;
  padding: 2rem 1rem;
  text-align: center;
}

.ai-thinking h2 {
  margin: 0;
}

.ai-thinking p:not(.eyebrow) {
  max-width: 28rem;
}

.ai-thinking-orbit {
  position: relative;
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 157, 143, 0.18), rgba(255, 211, 107, 0.12) 54%, transparent 56%);
  animation: aiThinkSpin 1.25s linear infinite;
}

.ai-thinking-orbit::before {
  position: absolute;
  inset: 1.75rem;
  border-radius: 50%;
  background: var(--pine);
  box-shadow: inset 0 0 0 0.35rem rgba(255, 255, 255, 0.38);
  content: "";
}

.ai-thinking-orbit span {
  position: absolute;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--coral);
}

.ai-thinking-orbit span:nth-child(1) {
  top: 0.25rem;
  left: calc(50% - 0.425rem);
}

.ai-thinking-orbit span:nth-child(2) {
  right: 0.45rem;
  bottom: 1.1rem;
  background: var(--gold);
}

.ai-thinking-orbit span:nth-child(3) {
  bottom: 1.1rem;
  left: 0.45rem;
  background: var(--aqua);
}

.ai-guest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.ai-interest-field {
  display: grid;
  gap: 0.6rem;
}

.ai-interest-field > span {
  color: var(--muted);
  font-weight: 900;
}

.ai-interest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.ai-interest-grid label {
  position: relative;
  display: block;
}

.ai-interest-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ai-interest-grid span {
  display: block;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(16, 32, 51, 0.12);
  border-radius: 999px;
  color: var(--ink);
  background: #fbfcfe;
  font-weight: 900;
  text-align: center;
}

.ai-interest-grid input:checked + span {
  border-color: rgba(42, 157, 143, 0.48);
  background: rgba(42, 157, 143, 0.12);
}

.ai-result {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(16, 32, 51, 0.1);
}

.ai-result[hidden] {
  display: none;
}

.ai-result-head h3 {
  margin-bottom: 0.45rem;
  font-family: Manrope, system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.ai-result-list {
  display: grid;
  gap: 0.7rem;
}

.ai-result-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.9rem;
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: 1rem;
  background: linear-gradient(135deg, #fbfcfe, rgba(42, 157, 143, 0.08));
}

.ai-result-list article > span {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--pine);
  font-weight: 900;
}

.ai-result-list strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--ink);
}

.ai-result-list p,
.ai-result-list small {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

@keyframes aiThinkSpin {
  to {
    transform: rotate(360deg);
  }
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--pine);
  box-shadow: var(--soft-shadow);
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.travel-transition {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
  transition: transform 0.48s cubic-bezier(0.77, 0, 0.18, 1), opacity 0.22s ease;
}

html.transition-boot {
  background: #d9f3f4;
}

html.transition-boot body > :not(.travel-transition) {
  opacity: 0;
}

.travel-transition.active {
  opacity: 1;
  transform: scale(1);
}

.travel-transition.arriving {
  transform: scale(1);
}

.travel-transition.arriving.done {
  opacity: 0;
  transform: scale(1.035);
}

.transition-veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.18), transparent 18rem),
    rgba(11, 31, 50, 0.12);
  backdrop-filter: blur(0.7px) saturate(1.04);
}

.transition-window {
  position: absolute;
  inset: clamp(1rem, 5vw, 4rem);
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: clamp(1.2rem, 4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.22), transparent 22rem);
  box-shadow: 0 28px 100px rgba(16, 32, 51, 0.22);
  backdrop-filter: blur(3px);
  animation: travelWindow 0.78s ease both;
}

.transition-copy {
  position: relative;
  z-index: 5;
  display: grid;
  gap: 0.4rem;
  max-width: min(78vw, 46rem);
  padding: 1rem;
  text-align: center;
  text-shadow: 0 0.25rem 1.2rem rgba(16, 32, 51, 0.42);
}

.transition-copy small {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.transition-copy strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 5.5vw, 4.8rem);
  line-height: 0.98;
  text-wrap: balance;
}

.transition-symbol {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 42vh;
}

.transition-symbol span,
.transition-route,
.transition-sky,
.bird {
  position: absolute;
  pointer-events: none;
}

.transition-symbol span {
  left: 50%;
  bottom: -12vh;
  width: 130vw;
  height: 28vh;
  border-radius: 50% 50% 0 0;
  transform: translateX(-50%);
}

.travel-transition.sea {
  --transition-accent: rgba(0, 166, 191, 0.34);
}

.travel-transition.sea .transition-window {
  background:
    linear-gradient(135deg, rgba(0, 166, 191, 0.22), rgba(255, 255, 255, 0.08)),
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.24), transparent 16rem);
}

.travel-transition.sea .transition-symbol span {
  background: rgba(0, 166, 191, 0.22);
  animation: waveSlide 1.15s ease-in-out infinite alternate;
}

.travel-transition.sea .transition-symbol span:nth-child(2) {
  bottom: -18vh;
  background: rgba(255, 255, 255, 0.18);
  animation-delay: -0.35s;
}

.travel-transition.sea .transition-symbol span:nth-child(3) {
  bottom: -24vh;
  background: rgba(10, 136, 183, 0.16);
  animation-delay: -0.7s;
}

.travel-transition.mountains {
  --transition-accent: rgba(13, 118, 108, 0.34);
}

.travel-transition.mountains .transition-window {
  background:
    linear-gradient(135deg, rgba(13, 118, 108, 0.24), rgba(16, 32, 51, 0.08)),
    radial-gradient(circle at 78% 22%, rgba(255, 200, 87, 0.18), transparent 18rem);
}

.travel-transition.mountains .transition-symbol span {
  bottom: -2vh;
  width: 44vw;
  height: 34vh;
  border-radius: 0;
  background: linear-gradient(135deg, rgba(28, 93, 85, 0.7), rgba(16, 32, 51, 0.58));
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  animation: mountainRise 0.9s ease both;
}

.travel-transition.mountains .transition-symbol span:nth-child(1) {
  left: 26%;
}

.travel-transition.mountains .transition-symbol span:nth-child(2) {
  left: 52%;
  height: 42vh;
  animation-delay: 0.08s;
}

.travel-transition.mountains .transition-symbol span:nth-child(3) {
  left: 78%;
  animation-delay: 0.16s;
}

.transition-sky {
  inset: 0;
  z-index: 3;
}

.bird {
  width: 2.6rem;
  height: 1.2rem;
  border-top: 3px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
  animation: birdFly 1.7s linear infinite;
}

.bird::after {
  position: absolute;
  left: 1.1rem;
  top: -3px;
  width: 2.6rem;
  height: 1.2rem;
  border-top: 3px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
  content: "";
  transform: scaleX(-1);
}

.bird-one {
  top: 22%;
  left: -8%;
}

.bird-two {
  top: 32%;
  left: -18%;
  transform: scale(0.72);
  animation-delay: -0.42s;
}

.bird-three {
  top: 16%;
  left: -30%;
  transform: scale(0.55);
  animation-delay: -0.88s;
}

.travel-transition:not(.mountains) .bird {
  opacity: 0;
}

.travel-transition.crossborder {
  --transition-accent: rgba(255, 200, 87, 0.34);
}

.travel-transition.crossborder .transition-window {
  background:
    linear-gradient(135deg, rgba(255, 200, 87, 0.2), rgba(140, 79, 58, 0.12)),
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.2), transparent 18rem);
}

.transition-route {
  z-index: 4;
  left: 12vw;
  right: 12vw;
  top: 54%;
  height: 3px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0 1rem, transparent 1rem 1.55rem);
  transform: scaleX(0);
  transform-origin: left;
}

.travel-transition.crossborder .transition-route,
.travel-transition.default .transition-route,
.travel-transition.photo .transition-route {
  animation: routeDraw 0.85s 0.12s ease both;
}

.travel-transition.crossborder .transition-symbol span,
.travel-transition.photo .transition-symbol span,
.travel-transition.default .transition-symbol span,
.travel-transition.pilgrim .transition-symbol span {
  width: 10rem;
  height: 10rem;
  bottom: 12vh;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  animation: compassPulse 1.4s ease-in-out infinite;
}

.travel-transition.crossborder .transition-symbol span:nth-child(2),
.travel-transition.photo .transition-symbol span:nth-child(2),
.travel-transition.default .transition-symbol span:nth-child(2),
.travel-transition.pilgrim .transition-symbol span:nth-child(2) {
  width: 6rem;
  height: 6rem;
  bottom: 17vh;
  animation-delay: -0.4s;
}

.travel-transition.crossborder .transition-symbol span:nth-child(3),
.travel-transition.photo .transition-symbol span:nth-child(3),
.travel-transition.default .transition-symbol span:nth-child(3),
.travel-transition.pilgrim .transition-symbol span:nth-child(3) {
  width: 2rem;
  height: 2rem;
  bottom: 21vh;
  background: var(--coral);
  animation-delay: -0.8s;
}

.travel-transition.pilgrim {
  --transition-accent: rgba(255, 238, 196, 0.34);
}

.travel-transition.pilgrim .transition-window {
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 238, 196, 0.34), transparent 17rem),
    linear-gradient(135deg, rgba(112, 95, 74, 0.2), rgba(37, 61, 74, 0.1));
}

.travel-transition.photo {
  --transition-accent: rgba(255, 90, 69, 0.34);
}

.travel-transition.photo .transition-window,
.travel-transition.default .transition-window {
  background:
    radial-gradient(circle at 68% 25%, rgba(255, 200, 87, 0.2), transparent 18rem),
    linear-gradient(135deg, rgba(13, 118, 108, 0.18), rgba(255, 90, 69, 0.12));
}

.reveal {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.75s ease, transform 0.75s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes heroZoom {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.11) translate3d(-1.2%, -0.6%, 0);
  }
}

@keyframes heroPan {
  from {
    background-position: 48% 50%;
  }
  to {
    background-position: 54% 48%;
  }
}

@keyframes preloaderWave {
  0%,
  100% {
    opacity: 0.46;
    transform: translateX(-50%) scaleX(0.72);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scaleX(1.08);
  }
}

@keyframes headerEnter {
  from {
    opacity: 0;
    transform: translateY(-1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes markPulse {
  0%,
  100% {
    box-shadow: inset 0 0 0 0.28rem rgba(255, 255, 255, 0.12), 0 0 0 0 rgba(255, 255, 255, 0.24);
  }
  50% {
    box-shadow: inset 0 0 0 0.28rem rgba(255, 255, 255, 0.16), 0 0 0 0.6rem rgba(255, 255, 255, 0);
  }
}

@keyframes titleLift {
  from {
    opacity: 0;
    transform: translateY(1.2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panelEnter {
  from {
    opacity: 0;
    transform: translateY(1.1rem) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes panelBreath {
  0%,
  100% {
    box-shadow: var(--shadow);
  }
  50% {
    box-shadow: 0 30px 90px rgba(17, 35, 58, 0.22);
  }
}

@keyframes panelGlow {
  from {
    opacity: 0.46;
  }
  to {
    opacity: 0.86;
  }
}

@keyframes buttonShine {
  0%,
  42% {
    transform: translateX(-130%);
  }
  58%,
  100% {
    transform: translateX(130%);
  }
}

@keyframes heroSweep {
  0%,
  42% {
    transform: translateX(0) rotate(12deg);
    opacity: 0;
  }
  52% {
    opacity: 1;
  }
  78%,
  100% {
    transform: translateX(330%) rotate(12deg);
    opacity: 0;
  }
}

@keyframes floatHalo {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-1.5rem, 1rem, 0) scale(1.08);
  }
}

@keyframes statFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.45rem);
  }
}

@keyframes trustSweep {
  0%,
  48% {
    transform: translateX(0) rotate(14deg);
    opacity: 0;
  }
  58% {
    opacity: 1;
  }
  88%,
  100% {
    transform: translateX(340%) rotate(14deg);
    opacity: 0;
  }
}

@keyframes travelWindow {
  from {
    clip-path: circle(0% at 50% 58%);
    opacity: 0.2;
    transform: scale(0.94);
  }
  to {
    clip-path: circle(120% at 50% 58%);
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes waveSlide {
  from {
    transform: translateX(-54%) translateY(0);
  }
  to {
    transform: translateX(-46%) translateY(-1.4rem);
  }
}

@keyframes mountainRise {
  from {
    transform: translateX(-50%) translateY(16vh);
  }
  to {
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes birdFly {
  from {
    translate: 0 0;
  }
  to {
    translate: 140vw -8vh;
  }
}

@keyframes routeDraw {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes compassPulse {
  0%,
  100% {
    transform: translateX(-50%) scale(0.92);
    opacity: 0.48;
  }
  50% {
    transform: translateX(-50%) scale(1.08);
    opacity: 0.9;
  }
}

/* Directional travel wipe: graphic moves left-to-right over the visible page. */
.travel-transition {
  place-items: stretch;
  background: transparent;
  transform: none;
}

.travel-transition.active,
.travel-transition.arriving,
.travel-transition.arriving.done {
  transform: none;
}

.travel-transition.arriving.done {
  opacity: 0;
}

.transition-veil {
  background: rgba(11, 31, 50, 0.05);
  backdrop-filter: none;
}

.travel-transition.departing .transition-veil {
  animation: travelVeilIn 0.34s ease both;
}

.travel-transition.arriving .transition-veil {
  animation: travelVeilOut 0.62s ease both;
}

.transition-window {
  inset: 0 auto 0 0;
  width: min(88vw, 58rem);
  border: 0;
  border-radius: 0 999px 999px 0;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 80px rgba(16, 32, 51, 0.12);
  backdrop-filter: blur(1px);
  clip-path: none;
  transform: translateX(-110%);
  animation: none;
}

.travel-transition.departing .transition-window {
  animation: carrierDepart 1.12s cubic-bezier(0.76, 0, 0.24, 1) both;
}

.travel-transition.arriving .transition-window {
  animation: carrierArrive 1s cubic-bezier(0.76, 0, 0.24, 1) both;
}

.travel-transition.sea .transition-window {
  display: none;
}

.travel-transition.mountains .transition-window::before,
.travel-transition.mountains .transition-window::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.travel-transition.mountains .transition-window {
  background:
    radial-gradient(circle at 84% 23%, rgba(255, 200, 87, 0.24), transparent 10rem),
    linear-gradient(90deg, rgba(13, 118, 108, 0.02), rgba(13, 118, 108, 0.18) 56%, rgba(255, 255, 255, 0.1));
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: blur(0.4px);
}

.travel-transition.mountains .transition-window::before {
  right: 0;
  bottom: 0;
  width: 46vw;
  height: 52vh;
  background: linear-gradient(135deg, rgba(13, 118, 108, 0.34), rgba(16, 32, 51, 0.28));
  clip-path: polygon(48% 0, 100% 100%, 0 100%);
  transform: translateY(4vh);
}

.travel-transition.mountains .transition-window::after {
  right: 20vw;
  bottom: -3vh;
  width: 34vw;
  height: 38vh;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(13, 118, 108, 0.26));
  clip-path: polygon(52% 0, 100% 100%, 0 100%);
}

.transition-copy {
  position: absolute;
  left: clamp(1rem, 7vw, 5rem);
  top: 50%;
  z-index: 8;
  max-width: min(70vw, 36rem);
  text-align: left;
  transform: translate(-130%, -50%);
}

.travel-transition.departing .transition-copy {
  animation: copyDepart 1.12s cubic-bezier(0.76, 0, 0.24, 1) both;
}

.travel-transition.arriving .transition-copy {
  animation: copyArrive 0.86s cubic-bezier(0.76, 0, 0.24, 1) both;
}

.transition-copy strong {
  font-size: clamp(1.8rem, 5vw, 4rem);
}

.travel-transition.sea.departing .transition-copy,
.travel-transition.sea.arriving .transition-copy,
.travel-transition.mountains.departing .transition-copy,
.travel-transition.mountains.arriving .transition-copy {
  animation: none;
  opacity: 0;
}

.transition-symbol {
  inset: 0;
  z-index: 4;
  height: auto;
}

.transition-symbol span {
  transform: none;
}

.travel-transition.sea .transition-symbol span {
  left: -84vw;
  bottom: -14vh;
  width: 92vw;
  height: 46vh;
  border-radius: 0 55% 0 0;
  background: rgba(255, 255, 255, 0.82);
  animation: waveRipple 1.05s ease-in-out infinite alternate;
}

.travel-transition.sea .transition-symbol span:nth-child(2) {
  left: -90vw;
  bottom: -23vh;
  width: 102vw;
  height: 54vh;
  background: rgba(255, 255, 255, 0.46);
}

.travel-transition.sea .transition-symbol span:nth-child(3) {
  left: -96vw;
  bottom: -31vh;
  width: 112vw;
  height: 62vh;
  background: rgba(0, 166, 191, 0.34);
}

.travel-transition.sea.departing .transition-symbol span {
  animation: seaWaveDepart 1.12s cubic-bezier(0.76, 0, 0.24, 1) both;
}

.travel-transition.sea.arriving .transition-symbol span {
  animation: seaWaveArrive 1s cubic-bezier(0.76, 0, 0.24, 1) both;
}

.travel-transition.mountains .transition-symbol span {
  left: -48vw;
  bottom: -1vh;
  width: 36vw;
  height: 42vh;
  border-radius: 0;
  background: linear-gradient(135deg, rgba(13, 118, 108, 0.72), rgba(16, 32, 51, 0.66));
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.travel-transition.mountains .transition-symbol span:nth-child(1) {
  bottom: -3vh;
}

.travel-transition.mountains .transition-symbol span:nth-child(2) {
  left: -29vw;
  height: 54vh;
}

.travel-transition.mountains .transition-symbol span:nth-child(3) {
  left: -8vw;
  height: 34vh;
}

.travel-transition.mountains.departing .transition-symbol span {
  animation: mountainsDepart 1.16s cubic-bezier(0.76, 0, 0.24, 1) both;
}

.travel-transition.mountains.arriving .transition-symbol span {
  animation: mountainsArrive 1s cubic-bezier(0.76, 0, 0.24, 1) both;
}

.travel-transition.mountains.departing .transition-symbol span:nth-child(2),
.travel-transition.mountains.arriving .transition-symbol span:nth-child(2) {
  animation-delay: 0.06s;
}

.travel-transition.mountains.departing .transition-symbol span:nth-child(3),
.travel-transition.mountains.arriving .transition-symbol span:nth-child(3) {
  animation-delay: 0.12s;
}

.transition-sky {
  z-index: 6;
}

.bird {
  left: -18vw;
}

.travel-transition.mountains.departing .bird {
  animation: birdWipeDepart 1.18s linear both;
}

.travel-transition.mountains.arriving .bird {
  animation: birdWipeArrive 1s linear both;
}

.bird-one {
  top: 24%;
  --bird-scale: 0.92;
}

.bird-two {
  top: 33%;
  --bird-scale: 0.66;
}

.bird-three {
  top: 17%;
  --bird-scale: 0.52;
}

.transition-route {
  left: -72vw;
  right: auto;
  top: 52%;
  z-index: 5;
  width: 66vw;
  transform: none;
}

.travel-transition.crossborder.departing .transition-route,
.travel-transition.default.departing .transition-route,
.travel-transition.photo.departing .transition-route,
.travel-transition.pilgrim.departing .transition-route {
  animation: routeDepart 1s cubic-bezier(0.76, 0, 0.24, 1) both;
}

.travel-transition.crossborder.arriving .transition-route,
.travel-transition.default.arriving .transition-route,
.travel-transition.photo.arriving .transition-route,
.travel-transition.pilgrim.arriving .transition-route {
  animation: routeArrive 0.78s cubic-bezier(0.76, 0, 0.24, 1) both;
}

.travel-transition.crossborder .transition-symbol span,
.travel-transition.photo .transition-symbol span,
.travel-transition.default .transition-symbol span,
.travel-transition.pilgrim .transition-symbol span {
  left: -18vw;
  bottom: 38vh;
  transform: none;
}

.travel-transition.crossborder.departing .transition-symbol span,
.travel-transition.photo.departing .transition-symbol span,
.travel-transition.default.departing .transition-symbol span,
.travel-transition.pilgrim.departing .transition-symbol span {
  animation: compassDepart 1s cubic-bezier(0.76, 0, 0.24, 1) both;
}

.travel-transition.crossborder.arriving .transition-symbol span,
.travel-transition.photo.arriving .transition-symbol span,
.travel-transition.default.arriving .transition-symbol span,
.travel-transition.pilgrim.arriving .transition-symbol span {
  animation: compassArrive 0.78s cubic-bezier(0.76, 0, 0.24, 1) both;
}

/* Simple route loader: a centered logo with a type-specific animated orbit. */
.travel-transition {
  place-items: center;
  background: rgba(9, 24, 37, 0.32);
  transform: none;
}

.travel-transition.departing,
.travel-transition.arriving {
  animation: loaderSceneIn 0.22s ease both;
}

.travel-transition.arriving.done {
  animation: loaderSceneOut 0.42s ease both;
}

.travel-transition .transition-veil {
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.22), transparent 16rem),
    rgba(9, 24, 37, 0.5);
  backdrop-filter: blur(7px) saturate(1.08);
}

.travel-transition.sea .transition-veil {
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.2), transparent 16rem),
    linear-gradient(135deg, rgba(0, 166, 191, 0.46), rgba(7, 52, 79, 0.58));
}

.travel-transition.mountains .transition-veil {
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 200, 87, 0.16), transparent 16rem),
    linear-gradient(135deg, rgba(13, 118, 108, 0.46), rgba(16, 32, 51, 0.62));
}

.travel-transition.pilgrim .transition-veil {
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 238, 196, 0.28), transparent 16rem),
    linear-gradient(135deg, rgba(86, 68, 45, 0.52), rgba(16, 32, 51, 0.58));
}

.travel-transition.crossborder .transition-veil {
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 200, 87, 0.22), transparent 16rem),
    linear-gradient(135deg, rgba(140, 79, 58, 0.5), rgba(19, 53, 76, 0.6));
}

.transition-loader {
  position: relative;
  z-index: 10;
  display: grid;
  place-items: center;
  width: clamp(13rem, 48vw, 23rem);
  aspect-ratio: 1;
  transform: translateY(0.5rem) scale(0.9);
  animation: loaderRise 0.46s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.travel-transition.arriving.done .transition-loader {
  animation: loaderLeave 0.42s ease both;
}

.loader-logo {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(4.8rem, 17vw, 7.2rem);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  color: var(--white);
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.28), transparent 32%),
    rgba(13, 118, 108, 0.86);
  box-shadow:
    0 1.4rem 4rem rgba(0, 0, 0, 0.24),
    inset 0 0 0 0.55rem rgba(255, 255, 255, 0.08);
  font-family: Manrope, system-ui, sans-serif;
  font-size: clamp(2.2rem, 8vw, 3.4rem);
  font-weight: 900;
}

.loader-logo img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.loader-logo.has-logo {
  overflow: hidden;
  padding: 0;
}

.loader-pulse {
  position: absolute;
  z-index: 1;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  animation: loaderPulse 1.8s ease-in-out infinite;
}

.loader-orbit {
  position: absolute;
  inset: 9%;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: loaderOrbit 5.8s linear infinite;
}

.loader-orbit::before,
.loader-orbit::after {
  position: absolute;
  inset: 14%;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
}

.loader-orbit::after {
  inset: -7%;
  border-style: solid;
  opacity: 0.18;
}

.loader-orbit span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 2rem;
  height: 2rem;
  margin: -1rem;
  transform: rotate(var(--orbit-angle)) translateY(calc(clamp(4.9rem, 18vw, 8.8rem) * -1));
  transform-origin: center;
}

.loader-orbit span:nth-child(1) {
  --orbit-angle: 0deg;
}

.loader-orbit span:nth-child(2) {
  --orbit-angle: 60deg;
}

.loader-orbit span:nth-child(3) {
  --orbit-angle: 120deg;
}

.loader-orbit span:nth-child(4) {
  --orbit-angle: 180deg;
}

.loader-orbit span:nth-child(5) {
  --orbit-angle: 240deg;
}

.loader-orbit span:nth-child(6) {
  --orbit-angle: 300deg;
}

.travel-transition.mountains .loader-orbit span {
  width: 2.5rem;
  height: 2.1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(13, 118, 108, 0.72));
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.travel-transition.sea .loader-orbit span {
  width: 2.8rem;
  height: 2.6rem;
  border-radius: 0;
  background:
    linear-gradient(90deg, transparent 1.31rem, rgba(255, 255, 255, 0.88) 1.31rem 1.45rem, transparent 1.45rem),
    linear-gradient(180deg, transparent 1.72rem, rgba(7, 91, 119, 0.92) 1.72rem 2rem, transparent 2rem);
  animation: sailboatBob 1.55s ease-in-out infinite alternate;
}

.travel-transition.sea .loader-orbit span::before,
.travel-transition.sea .loader-orbit span::after {
  position: absolute;
  top: 0.22rem;
  content: "";
}

.travel-transition.sea .loader-orbit span::before {
  left: 0.52rem;
  width: 1rem;
  height: 1.45rem;
  background: rgba(255, 255, 255, 0.96);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.travel-transition.sea .loader-orbit span::after {
  left: 1.48rem;
  width: 0.88rem;
  height: 1.28rem;
  background: rgba(182, 244, 250, 0.92);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.travel-transition.sea .loader-orbit span:nth-child(3n)::before {
  background: rgba(255, 200, 87, 0.92);
}

.travel-transition.sea .loader-orbit span:nth-child(even) {
  animation-delay: -0.6s;
}

.travel-transition.pilgrim .loader-orbit span {
  width: 1.35rem;
  height: 2.45rem;
  border-radius: 60% 60% 46% 46%;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.95) 0 0.28rem, transparent 0.32rem),
    linear-gradient(180deg, rgba(255, 238, 196, 0.96), rgba(255, 200, 87, 0.5));
  box-shadow: 0 0 1.2rem rgba(255, 238, 196, 0.38);
}

.travel-transition.crossborder .loader-orbit span,
.travel-transition.default .loader-orbit span,
.travel-transition.photo .loader-orbit span {
  width: 1.9rem;
  height: 1.9rem;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50% 50% 50% 0;
  background: rgba(255, 200, 87, 0.54);
  transform: rotate(var(--orbit-angle)) translateY(calc(clamp(4.9rem, 18vw, 8.8rem) * -1)) rotate(45deg);
}

.travel-transition.crossborder .loader-orbit span::after,
.travel-transition.default .loader-orbit span::after,
.travel-transition.photo .loader-orbit span::after {
  position: absolute;
  inset: 0.42rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  content: "";
}

.transition-loader + .transition-copy {
  left: 50%;
  top: calc(50% + clamp(7.4rem, 24vw, 12rem));
  display: block;
  width: min(84vw, 28rem);
  max-width: none;
  padding: 0;
  text-align: center;
  transform: translateX(-50%);
  animation: loaderCaptionIn 0.5s 0.12s ease both;
}

.travel-transition.sea.departing .transition-loader + .transition-copy,
.travel-transition.sea.arriving .transition-loader + .transition-copy,
.travel-transition.mountains.departing .transition-loader + .transition-copy,
.travel-transition.mountains.arriving .transition-loader + .transition-copy {
  opacity: 1;
}

.travel-transition.arriving.done .transition-loader + .transition-copy {
  animation: loaderCaptionOut 0.32s ease both;
}

.transition-loader + .transition-copy small {
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.14em;
}

.transition-loader + .transition-copy strong {
  display: none;
}

@keyframes loaderSceneIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes loaderSceneOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes loaderRise {
  from {
    opacity: 0;
    transform: translateY(1.5rem) scale(0.86);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes loaderLeave {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-0.8rem) scale(0.94);
  }
}

@keyframes loaderOrbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loaderPulse {
  0%,
  100% {
    opacity: 0.34;
    transform: scale(0.82);
  }
  50% {
    opacity: 0.08;
    transform: scale(1.85);
  }
}

@keyframes sailboatBob {
  from {
    translate: 0 -0.2rem;
    rotate: -4deg;
  }
  to {
    translate: 0 0.28rem;
    rotate: 5deg;
  }
}

@keyframes loaderCaptionIn {
  from {
    opacity: 0;
    transform: translate(-50%, 0.8rem);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes loaderCaptionOut {
  from {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -0.4rem);
  }
}

@keyframes travelVeilIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes travelVeilOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes carrierDepart {
  from {
    transform: translateX(-115%);
  }
  to {
    transform: translateX(112vw);
  }
}

@keyframes carrierArrive {
  from {
    transform: translateX(10vw);
  }
  to {
    transform: translateX(122vw);
  }
}

@keyframes copyDepart {
  0% {
    opacity: 0;
    transform: translate(-130%, -50%);
  }
  22%,
  66% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(96vw, -50%);
  }
}

@keyframes copyArrive {
  from {
    opacity: 1;
    transform: translate(-2vw, -50%);
  }
  to {
    opacity: 0;
    transform: translate(96vw, -50%);
  }
}

@keyframes waveRipple {
  from {
    translate: 0 0;
  }
  to {
    translate: 3vw -1.2vh;
  }
}

@keyframes foamBreathe {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(2vw, -1vh, 0) scale(1.08);
  }
}

@keyframes seaWaveDepart {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(140vw);
  }
}

@keyframes seaWaveArrive {
  from {
    transform: translateX(92vw);
  }
  to {
    transform: translateX(148vw);
  }
}

@keyframes mountainsDepart {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(132vw);
  }
}

@keyframes mountainsArrive {
  from {
    transform: translateX(82vw);
  }
  to {
    transform: translateX(138vw);
  }
}

@keyframes birdWipeDepart {
  from {
    transform: translateX(0) scale(var(--bird-scale, 1));
  }
  to {
    transform: translateX(136vw) translateY(-8vh) scale(var(--bird-scale, 1));
  }
}

@keyframes birdWipeArrive {
  from {
    transform: translateX(78vw) scale(var(--bird-scale, 1));
  }
  to {
    transform: translateX(144vw) translateY(-8vh) scale(var(--bird-scale, 1));
  }
}

@keyframes routeDepart {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(142vw);
  }
}

@keyframes routeArrive {
  from {
    transform: translateX(68vw);
  }
  to {
    transform: translateX(142vw);
  }
}

@keyframes compassDepart {
  from {
    transform: translateX(0) scale(0.92);
  }
  to {
    transform: translateX(128vw) scale(1.08);
  }
}

@keyframes compassArrive {
  from {
    transform: translateX(64vw) scale(1);
  }
  to {
    transform: translateX(128vw) scale(1.08);
  }
}

@keyframes drift {
  to {
    transform: translate3d(2.4rem, -1.2rem, 0) scale(1.1);
  }
}

@keyframes drop {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  30%,
  70% {
    opacity: 1;
  }
  100% {
    transform: translateY(1.6rem);
    opacity: 0;
  }
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .nav {
    order: 3;
    display: flex;
    width: 100%;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    font-size: 0.82rem;
  }

  .header-contact {
    display: none;
  }

  .search-panel {
    grid-template-columns: 1fr 1fr;
  }

  .search-panel .primary-button {
    grid-column: 1 / -1;
  }

  .hero-stats {
    width: 100%;
    margin: 1rem 0 0;
  }

  .hero {
    min-height: auto;
    padding-bottom: 2rem;
  }

  .intro-band {
    padding-top: 2.5rem;
  }

  .trips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-band,
  .trust-section {
    grid-template-columns: 1fr;
  }

  .mood-tabs {
    justify-content: flex-start;
  }
}

.admin-page {
  color: var(--ink);
  background: #f6f8fb;
}

.tour-header .ghost-button {
  color: var(--white);
  background: var(--coral);
  border-color: var(--coral);
  text-decoration: none;
}

.tour-hero {
  position: relative;
  min-height: 78svh;
  padding: clamp(7rem, 10vw, 9rem) clamp(1rem, 5vw, 4rem) 4rem;
  overflow: hidden;
  color: var(--white);
}

.tour-hero-bg,
.tour-hero-video,
.tour-hero-overlay {
  position: absolute;
  inset: 0;
}

.tour-hero-bg {
  z-index: -4;
  background-position: center;
  background-size: cover;
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.tour-hero-video {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.04);
}

.tour-hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(11, 31, 50, 0.82), rgba(11, 31, 50, 0.48) 50%, rgba(11, 31, 50, 0.18)),
    linear-gradient(180deg, rgba(9, 27, 45, 0.3), rgba(9, 27, 45, 0.68) 100%);
}

.tour-hero-content {
  display: grid;
  gap: 1rem;
  width: min(58rem, 100%);
}

.tour-hero-content h1 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 6.2vw, 5.8rem);
}

.tour-hero-content > p:not(.eyebrow) {
  max-width: 45rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.02rem;
  line-height: 1.65;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  min-height: 2.35rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.back-link:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.tour-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 10rem));
  gap: 0.8rem;
  margin: 0.6rem 0;
}

.tour-facts div {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.tour-facts strong,
.tour-facts span {
  display: block;
}

.tour-facts span {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
}

.tour-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 25rem);
  gap: 1.25rem;
  width: min(1180px, calc(100% - 2rem));
  margin: clamp(2rem, 5vw, 4rem) auto 1.25rem;
}

.tour-main {
  display: grid;
  gap: 1.25rem;
}

.tour-card-section,
.tour-info-card {
  padding: clamp(1.1rem, 3vw, 2rem);
  border-radius: 1rem;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.tour-card-section h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.tour-reviews-section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto clamp(4rem, 8vw, 7rem);
}

.tour-text {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.tour-carousel {
  display: grid;
  gap: 0.9rem;
}

.tour-carousel-stage {
  position: relative;
  min-height: clamp(20rem, 48vw, 34rem);
  overflow: hidden;
  border-radius: 1.2rem;
  background: #dfe8f2;
  box-shadow: 0 24px 70px rgba(17, 35, 58, 0.16);
  isolation: isolate;
}

.tour-carousel-stage::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(16, 32, 51, 0.04), rgba(16, 32, 51, 0.34)),
    radial-gradient(circle at 18% 15%, rgba(255, 255, 255, 0.18), transparent 34%);
  content: "";
  pointer-events: none;
}

.tour-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.55s ease, transform 1.2s ease;
}

.tour-slide.active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

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

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  color: var(--white);
  background: rgba(16, 32, 51, 0.28);
  backdrop-filter: blur(14px);
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.2s ease, background 0.2s ease;
}

.carousel-arrow:hover {
  background: rgba(255, 90, 69, 0.82);
  transform: translateY(-50%) scale(1.06);
}

.carousel-arrow.prev {
  left: 1rem;
}

.carousel-arrow.next {
  right: 1rem;
}

.carousel-count {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 4;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: var(--white);
  background: rgba(16, 32, 51, 0.42);
  backdrop-filter: blur(14px);
  font-weight: 900;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.carousel-dots button {
  width: 0.58rem;
  height: 0.58rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 32, 51, 0.22);
  transition: width 0.25s ease, background 0.25s ease;
}

.carousel-dots button.active {
  width: 1.8rem;
  background: var(--coral);
}

.tour-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.tour-thumbs button {
  position: relative;
  height: 5.5rem;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.9rem;
  background: transparent;
  opacity: 0.72;
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.tour-thumbs button.active,
.tour-thumbs button:hover {
  border-color: var(--coral);
  opacity: 1;
  transform: translateY(-0.12rem);
}

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

.tour-sidebar {
  position: sticky;
  top: 5.5rem;
  display: grid;
  align-self: start;
  gap: 1rem;
}

.tour-info-card h3 {
  margin-bottom: 0.85rem;
  font-family: Manrope, system-ui, sans-serif;
}

.tour-info-card ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.5;
}

.tour-info-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.weekly-schedule {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.weekly-schedule span {
  display: grid;
  min-height: 2.4rem;
  place-items: center;
  border: 1px solid rgba(96, 112, 131, 0.16);
  border-radius: 0.7rem;
  color: rgba(96, 112, 131, 0.56);
  background: rgba(96, 112, 131, 0.06);
  font-size: 0.72rem;
  font-weight: 1000;
}

.weekly-schedule span.active {
  border-color: rgba(42, 157, 143, 0.42);
  color: var(--pine);
  background: rgba(42, 157, 143, 0.12);
}

.tour-time-block {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.85rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(42, 157, 143, 0.18);
  border-radius: 0.9rem;
  background: linear-gradient(135deg, rgba(42, 157, 143, 0.12), rgba(255, 211, 107, 0.12));
}

.tour-time-block span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tour-time-block strong {
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.2;
}

.schedule-note {
  font-size: 0.88rem;
}

.review-note {
  max-width: 44rem;
  color: var(--muted);
  line-height: 1.6;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.review-card {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid rgba(16, 32, 51, 0.1);
  border-radius: 1rem;
  background: #fbfcfe;
}

.review-card.minor {
  background: #fff8ef;
}

.review-card div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
}

.review-card span {
  color: var(--coral-dark);
  font-weight: 900;
}

.review-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.review-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(42, 157, 143, 0.14);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(42, 157, 143, 0.08), rgba(255, 255, 255, 0.94));
}

.review-form h3 {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
}

.review-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-weight: 900;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(16, 32, 51, 0.14);
  border-radius: 0.8rem;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  background: #fbfcfe;
  outline-color: var(--aqua);
}

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

.admin-shell {
  display: grid;
  grid-template-columns: 18rem minmax(0, 1fr);
  min-height: 100svh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  display: grid;
  gap: 1.5rem;
  min-height: 100svh;
  padding: 1.5rem;
  color: var(--white);
  background: linear-gradient(180deg, #102033, #0d766c);
}

.admin-sidebar .brand {
  color: var(--white);
  max-width: 100%;
}

.admin-nav {
  display: grid;
  gap: 0.5rem;
}

.admin-nav a,
.view-site {
  padding: 0.8rem 0.9rem;
  border-radius: 0.8rem;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  font-weight: 800;
}

.admin-main {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
  min-width: 0;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(17, 35, 58, 0.08);
}

.admin-topbar h1 {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.admin-status {
  color: var(--muted);
  font-weight: 800;
}

.admin-section {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(17, 35, 58, 0.08);
  min-width: 0;
}

.admin-section h2,
.admin-card h3 {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  line-height: 1.2;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-grid .wide {
  grid-column: 1 / -1;
}

.admin-page label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.admin-page input,
.admin-page textarea,
.admin-page select {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(16, 32, 51, 0.14);
  border-radius: 0.8rem;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  background: #fbfcfe;
  outline-color: var(--aqua);
}

.admin-page textarea {
  min-height: 6rem;
  resize: vertical;
}

.admin-checkbox-field {
  display: flex !important;
  align-items: center;
  gap: 0.7rem !important;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(16, 32, 51, 0.1);
  border-radius: 0.9rem;
  background: #fbfcfe;
}

.admin-checkbox-field input {
  width: 1.2rem;
  min-width: 1.2rem;
  height: 1.2rem;
}

.admin-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(16, 32, 51, 0.1);
  border-radius: 1rem;
  background: #fbfcfe;
}

.admin-trip-card {
  padding: 0;
  overflow: hidden;
}

.admin-trip-card.is-inactive {
  background: #eef2f6;
  border-color: rgba(96, 112, 131, 0.2);
}

.admin-trip-card.is-inactive .admin-trip-summary {
  opacity: 0.58;
  filter: grayscale(0.8);
}

.admin-trip-card.is-inactive[open] .admin-trip-summary {
  opacity: 0.72;
}

.admin-trip-search {
  max-width: 32rem;
}

.admin-trip-summary {
  display: grid;
  grid-template-columns: 4.4rem minmax(0, 1fr) auto auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem;
  cursor: pointer;
  list-style: none;
}

.admin-trip-summary::-webkit-details-marker {
  display: none;
}

.admin-trip-thumb {
  display: block;
  width: 4.4rem;
  aspect-ratio: 1.25 / 1;
  border-radius: 0.8rem;
  background: #dfe8f2 center/cover;
  box-shadow: inset 0 0 0 1px rgba(17, 35, 58, 0.08);
}

.admin-trip-name {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.admin-trip-name strong,
.admin-trip-name small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-trip-name small {
  color: var(--muted);
  font-weight: 800;
}

.admin-trip-badge,
.admin-trip-open {
  width: fit-content;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 1000;
  white-space: nowrap;
}

.admin-trip-badge {
  color: #2b2214;
  background: linear-gradient(135deg, #fff4d8, #ffd66e);
}

.admin-trip-badge.muted {
  color: var(--muted);
  background: #edf2f7;
}

.admin-trip-open {
  color: var(--white);
  background: var(--pine);
}

.admin-trip-editor {
  display: grid;
  gap: 1rem;
  padding: 0 1rem 1rem;
}

.admin-subsection {
  border: 1px solid rgba(16, 32, 51, 0.1);
  border-radius: 1rem;
  background: var(--white);
}

.admin-subsection > summary {
  padding: 0.9rem 1rem;
  cursor: pointer;
  color: var(--ink);
  font-weight: 1000;
}

.admin-subsection > .form-grid {
  padding: 0 1rem 1rem;
}

.admin-trip-danger {
  display: flex;
  justify-content: flex-end;
}

.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lead-card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.lead-card .admin-card-header span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-top-field {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem;
  border: 1px solid rgba(17, 35, 58, 0.1);
  border-radius: 1rem;
  background: #fffaf0;
}

.admin-top-field button {
  padding: 0.75rem 1rem;
  color: #2b2214;
  background: linear-gradient(135deg, #fff4d8, #ffd66e);
  box-shadow: 0 0.8rem 1.8rem rgba(255, 200, 87, 0.18);
}

.admin-top-field button.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--coral), #ff8a3d);
}

.admin-top-field span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-token-field {
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.admin-token-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-token-grid label {
  display: inline-flex;
  align-items: center;
  width: auto;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(16, 32, 51, 0.12);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  font-size: 0.82rem;
}

.admin-token-grid label.active {
  border-color: rgba(42, 157, 143, 0.36);
  color: var(--white);
  background: var(--pine);
}

.admin-token-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.danger-button,
.secondary-button {
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 900;
}

.secondary-button {
  color: var(--ink);
  background: #eaf0f7;
}

.danger-button {
  color: var(--white);
  background: #c9342a;
}

.admin-actions {
  position: sticky;
  bottom: 1rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(17, 35, 58, 0.12);
  backdrop-filter: blur(16px);
}

.admin-save-toast {
  position: absolute;
  right: 1rem;
  bottom: calc(100% + 0.65rem);
  transform: translateY(0.4rem);
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(42, 157, 143, 0.18);
  border-radius: 0.85rem;
  color: var(--pine);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(17, 35, 58, 0.12);
  font-size: 0.9rem;
  font-weight: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.admin-save-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.image-preview {
  width: min(100%, 24rem);
  aspect-ratio: 16 / 9;
  border-radius: 0.9rem;
  background: #dfe8f2 center/cover;
}

.crop-upload-hint {
  display: block;
  margin-top: -0.15rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.gallery-admin-field {
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.gallery-admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.gallery-upload-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  width: fit-content;
  cursor: pointer;
}

.gallery-upload-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.gallery-admin-item {
  display: grid;
  gap: 0.45rem;
  margin: 0;
}

.gallery-admin-item > span {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 0.75rem;
  background: #dfe8f2 center/cover;
  box-shadow: inset 0 0 0 1px rgba(17, 35, 58, 0.08);
}

.gallery-admin-item figcaption {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 0.35rem;
}

.gallery-admin-item button {
  min-width: 0;
  padding: 0.48rem 0.55rem;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: #eaf0f7;
  font-size: 0.72rem;
  font-weight: 900;
}

.gallery-admin-item button:first-child {
  color: #2b2214;
  background: linear-gradient(135deg, #fff4d8, #ffd66e);
}

.gallery-admin-item button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.gallery-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1rem;
  border: 1px dashed rgba(16, 32, 51, 0.16);
  border-radius: 0.9rem;
  color: var(--muted);
  background: #fbfcfe;
}

.image-cropper-modal {
  width: min(68rem, calc(100vw - 2rem));
  max-height: calc(100svh - 2rem);
  padding: 0;
  border: 0;
  border-radius: 1.4rem;
  color: var(--ink);
  background: transparent;
}

.image-cropper-modal::backdrop {
  background: rgba(10, 23, 38, 0.58);
  backdrop-filter: blur(12px);
}

.image-cropper-panel {
  overflow: hidden;
  border: 1px solid rgba(17, 35, 58, 0.1);
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 36px 110px rgba(17, 35, 58, 0.32);
}

.image-cropper-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1rem, 3vw, 1.6rem);
  border-bottom: 1px solid rgba(17, 35, 58, 0.08);
}

.image-cropper-head h2 {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.08;
}

.cropper-close {
  position: static;
  flex: 0 0 auto;
  color: var(--ink);
  background: #eaf0f7;
}

.image-cropper-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.6rem);
}

.image-cropper-stage {
  display: grid;
  min-height: 24rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(17, 35, 58, 0.1);
  border-radius: 1rem;
  background:
    linear-gradient(45deg, rgba(16, 32, 51, 0.05) 25%, transparent 25% 75%, rgba(16, 32, 51, 0.05) 75%),
    linear-gradient(45deg, rgba(16, 32, 51, 0.05) 25%, transparent 25% 75%, rgba(16, 32, 51, 0.05) 75%);
  background-position: 0 0, 0.75rem 0.75rem;
  background-size: 1.5rem 1.5rem;
}

.image-cropper-stage canvas {
  display: block;
  width: min(100%, 48rem);
  max-height: min(62svh, 42rem);
  border-radius: 0.75rem;
  object-fit: contain;
  box-shadow: 0 20px 70px rgba(17, 35, 58, 0.24);
}

.image-cropper-controls {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.cropper-presets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.cropper-presets button {
  display: grid;
  gap: 0.2rem;
  min-height: 4rem;
  padding: 0.7rem;
  border: 1px solid rgba(17, 35, 58, 0.1);
  border-radius: 0.85rem;
  color: var(--ink);
  background: #f7fafd;
  font-weight: 1000;
}

.cropper-presets button small {
  color: var(--muted);
  font-size: 0.72rem;
}

.cropper-presets button.active {
  border-color: rgba(13, 118, 108, 0.34);
  color: var(--white);
  background: linear-gradient(135deg, var(--pine), #2a9d8f);
  box-shadow: 0 12px 32px rgba(13, 118, 108, 0.18);
}

.cropper-presets button.active small {
  color: rgba(255, 255, 255, 0.78);
}

.image-cropper-controls label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 1000;
}

.image-cropper-controls input[type="range"] {
  width: 100%;
  accent-color: var(--pine);
}

.cropper-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.admin-icon-field {
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.admin-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.admin-icon-grid button {
  display: grid;
  min-height: 7.4rem;
  place-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(16, 32, 51, 0.12);
  border-radius: 0.9rem;
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(17, 35, 58, 0.06);
}

.admin-icon-grid button.active {
  border-color: var(--coral);
  background: #fff4ef;
  box-shadow: 0 12px 30px rgba(255, 90, 69, 0.16);
}

.admin-icon-grid strong {
  font-size: 0.78rem;
}

.admin-icon-preview {
  position: relative;
  display: grid;
  width: 3.4rem;
  height: 3.4rem;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(13, 118, 108, 0.16), rgba(0, 166, 191, 0.12));
}

.admin-icon-preview::before,
.admin-icon-preview::after {
  position: absolute;
  content: "";
}

.admin-icon-preview.mountains::before,
.admin-icon-preview.mountains::after {
  bottom: 0.65rem;
  width: 1.55rem;
  height: 1.8rem;
  background: linear-gradient(135deg, var(--pine), rgba(255, 200, 87, 0.72));
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.admin-icon-preview.mountains::before {
  left: 0.72rem;
}

.admin-icon-preview.mountains::after {
  right: 0.65rem;
  height: 2.15rem;
  background: linear-gradient(135deg, #ffffff, var(--pine));
}

.admin-icon-preview.sea::before {
  left: 0.58rem;
  right: 0.58rem;
  bottom: 0.52rem;
  height: 0.95rem;
  border-radius: 0 0 999px 999px;
  background:
    radial-gradient(ellipse at 24% 0%, rgba(255, 255, 255, 0.92) 0 18%, transparent 19%),
    radial-gradient(ellipse at 60% 0%, rgba(255, 255, 255, 0.72) 0 14%, transparent 15%),
    linear-gradient(180deg, #59d5e6, #075b77);
}

.admin-icon-preview.sea::after {
  top: 0.48rem;
  left: 0.86rem;
  width: 1.9rem;
  height: 2rem;
  background:
    linear-gradient(90deg, transparent 0.88rem, #ffffff 0.89rem 1rem, transparent 1.01rem),
    linear-gradient(135deg, transparent 0 47%, #ffffff 48% 100%),
    linear-gradient(225deg, transparent 0 47%, #b6f4fa 48% 100%),
    linear-gradient(180deg, transparent 1.56rem, #075b77 1.57rem 1.82rem, transparent 1.83rem);
  clip-path: polygon(48% 0, 100% 70%, 61% 70%, 61% 86%, 12% 86%, 12% 72%, 0 72%);
}

.admin-icon-preview.pilgrim::before {
  width: 1rem;
  height: 2.1rem;
  border-radius: 60% 60% 45% 45%;
  background:
    radial-gradient(circle at 50% 24%, #ffffff 0 0.22rem, transparent 0.26rem),
    linear-gradient(180deg, #ffeec4, var(--gold));
  box-shadow: 0 0 1rem rgba(255, 200, 87, 0.45);
}

.admin-icon-preview.pilgrim::after {
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid rgba(255, 200, 87, 0.55);
  border-radius: 50%;
}

.admin-icon-preview.default::before {
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid rgba(16, 32, 51, 0.28);
  border-radius: 50%;
  background:
    linear-gradient(45deg, transparent 0 43%, #ffffff 44% 56%, transparent 57%),
    linear-gradient(135deg, transparent 0 43%, var(--gold) 44% 56%, transparent 57%);
}

.admin-icon-preview.default::after {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 0.16rem rgba(255, 255, 255, 0.88);
}

@media (max-width: 900px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    min-height: auto;
  }

  .admin-nav {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .admin-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tour-layout {
    grid-template-columns: 1fr;
  }

  .tour-sidebar {
    position: static;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .tour-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tour-thumbs button {
    height: 4.4rem;
  }

  .image-cropper-layout {
    grid-template-columns: 1fr;
  }

  .image-cropper-stage {
    min-height: 18rem;
  }
}

@media (max-width: 640px) {
  .ai-guest-grid,
  .ai-interest-grid {
    grid-template-columns: 1fr;
  }

  .tour-facts {
    grid-template-columns: 1fr;
  }

  .image-cropper-modal {
    width: calc(100vw - 1rem);
  }

  .image-cropper-head,
  .image-cropper-layout {
    padding: 0.9rem;
  }

  .cropper-presets {
    grid-template-columns: 1fr;
  }

  .tour-carousel-stage {
    min-height: 18rem;
  }

  .carousel-arrow {
    width: 2.65rem;
    height: 2.65rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 0.65rem;
    padding: 0.75rem 0.8rem;
  }

  .brand {
    gap: 0.55rem;
    font-size: 0.85rem;
  }

  .brand-mark {
    width: 2.35rem;
    height: 2.35rem;
  }

  .brand small {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }

  .nav {
    gap: 0.55rem;
    font-size: 0.74rem;
  }

  .header-contact {
    display: none;
  }

  .ghost-button {
    padding: 0.7rem 0.9rem;
    font-size: 0.82rem;
  }

  .hero {
    min-height: auto;
    padding-top: 6.25rem;
    padding-bottom: 1rem;
  }

  .intro-band {
    padding-top: 1.35rem;
  }

  h1 {
    font-size: clamp(2.2rem, 9vw, 2.95rem);
    line-height: 0.96;
  }

  .search-panel {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    width: 100%;
    margin: 0.7rem 0 0;
  }

  .hero-stats div {
    min-height: 4.25rem;
    padding: 0.62rem 0.5rem;
    border-radius: 0.8rem;
  }

  .hero-stats strong {
    font-size: clamp(1.2rem, 6vw, 1.5rem);
    line-height: 1;
  }

  .hero-stats span {
    display: block;
    margin-top: 0.28rem;
    font-size: 0.6rem;
    line-height: 1.15;
  }

  .trips {
    grid-template-columns: 1fr;
  }

  .trip-card {
    min-height: 26rem;
  }

  .trust-section {
    padding: 1.2rem;
    border-radius: 1rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .tour-hero {
    min-height: auto;
    padding: 5.6rem 0.85rem 1.15rem;
  }

  .tour-hero-content {
    gap: 0.8rem;
  }

  .tour-hero-content h1 {
    font-size: clamp(2.25rem, 10vw, 3.05rem);
    line-height: 0.95;
  }

  .tour-hero-content > p:not(.eyebrow) {
    max-width: none;
    font-size: 0.95rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
  }

  .tour-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    margin: 0.35rem 0 0;
  }

  .tour-facts div {
    padding: 0.75rem;
    border-radius: 0.85rem;
  }

  .tour-facts strong {
    font-size: 1rem;
  }

  .tour-facts span {
    font-size: 0.66rem;
    line-height: 1.12;
  }

  .tour-layout {
    width: min(1180px, calc(100% - 1rem));
    margin-top: 1rem;
  }

  .tour-card-section h2 {
    font-size: clamp(1.65rem, 7vw, 2.4rem);
  }

  .tour-text {
    font-size: 0.97rem;
    line-height: 1.68;
  }

  .tour-sidebar {
    gap: 0.8rem;
  }

  .admin-shell {
    overflow-x: clip;
  }

  .admin-sidebar {
    gap: 1rem;
    padding: 1rem 0.85rem;
  }

  .admin-nav {
    gap: 0.45rem;
  }

  .admin-nav a,
  .view-site {
    padding: 0.72rem 0.85rem;
  }

  .admin-main {
    gap: 0.85rem;
    padding: 0.8rem;
  }

  .admin-topbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.9rem;
  }

  .admin-topbar h1 {
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  .admin-section {
    padding: 0.9rem;
    border-radius: 0.9rem;
  }

  .admin-actions {
    position: static;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 0.55rem;
    margin-top: 0.4rem;
    padding: 0.85rem;
  }

  .admin-actions .secondary-button,
  .admin-actions .danger-button {
    width: 100%;
  }

  .admin-save-toast {
    right: 0.75rem;
    left: 0.75rem;
    bottom: calc(100% + 0.5rem);
    text-align: center;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 20rem);
  }

  .hero-actions .primary-button,
  .hero-actions .ai-button {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tour-facts {
    grid-template-columns: 1fr;
  }

  .admin-nav {
    grid-template-columns: 1fr;
  }

  .gallery-preview-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .travel-transition {
    display: none !important;
  }

  .hero-video,
  .tour-hero-video {
    display: none;
  }
}
