@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Softer, Warm Neo-Nomadic Palette */
  --bg-obsidian: #0E1315;
  --bg-surface: #151C1F;
  --bg-elevated: #1C2529;
  --bg-glass: rgba(21, 28, 31, 0.88);

  --text-ivory: #F7F5F0;
  --text-muted: #9BA7AB;
  --text-soft: #6E7B80;

  --gold-tamga: #C9A256;
  --gold-hover: #D8B46C;
  --gold-soft: rgba(201, 162, 86, 0.14);

  --sky-qazaq: #3898B5;
  --sky-soft: rgba(56, 152, 181, 0.14);
  --pine-success: #34C77B;
  --pine-soft: rgba(52, 199, 123, 0.14);
  --danger-soft: rgba(229, 98, 98, 0.16);
  --danger-text: #F28B8B;

  /* Clean Borders, Radius & Shadows */
  --border-subtle: 1px solid rgba(255, 255, 255, 0.08);
  --border-gold: 1px solid rgba(201, 162, 86, 0.35);
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.35);

  /* Typography */
  --font-display: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Generous Layout & Spacing */
  --container-max: 1180px;
  --header-h: 76px;
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   BASE RESET & TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  background-color: var(--bg-obsidian);
  color: var(--text-ivory);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-obsidian);
  color: var(--text-ivory);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
  touch-action: manipulation;
}

img {
  max-width: 100%;
  display: block;
}

/* Centered Container & Generous Section Breathing Room */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-spacious {
  padding: 6.5rem 2rem;
}

.section-header {
  max-width: 680px;
  margin-bottom: 3.5rem;
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-tamga);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.heading-xl {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--text-ivory);
}

.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  font-weight: 600;
  line-height: 1.22;
  color: var(--text-ivory);
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 1rem;
}

.price-ticker {
  font-weight: 700;
  color: var(--text-ivory);
  transition: color 0.2s ease;
}
.price-ticker.scrambling {
  color: var(--gold-tamga);
}

/* ==========================================================================
   SIMPLIFIED TOP NAVBAR (DESKTOP + MOBILE 2-ROW ADAPTIVE)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-h);
  background: rgba(14, 19, 21, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: var(--border-subtle);
}

.navbar-inner {
  max-width: var(--container-max);
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-ivory);
  flex-shrink: 0;
}

.brand-logo svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold-tamga);
  fill: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-ivory);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
  color: var(--text-ivory);
  background: rgba(255, 255, 255, 0.09);
  font-weight: 600;
}

/* Compact Currency / 5-Language Dropdown Pill */
.prefs-dropdown-wrap {
  position: relative;
  flex-shrink: 0;
}

.prefs-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.52rem 0.95rem;
  border-radius: var(--radius-pill);
  border: var(--border-subtle);
  background: var(--bg-surface);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-ivory);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.prefs-pill-btn:hover {
  border-color: rgba(201, 162, 86, 0.45);
  background: var(--bg-elevated);
}

.prefs-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 290px;
  max-width: calc(100vw - 2rem);
  background: var(--bg-surface);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
  z-index: 1100;
}

.prefs-popover.open {
  display: flex;
}

.prefs-group-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
  display: block;
}

.prefs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
}

.prefs-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.prefs-grid.five-langs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.35rem;
}

.switcher-btn {
  padding: 0.5rem 0.4rem;
  min-height: 38px;
  border-radius: var(--radius-sm);
  border: var(--border-subtle);
  background: var(--bg-obsidian);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  transition: all 0.18s ease;
}

.switcher-btn:hover {
  color: var(--text-ivory);
}

.switcher-btn.active {
  background: var(--gold-tamga);
  color: var(--bg-obsidian);
  border-color: var(--gold-tamga);
  font-weight: 700;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--gold-tamga);
  color: var(--bg-obsidian);
  font-size: 0.96rem;
  font-weight: 700;
  padding: 1rem 1.85rem;
  border-radius: var(--radius-pill);
  text-align: center;
  transition: transform 0.2s var(--ease-smooth), background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(201, 162, 86, 0.25);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-ivory);
  border: var(--border-subtle);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.72rem 1.35rem;
  border-radius: var(--radius-pill);
  text-align: center;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  border-color: var(--gold-tamga);
  color: var(--gold-tamga);
  background: var(--gold-soft);
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: var(--border-subtle);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}

