/* ============================================================
   SORATABI — MASTER STYLESHEET
   Luxury India travel experiences, curated for Japanese travelers
   Mobile-first. Built on Bootstrap 5.3 grid/utilities + custom design system.
   ============================================================ */

/* ------------------------------------------------------------
   1. DESIGN TOKENS
   ------------------------------------------------------------ */
:root {
  /* Brand palette */
  --color-primary: #f7931e; /* Saffron orange — India warmth */
  --color-primary-dark: #d97b0f;
  --color-primary-text: #b45309; /* Saffron, darkened to meet WCAG AA (4.5:1) as small static text on light backgrounds */
  --color-dark: #111111; /* Ink black */
  --color-white: #ffffff;
  --color-light-gray: #f7f8fa;
  --color-accent-blue: #0f4c81; /* Indigo — Japanese precision */
  --color-gold: #d4af37; /* Signature gold accent */

  /* Derived / functional colors */
  --color-text: #1c1c1e;
  --color-text-muted: #6b6b70;
  --color-text-on-dark: rgba(255, 255, 255, 0.86);
  --color-text-on-dark-muted: rgba(255, 255, 255, 0.6);
  --color-border: rgba(17, 17, 17, 0.08);
  --color-border-on-dark: rgba(255, 255, 255, 0.14);

  /* Gradients */
  --gradient-gold: linear-gradient(
    120deg,
    var(--color-gold) 0%,
    var(--color-primary) 100%
  );
  --gradient-overlay-hero: linear-gradient(
    180deg,
    rgba(17, 17, 17, 0.15) 0%,
    rgba(17, 17, 17, 0.55) 70%,
    rgba(17, 17, 17, 0.85) 100%
  );
  --gradient-overlay-cta: linear-gradient(
    120deg,
    rgba(15, 76, 129, 0.88) 0%,
    rgba(17, 17, 17, 0.82) 100%
  );

  /* Typography */
  --font-display: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing scale (Apple-level breathing room) */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  /* Radii & shadows */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 100px;
  --shadow-soft: 0 10px 40px rgba(17, 17, 17, 0.08);
  --shadow-medium: 0 20px 60px rgba(17, 17, 17, 0.12);
  --shadow-lifted: 0 30px 80px rgba(17, 17, 17, 0.18);
  --shadow-gold-glow: 0 12px 30px rgba(212, 175, 55, 0.25);

  /* Transitions */
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.25s var(--ease-luxury);
  --transition-medium: 0.5s var(--ease-luxury);
  --transition-slow: 0.9s var(--ease-luxury);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-bg-dark: rgba(17, 17, 17, 0.45);
  --glass-border: rgba(255, 255, 255, 0.35);
  --glass-blur: blur(18px);
}

/* ------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--color-dark);
  margin: 0;
  line-height: 1.2;
}

p {
  margin: 0;
}

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

/* Visible keyboard focus (accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-accent-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ------------------------------------------------------------
   3. UTILITY / LAYOUT CLASSES
   ------------------------------------------------------------ */
.section-pad {
  padding-block: var(--space-xl);
}

@media (min-width: 992px) {
  .section-pad {
    padding-block: var(--space-2xl);
  }
}

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

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

.text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rounded-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
}

.link-underline {
  color: var(--color-accent-blue);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.link-underline:hover {
  color: var(--color-primary);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link — hidden until focused */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-dark);
  color: var(--color-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 10000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
}

/* Section heading block, reused across sections */
.section-head {
  max-width: 640px;
  margin-bottom: var(--space-lg);
}

.section-head.light .section-title,
.section-head.light .section-desc {
  color: var(--color-text-on-dark);
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--color-primary-text);
  margin-bottom: var(--space-sm);
}

.section-eyebrow.light {
  color: var(--color-gold);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 52ch;
}

.section-head.light .section-desc {
  color: var(--color-text-on-dark-muted);
}

