/* ============================================
   LOUJA TOURS — MOROCCAN ATELIER STYLESHEET
   Light · Maximalist · Pattern-driven luxury
   ============================================ */

:root {
  /* Palette — warm plaster, terracotta, zellige blue, saffron */
  --color-bg:        #f7f1e4;
  --color-bg-soft:   #fbf7ee;
  --color-card:      #ffffff;
  --color-ink:       #2b1f17;
  --color-ink-soft:  #5a4a3a;
  --color-terracotta:#c1542c;
  --color-terracotta-deep: #9c3e1d;
  --color-blue:      #1f5c6b;
  --color-blue-deep: #143e48;
  --color-gold:      #d9a441;
  --color-gold-deep: #b8842a;
  --color-line:      rgba(43, 31, 23, 0.12);
  --color-line-gold: rgba(217, 164, 65, 0.45);

  /* Type */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;

  /* Easing */
  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-height: 92px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* base plaster texture + faint tile wash across the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-color: var(--color-bg);
  background-image:
    radial-gradient(circle at 0 0, rgba(217,164,65,0.07) 0, transparent 45%),
    radial-gradient(circle at 100% 0, rgba(31,92,107,0.06) 0, transparent 45%),
    radial-gradient(circle at 0 100%, rgba(193,84,44,0.06) 0, transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(217,164,65,0.07) 0, transparent 45%);
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

::selection { background: var(--color-terracotta); color: var(--color-bg); }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb {
  background: var(--color-terracotta);
  border-radius: 10px;
  border: 2px solid var(--color-bg);
}

/* ============================================
   ZELLIGE PATTERN LIBRARY (SVG data-URIs)
   Used as background-image across the site —
   this is the site's signature device.
   ============================================ */
:root {
  --pattern-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23c1542c' stroke-width='1'%3E%3Cpath d='M30 2 L37 23 L58 23 L41 36 L48 57 L30 44 L12 57 L19 36 L2 23 L23 23 Z'/%3E%3C/g%3E%3C/svg%3E");
  --pattern-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cg fill='none' stroke='%231f5c6b' stroke-width='1.1'%3E%3Cpath d='M22 0 L29 7 L37 7 L37 15 L44 22 L37 29 L37 37 L29 37 L22 44 L15 37 L7 37 L7 29 L0 22 L7 15 L7 7 L15 7 Z'/%3E%3Ccircle cx='22' cy='22' r='6'/%3E%3C/g%3E%3C/svg%3E");
  --pattern-diamond: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%23d9a441' stroke-width='1'%3E%3Cpath d='M20 0 L40 20 L20 40 L0 20 Z'/%3E%3Cpath d='M20 8 L32 20 L20 32 L8 20 Z'/%3E%3C/g%3E%3C/svg%3E");
}

.pattern-bg-star {
  background-image: var(--pattern-star);
  background-size: 60px 60px;
}
.pattern-bg-cross {
  background-image: var(--pattern-cross);
  background-size: 44px 44px;
}
.pattern-bg-diamond {
  background-image: var(--pattern-diamond);
  background-size: 40px 40px;
}

/* Arch divider — used between sections like a Moroccan doorway */
.arch-divider {
  position: relative;
  height: 64px;
  width: 100%;
  overflow: hidden;
  background: var(--color-bg);
}
.arch-divider svg { width: 100%; height: 100%; display: block; }

/* Decorative tiled border strip — a literal mosaic band */
.tile-strip {
  height: 14px;
  width: 100%;
  background-image:
    linear-gradient(135deg, var(--color-terracotta) 25%, transparent 25%) -7px 0,
    linear-gradient(225deg, var(--color-terracotta) 25%, transparent 25%) -7px 0,
    linear-gradient(45deg, var(--color-blue) 25%, transparent 25%),
    linear-gradient(315deg, var(--color-blue) 25%, transparent 25%);
  background-position: 0 0, 0 0, 7px 0, 7px 0;
  background-size: 14px 14px;
  background-repeat: repeat-x;
  opacity: 0.9;
}

/* ============================================
   GRAIN OVERLAY (subtle paper texture, light mode)
   ============================================ */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: 0.025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================
   LOADER
   ============================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--color-bg);
  background-image: var(--pattern-star);
  background-size: 60px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.1s var(--ease-cinematic), visibility 1.1s var(--ease-cinematic);
}
.loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-mark {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--color-bg);
  padding: 1.4rem 2.2rem;
}
.loader-word {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.15em;
  color: var(--color-ink);
  opacity: 0;
  animation: loaderWordIn 1.4s var(--ease-cinematic) 0.2s forwards;
}
.loader-line {
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-terracotta), var(--color-gold));
  animation: loaderLineGrow 1.2s var(--ease-cinematic) 0.4s forwards;
}
@keyframes loaderLineGrow { to { width: 60px; } }
@keyframes loaderWordIn {
  0% { opacity: 0; letter-spacing: 0.5em; }
  100% { opacity: 1; letter-spacing: 0.15em; }
}