.tag-pill.gold {
  background: var(--gold-soft);
  border-color: rgba(201, 162, 86, 0.3);
  color: var(--gold-tamga);
}

.tag-pill.success {
  background: var(--pine-soft);
  border-color: rgba(52, 199, 123, 0.3);
  color: var(--pine-success);
}

/* ==========================================================================
   PAGE 1 (INDEX.HTML): HERO, 2x2 TOUR GRID & 3-STEP TRUST ROW
   ========================================================================== */
.hero-clean {
  min-height: 76vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6.5rem 2rem;
  background:
    linear-gradient(180deg, rgba(14, 19, 21, 0.58) 0%, rgba(14, 19, 21, 0.82) 65%, rgba(14, 19, 21, 1) 100%),
    url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1800&q=85') center/cover no-repeat;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.hero-cta-wrap {
  margin-top: 2.25rem;
}

.hero-trust-row {
  margin-top: 2.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-ivory);
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-trust-item span.check {
  color: var(--gold-tamga);
  font-weight: 700;
}

/* Clean 2x2 Spacious Card Grid */
.tours-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
}

.tour-card {
  background: var(--bg-surface);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s var(--ease-smooth), border-color 0.3s ease, box-shadow 0.3s ease;
}

.tour-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 86, 0.35);
  box-shadow: var(--shadow-soft);
}

.tour-card-media {
  height: 260px;
  overflow: hidden;
  position: relative;
}

.tour-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.tour-card:hover .tour-card-media img {
  transform: scale(1.04);
}

.tour-card-body {
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
}

.tour-card-duration {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-tamga);
}

.tour-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--text-ivory);
  margin-top: 0.3rem;
}

.tour-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tour-card-footer {
  padding-top: 1.25rem;
  border-top: var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}

.tour-price-wrap .price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.tour-price-wrap .price-amount {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-ivory);
}

/* 3-Step Visual Trust Row */
.trust-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.trust-step-card {
  background: var(--bg-surface);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.step-num-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold-tamga);
  font-weight: 700;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.35rem;
}

.trust-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-ivory);
}

.trust-step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   PAGE 2 (TOUR-KOLSAI.HTML): 2-COLUMN TOUR STORY & STICKY BOOKING CARD
   ========================================================================== */
.tour-hero-banner {
  padding: 3.5rem 0 2.5rem;
  border-bottom: var(--border-subtle);
}

.tour-photo-showcase {
  margin-top: 2rem;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--border-subtle);
  position: relative;
}

.tour-photo-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-booking-layout {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 3.5rem;
  align-items: start;
  padding: 4rem 0 6.5rem;
}

/* Clean 3-Tab Navigation Bar */
.clean-tabs-nav {
  display: inline-flex;
  flex-wrap: wrap;
  background: var(--bg-surface);
  border: var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 0.35rem;
  gap: 0.35rem;
  margin-bottom: 2.25rem;
  max-width: 100%;
}

.clean-tab-btn {
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.clean-tab-btn:hover {
  color: var(--text-ivory);
}

.clean-tab-btn.active {
  background: var(--gold-tamga);
  color: var(--bg-obsidian);
}

.tour-tab-panel {
  display: none;
  flex-direction: column;
  gap: 2rem;
}

.tour-tab-panel.active {
  display: flex;
}

/* Clean Interactive SVG Route Map Box */
.route-svg-card {
  background: var(--bg-surface);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  overflow-x: auto;
}

.route-svg-card svg {
  min-width: 520px;
}

.day-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.day-accordion-item {
  background: var(--bg-surface);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.day-accordion-item.open {
  border-color: rgba(201, 162, 86, 0.45);
}

.day-accordion-trigger {
  width: 100%;
  padding: 1.35rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
}

.day-accordion-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-ivory);
  line-height: 1.35;
}

.day-accordion-body {
  display: none;
  padding: 0 1.6rem 1.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: var(--border-subtle);
  padding-top: 1.25rem;
}

.day-accordion-item.open .day-accordion-body {
  display: block;
}

.day-Quick-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