/* ------------------------------------------------------------
   4. BUTTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  border: none;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary-lux {
  background: var(--gradient-gold);
  color: var(--color-dark);
  box-shadow: var(--shadow-gold-glow);
}

.btn-primary-lux:hover {
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.4);
  color: var(--color-dark);
}

.btn-outline-lux {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: var(--glass-blur);
}

.btn-outline-lux:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-book {
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 0.82rem;
  padding: 0.65rem 1.5rem;
}

.btn-book:hover {
  background: var(--color-primary);
  color: var(--color-dark);
}

.btn-search {
  background: var(--color-dark);
  color: var(--color-white);
  border-radius: var(--radius-pill);
  width: 52px;
  height: 52px;
  padding: 0;
  justify-content: center;
  flex-shrink: 0;
}

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

.btn-tour {
  background: var(--color-light-gray);
  color: var(--color-dark);
  font-size: 0.8rem;
  padding: 0.6rem 1.25rem;
}

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

.btn-lg {
  padding: 1.05rem 2.25rem;
  font-size: 1rem;
}

/* ------------------------------------------------------------
   5. PAGE LOADER
   ------------------------------------------------------------ */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--color-dark);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity var(--transition-slow),
    visibility var(--transition-slow);
}

#page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-mark {
  position: relative;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(212, 175, 55, 0.25);
  border-top-color: var(--color-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader-kanji {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-gold);
}

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

/* ------------------------------------------------------------
   6. NAVBAR
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition:
    background var(--transition-medium),
    box-shadow var(--transition-medium),
    padding var(--transition-medium);
}

.custom-navbar {
  padding-block: 1.5rem;
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-white);
  transition: color var(--transition-fast);
}

.brand-accent {
  color: var(--color-gold);
}

.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

/* Scrolled state — solid glass navbar */
.site-header.is-scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-soft);
  padding-block: 0.25rem;
}

.site-header.is-scrolled .brand-mark {
  color: var(--color-dark);
}
.site-header.is-scrolled .brand-sub {
  color: var(--color-text-muted);
}
.site-header.is-scrolled .nav-link {
  color: var(--color-text);
}
.site-header.is-scrolled .nav-lang {
  color: var(--color-text);
}
.site-header.is-scrolled .toggle-bar {
  background: var(--color-dark);
}

.main-nav-list {
  display: flex;
  gap: 0.5rem;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-white);
  padding: 0.5rem 1rem !important;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.25rem;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-gold) !important;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: 1rem;
}

.nav-lang {
  font-size: 0.8rem;
  color: var(--color-white);
  display: none;
}

.navbar-toggler {
  border: none;
  background: transparent;
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: background var(--transition-fast);
}

/* Prevents the page from scrolling behind the open mobile menu
   (body.nav-open is already toggled by main.js; this was its
   missing CSS half). */
body.nav-open {
  overflow: hidden;
}

/* Collapsed mobile menu gets a solid panel so nav links stay
   legible over any hero image, regardless of scroll position —
   reuses the same ink/shadow/radius tokens as the rest of the
   design system, no new visual language. */
@media (max-width: 991.98px) {
  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    background: var(--color-dark);
    margin-top: 1rem;
    padding: 1.25rem 1.5rem 1.75rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lifted);
  }

  /* Larger tap targets on touch devices (was ~33px, now ~48px). */
  .nav-link {
    padding: 0.85rem 0.25rem !important;
  }

  .nav-cta-group {
    margin-left: 0;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border-on-dark);
  }

  .nav-cta-group .btn-book {
    width: 100%;
    justify-content: center;
  }
}

/* ------------------------------------------------------------
   7. HERO
   ------------------------------------------------------------ */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroKenBurns 18s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
  from {
    transform: scale(1.08) translate(0, 0);
  }
  to {
    transform: scale(1.16) translate(-1%, -1%);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-overlay-hero);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(17, 17, 17, 0.35) 0%,
    transparent 55%
  );
}

/* Signature viewfinder frame — the page's one memorable flourish */
.hero-frame {
  position: absolute;
  inset: clamp(16px, 3vw, 40px);
  z-index: 1;
  pointer-events: none;
}

.frame-corner {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(212, 175, 55, 0.75);
}