/* ============================================
   TYPOGRAPHY HELPERS
   ============================================ */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  font-weight: 600;
  margin-bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--color-terracotta);
}
.eyebrow.light { color: var(--color-gold); }
.eyebrow.light::before { background: var(--color-gold); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.2vw, 3.7rem);
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.12;
  letter-spacing: 0.005em;
}
.section-title em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(120deg, var(--color-terracotta), var(--color-gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-title.center { text-align: center; }
.section-title.on-dark { color: var(--color-bg); }
.section-title.on-dark em {
  background: linear-gradient(120deg, var(--color-gold), #f0d9a0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--color-terracotta-deep);
  line-height: 1.6;
  margin: 1.6rem 0 1.4rem;
  font-weight: 500;
}
.body-text {
  font-size: 0.98rem;
  font-weight: 300;
  color: var(--color-ink-soft);
  max-width: 46ch;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.05rem 2.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-bg);
  background: linear-gradient(135deg, var(--color-terracotta), var(--color-terracotta-deep));
  border-radius: 2px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.6s var(--ease-bounce), box-shadow 0.6s var(--ease-cinematic);
  font-weight: 600;
  border: 1px solid var(--color-terracotta-deep);
}
.btn i { font-size: 0.85rem; transition: transform 0.5s var(--ease-cinematic); }
.btn-glow::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: radial-gradient(circle at 50% 50%, rgba(217,164,65,0.95), transparent 70%);
  opacity: 0;
  transition: opacity 0.6s var(--ease-cinematic);
  filter: blur(16px);
}
.btn-glow:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 44px -10px rgba(193,84,44,0.5);
}
.btn-glow:hover::before { opacity: 0.9; }
.btn-glow:hover i { transform: translateX(4px); }
.btn-form { width: 100%; justify-content: center; margin-top: 0.6rem; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  background: transparent;
  transition: background 0.6s var(--ease-soft), backdrop-filter 0.6s var(--ease-soft), height 0.5s var(--ease-soft), box-shadow 0.6s var(--ease-soft), border-color 0.6s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  height: 76px;
  background: rgba(247, 241, 228, 0.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--color-line-gold);
  box-shadow: 0 8px 30px -18px rgba(43,31,23,0.25);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--color-ink);
  font-weight: 700;
}
.nav-logo span { color: var(--color-terracotta); font-weight: 500; font-style: italic; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.6rem;
}
.nav-links a {
  position: relative;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  padding: 0.4rem 0;
  font-weight: 500;
}
.nav-links a span { position: relative; display: inline-block; }
.nav-links a:not(.nav-cta) span::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-terracotta), var(--color-gold));
  transition: width 0.5s var(--ease-cinematic);
}
.nav-links a:not(.nav-cta):hover span::after { width: 100%; }
.nav-links a:not(.nav-cta):hover { color: var(--color-terracotta); }

.nav-cta {
  border: 1.5px solid var(--color-terracotta);
  padding: 0.6rem 1.4rem !important;
  border-radius: 2px;
  color: var(--color-terracotta) !important;
  transition: background 0.5s var(--ease-cinematic), color 0.5s var(--ease-cinematic), transform 0.4s var(--ease-bounce);
}
.nav-cta:hover {
  background: var(--color-terracotta);
  color: var(--color-bg) !important;
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  z-index: 1001;
}
.nav-toggle span {
  height: 2px;
  width: 100%;
  background: var(--color-ink);
  transition: transform 0.4s var(--ease-cinematic), opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  animation: heroZoom 16s var(--ease-soft) forwards;
  will-change: transform;
}
@keyframes heroZoom {
  0% { transform: scale(1.18); }
  100% { transform: scale(1.02); }
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(43,31,23,0.45) 0%, rgba(43,31,23,0.25) 35%, rgba(43,31,23,0.65) 85%, rgba(20,15,10,0.88) 100%),
    linear-gradient(90deg, rgba(43,31,23,0.4) 0%, transparent 30%, transparent 70%, rgba(43,31,23,0.4) 100%);
}
/* layered pattern glow on hero for the "crazy pattern" signature */
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: var(--pattern-star);
  background-size: 80px 80px;
  opacity: 0.18;
  mix-blend-mode: overlay;
  z-index: 1;
  animation: patternDrift 40s linear infinite;
}
@keyframes patternDrift {
  from { background-position: 0 0; }
  to { background-position: 400px 400px; }
}
.hero-frame {
  position: absolute;
  inset: 22px;
  border: 1.5px solid rgba(247,241,228,0.5);
  z-index: 2;
  pointer-events: none;
}
.hero-frame::before,
.hero-frame::after {
  content: "";
  position: absolute;
  width: 34px; height: 34px;
  border: 2px solid var(--color-gold);
}
.hero-frame::before { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.hero-frame::after { bottom: -2px; right: -2px; border-left: none; border-top: none; }
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.6rem, 11vw, 8.8rem);
  color: var(--color-bg);
  line-height: 0.95;
  margin: 0.4rem 0 1rem;
  text-shadow: 0 8px 50px rgba(0,0,0,0.35);
}
.title-line {
  display: block;
  overflow: hidden;
}
.title-accent {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(120deg, var(--color-gold), #f3deab, var(--color-terracotta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  letter-spacing: 0.1em;
  color: var(--color-bg);
  font-weight: 300;
  margin-bottom: 2.6rem;
  opacity: 0.95;
}
.hero-scroll-cue {
  position: absolute;
  bottom: 2.6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-bg);
  opacity: 0.8;
}
.scroll-line {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, var(--color-gold), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg);
  animation: scrollCue 2.4s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ============================================
   SCROLL REVEAL (generic)
   ============================================ */
.reveal-fade, .reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 1.1s var(--ease-cinematic), transform 1.1s var(--ease-cinematic);
  transition-delay: calc(var(--reveal-order, 0) * 0.12s);
}
.reveal-fade { transform: translateY(28px); }
.reveal-up { transform: translateY(55px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal-fade.in-view,
.reveal-up.in-view,
.reveal-left.in-view,
.reveal-right.in-view {
  opacity: 1;
  transform: translate(0, 0);
}

.hero-content .reveal-fade { transition-delay: calc(var(--d, 0) * 0.18s + 0.3s); }

/* ============================================
   SECTION SPACING
   ============================================ */
section {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) 6vw;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  background: var(--color-bg-soft);
  position: relative;
}
.about-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
.about-media { position: relative; }
.about-media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4/5;
  box-shadow: 0 40px 80px -24px rgba(43,31,23,0.45), 0 0 0 1px rgba(217,164,65,0.5);
}
.about-media-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-cinematic);
}
.about-media:hover .about-media-frame img { transform: scale(1.08) rotate(0.6deg); }