/* Tab 2: Side-by-Side Sleep & Toilet Comparison */
.sleep-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.sleep-card {
  background: var(--bg-surface);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sleep-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.sleep-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.94rem;
  color: var(--text-ivory);
}

/* Tab 3: Meals & Included Gear Two-Column Checklist */
.checklist-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.checklist-box {
  background: var(--bg-surface);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.clean-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.15rem;
}

.clean-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.94rem;
  color: var(--text-ivory);
}

/* Right Column: Minimal Sticky Booking Card */
.sticky-booking-card {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  background: var(--bg-surface);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.guide-mini-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  background: var(--bg-obsidian);
  border: var(--border-subtle);
  border-radius: var(--radius-sm);
}

.guide-mini-badge img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold-tamga);
  flex-shrink: 0;
}

.clean-select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-obsidian);
  border: var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text-ivory);
  margin-top: 0.45rem;
}

.deposit-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--gold-soft);
  border: var(--border-gold);
  cursor: pointer;
  font-size: 0.9rem;
}

.deposit-checkbox-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-tamga);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* ==========================================================================
   PAGE 3 (OFFLINE-COMPANION.HTML): CENTERED PHONE & CLEAN STAFF TABLE
   ========================================================================== */
.mode-pill-switcher {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--bg-surface);
  border: var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 0.35rem;
  gap: 0.35rem;
  max-width: 100%;
}

.mode-pill-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.mode-pill-btn.active {
  background: var(--gold-tamga);
  color: var(--bg-obsidian);
}

.centered-phone-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.airplane-toggle-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1rem;
  padding: 0.75rem 1.35rem;
  background: var(--bg-surface);
  border: var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  max-width: 100%;
  text-align: center;
}

/* Clean iOS-Style Toggle Switch */
.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.25s ease;
}

.toggle-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--text-ivory);
  transition: transform 0.25s var(--ease-smooth);
}

.toggle-switch.active {
  background: var(--gold-tamga);
}

.toggle-switch.active::after {
  transform: translateX(22px);
  background: var(--bg-obsidian);
}

/* Clean Centered Smartphone Frame */
.clean-phone-frame {
  width: min(390px, 100%);
  height: 680px;
  background: var(--bg-surface);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 38px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.phone-top-bar {
  padding: 0.9rem 1.35rem;
  background: var(--bg-obsidian);
  border-bottom: var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
}

.phone-content-area {
  flex: 1;
  padding: 1.35rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.phone-view {
  display: none;
  flex-direction: column;
  gap: 1.1rem;
}

.phone-view.active {
  display: flex;
}

.phone-card {
  background: var(--bg-obsidian);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.phrase-item-btn {
  width: 100%;
  text-align: left;
  background: var(--bg-obsidian);
  border: var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.phrase-item-btn:hover {
  border-color: var(--gold-tamga);
  background: var(--gold-soft);
}

.phone-tab-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--bg-obsidian);
  border-top: var(--border-subtle);
  padding: 0.45rem;
  gap: 0.35rem;
}

.phone-tab-item {
  padding: 0.65rem 0.35rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  transition: all 0.2s ease;
}

.phone-tab-item.active {
  background: var(--gold-soft);
  color: var(--gold-tamga);
}

/* Clean Staff & eQonaq Table */
.staff-card {
  background: var(--bg-surface);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-soft);
}

.clean-table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
}

.clean-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.clean-table th {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 1rem 1.25rem;
  border-bottom: var(--border-subtle);
}

.clean-table td {
  padding: 1.25rem;
  border-bottom: var(--border-subtle);
  font-size: 0.92rem;
  vertical-align: middle;
}

.clean-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   UNOBTRUSIVE BAITEREK AI PILL & SHARED MODAL STYLING (FOR APP.JS)
   ========================================================================== */
.floating-ai-pill {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1500;
  padding: 0.8rem 1.35rem;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: var(--border-gold);
  color: var(--text-ivory);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.floating-ai-pill:hover {
  transform: translateY(-2px);
  background: var(--bg-elevated);
}

/* Shared AI Drawer & Checkout Modal (Injected by app.js) */
.ai-drawer-backdrop,
.checkout-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 11, 13, 0.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.ai-drawer-backdrop.open,
.checkout-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.ai-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  height: 100vh;
  height: 100dvh;
  background: var(--bg-surface);
  border-left: var(--border-subtle);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-smooth);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
}