.frame-corner.tl {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}
.frame-corner.tr {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}
.frame-corner.bl {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}
.frame-corner.br {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  padding-top: 6rem;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.4rem, 7vw, 4.75rem);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 46ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Hero search — glass panel */
.hero-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  max-width: 620px;
  box-shadow: var(--shadow-lifted);
  flex-wrap: wrap;
}

.search-field {
  flex: 1 1 160px;
  padding: 0.35rem 1rem;
  min-width: 140px;
}

.search-field label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-field select {
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-dark);
  appearance: none;
}

.search-field select:focus {
  outline: none;
}

.search-divider {
  width: 1px;
  align-self: stretch;
  background: var(--color-border);
  margin: 0.25rem 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-gold);
  animation: scrollTravel 2s var(--ease-luxury) infinite;
}

@keyframes scrollTravel {
  0% {
    top: -100%;
  }
  60%,
  100% {
    top: 100%;
  }
}

.scroll-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
}

/* ------------------------------------------------------------
   8. STATS / TRUSTED NUMBERS
   ------------------------------------------------------------ */
.stats-section {
  background: var(--color-dark);
  padding-block: var(--space-lg);
}

.stat-card {
  text-align: center;
  color: var(--color-white);
  position: relative;
}

.stat-number,
.stat-number-static {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-gold);
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-gold);
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
  margin-top: 0.35rem;
}

/* ------------------------------------------------------------
   9. DESTINATIONS
   ------------------------------------------------------------ */
.destination-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.dest-card {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-soft);
}

.dest-card.dest-large {
  grid-column: span 2;
  aspect-ratio: 16 / 11;
}

.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.dest-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(17, 17, 17, 0.85) 100%
  );
  z-index: 1;
  transition: opacity var(--transition-medium);
}

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

.dest-info {
  position: absolute;
  left: 1.25rem;
  bottom: 1.1rem;
  right: 1.25rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  color: var(--color-white);
}

.dest-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.dest-tag {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.15rem;
}

/* ------------------------------------------------------------
   10. TOURS
   ------------------------------------------------------------ */
.tours-swiper {
  padding-bottom: 1rem;
  overflow: visible;
}

.tour-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition:
    transform var(--transition-medium),
    box-shadow var(--transition-medium);
  height: 100%;
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lifted);
}

.tour-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.tour-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.tour-card:hover .tour-media img {
  transform: scale(1.06);
}

.tour-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
}

.tour-badge-gold {
  background: var(--gradient-gold);
  color: var(--color-dark);
}

.tour-body {
  padding: 1.5rem;
}

.tour-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
}

.tour-rating {
  color: var(--color-primary-text);
  font-weight: 600;
}

.tour-rating i {
  color: var(--color-gold);
}

.tour-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.tour-title a:hover {
  color: var(--color-primary);
}

.tour-cities {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.tour-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

.tour-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-dark);
}

.tour-price small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.tours-swiper-nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.swiper-btn-prev,
.swiper-btn-next {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--transition-fast),
    color var(--transition-fast);
}

.swiper-btn-prev:hover,
.swiper-btn-next:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

/* Swiper pagination bullets — brand color */
.swiper-pagination-bullet {
  background: var(--color-dark);
  opacity: 0.25;
}

.swiper-pagination-bullet-active {
  background: var(--color-primary);
  opacity: 1;
}

/* ------------------------------------------------------------
   11. WHY CHOOSE SORATABI
   ------------------------------------------------------------ */
.why-image {
  margin-top: 2rem;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.why-item i {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 0.85rem;
  display: inline-block;
}

.why-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.why-item p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* ------------------------------------------------------------
   12. EXPERIENCES
   ------------------------------------------------------------ */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.exp-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.exp-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  filter: brightness(0.82);
}

.exp-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(17, 17, 17, 0.9) 100%
  );
  z-index: 1;
}

.exp-card:hover img {
  transform: scale(1.1);
}

.exp-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ------------------------------------------------------------
   13. TESTIMONIALS
   ------------------------------------------------------------ */
.testimonials-swiper {
  padding-bottom: 3rem;
}

.testimonial-card {
  background: var(--color-light-gray);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  height: 100%;
  margin: 0;
}