/* pattern medallion behind the frame */
.about-media::before {
  content: "";
  position: absolute;
  top: -2.4rem; left: -2.4rem;
  width: 130px; height: 130px;
  background-image: var(--pattern-cross);
  background-size: 36px 36px;
  opacity: 0.5;
  z-index: -1;
  border-radius: 50%;
}
.about-media::after {
  content: "";
  position: absolute;
  bottom: -2rem; right: -2rem;
  width: 100px; height: 100px;
  background-image: var(--pattern-diamond);
  background-size: 30px 30px;
  opacity: 0.55;
  z-index: -1;
}

.about-media-caption {
  position: absolute;
  bottom: -1.6rem;
  right: -1.2rem;
  background: var(--color-card);
  border: 1.5px solid var(--color-line-gold);
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--color-terracotta-deep);
  box-shadow: 0 20px 50px -15px rgba(43,31,23,0.3);
  border-radius: 3px;
}
.caption-line { width: 22px; height: 2px; background: linear-gradient(90deg, var(--color-terracotta), var(--color-gold)); }

.about-stats {
  display: flex;
  gap: clamp(1.6rem, 4vw, 3rem);
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 2px dashed var(--color-line-gold);
}
.stat { display: flex; flex-direction: column; gap: 0.3rem; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.1rem;
  background: linear-gradient(120deg, var(--color-terracotta), var(--color-gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  opacity: 0.85;
  font-weight: 500;
}

/* ============================================
   EXPERIENCE — dark jewel-tone band for contrast
   ============================================ */
.experience {
  background: linear-gradient(165deg, var(--color-blue-deep), var(--color-blue) 60%, #1a4d59);
  text-align: center;
  overflow: hidden;
}
.experience::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern-star);
  background-size: 70px 70px;
  opacity: 0.08;
  z-index: 0;
}
.experience-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 22vw;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(217,164,65,0.08);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.experience-inner { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; }
.experience-intro {
  max-width: 56ch;
  margin: 1.4rem auto 4rem;
  font-size: 1.05rem;
  color: var(--color-bg);
  opacity: 0.92;
}
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  text-align: left;
}
.exp-card {
  background: rgba(247,241,228,0.07);
  border: 1.5px solid rgba(217,164,65,0.3);
  border-radius: 14px;
  padding: 2.4rem 2rem;
  backdrop-filter: blur(8px);
  transition: transform 0.55s var(--ease-bounce), border-color 0.6s var(--ease-cinematic), background 0.6s var(--ease-cinematic), box-shadow 0.55s var(--ease-cinematic);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 44px -22px rgba(10,25,30,0.5);
}
.exp-card::after {
  content: "";
  position: absolute;
  top: -20px; right: -20px;
  width: 80px; height: 80px;
  background-image: var(--pattern-diamond);
  background-size: 26px 26px;
  opacity: 0.25;
}
.exp-card:nth-child(even) { transform: rotate(-0.6deg); }
.exp-card:nth-child(odd) { transform: rotate(0.5deg); }
.exp-card:hover {
  transform: translateY(-10px) rotate(0deg) scale(1.02);
  border-color: var(--color-gold);
  background: rgba(247,241,228,0.11);
  box-shadow: 0 30px 60px -20px rgba(10,25,30,0.6), 0 0 0 1px rgba(217,164,65,0.5);
}
.exp-icon {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  color: var(--color-gold);
  font-size: 1.2rem;
  margin-bottom: 1.4rem;
  transition: background 0.5s var(--ease-cinematic), color 0.5s var(--ease-cinematic), transform 0.5s var(--ease-bounce);
}
.exp-card:hover .exp-icon {
  background: var(--color-gold);
  color: var(--color-blue-deep);
  transform: rotate(12deg) scale(1.1);
}
.exp-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-bg);
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.exp-card p {
  font-size: 0.9rem;
  color: var(--color-bg);
  opacity: 0.8;
  line-height: 1.65;
}

/* ============================================
   DESTINATIONS
   ============================================ */
.destinations { background: var(--color-bg); }
.destinations-header { text-align: center; max-width: 700px; margin: 0 auto 3.5rem; }
.destinations-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.dest-card {
  position: relative;
  aspect-ratio: 3/4.3;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 24px 50px -20px rgba(43,31,23,0.4), 0 0 0 1px rgba(217,164,65,0.35);
  transition: transform 0.5s var(--ease-bounce), box-shadow 0.5s var(--ease-cinematic);
}
.dest-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px -18px rgba(43,31,23,0.5), 0 0 0 1.5px rgba(217,164,65,0.7);
}
.dest-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease-cinematic);
}
.dest-card:hover img { transform: scale(1.18); }
.dest-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,92,107,0.1) 0%, rgba(43,31,23,0.9) 100%);
  transition: background 0.6s var(--ease-cinematic);
}
.dest-card:hover .dest-overlay {
  background: linear-gradient(180deg, rgba(193,84,44,0.25) 0%, rgba(43,31,23,0.94) 100%);
}
.dest-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.8rem 1.5rem;
  transform: translateY(8px);
  transition: transform 0.6s var(--ease-cinematic);
}
.dest-card:hover .dest-content { transform: translateY(0); }
.dest-number {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-gold);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
.dest-content h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--color-bg);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.dest-content p {
  font-size: 0.82rem;
  color: var(--color-bg);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease 0.1s, max-height 0.6s var(--ease-cinematic);
  line-height: 1.5;
}
.dest-card:hover .dest-content p {
  opacity: 0.9;
  max-height: 100px;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  background: var(--color-bg-soft);
  position: relative;
}
.gallery-header { text-align: center; max-width: 700px; margin: 0 auto 3.5rem; position: relative; z-index: 1; }

/* BENTO GRID — 12-column base, deliberate asymmetric spans.
   Editorial logic: one hero image, two mid-weight images,
   two smaller accent images — not a uniform mosaic. */
.gallery-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 90px;
  gap: 1.1rem;
  position: relative;
  z-index: 1;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 18px 40px -20px rgba(43,31,23,0.4), 0 0 0 1px rgba(217,164,65,0.3);
  transition: box-shadow 0.5s var(--ease-cinematic);
}
.gallery-item:hover {
  box-shadow: 0 28px 56px -18px rgba(43,31,23,0.5), 0 0 0 1.5px rgba(217,164,65,0.65);
}