.ai-drawer.open {
  transform: translateX(0);
}

.ai-drawer-header,
.checkout-modal-header {
  padding: 1.25rem 1.5rem;
  background: var(--bg-obsidian);
  border-bottom: var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ai-drawer-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ai-crest-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--gold-tamga);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ai-close-btn {
  padding: 0.45rem 0.85rem;
  min-height: 36px;
  border-radius: var(--radius-pill);
  border: var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.ai-prompt-chips {
  padding: 0.9rem 1.25rem;
  border-bottom: var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ai-chip-btn {
  font-size: 0.75rem;
  padding: 0.42rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--bg-obsidian);
  border: var(--border-subtle);
  color: var(--text-muted);
}

.ai-chip-btn:hover {
  color: var(--gold-tamga);
  border-color: var(--gold-tamga);
}

.ai-chat-log {
  flex: 1;
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.chat-msg {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 92%;
}

.chat-msg.bot {
  align-self: flex-start;
  background: var(--bg-obsidian);
  border: var(--border-subtle);
}

.chat-msg.user {
  align-self: flex-end;
  background: var(--gold-soft);
  border: var(--border-gold);
}

.chat-msg-meta {
  font-size: 0.7rem;
  color: var(--gold-tamga);
  margin-bottom: 0.3rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.ai-input-bar {
  padding: 0.95rem 1.25rem;
  padding-bottom: max(0.95rem, env(safe-area-inset-bottom));
  border-top: var(--border-subtle);
  background: var(--bg-obsidian);
  display: flex;
  gap: 0.6rem;
}

.ai-text-input {
  flex: 1;
  background: var(--bg-surface);
  border: var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.1rem;
  font-size: 1rem; /* 16px prevents iOS zoom */
}

.ai-send-btn {
  padding: 0 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--gold-tamga);
  color: var(--bg-obsidian);
  font-weight: 700;
  font-size: 0.86rem;
}

.checkout-modal-backdrop {
  display: grid;
  place-items: center;
  padding: 1.25rem;
  z-index: 2100;
}

.checkout-modal {
  width: min(680px, 100%);
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  background: var(--bg-surface);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.checkout-modal-body {
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.checkout-summary-banner {
  background: var(--bg-obsidian);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.payment-rail-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-obsidian);
  border: var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 0.25rem;
}

.rail-tab-btn {
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.rail-tab-btn.active {
  background: var(--gold-tamga);
  color: var(--bg-obsidian);
  font-weight: 700;
}

.checkout-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field.full {
  grid-column: span 2;
}

.form-field label {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.form-field input,
.form-field select {
  background: var(--bg-obsidian);
  border: var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.78rem 0.95rem;
  font-size: 1rem; /* 16px prevents iOS auto-zoom */
}

.btn-primary-gold {
  background: var(--gold-tamga);
  color: var(--bg-obsidian);
  font-weight: 700;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.checkout-receipt-box {
  background: var(--pine-soft);
  border: 1px solid rgba(52, 199, 123, 0.35);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
}

.checkout-receipt-box.visible {
  display: flex;
}

/* ==========================================================================
   CLEAN FOOTER
   ========================================================================== */
.site-footer {
  border-top: var(--border-subtle);
  padding: 3rem 2rem 5.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ==========================================================================
   TABLET & MOBILE OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 960px) {
  .tours-grid-2x2,
  .trust-steps-grid,
  .tour-booking-layout,
  .sleep-comparison-grid,
  .checklist-two-col {
    grid-template-columns: 1fr;
  }

  .sticky-booking-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 1.15rem;
  }

  .section-spacious {
    padding: 3.75rem 1.15rem;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .subtitle {
    font-size: 0.98rem;
  }

  /* 2-Row Mobile Navbar so Navigation Links Stay 1-Tap Accessible */
  .site-header {
    height: auto;
  }

  .navbar-inner {
    flex-wrap: wrap;
    padding: 0.75rem 1.15rem;
    gap: 0.65rem;
  }

  .brand-logo {
    font-size: 1.02rem;
  }

  .prefs-dropdown-wrap {
    order: 2;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding-top: 0.55rem;
    border-top: var(--border-subtle);
    gap: 0.35rem;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    font-size: 0.8rem;
    padding: 0.45rem 0.85rem;
    flex-shrink: 0;
  }

  /* Hero Mobile Tuning */
  .hero-clean {
    min-height: auto;
    padding: 4.25rem 1.25rem 3.5rem;
  }

  .hero-cta-wrap .btn-gold {
    width: 100%;
    padding: 0.95rem 1.25rem;
    font-size: 0.92rem;
  }

  .hero-trust-row {
    margin-top: 2rem;
    flex-direction: column;
    align-items: flex-start;
    display: inline-flex;
    gap: 0.65rem;
    font-size: 0.85rem;
    text-align: left;
  }

  /* Tour Cards Mobile Tuning */
  .tours-grid-2x2 {
    gap: 1.5rem;
  }

  .tour-card-media {
    height: 210px;
  }

  .tour-card-body {
    padding: 1.35rem;
  }

  .tour-card-title {
    font-size: 1.2rem;
  }

  .tour-card-footer {
    flex-wrap: wrap;
  }

  .trust-step-card {
    padding: 1.65rem 1.4rem;
  }

  /* Kolsai Tour Page Mobile Tuning */
  .tour-hero-banner {
    padding: 2rem 0 1.75rem;
  }

  .tour-photo-showcase {
    height: 230px;
    margin-top: 1.35rem;
    border-radius: var(--radius-md);
  }

  .tour-booking-layout {
    padding: 2.25rem 0 4rem;
    gap: 2.5rem;
  }

  .clean-tabs-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    border-radius: var(--radius-md);
    scrollbar-width: none;
  }

  .clean-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .clean-tab-btn {
    flex: 1 0 auto;
    padding: 0.65rem 1rem;
    font-size: 0.82rem;
  }

  .route-svg-card {
    padding: 1.25rem;
  }

  .day-accordion-trigger {
    padding: 1.1rem 1.2rem;
  }

  .day-accordion-title {
    font-size: 0.96rem;
  }

  .day-accordion-body {
    padding: 1rem 1.2rem 1.25rem;
    font-size: 0.9rem;
  }

  .sleep-card,
  .checklist-box,
  .sticky-booking-card {
    padding: 1.45rem;
  }

  /* Offline Companion & Staff Table Mobile Tuning */
  .mode-pill-switcher {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    border-radius: var(--radius-md);
  }

  .mode-pill-btn {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.86rem;
  }

  .airplane-toggle-bar {
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    width: 100%;
    font-size: 0.84rem;
  }

  .clean-phone-frame {
    height: 620px;
    border-radius: 28px;
  }

  .phone-content-area {
    padding: 1.1rem;
  }

  .staff-card {
    padding: 1.35rem;
  }

  /* Responsive Stacked Cards for Staff Table on Mobile */
  .clean-table thead {
    display: none;
  }

  .clean-table,
  .clean-table tbody,
  .clean-table tr,
  .clean-table td {
    display: block;
    width: 100%;
  }

  .clean-table tr {
    background: var(--bg-obsidian);
    border: var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.15rem;
    margin-bottom: 1rem;
  }

  .clean-table td {
    padding: 0.45rem 0;
    border-bottom: none;
  }

  .clean-table td .btn-outline {
    width: 100%;
    margin-top: 0.25rem;
  }

  /* Checkout Modal & Floating AI Pill on Mobile */
  .checkout-modal-backdrop {
    padding: 0.65rem;
    align-items: flex-end;
  }

  .checkout-modal {
    max-height: 92dvh;
    border-radius: var(--radius-md);
  }

  .checkout-modal-body {
    padding: 1.25rem;
  }

  .checkout-form-grid {
    grid-template-columns: 1fr;
  }

  .form-field.full {
    grid-column: span 1;
  }

  .payment-rail-tabs {
    grid-template-columns: 1fr;
    border-radius: var(--radius-sm);
  }

  .floating-ai-pill {
    bottom: 1rem;
    right: 1rem;
    padding: 0.7rem 1.1rem;
    font-size: 0.82rem;
  }
}