.testimonial-stars {
  color: var(--color-gold);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  letter-spacing: 0.15em;
}

.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-dark);
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-card figcaption img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.guest-name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
}

.guest-trip {
  display: block;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.testimonials-pagination {
  bottom: 0 !important;
}

/* ------------------------------------------------------------
   14. FAQ / ACCORDION
   ------------------------------------------------------------ */
.custom-accordion .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
}

.custom-accordion .accordion-item:first-of-type,
.custom-accordion .accordion-item:last-of-type {
  border-radius: 0;
}

.custom-accordion .accordion-button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-dark);
  background: transparent;
  padding: 1.4rem 0;
  box-shadow: none;
}

.custom-accordion .accordion-button:not(.collapsed) {
  color: var(--color-primary-text);
  background: transparent;
  box-shadow: none;
}

.custom-accordion .accordion-button::after {
  filter: none;
  background-size: 1rem;
}

.custom-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.custom-accordion .accordion-body {
  padding: 0 0 1.4rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  max-width: 60ch;
}

/* ------------------------------------------------------------
   15. CONTACT CTA
   ------------------------------------------------------------ */
.cta-section {
  position: relative;
  padding-block: var(--space-2xl);
  overflow: hidden;
}

.cta-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-overlay-cta);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  text-align: center;
  margin-inline: auto;
}

.cta-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* ------------------------------------------------------------
   16. FOOTER
   ------------------------------------------------------------ */
.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: var(--space-xl);
}

.footer-top {
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border-on-dark);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-about {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 40ch;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-dark);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  transition:
    color var(--transition-fast),
    padding-left var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 4px;
}

.footer-newsletter {
  display: flex;
  border: 1px solid var(--color-border-on-dark);
  border-radius: var(--radius-pill);
  padding: 0.3rem;
  margin-bottom: 1.25rem;
}

.footer-newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--color-white);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter input:focus {
  outline: none;
}

.footer-newsletter button {
  background: var(--gradient-gold);
  color: var(--color-dark);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-contact {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.footer-contact i {
  color: var(--color-gold);
  margin-right: 0.5rem;
  width: 14px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  padding-block: 1.5rem;
  font-size: 0.8rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a:hover {
  color: var(--color-gold);
}

/* ------------------------------------------------------------
   17. BACK TO TOP
   ------------------------------------------------------------ */
.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--color-dark);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-medium);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity var(--transition-fast),
    visibility var(--transition-fast),
    transform var(--transition-fast),
    background var(--transition-fast);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary);
}

/* ------------------------------------------------------------
   18. RESPONSIVE — TABLET (>= 768px)
   ------------------------------------------------------------ */
@media (min-width: 768px) {
  .hero-actions {
    gap: 1.25rem;
  }

  .destination-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .dest-card.dest-large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 1 / 1;
  }

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

  .experience-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ------------------------------------------------------------
   19. RESPONSIVE — DESKTOP (>= 992px)
   ------------------------------------------------------------ */
@media (min-width: 992px) {
  .nav-lang {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }

  .custom-navbar {
    padding-block: 1.75rem;
  }

  .hero-search {
    flex-wrap: nowrap;
  }

  .why-image {
    margin-top: 0;
  }
}

/* ------------------------------------------------------------
   20. RESPONSIVE — LARGE DESKTOP (>= 1200px)
   ------------------------------------------------------------ */
@media (min-width: 1200px) {
  .hero-title {
    max-width: 20ch;
  }
}

/* ------------------------------------------------------------
   21. SMALL MOBILE REFINEMENTS (<= 480px)
   ------------------------------------------------------------ */
@media (max-width: 480px) {
  .hero-search {
    flex-direction: column;
    align-items: stretch;
  }

  .search-divider {
    display: none;
  }

  .btn-search {
    width: 100%;
    border-radius: var(--radius-sm);
  }
}

/* ============================================================
   ABOUT PAGE — ADDITIONAL COMPONENTS
   Appended to style.css. Reuses existing tokens, typography,
   spacing, shadows, and animation system — no new variables.
   ============================================================ */