/* bento layout (12-col grid, two row-blocks):
   Block A — rows 1 to 5:
     item-1: cols 1–7 (span 7),  rows 1–5 (span 5)  — hero image, tall left
     item-2: cols 8–12 (span 5), rows 1–2 (span 2)  — wide accent, top right
     item-3: cols 8–12 (span 5), rows 3–5 (span 3)  — tall accent, bottom right
   Block B — rows 6 to 8:
     item-4: cols 1–5 (span 5),  rows 6–8 (span 3)
     item-5: cols 6–12 (span 7), rows 6–8 (span 3)
   Column sums check out: 7+5=12 and 5+7=12. */
.item-1 { grid-column: 1 / span 7; grid-row: 1 / span 5; }
.item-2 { grid-column: 8 / span 5; grid-row: 1 / span 2; }
.item-3 { grid-column: 8 / span 5; grid-row: 3 / span 3; }
.item-4 { grid-column: 1 / span 5; grid-row: 6 / span 3; }
.item-5 { grid-column: 6 / span 7; grid-row: 6 / span 3; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-cinematic);
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  background: linear-gradient(180deg, transparent 50%, rgba(43,31,23,0.88) 100%);
  opacity: 0;
  transition: opacity 0.55s var(--ease-cinematic);
}
.gallery-item:hover figcaption { opacity: 1; }
.gallery-item figcaption span {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-bg);
  font-size: 1.1rem;
  transform: translateY(10px);
  transition: transform 0.55s var(--ease-cinematic);
  display: inline-block;
}
.gallery-item:hover figcaption span { transform: translateY(0); }

/* ============================================
   REVIEWS
   ============================================ */
.reviews {
  background: linear-gradient(165deg, var(--color-terracotta-deep), var(--color-terracotta) 55%, #b5552f);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.reviews::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern-cross);
  background-size: 50px 50px;
  opacity: 0.1;
}
.reviews-header { max-width: 700px; margin: 0 auto 3.5rem; position: relative; z-index: 1; }
.reviews-track-wrap {
  max-width: 1320px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.reviews-track-wrap::before,
.reviews-track-wrap::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.reviews-track-wrap::before { left: 0; background: linear-gradient(90deg, var(--color-terracotta-deep), transparent); }
.reviews-track-wrap::after { right: 0; background: linear-gradient(270deg, var(--color-terracotta-deep), transparent); }

.reviews-track {
  display: flex;
  gap: 1.6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0.2rem 1.5rem;
  scrollbar-width: thin;
}
.review-card {
  scroll-snap-align: start;
  flex: 0 0 clamp(290px, 33vw, 380px);
  background: linear-gradient(165deg, #ffffff, #fff8ee);
  border-radius: 16px;
  padding: 2.6rem 2.1rem 2.2rem;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.55s var(--ease-bounce), box-shadow 0.55s var(--ease-cinematic);
  box-shadow: 0 20px 48px -20px rgba(43,31,23,0.45);
}
.review-card::before {
  content: "\201C";
  position: absolute;
  top: -1.2rem;
  right: 0.8rem;
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-gold);
  opacity: 0.16;
  pointer-events: none;
}
.review-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(217,164,65,0.6), rgba(193,84,44,0.15), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.review-card:hover {
  transform: translateY(-10px) rotate(-0.4deg);
  box-shadow: 0 32px 64px -18px rgba(43,31,23,0.5), 0 0 0 1px rgba(217,164,65,0.4);
}
.review-stars {
  color: var(--color-gold-deep);
  font-size: 0.8rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.22em;
  position: relative;
  z-index: 1;
}
.review-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-ink);
  line-height: 1.7;
  margin-bottom: 1.8rem;
  position: relative;
  z-index: 1;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  position: relative;
  z-index: 1;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(43,31,23,0.08);
}
.review-avatar {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(150deg, var(--color-terracotta), var(--color-gold-deep));
  box-shadow: 0 6px 16px -4px rgba(193,84,44,0.5);
}
.review-author-text { display: flex; flex-direction: column; gap: 0.15rem; }
.author-name { font-size: 0.86rem; color: var(--color-terracotta-deep); font-weight: 600; letter-spacing: 0.03em; }
.author-origin { font-size: 0.72rem; color: var(--color-ink-soft); opacity: 0.7; letter-spacing: 0.05em; }

/* ============================================
   CONTACT
   ============================================ */
.contact { background: var(--color-bg); }
.contact-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.contact-details { margin-top: 2.4rem; display: flex; flex-direction: column; gap: 1.1rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.92rem;
  color: var(--color-ink-soft);
  transition: color 0.4s ease, transform 0.4s var(--ease-cinematic);
}
a.contact-detail:hover { color: var(--color-terracotta); transform: translateX(6px); }
.contact-detail i {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--color-terracotta);
  border-radius: 50%;
  color: var(--color-terracotta);
  font-size: 0.85rem;
  flex-shrink: 0;
  background: var(--color-card);
}

.contact-form {
  background: var(--color-card);
  border: 1.5px solid var(--color-line-gold);
  border-radius: 10px;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 24px 60px -24px rgba(43,31,23,0.3);
  position: relative;
  overflow: hidden;
}
.contact-form::before {
  content: "";
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  background-image: var(--pattern-star);
  background-size: 40px 40px;
  opacity: 0.2;
}
.form-group {
  position: relative;
  margin-bottom: 2.1rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--color-line);
  color: var(--color-ink);
  font-size: 0.98rem;
  padding: 0.6rem 0.1rem;
  resize: none;
  outline: none;
  transition: border-color 0.4s ease;
}
.form-group textarea { font-family: var(--font-body); }
.form-group label {
  position: absolute;
  left: 0.1rem;
  top: 0.6rem;
  font-size: 0.95rem;
  color: var(--color-ink-soft);
  opacity: 0.65;
  pointer-events: none;
  transition: transform 0.4s var(--ease-cinematic), font-size 0.4s var(--ease-cinematic), opacity 0.4s ease, color 0.4s ease;
}
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  transform: translateY(-1.5rem);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--color-terracotta);
  opacity: 1;
}
.form-underline {
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-terracotta), var(--color-gold));
  transition: width 0.5s var(--ease-cinematic);
}
.form-group input:focus ~ .form-underline,
.form-group textarea:focus ~ .form-underline { width: 100%; }

.form-success {
  margin-top: 1.2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-terracotta-deep);
  font-weight: 500;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.6s ease, max-height 0.6s ease;
}
.form-success.show { opacity: 1; max-height: 60px; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-ink);
  padding: 4.5rem 6vw 2.5rem;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern-diamond);
  background-size: 40px 40px;
  opacity: 0.06;
}
.footer-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--color-bg);
  letter-spacing: 0.05em;
  font-weight: 700;
}
.footer-logo span { color: var(--color-gold); font-style: italic; font-weight: 500; }
.footer-tagline {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--color-bg);
  opacity: 0.7;
  margin: 0.8rem 0 2.2rem;
}
.footer-socials {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2.6rem;
}
.footer-socials a {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(247,241,228,0.25);
  border-radius: 50%;
  color: var(--color-bg);
  font-size: 0.95rem;
  transition: border-color 0.4s ease, color 0.4s ease, transform 0.5s var(--ease-bounce), background 0.4s ease;
}
.footer-socials a:hover {
  border-color: var(--color-gold);
  color: var(--color-ink);
  background: var(--color-gold);
  transform: translateY(-5px) rotate(8deg);
}
.footer-bottom {
  width: 100%;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer-line { width: 50px; height: 2px; background: linear-gradient(90deg, var(--color-terracotta), var(--color-gold)); }
.footer-bottom p {
  font-size: 0.75rem;
  color: var(--color-bg);
  opacity: 0.5;
  letter-spacing: 0.04em;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--color-terracotta);
  border: 2px solid var(--color-bg);
  color: var(--color-bg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -10px rgba(193,84,44,0.6);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.8);
  transition: opacity 0.5s var(--ease-cinematic), transform 0.5s var(--ease-bounce), visibility 0.5s, background 0.4s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.back-to-top:hover { background: var(--color-gold-deep); transform: translateY(-4px) scale(1.08) rotate(-8deg); }

/* ============================================
   SPA PAGE-VIEW ROUTING & TRANSITIONS
   Simulated multi-page navigation — fade/slide
   ============================================ */
body.is-routing {
  overflow: hidden;
}
.page-view {
  display: none;
}
.page-view.is-active {
  display: block;
}

/* Entering view: slides up + fades in */
.page-view.is-entering {
  display: block;
  animation: pageEnter 0.85s var(--ease-cinematic) forwards;
}
/* Leaving view: slides down + fades out */
.page-view.is-leaving {
  display: block;
  animation: pageLeave 0.55s var(--ease-soft) forwards;
}
@keyframes pageEnter {
  0%   { opacity: 0; transform: translateY(36px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes pageLeave {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-24px); }
}

/* Body lock + route transition veil (brief cinematic wipe between views) */
.route-veil {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: var(--color-ink);
  background-image: var(--pattern-star);
  background-size: 70px 70px;
  pointer-events: none;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: none;
}
.route-veil.active {
  opacity: 1;
  transform: scaleY(1);
  transition: transform 0.45s var(--ease-cinematic), opacity 0.1s ease;
}
.route-veil.out {
  transform-origin: bottom;
  transform: scaleY(0);
  opacity: 0;
  transition: transform 0.45s var(--ease-cinematic) 0.05s, opacity 0.3s ease 0.2s;
}

/* dest-link affordance added to homepage destination cards */
.dest-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-gold);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease 0.15s, transform 0.5s var(--ease-cinematic) 0.15s;
}
.dest-card:hover .dest-link { opacity: 1; transform: translateY(0); }
.dest-link i { font-size: 0.7rem; transition: transform 0.4s var(--ease-cinematic); }
.dest-card:hover .dest-link i { transform: translateX(4px); }

/* ============================================
   DESTINATION VIEW — HERO
   ============================================ */
.dview-hero {
  position: relative;
  height: 86vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: var(--dview-img);
  background-size: cover;
  background-position: center;
}
.dview-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--dview-img);
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
  animation: heroZoom 16s var(--ease-soft) forwards;
  z-index: 0;
}
.dview-hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(43,31,23,0.35) 0%, rgba(43,31,23,0.2) 30%, rgba(43,31,23,0.75) 88%, rgba(20,15,10,0.92) 100%);
}
.dview-hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.14;
  mix-blend-mode: overlay;
  animation: patternDrift 40s linear infinite;
}
.dview-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: dviewContentIn 1s var(--ease-cinematic) 0.2s backwards;
}
@keyframes dviewContentIn {
  0% { opacity: 0; transform: translateY(26px); }
  100% { opacity: 1; transform: translateY(0); }
}
.dview-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(3.2rem, 9vw, 7rem);
  color: var(--color-bg);
  line-height: 1;
  margin: 0.5rem 0 1.1rem;
  text-shadow: 0 8px 50px rgba(0,0,0,0.4);
  background: linear-gradient(120deg, var(--color-bg), var(--color-gold) 60%, var(--color-bg));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.dview-subtitle {
  max-width: 50ch;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  letter-spacing: 0.04em;
  color: var(--color-bg);
  font-weight: 300;
  opacity: 0.95;
}