/* ------------------------------------------------------------
   22. PAGE HERO (inner-page variant of .hero-section)
   ------------------------------------------------------------ */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: var(--space-xl);
}

/* ------------------------------------------------------------
   23. STORY POINTS (mission / vision rows)
   ------------------------------------------------------------ */
.story-point {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.story-point:last-child {
  margin-bottom: 0;
}

.story-point i {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-light-gray);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition:
    background var(--transition-fast),
    color var(--transition-fast);
}

.story-point:hover i {
  background: var(--gradient-gold);
  color: var(--color-dark);
}

.story-point h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.story-point p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* ------------------------------------------------------------
   24. OUR VALUES
   ------------------------------------------------------------ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.value-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition:
    transform var(--transition-medium),
    box-shadow var(--transition-medium),
    border-color var(--transition-medium);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
  border-color: transparent;
}

.value-card i {
  font-size: 1.75rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
  display: inline-block;
}

.value-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ------------------------------------------------------------
   25. MEET THE TEAM
   ------------------------------------------------------------ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.team-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition:
    transform var(--transition-medium),
    box-shadow var(--transition-medium);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lifted);
}

.team-media {
  position: relative;
  aspect-ratio: 4 / 4.5;
  overflow: hidden;
}

.team-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-card:hover .team-media img {
  transform: scale(1.06);
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
}

.team-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast);
}

.team-social a:hover {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}

/* ------------------------------------------------------------
   26. OUR PROCESS — 5-STEP TIMELINE
   ------------------------------------------------------------ */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  counter-reset: none;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  position: relative;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.process-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.process-index {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  width: 60px;
}

.process-content i {
  font-size: 1.35rem;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
  display: inline-block;
}

.process-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.process-content p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  max-width: 52ch;
}

/* ------------------------------------------------------------
   27. RESPONSIVE — TABLET (>= 768px)
   ------------------------------------------------------------ */
@media (min-width: 768px) {
  .page-hero {
    min-height: 52vh;
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .process-timeline {
    gap: 2rem;
  }

  .process-step {
    padding-bottom: 2rem;
  }
}

/* ------------------------------------------------------------
   28. RESPONSIVE — DESKTOP (>= 992px)
   ------------------------------------------------------------ */
@media (min-width: 992px) {
  .page-hero {
    min-height: 46vh;
  }

  .values-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .process-timeline {
    flex-direction: row;
    gap: 1.25rem;
  }

  .process-step {
    flex-direction: column;
    gap: 1rem;
    border-bottom: none;
    border-right: 1px solid var(--color-border);
    padding-bottom: 0;
    padding-right: 1.25rem;
  }

  .process-step:last-child {
    border-right: none;
    padding-right: 0;
  }

  .process-index {
    width: auto;
  }
}

/* ------------------------------------------------------------
   29. RESPONSIVE — LARGE DESKTOP (>= 1200px)
   ------------------------------------------------------------ */
@media (min-width: 1200px) {
  .story-point i {
    width: 58px;
    height: 58px;
    font-size: 1.2rem;
  }
}

/* ------------------------------------------------------------
   30. HERO BREADCRUMB (Bootstrap .breadcrumb, styled for dark hero
   media — used on every inner-page .page-hero, incl. about.html)
   ------------------------------------------------------------ */
.hero-breadcrumb {
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
}

.hero-breadcrumb .breadcrumb-item,
.hero-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
}

.hero-breadcrumb .breadcrumb-item a:hover {
  color: var(--color-gold);
}

.hero-breadcrumb .breadcrumb-item.active {
  color: var(--color-gold);
}

.hero-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.35);
}

/* ------------------------------------------------------------
   31. DESTINATIONS PAGE
   ------------------------------------------------------------ */
/* Compensates for the fixed .site-header so cross-page anchor
   links (e.g. index.html destination tiles → destinations.html#kerala)
   don't land with their card top hidden behind the navbar. */
.dest-anchor {
  scroll-margin-top: 120px;
}

/* ------------------------------------------------------------
   32. TOUR DETAILS PAGE
   ------------------------------------------------------------ */