.btn-back {
  position: absolute;
  top: calc(var(--nav-height) + 1.4rem);
  left: clamp(1.2rem, 4vw, 3rem);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-bg);
  background: rgba(43,31,23,0.35);
  border: 1.5px solid rgba(247,241,228,0.5);
  border-radius: 30px;
  backdrop-filter: blur(10px);
  transition: background 0.4s var(--ease-cinematic), border-color 0.4s ease, transform 0.4s var(--ease-bounce), gap 0.3s ease;
}
.btn-back i { font-size: 0.75rem; transition: transform 0.4s var(--ease-cinematic); }
.btn-back:hover {
  background: var(--color-gold);
  color: var(--color-ink);
  border-color: var(--color-gold);
  transform: translateY(-3px);
}
.btn-back:hover i { transform: translateX(-4px); }

.btn-return-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 0 auto 5rem;
  padding: 1rem 2.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-terracotta-deep);
  background: var(--color-card);
  border: 1.5px solid var(--color-line-gold);
  border-radius: 30px;
  transition: background 0.4s var(--ease-cinematic), color 0.4s ease, transform 0.4s var(--ease-bounce), box-shadow 0.4s ease;
  box-shadow: 0 16px 40px -20px rgba(43,31,23,0.3);
}
.btn-return-bottom i { transition: transform 0.4s var(--ease-cinematic); }
.btn-return-bottom:hover {
  background: var(--color-terracotta);
  color: var(--color-bg);
  transform: translateY(-3px);
  box-shadow: 0 22px 50px -18px rgba(193,84,44,0.5);
}
.btn-return-bottom:hover i { transform: translateX(-5px); }

/* ============================================
   DESTINATION VIEW — INTRO
   ============================================ */
.dview-intro {
  background: var(--color-bg-soft);
  padding: clamp(4.5rem, 9vw, 7rem) 6vw;
  position: relative;
}
.dview-intro-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.dview-intro-inner .eyebrow {
  justify-content: center;
}
.dview-intro-inner .section-title {
  margin-bottom: 0.6rem;
}
.body-text.wide { max-width: 64ch; margin: 0 auto; }
.body-text.on-dark { color: var(--color-bg); opacity: 0.85; max-width: 52ch; }

/* ============================================
   DESTINATION VIEW — LUXURY VERTICAL TIMELINE
   ============================================ */
.dview-timeline-section {
  background: linear-gradient(165deg, var(--color-blue-deep), var(--color-blue) 55%, #1a4d59);
  padding: clamp(4.5rem, 9vw, 7rem) 6vw;
  position: relative;
  overflow: hidden;
}
.dview-timeline-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4.5rem;
  position: relative;
  z-index: 1;
}
.dview-timeline-header .eyebrow { justify-content: center; }

.luxury-timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  z-index: 1;
}
.timeline-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 29px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-gold) 0%, rgba(217,164,65,0.25) 92%, transparent 100%);
}
.timeline-item {
  position: relative;
  display: flex;
  gap: 1.8rem;
  padding-bottom: 3rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-cinematic), transform 0.9s var(--ease-cinematic);
}
.timeline-item.in-view {
  opacity: 1;
  transform: translateY(0);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, var(--color-gold), var(--color-gold-deep));
  color: var(--color-blue-deep);
  font-size: 1.2rem;
  box-shadow: 0 0 0 6px rgba(217,164,65,0.15), 0 14px 30px -10px rgba(0,0,0,0.5);
  position: relative;
  z-index: 1;
  transition: transform 0.5s var(--ease-bounce), box-shadow 0.5s var(--ease-cinematic);
}
.timeline-item:hover .timeline-marker {
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 0 0 9px rgba(217,164,65,0.22), 0 18px 36px -10px rgba(0,0,0,0.55);
}
.timeline-card {
  flex: 1;
  background: rgba(247,241,228,0.07);
  border: 1.5px solid rgba(217,164,65,0.3);
  border-radius: 14px;
  padding: 1.7rem 1.9rem;
  backdrop-filter: blur(8px);
  position: relative;
  transition: transform 0.5s var(--ease-bounce), border-color 0.5s ease, background 0.5s ease, box-shadow 0.5s ease;
  box-shadow: 0 16px 36px -20px rgba(10,25,30,0.5);
}
.timeline-item:hover .timeline-card {
  transform: translateX(6px);
  border-color: var(--color-gold);
  background: rgba(247,241,228,0.11);
  box-shadow: 0 22px 46px -18px rgba(10,25,30,0.6);
}
.timeline-day {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}
.timeline-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-bg);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.timeline-card p {
  font-size: 0.88rem;
  color: var(--color-bg);
  opacity: 0.82;
  line-height: 1.65;
}

/* ============================================
   DESTINATION VIEW — GALLERY (2x2 editorial)
   ============================================ */