/* Hero badge row — lays out multiple .tour-badge pills in normal
   flow instead of the card-overlay context they were designed for. */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

/* Resets .tour-badge's absolute positioning so it can sit inline
   (hero badge row, or atop the booking card) instead of overlaying
   a card image. */
.badge-inline {
  position: static;
  display: inline-flex;
  align-items: center;
}

/* Included-section grid: 6 .value-card items, needs its own column
   count so they divide evenly (values-grid's 5-col desktop rule
   would wrap 6 items as 5+1). */
.included-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

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

/* Sticky booking card — reuses existing card/shadow/radius tokens
   and .tour-price/.tour-badge/.btn-* for everything inside it. The
   gold top border is a touch of premium distinction on the page's
   highest-intent element. */
.booking-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--color-gold);
  box-shadow: var(--shadow-lifted);
  padding: 2rem 1.75rem;
}

.booking-card .tour-price {
  display: block;
  font-size: 1.75rem;
  margin-top: 1rem;
}

@media (min-width: 992px) {
  .booking-card {
    position: sticky;
    top: 6rem;
  }
}

/* ------------------------------------------------------------
   33. ITINERARY LUXURY TIMELINE (tour-details.html)
   ------------------------------------------------------------ */
.itinerary-timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Center line — left-aligned on mobile/tablet, moves to true center
   only once alternating cards kick in at desktop. */
.itinerary-timeline::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 20px;
  width: 2px;
  background: var(--color-border);
}

.itinerary-item {
  position: relative;
  padding-left: 56px;
  margin-bottom: 2rem;
}

.itinerary-item:last-child {
  margin-bottom: 0;
}

.itinerary-dot {
  position: absolute;
  top: 1.6rem;
  left: 20px;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-primary);
  z-index: 2;
}

.itinerary-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  position: relative;
  transition:
    transform var(--transition-medium),
    box-shadow var(--transition-medium);
}

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

.itinerary-day {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--color-dark);
  background: var(--gradient-gold);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-gold-glow);
  margin-bottom: 1rem;
}

.itinerary-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 1rem;
}

.itinerary-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.itinerary-card:hover .itinerary-media img {
  transform: scale(1.06);
}

.itinerary-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.itinerary-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.itinerary-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.itinerary-facts span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.itinerary-facts i {
  color: var(--color-primary);
}

/* Tablet — same single-column line-on-left layout, just a little more
   breathing room (matches how .process-timeline itself only widens
   its gap at 768px and waits for 992px to go horizontal). */
@media (min-width: 768px) {
  .itinerary-item {
    margin-bottom: 2.5rem;
  }

  .itinerary-card {
    padding: 1.75rem;
  }

  .itinerary-media {
    aspect-ratio: 16 / 9;
  }
}

/* Desktop — true alternating left/right cards around a centered line. */
@media (min-width: 992px) {
  .itinerary-timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .itinerary-item {
    width: 50%;
    padding-left: 0;
    margin-bottom: 3rem;
  }

  .itinerary-item:nth-child(odd) {
    padding-right: 3rem;
  }

  .itinerary-item:nth-child(even) {
    margin-left: 50%;
    padding-left: 3rem;
  }

  .itinerary-dot {
    left: auto;
    top: 2.25rem;
    transform: translateY(-50%);
  }

  .itinerary-item:nth-child(odd) .itinerary-dot {
    right: -8px;
  }

  .itinerary-item:nth-child(even) .itinerary-dot {
    left: -8px;
  }

  .itinerary-card {
    padding: 2rem;
  }
}

/* ------------------------------------------------------------
   34. TOUR DETAILS — REVIEW PASS
   (visual hierarchy / CTA placement / mobile UX / luxury feel)
   ------------------------------------------------------------ */

/* Quick Summary carries more items (8) than a typical .why-grid use,
   so it gets a slightly tighter gap and, on wide desktop, a 4-column
   layout so the section doesn't run tall and narrow. Scoped to this
   section only — the shared .why-grid default is untouched. */
#quick-summary .why-grid {
  gap: 1.25rem;
}

@media (min-width: 1200px) {
  #quick-summary .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile-only sticky booking bar — the desktop two-column layout keeps
   .booking-card in view via position:sticky; below 992px the columns
   stack, so this fixed bar keeps price + Book Now reachable at all times. */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 991.98px) {
  .mobile-cta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    padding: 0.85rem 1.25rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-top: 1px solid var(--color-border);
    box-shadow: var(--shadow-lifted);
  }

  /* Reserves space so the bar never covers footer content or links. */
  body:has(.mobile-cta-bar) {
    padding-bottom: 76px;
  }

  /* Keeps back-to-top clear of the new bottom bar (scoped via sibling
     selector so other pages, which have no .mobile-cta-bar, are
     unaffected). */
  .mobile-cta-bar ~ .back-to-top {
    bottom: calc(1.75rem + 64px);
  }
}

/* ------------------------------------------------------------
   35. CONTACT PAGE — FORM FIELDS (contact.html)
   ------------------------------------------------------------ */
/* Scoped to #contactForm only, so Bootstrap's default form styling
   elsewhere (e.g. any future form on another page) is untouched.
   Reuses existing tokens only — no new colors. */
#contactForm .form-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

#contactForm .form-control,
#contactForm .form-select {
  border-radius: var(--radius-sm);
  border-color: var(--color-border);
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
}

#contactForm .form-control:focus,
#contactForm .form-select:focus {
  border-color: var(--color-accent-blue);
  box-shadow: 0 0 0 0.2rem rgba(15, 76, 129, 0.15);
}

/* ------------------------------------------------------------
   36. GALLERY PAGE (gallery.html)
   ------------------------------------------------------------ */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text-muted);
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-dark);
}

.filter-btn.active {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}