.dview-gallery {
  background: var(--color-bg);
  padding: clamp(4.5rem, 9vw, 7rem) 6vw;
}
.dview-gallery-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}
.dview-gallery-header .eyebrow { justify-content: center; }
.dview-gallery-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 240px);
  gap: 1.1rem;
}
.dview-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 18px 40px -20px rgba(43,31,23,0.4), 0 0 0 1px rgba(217,164,65,0.3);
  transition: transform 0.5s var(--ease-bounce), box-shadow 0.5s var(--ease-cinematic);
}
.dview-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-cinematic);
}
.dview-gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 54px -18px rgba(43,31,23,0.5), 0 0 0 1.5px rgba(217,164,65,0.6);
}
.dview-gallery-item:hover img { transform: scale(1.1); }
.dview-gallery-item.g1 { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.dview-gallery-item.g2 { grid-column: 3 / span 2; grid-row: 1 / span 1; }
.dview-gallery-item.g3 { grid-column: 3 / span 1; grid-row: 2 / span 1; }
.dview-gallery-item.g4 { grid-column: 4 / span 1; grid-row: 2 / span 1; }

/* ============================================
   DESTINATION VIEW — GLASSMORPHISM BOOKING FORM
   ============================================ */
.dview-booking {
  background: linear-gradient(165deg, var(--color-terracotta-deep), var(--color-terracotta) 55%, #b5552f);
  padding: clamp(4.5rem, 9vw, 7rem) 6vw;
  position: relative;
  overflow: hidden;
}
.dview-booking-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.dview-booking-intro {
  text-align: center;
  margin-bottom: 3rem;
}
.dview-booking-intro .eyebrow { justify-content: center; }
.dview-booking-intro .body-text { margin: 0.8rem auto 0; }

.booking-form {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 18px;
  padding: clamp(2rem, 4vw, 3rem);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 30px 70px -24px rgba(43,31,23,0.45), inset 0 1px 0 rgba(255,255,255,0.35);
  position: relative;
  overflow: hidden;
}
.booking-form::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 150px; height: 150px;
  background-image: var(--pattern-diamond);
  background-size: 36px 36px;
  opacity: 0.25;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}
.booking-form .form-group input,
.booking-form .form-group textarea {
  color: var(--color-bg);
  border-bottom: 1.5px solid rgba(255,255,255,0.4);
}
.booking-form .form-group input::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.8;
  cursor: pointer;
}
.booking-form .form-group label {
  color: var(--color-bg);
  opacity: 0.75;
}
.booking-form .form-group input:focus ~ label,
.booking-form .form-group input:not(:placeholder-shown) ~ label,
.booking-form .form-group textarea:focus ~ label,
.booking-form .form-group textarea:not(:placeholder-shown) ~ label {
  color: var(--color-bg);
  opacity: 1;
}
.booking-form .form-group label.label-static {
  transform: translateY(-1.5rem);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  opacity: 1;
}
.booking-form .form-underline {
  background: linear-gradient(90deg, var(--color-bg), var(--color-gold));
}
.booking-form .form-success {
  color: var(--color-bg);
  font-weight: 600;
}

/* Pulsing "Request Private Experience" CTA */
.btn-pulse {
  position: relative;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-deep));
  border-color: var(--color-gold-deep);
  color: var(--color-ink);
}
.btn-pulse::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 2px;
  border: 1.5px solid var(--color-gold);
  opacity: 0.7;
  animation: btnPulse 2.4s var(--ease-soft) infinite;
  pointer-events: none;
}
@keyframes btnPulse {
  0%   { transform: scale(1); opacity: 0.6; }
  70%  { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1.12); opacity: 0; }
}
.btn-pulse:hover { transform: translateY(-4px) scale(1.03); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1080px) {
  .destinations-grid { grid-template-columns: repeat(2, 1fr); }
  .experience-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(8, 1fr); grid-auto-rows: 80px; }
  .item-1 { grid-column: 1 / span 8; grid-row: 1 / span 4; }
  .item-2 { grid-column: 1 / span 4; grid-row: 5 / span 2; }
  .item-3 { grid-column: 5 / span 4; grid-row: 5 / span 2; }
  .item-4 { grid-column: 1 / span 4; grid-row: 7 / span 3; }
  .item-5 { grid-column: 5 / span 4; grid-row: 7 / span 3; }

  .dview-gallery-grid { grid-template-rows: repeat(2, 200px); }
}

@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 360px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2.2rem;
    background: rgba(247,241,228,0.98);
    background-image: var(--pattern-diamond);
    background-size: 36px 36px;
    backdrop-filter: blur(20px);
    padding: 2rem 3rem;
    transform: translateX(100%);
    transition: transform 0.6s var(--ease-cinematic);
    border-left: 1.5px solid var(--color-line-gold);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1rem; }
  .nav-toggle { display: flex; }

  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; margin: 0 auto; }
  .about-media-caption { right: 1rem; }

  .experience-grid { grid-template-columns: 1fr; }
  .exp-card:nth-child(even), .exp-card:nth-child(odd) { transform: none; }

  .dview-title { font-size: clamp(2.6rem, 12vw, 4.5rem); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .dview-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 200px);
  }
  .dview-gallery-item.g1 { grid-column: 1 / span 2; grid-row: 1 / span 1; }
  .dview-gallery-item.g2 { grid-column: 1 / span 1; grid-row: 2 / span 1; }
  .dview-gallery-item.g3 { grid-column: 2 / span 1; grid-row: 2 / span 1; }
  .dview-gallery-item.g4 { grid-column: 1 / span 2; grid-row: 3 / span 1; }
  .timeline-spine { left: 23px; }
  .timeline-marker { width: 48px; height: 48px; font-size: 1rem; }
  .timeline-item { gap: 1.2rem; }
}

@media (max-width: 640px) {
  section { padding: 4.5rem 6vw; }
  .destinations-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; gap: 1rem; }
  .item-1 { grid-column: 1; grid-row: span 2; }
  .item-2, .item-3, .item-4, .item-5 { grid-column: 1; grid-row: span 1; }
  .hero-frame { inset: 12px; }
  .review-card { flex: 0 0 82vw; }
  .back-to-top { right: 1.2rem; bottom: 1.2rem; width: 44px; height: 44px; }

  .dview-hero { height: 76vh; }
  .btn-back { top: calc(var(--nav-height) + 0.8rem); padding: 0.65rem 1.1rem; font-size: 0.65rem; }
  .btn-back span { display: none; }
  .dview-gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 220px);
  }
  .dview-gallery-item.g1,
  .dview-gallery-item.g2,
  .dview-gallery-item.g3,
  .dview-gallery-item.g4 { grid-column: 1; grid-row: auto; }
  .btn-return-bottom span { font-size: 0.95em; }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-bg { animation: none; transform: scale(1.02); }
  .hero-pattern { animation: none; }
}

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--color-terracotta);
  outline-offset: 3px;
}

/* ============================================
   TOURS SECTION — replaces Destinations
   ============================================ */
.tours {
  background: var(--color-bg);
  padding: clamp(5rem, 10vw, 8rem) 6vw;
  position: relative;
}
.tours-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}
.tours-intro {
  font-size: 1rem;
  color: var(--color-ink-soft);
  margin-top: 0.9rem;
  letter-spacing: 0.03em;
}

/* ---------- FILTER TABS ---------- */
.tours-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 3.5rem;
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.6rem;
  border: 1.5px solid var(--color-line);
  border-radius: 50px;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-ink-soft);
  background: transparent;
  cursor: pointer;
  transition: all 0.4s var(--ease-cinematic);
  font-family: var(--font-body);
}
.filter-btn i { font-size: 0.5rem; color: var(--color-terracotta); opacity: 0; transition: opacity 0.3s ease; }
.filter-btn:hover {
  border-color: var(--color-terracotta);
  color: var(--color-terracotta);
  transform: translateY(-2px);
}
.filter-btn.active {
  background: linear-gradient(135deg, var(--color-terracotta), var(--color-terracotta-deep));
  border-color: transparent;
  color: var(--color-bg);
  box-shadow: 0 8px 24px -8px rgba(193,84,44,0.45);
}
.filter-btn.active i { opacity: 1; color: var(--color-gold); }
.filter-btn.hide-filter {
  opacity: 0.3;
  pointer-events: none;
  transform: scale(0.97);
}

/* ---------- TOUR CARDS GRID ---------- */
.tours-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

/* hidden tour cards during filter */
.tour-card {
  background: var(--color-card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 44px -18px rgba(43,31,23,0.3), 0 0 0 1px rgba(217,164,65,0.22);
  cursor: pointer;
  transition: transform 0.5s var(--ease-bounce), box-shadow 0.5s var(--ease-cinematic), opacity 0.4s ease;
  display: flex;
  flex-direction: column;
}
.tour-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -18px rgba(43,31,23,0.4), 0 0 0 1.5px rgba(217,164,65,0.55);
}
.tour-card.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.97) translateY(6px);
  position: absolute;
  visibility: hidden;
}
.tour-card.is-visible {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  visibility: visible;
}

/* image wrapper */
.tour-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.tour-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-cinematic);
}
.tour-card:hover .tour-card-img img { transform: scale(1.1); }
.tour-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(43,31,23,0.5) 100%);
}
.tour-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: linear-gradient(135deg, var(--color-terracotta), var(--color-terracotta-deep));
  color: var(--color-bg);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-family: var(--font-body);
  box-shadow: 0 4px 14px -4px rgba(193,84,44,0.6);
}

/* body area */
.tour-card-body {
  padding: 1.5rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tour-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.tour-departure {
  font-size: 0.72rem;
  color: var(--color-ink-soft);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.tour-departure i { color: var(--color-terracotta); font-size: 0.65rem; }
.tour-type {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-blue);
  font-weight: 600;
  background: rgba(31,92,107,0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  border: 1px solid rgba(31,92,107,0.2);
}
.tour-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: var(--color-ink);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  transition: color 0.4s ease;
}
.tour-card:hover h3 { color: var(--color-terracotta-deep); }
.tour-route {
  font-size: 0.77rem;
  color: var(--color-ink-soft);
  line-height: 1.5;
  margin-bottom: 1rem;
  opacity: 0.75;
  font-style: italic;
}
.tour-highlights {
  list-style: none;
  margin-bottom: 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.tour-highlights li {
  font-size: 0.82rem;
  color: var(--color-ink-soft);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.45;
}
.tour-highlights i {
  color: var(--color-gold-deep);
  font-size: 0.5rem;
  margin-top: 0.36rem;
  flex-shrink: 0;
}
.tour-card-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--color-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.tour-includes {
  font-size: 0.7rem;
  color: var(--color-ink-soft);
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.tour-includes i { color: var(--color-terracotta); font-size: 0.65rem; }
.tour-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-terracotta);
  transition: gap 0.4s var(--ease-cinematic), color 0.3s ease;
}
.tour-card:hover .tour-cta { gap: 0.7rem; color: var(--color-terracotta-deep); }
.tour-cta i { font-size: 0.65rem; }

/* tours bottom CTA */
.tours-cta-wrap {
  text-align: center;
  margin-top: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.tours-cta-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-ink-soft);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ============================================
   TOUR DETAIL VIEW — Meta Grid
   ============================================ */
.tour-detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 2rem;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-line-gold);
  border-radius: 10px;
}
.tdm-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  padding: 0.5rem;
}
.tdm-item > i {
  font-size: 1.2rem;
  color: var(--color-terracotta);
  margin-bottom: 0.2rem;
}
.tdm-label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  opacity: 0.65;
  font-weight: 600;
}
.tdm-value {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-ink);
  font-weight: 600;
}

/* ============================================
   TOUR INCLUDED / EXCLUDED SECTION
   ============================================ */
.tour-included-section {
  background: var(--color-bg);
  padding: clamp(4rem, 8vw, 6rem) 6vw;
}
.tour-included-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.included-list, .excluded-list {
  list-style: none;
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.included-list li, .excluded-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.92rem;
  color: var(--color-ink-soft);
  line-height: 1.5;
}
.included-list i { color: var(--color-terracotta); flex-shrink: 0; margin-top: 0.18rem; }
.excluded-list i { color: var(--color-blue); opacity: 0.6; flex-shrink: 0; margin-top: 0.18rem; }

.included-note {
  margin-top: 1.8rem;
  padding: 1.2rem 1.4rem;
  background: rgba(31,92,107,0.07);
  border-left: 3px solid var(--color-blue);
  border-radius: 4px;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}
.included-note i { color: var(--color-blue); margin-top: 0.2rem; flex-shrink: 0; }
.included-note p { font-size: 0.86rem; color: var(--color-ink-soft); line-height: 1.55; }

/* ============================================
   RESPONSIVE — TOURS
   ============================================ */
@media (max-width: 1080px) {
  .tours-grid { grid-template-columns: repeat(2, 1fr); }
  .tour-detail-meta-grid { grid-template-columns: repeat(2, 1fr); }
  .tour-included-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tours-grid { grid-template-columns: 1fr; }
  .tours-filter { gap: 0.5rem; }
  .filter-btn { padding: 0.55rem 1.1rem; font-size: 0.68rem; }
  .tour-detail-meta-grid { grid-template-columns: repeat(2, 1fr); }
}