/* Uniform square grid — deliberately simpler than .destination-grid's
   bento layout, since filtering (hiding items) needs predictable,
   evenly-sized tiles rather than an asymmetric grid. Same card
   language as .dest-card: radius-md, shadow-soft, hover-zoom image. */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gallery-item {
  display: block;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Toggled by main.js's initGalleryFilter(). */
.gallery-item.is-filtered-out {
  display: none;
}

/* Matches .destination-grid / .experience-grid exactly: 2-col base,
   4-col from 768px, single breakpoint, no 3-col step. */
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ------------------------------------------------------------
   37. OFFICE MAP EMBED (contact.html)
   ------------------------------------------------------------ */
/* .rounded-image supplies radius/shadow already; this just gives the
   wrapper a fixed aspect ratio (matching the original image's 800x600)
   and clips the iframe to those rounded corners. */
.map-embed {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ------------------------------------------------------------
   38. PARTNER LOGO GRID (japanese-language-school.html)
   ------------------------------------------------------------ */
/* New component — no existing "logo grid" pattern on the site to reuse.
   Built from the same tokens as .value-card (border/radius/shadow-soft,
   gold icon accent, transition-medium hover lift) so it reads as part of
   the same design system rather than a bolted-on block. */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  transition:
    transform var(--transition-medium),
    box-shadow var(--transition-medium),
    border-color var(--transition-medium);
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
  border-color: transparent;
}

.partner-card i {
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.partner-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
}

.partner-city {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

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

@media (min-width: 992px) {
  .partner-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* ------------------------------------------------------------
   39. NAVBAR SERVICES DROPDOWN
   ------------------------------------------------------------ */
/* Bootstrap's dropdown-toggle::after caret is a ::after pseudo-element
   too, which would collide with .nav-link::after (the gold underline
   already used by every other nav item) — so the built-in caret is
   hidden in favor of an explicit Font Awesome chevron that reuses the
   same transition token. */
.dropdown-toggle::after {
  display: none;
}

.dropdown-caret {
  font-size: 0.65rem;
  margin-left: 0.35rem;
  transition: transform var(--transition-fast);
}

.dropdown-toggle[aria-expanded="true"] .dropdown-caret {
  transform: rotate(180deg);
}

/* Set by main.js only for mouse-driven opens (hover or a real click),
   since Bootstrap's show() focuses the toggle internally and a
   script-triggered focus matches :focus-visible regardless of input
   modality. Keyboard opens (Tab, then Enter) never get this class, so
   the ring still appears for them. Bootstrap's own bundled CSS ships
   ".nav-link:focus-visible { outline: 0; box-shadow: 0 0 0 .25rem
   rgba(13,110,253,.25) }" — a blue glow that's what's actually visible
   (not the site's own outline-based focus ring, which that same
   Bootstrap rule already out-specifies and overrides), so both
   properties are reset here. */
.dropdown-toggle.suppress-focus-ring:focus-visible {
  outline: none;
  box-shadow: none;
}

/* The floating panel keeps its own solid card styling regardless of
   the navbar's transparent/scrolled state — same tokens as
   .tour-card / .value-card (radius-md, shadow-lifted, light-gray
   hover), just with Bootstrap's default blue swapped for the brand's
   saffron/gold accents. */
.custom-navbar .dropdown-menu {
  background: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lifted);
  padding: 0.5rem;
  margin-top: 0.5rem;
  min-width: 240px;
}

.custom-navbar .dropdown-item {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  transition:
    background var(--transition-fast),
    color var(--transition-fast);
}

.custom-navbar .dropdown-item:hover,
.custom-navbar .dropdown-item:focus,
.custom-navbar .dropdown-item.active {
  background: var(--color-light-gray);
  color: var(--color-primary-text);
}

/* Mobile — the collapsed nav panel (.navbar-collapse.show) is already
   a solid dark card; the submenu drops inline underneath "Services"
   instead of floating as an absolute overlay, matching how the rest
   of the mobile menu behaves. */
@media (max-width: 991.98px) {
  .navbar-collapse .dropdown-menu {
    position: static;
    float: none;
    background: transparent;
    box-shadow: none;
    padding: 0.25rem 0 0.25rem 1rem;
    margin-top: 0;
  }

  .navbar-collapse .dropdown-item {
    color: var(--color-text-on-dark);
  }

  .navbar-collapse .dropdown-item:hover,
  .navbar-collapse .dropdown-item:focus,
  .navbar-collapse .dropdown-item.active {
    background: transparent;
    color: var(--color-gold);
  }
}

/* ------------------------------------------------------------
   40. LANGUAGE SWITCHER (assets/js/i18n.js)
   ------------------------------------------------------------ */
/* Same pill/border language as .nav-lang and .btn-outline-lux — a
   quiet outlined control that reads as part of the navbar, not a
   bolted-on widget. Sits in .nav-cta-group alongside the existing
   Japanese-support badge and Book Now button. */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
  padding: 0.2rem;
  transition: border-color var(--transition-fast);
}

.lang-switch-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-pill);
  transition:
    background var(--transition-fast),
    color var(--transition-fast);
}

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

.lang-switch-btn.active {
  background: var(--gradient-gold);
  color: var(--color-dark);
}

.lang-switch-btn.active:hover {
  color: var(--color-dark);
}

.site-header.is-scrolled .lang-switcher {
  border-color: var(--color-border);
}

.site-header.is-scrolled .lang-switch-btn {
  color: var(--color-text-muted);
}

.site-header.is-scrolled .lang-switch-btn:hover {
  color: var(--color-text);
}

.site-header.is-scrolled .lang-switch-btn.active,
.site-header.is-scrolled .lang-switch-btn.active:hover {
  color: var(--color-dark);
}

/* Mobile — the collapsed panel is always the dark card regardless of
   scroll state, so it gets its own fixed (not scroll-dependent)
   styling, same pattern as .navbar-collapse .dropdown-item above. */
@media (max-width: 991.98px) {
  .lang-switcher {
    margin-bottom: 0.75rem;
  }

  .navbar-collapse .lang-switch-btn {
    color: var(--color-text-on-dark);
  }

  .navbar-collapse .lang-switch-btn:hover {
    color: var(--color-white);
  }

  .navbar-collapse .lang-switch-btn.active,
  .navbar-collapse .lang-switch-btn.active:hover {
    color: var(--color-dark);
  }
}
