/* ===========================================
   BALAJI TOURS & TAXI — MASTERPIECE
   High-End Luxury Travel Service (Obsidian & Gold)
   =========================================== */

/* ---------- Google Fonts ---------- */
/* Note: Fonts are loaded via <link> in index.html for performance */
/* Font-display is handled via query param in the Google Fonts URL */

/* ---------- CSS Variables / Design Tokens ---------- */
:root {
  /* Core Palette: Premium Obsidian Night */
  --bg-pure: #09090C;
  --bg-surface: #121216;
  --bg-panel: #181820;
  --bg-elevated: #22222B;
  
  /* The Accent: Satin Champagne Gold */
  --accent: #DFB76C;
  --accent-hover: #C59F54;
  --accent-dim: rgba(223, 183, 108, 0.08);
  --accent-light: #F3E2C3;

  /* Typography Colors */
  --text-primary: #F4F4F6;
  --text-secondary: #A1A1AA; /* Zinc 400 */
  --text-tertiary: #71717A; /* Zinc 500 */
  --text-inverse: #09090C;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-strong: rgba(223, 183, 108, 0.15);
  --border-glow: rgba(223, 183, 108, 0.3);

  /* Spacing System (8pt Grid) */
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-32: 128px;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Radii for that 'App' feel */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Transitions */
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-premium: cubic-bezier(0.32, 0.72, 0, 1);
  --t-fast: 0.15s var(--ease-out);
  --t-base: 0.3s var(--ease-out);
  --t-premium: 0.5s var(--ease-premium);
  --t-slow: 0.8s var(--ease-premium);

  /* Double-Bezel Tokens */
  --shell-padding: 2px;
  --shell-radius: calc(var(--radius-lg) + 4px);
  --inner-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --inner-highlight-strong: inset 0 1px 1px rgba(255, 255, 255, 0.12);

  /* Semantic Colors */
  --color-error: #e74c3c;
  --color-error-dim: rgba(231, 76, 60, 0.15);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-pure);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-pure);
  color: var(--text-secondary);
  line-height: 1.6;
  overscroll-behavior: contain;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

/* Custom scrollbar for webkit */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-pure);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-tertiary);
}

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

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

button {
  cursor: pointer;
}

/* Focus-visible for keyboard accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Remove focus outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* ---------- Typography Utility ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

/* ---------- Skip Link (Keyboard Accessibility) ---------- */
.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--text-inverse);
  font-weight: 700;
  border-radius: var(--radius-pill);
  transform: translateY(-150px);
  transition: transform 0.2s ease;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Screen-reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Structural Utilities ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
}

.section {
  padding: clamp(48px, 8vw, 128px) 0;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(223, 183, 108, 0.03) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
  z-index: 0;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: var(--space-12);
  max-width: 700px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
  padding: 6px 14px;
  background: var(--accent-dim);
  border: 1px solid rgba(223, 183, 108, 0.15);
  border-radius: var(--radius-pill);
}

.section-title {
  font-size: clamp(1.8rem, 5vw, 3.25rem);
  font-weight: 800;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.section-subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.125rem);
  color: var(--text-secondary);
}

/* ---------- Buttons (The App Feel) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: background var(--t-fast), box-shadow var(--t-fast), color var(--t-fast), transform var(--t-fast);
  white-space: nowrap;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: var(--text-inverse);
  box-shadow: 0 4px 15px rgba(223, 183, 108, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(223, 183, 108, 0.35);
  transform: translateY(-1px);
}

.btn-primary .btn-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  margin-left: 8px;
  transition: transform var(--t-premium), background var(--t-base);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.btn-primary:hover .btn-icon-wrap {
  transform: translateX(4px) translateY(-1px) scale(1.08);
  background: rgba(0, 0, 0, 0.35);
}

/* Compact nav button */
.btn-nav {
  padding: 8px 16px 8px 20px;
  font-size: 0.85rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
}

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

.btn-outline:active {
  transform: scale(0.97);
}

/* btn-outline state machine for loading/success */

.btn-outline .btn-label-loading,
.btn-outline .btn-label-success {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}

.btn-outline.is-loading .btn-label-default,
.btn-outline.is-success .btn-label-default {
  opacity: 0;
  pointer-events: none;
}

.btn-outline.is-loading .btn-label-loading {
  opacity: 1;
  pointer-events: auto;
}

.btn-outline.is-success .btn-label-success {
  opacity: 1;
  pointer-events: auto;
}

.btn-outline.is-loading {
  pointer-events: none;
  opacity: 0.85;
}


/* ---------- Navigation (Fluid Island) ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 16px 0;
  pointer-events: none;
  transition: padding var(--t-base);
}

.navbar.scrolled {
  padding: 8px 16px 0;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 12px 10px 20px;
  background: rgba(9, 9, 12, 0.7);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(223, 183, 108, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  pointer-events: auto;
  transition: background var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}

.navbar.scrolled .navbar-inner {
  background: rgba(9, 9, 12, 0.85);
  border-color: var(--border-strong);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(223, 183, 108, 0.06);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.nav-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
}

.nav-brand-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: var(--space-8);
  background: rgba(18, 18, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 32px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  transition: color var(--t-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-pill);
  transition: width var(--t-base), opacity var(--t-base);
  transform: translateX(-50%);
  opacity: 0;
}

.nav-links a:hover::after {
  width: 50%;
  opacity: 1;
}

.nav-links a.active {
  color: var(--accent);
}

.nav-links a.active::after {
  width: 70%;
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: opacity var(--t-fast);
}

.nav-phone:hover {
  opacity: 0.8;
}

.nav-phone svg {
  flex-shrink: 0;
}

/* ---------- Hero Section (The Executive Suite) ---------- */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: clamp(80px, 8vh, 100px) 0 clamp(40px, 5vh, 60px);
  position: relative;
  overflow: hidden;
}

@media (min-width: 1025px) {
  .hero {
    min-height: 0;
    padding: clamp(100px, 12vh, 140px) 0 clamp(60px, 8vh, 100px);
  }
}

/* Jaipur Cityscape moody texture background */
.hero-bg {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  z-index: 0;
  pointer-events: none;
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(100%) contrast(110%);
  will-change: transform;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

/* Background Luminous Glow */
.hero-glow {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(223, 183, 108, 0.12) 0%, rgba(0,0,0,0) 70%);
  z-index: 1;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-12);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 8vw, 5.25rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: var(--space-6);
  text-transform: uppercase;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-hindi {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-tertiary);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.hindi-content {
  transition: opacity 0.15s ease;
}

.hindi-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(223, 183, 108, 0.05);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  font-size: 0.75rem;
  font-family: var(--font-body);
  color: var(--accent);
  transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  cursor: pointer;
}

.hindi-toggle:hover {
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: 0 0 10px rgba(223, 183, 108, 0.4);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

/* Objection-preempting trust badges below hero copy */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 480px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(223, 183, 108, 0.08);
  border: 1px solid rgba(223, 183, 108, 0.15);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.hero-badge svg {
  color: var(--accent);
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.hero-actions .btn {
  min-width: 180px;
}

.hero-actions .btn-outline {
  border-color: rgba(223, 183, 108, 0.24);
}

.hero-trust-strip {
  margin-top: var(--space-5);
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 620px;
}

@media (max-width: 768px) {
  .hero-badges {
    gap: 8px;
    margin-bottom: var(--space-3);
  }
  .hero-badge {
    font-size: 0.72rem;
    padding: 5px 10px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- The Booking App Interface (Double-Bezel) ---------- */
.booking-app {
  position: relative;
  background: rgba(9, 9, 12, 0.5);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(223, 183, 108, 0.08);
  border-radius: var(--shell-radius);
  padding: var(--shell-padding);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(223, 183, 108, 0.03);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.booking-app::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--shell-radius);
  padding: var(--shell-padding);
  background: linear-gradient(135deg, rgba(223, 183, 108, 0.06), transparent 40%, transparent 60%, rgba(223, 183, 108, 0.03));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.booking-app-inner {
  background: rgba(18, 18, 22, 0.85);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--inner-highlight);
  position: relative;
}

.booking-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
}

.booking-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.booking-hint {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-tertiary);
  padding: 4px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.app-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.app-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

/* Journey Indicator & Connections */
.journey-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-left: 28px;
}

.journey-container::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  border-left: 2px dotted rgba(223, 183, 108, 0.25);
  z-index: 1;
}

.journey-indicator-node {
  position: absolute;
  left: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  z-index: 2;
  transform: translateY(-50%);
}

.journey-indicator-node.pickup {
  top: 26px;
  background: #10B981; /* Premium Emerald */
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.journey-indicator-node.drop {
  bottom: 26px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(223, 183, 108, 0.5);
  border-radius: 2px; /* Diamond */
  transform: translateY(50%) rotate(45deg);
}

/* Floating Label Inputs */
.app-input-group {
  position: relative;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}

.app-input-group:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(223, 183, 108, 0.1);
  background: rgba(0, 0, 0, 0.4);
}

.app-input-group label {
  position: absolute;
  top: 8px;
  left: 42px; /* Spaced for icon */
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.app-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  opacity: 0.7;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.app-input-group input,
.app-input-group select,
.app-input-group textarea {
  width: 100%;
  padding: 28px 16px 8px 42px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Select specific: extra right padding for arrow */
.app-input-group select {
  padding-right: 36px;
  cursor: pointer;
}

/* Native select option panel styling */
.app-input-group select option {
  background: #1a1a24;
  color: var(--text-primary);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 500;
}

.app-input-group select option:checked {
  background: var(--accent-dim);
  color: var(--accent);
}

.app-input-group select option:hover {
  background: var(--bg-elevated);
}

/* Placeholder styles */
.app-input-group input::placeholder,
.app-input-group textarea::placeholder {
  color: var(--text-tertiary);
  opacity: 0.8;
}

.app-input-group textarea {
  min-height: 100px;
  overflow-y: auto;
  resize: vertical;
  line-height: 1.5;
}

.app-input-group input::-webkit-calendar-picker-indicator,
.app-input-group input::-webkit-time-picker-indicator {
  filter: invert(0.8) sepia(1) saturate(5) hue-rotate(15deg); /* Tinted gold */
  cursor: pointer;
  margin-right: -4px;
}

/* Custom Select Arrow */
.app-select-wrapper {
  position: relative;
}
.app-select-wrapper::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
  opacity: 0.6;
  transition: opacity var(--t-fast), transform var(--t-fast);
}

.app-select-wrapper:focus-within::after,
.app-select-wrapper:has(:focus-visible)::after {
  opacity: 1;
  transform: translateY(-50%) rotate(45deg);
}

/* Cab drive animation after booking */
.cab-track {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 24px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.cab-track.cab-driving {
  opacity: 1;
}

.cab-road {
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--border-strong) 0,
    var(--border-strong) 8px,
    transparent 8px,
    transparent 16px
  );
}

.cab-car {
  position: absolute;
  bottom: 0;
  left: -32px;
  z-index: 1;
  color: var(--accent);
}

.cab-track.cab-driving .cab-car {
  animation: cabDrive 1.8s var(--ease-out) forwards;
}

@keyframes cabDrive {
  0% { left: -32px; }
  100% { left: calc(100% + 10px); }
}

/* Field helper text */
.field-helper {
  display: block;
  font-size: 0.65rem;
  color: var(--text-tertiary);
  padding: 2px 4px 0;
  line-height: 1.3;
}

/* Form social proof near submit button */

/* Inline form error message */
.field-error-msg {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-error);
  margin-top: 4px;
  padding: 0 4px;
  animation: fadeSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Form validation shake */
.form-shake {
  animation: shakeHaptic 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

.field-error {
  border-color: var(--color-error) !important;
  box-shadow: 0 0 0 3px var(--color-error-dim) !important;
}

@keyframes shakeHaptic {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-6px); }
  30% { transform: translateX(5px); }
  45% { transform: translateX(-4px); }
  60% { transform: translateX(3px); }
  75% { transform: translateX(-2px); }
  90% { transform: translateX(1px); }
}

/* Vehicle recommendation hint */
.vehicle-hint-wrapper {
  display: flex !important;
  align-items: center;
  min-height: 60px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.vehicle-hint {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  padding: 8px 12px;
  background: var(--accent-dim);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  width: 100%;
  text-align: center;
  animation: fadeSlideUp 0.3s var(--ease-out);
}

/* WhatsApp icon in button */
.btn-wa-icon {
  color: #25D366;
  flex-shrink: 0;
}

/* Sticky submit button on mobile */
.btn-book {
  width: 100%;
  margin-top: var(--space-2);
  font-size: 1.05rem;
  padding: 18px;
  position: relative;
  z-index: 10;
}

@media (max-width: 768px) {
  .btn-book.is-loading, .btn-book.is-success {
    position: relative;
  }
}

/* has-value state for floating labels */
.app-input-group.has-value label {
  color: var(--accent);
  opacity: 0.9;
}

/* is-valid state for inline validation */
.app-input-group input.is-valid,
.app-input-group select.is-valid {
  border-color: rgba(16, 185, 129, 0.3);
}

.app-input-group:has(.is-valid) {
  border-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.06);
}

/* Sightseeing dynamic content helper classes */
.hide-field {
  display: none !important;
}

/* ---------- Utility Classes ---------- */
.flex-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.mb-6 {
  margin-bottom: var(--space-6);
}

.mt-2 {
  margin-top: var(--space-2);
}

.w-full {
  width: 100%;
}

.text-accent {
  color: var(--accent);
}

.text-secondary {
  color: var(--text-secondary);
}

.fw-600 {
  font-weight: 600;
}

.block {
  display: block;
}

.pt-28 {
  padding-top: 28px;
}

.h-100 {
  height: 100px;
}

.resize-none {
  resize: none;
}

.flex-center {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gap-2 {
  gap: var(--space-2);
}

.leading-1-4 {
  line-height: 1.4;
}

.fs-0-85 {
  font-size: 0.85rem;
}

.fs-0-8 {
  font-size: 0.8rem;
}

.mt-16 {
  margin-top: 16px;
}

.review-section-bg {
  background: rgba(18, 18, 22, 0.3);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.footer-phone {
  font-weight: 600;
  color: var(--text-primary);
}

.contact-app {
  border-color: rgba(223, 183, 108, 0.1);
}

.contact-app::before {
  background: linear-gradient(135deg, rgba(223, 183, 108, 0.04), transparent 30%, transparent 70%, rgba(223, 183, 108, 0.06));
}

.contact-app .booking-app-inner {
  background: rgba(18, 18, 22, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
/* ---------- The Bento Box Grid (Double-Bezel Cards) ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 240px 240px auto;
  gap: var(--space-4);
}

.bento-card {
  background: rgba(9, 9, 12, 0.4);
  border: 1px solid rgba(223, 183, 108, 0.06);
  border-radius: var(--shell-radius);
  padding: var(--shell-padding);
  display: flex;
  flex-direction: column;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
  position: relative;
  box-shadow: 0 1px 0 rgba(223, 183, 108, 0.02);
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--shell-radius);
  padding: var(--shell-padding);
  background: linear-gradient(135deg, rgba(223, 183, 108, 0.04), transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.bento-card-inner {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
  box-shadow: var(--inner-highlight);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.bento-card:active {
  transform: translateY(-2px);
}

.bento-card:hover .bento-icon {
  box-shadow: 0 0 24px rgba(223, 183, 108, 0.3);
  background: var(--accent-dim);
  border-color: rgba(223, 183, 108, 0.3);
}

/* Spanning logic */
.bento-card.span-2-col { grid-column: span 2; }
.bento-card.span-2-row { grid-row: span 2; }

.bento-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-panel);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  color: var(--accent);
  border: 1px solid var(--border-subtle);
}

.bento-card-inner h3 {
  font-size: 1.35rem;
  margin-bottom: var(--space-2);
  font-weight: 700;
  margin-top: auto;
}

.bento-card-inner p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Special styling for large bento cards - Luxury Dark Gold */
.bento-card.primary {
  background: linear-gradient(135deg, rgba(9, 9, 12, 0.6), rgba(223, 183, 108, 0.03));
  border-color: rgba(223, 183, 108, 0.1);
}

.bento-card.primary .bento-card-inner {
  background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(223, 183, 108, 0.04) 100%);
}

.bento-card.primary h3 { color: var(--accent); }
.bento-card.primary p { color: var(--text-secondary); }
.bento-card.primary .bento-icon {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: rgba(223, 183, 108, 0.3);
  box-shadow: 0 0 15px rgba(223, 183, 108, 0.1);
}

.bento-card.primary:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(223, 183, 108, 0.08);
}

/* ---------- Fleet Section (Double-Bezel Product Cards) ---------- */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.product-card {
  background: rgba(9, 9, 12, 0.4);
  border: 1px solid rgba(223, 183, 108, 0.06);
  border-radius: var(--shell-radius);
  padding: var(--shell-padding);
  display: flex;
  flex-direction: column;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
  position: relative;
  box-shadow: 0 1px 0 rgba(223, 183, 108, 0.02);
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--shell-radius);
  padding: var(--shell-padding);
  background: linear-gradient(135deg, rgba(223, 183, 108, 0.04), transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.product-card-inner {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--inner-highlight);
  flex: 1;
}

.product-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.product-card:active {
  transform: translateY(-2px);
}

.product-image-wrapper {
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

/* 3D Showroom Glow behind transparent pngs */
.product-image-wrapper::before {
  content: '';
  position: absolute;
  width: 65%;
  height: 65%;
  background: radial-gradient(circle, rgba(223, 183, 108, 0.12) 0%, rgba(0,0,0,0) 70%);
  filter: blur(8px);
  z-index: 1;
  pointer-events: none;
}

.product-image-wrapper img {
  width: 85%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transition: transform 0.6s var(--ease-spring);
}

.product-card:hover .product-image-wrapper img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--bg-panel);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  text-transform: uppercase;
  z-index: 3;
}

.product-info {
  padding: var(--space-5) var(--space-3) var(--space-3);
}

.product-info h3 {
  font-size: 1.35rem;
  margin-bottom: var(--space-4);
  font-weight: 700;
}

.product-specs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border-subtle);
}

.spec-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.spec-item svg {
  color: var(--accent);
}

.product-card .btn {
  width: 100%;
}

/* ---------- Routes ---------- */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.route-row {
  all: unset;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-4) var(--space-6);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base), background var(--t-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  text-align: left;
}

.route-row:focus-visible {
  outline: 3px solid rgba(223, 183, 108, 0.85);
  outline-offset: 3px;
}

.route-row:hover,
.route-row:focus {
  background: var(--bg-panel);
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.route-row:active {
  transform: scale(0.98);
}

.route-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity var(--t-fast);
}

.route-row:hover::before {
  opacity: 1;
}

.route-row:hover {
  background: var(--bg-panel);
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.route-dest {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.route-details {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.route-price {
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-heading);
  margin-left: 4px;
}

.route-arrow {
  color: var(--accent);
  opacity: 0.6;
  transform: translateX(-6px);
  transition: opacity var(--t-fast), transform var(--t-fast);
}

.route-row:hover .route-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Trust & Credentials Bar ---------- */
.trust-bar {
  background: rgba(18, 18, 22, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 0;
  z-index: 10;
  position: relative;
  margin-top: -24px;
}

.trust-flex {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.trust-item svg {
  color: var(--accent);
  filter: drop-shadow(0 0 4px rgba(223, 183, 108, 0.2));
}

/* Badge Row (Safety & Certifications) */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-subtle);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-pill svg {
  color: var(--accent);
}

/* ---------- Stats Counter Bar ---------- */
.stats-bar {
  background: rgba(18, 18, 22, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 40px 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-number::after {
  content: '+';
  font-size: 0.7em;
  opacity: 0.6;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--accent);
  opacity: 0.6;
  margin-left: -4px;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Verified Guest Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 1px 0 rgba(223, 183, 108, 0.02);
}

.review-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 30px rgba(0,0,0,0.3);
}

.review-card:active {
  transform: translateY(0);
}

.stars {
  color: var(--accent);
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
}

.review-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: var(--space-5);
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
  font-size: 0.9rem;
}

.reviewer-details h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.reviewer-details span {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-date {
  font-size: 0.7rem;
  color: var(--accent);
  opacity: 0.7;
  display: block;
  margin-top: 2px;
}

/* ---------- FAQ (Clean Accordion) ---------- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-6) 0;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-base);
  color: var(--accent);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--bg-pure);
  border-color: var(--accent);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease, opacity 0.35s var(--ease-out), visibility 0.35s var(--ease-out);
  opacity: 0;
  visibility: hidden;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
}

.faq-answer > * {
  overflow: hidden;
}

.faq-answer p {
  padding-bottom: var(--space-6);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- Footer (Luxury Slate) ---------- */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-16) 0 var(--space-8);
  background: var(--bg-pure);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

.footer-brand .nav-brand {
  margin-bottom: var(--space-4);
}

.footer-brand p {
  color: var(--text-tertiary);
  max-width: 320px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-bottom: var(--space-6);
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 0;
}

.footer-nav h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-bottom: var(--space-6);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
}

.footer-nav a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: var(--accent);
}

/* Footer Social Icons */
.footer-socials {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

.social-icon:hover {
  background: var(--accent-dim);
  border-color: var(--border-strong);
  color: var(--accent);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-subtle);
  color: var(--text-tertiary);
  font-size: 0.825rem;
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform var(--t-fast);
}

.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

.whatsapp-fab:active {
  transform: scale(0.95);
}

.whatsapp-fab .float-y {
  animation-duration: 3s;
}

/* ---------- Mobile Menu & Hamburger ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  cursor: pointer;
  z-index: 1003;
  min-width: 44px;
  min-height: 44px;
  padding: 6px;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--t-base), opacity var(--t-base), background var(--t-base);
  border-radius: var(--radius-pill);
}

/* Hamburger active transformation to X */
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--accent);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--accent);
}

/* ---------- Full-Screen Mobile Overlay (Masked Reveal) ---------- */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100dvh;
  background: rgba(9, 9, 12, 0.92);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-16) var(--space-8);
  gap: var(--space-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

/* Staggered masked reveal for mobile nav items */
.mobile-nav > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 80ms);
}

.mobile-nav.open > * {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-header {
  margin-bottom: var(--space-2);
  text-align: center;
}

.mobile-nav-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.6;
}

.mobile-nav-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  max-width: 320px;
}

.mobile-nav-body a {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  width: 100%;
  text-align: center;
  padding: var(--space-3) 0;
  transition: color var(--t-fast);
  position: relative;
}

.mobile-nav-body a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--t-base);
  transform: translateX(-50%);
  border-radius: var(--radius-pill);
}

.mobile-nav-body a:hover::after,
.mobile-nav-body a:active::after,
.mobile-nav-body a.active::after {
  width: 60%;
}

.mobile-nav-body a:hover,
.mobile-nav-body a:active,
.mobile-nav-body a.active {
  color: var(--accent);
}

.mobile-nav-footer {
  text-align: center;
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-subtle);
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: center;
}

.mobile-nav-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mobile-nav-phone {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent) !important;
  transition: opacity var(--t-fast);
}

.mobile-nav-phone:hover {
  opacity: 0.8;
}

/* Mobile Nav Overlay (thin backdrop blur only) */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- PWA Install Banner ---------- */
.pwa-install-banner {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 9999;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(223, 183, 108, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 340px;
  max-width: 440px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.pwa-install-banner.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.pwa-install-banner[hidden] {
  display: none;
}

.pwa-install-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.pwa-install-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
}

.pwa-install-text {
  display: flex;
  flex-direction: column;
}

.pwa-install-text strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.pwa-install-text span {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  line-height: 1.3;
}

.pwa-install-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pwa-install-btn {
  background: var(--accent);
  color: var(--text-inverse);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.pwa-install-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.pwa-install-btn:active {
  transform: scale(0.97);
}

.pwa-install-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}

.pwa-install-close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

@media (max-width: 480px) {
  .pwa-install-banner {
    min-width: unset;
    max-width: calc(100% - 32px);
    bottom: 88px;
    padding: 14px 16px;
    gap: 12px;
  }

  .pwa-install-text strong {
    font-size: 0.85rem;
  }

  .pwa-install-text span {
    font-size: 0.7rem;
  }

  .pwa-install-icon {
    width: 40px;
    height: 40px;
  }

  .pwa-install-btn {
    font-size: 0.75rem;
    padding: 8px 16px;
  }
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  z-index: 10002;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Subtle Grain/Noise Texture Overlay */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  z-index: 10001;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.1s linear;
  will-change: transform;
  box-shadow: 0 0 12px rgba(223, 183, 108, 0.4);
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 108px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  z-index: 99;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.scroll-top:active {
  transform: scale(0.92);
}

/* ---------- Form CRO: Trust note ---------- */
.form-trust-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: var(--space-3);
  font-size: 0.72rem;
  color: var(--text-tertiary);
  opacity: 0.8;
}

.form-trust-note svg {
  flex-shrink: 0;
  color: var(--accent);
}

/* ---------- Form CRO: Button state machine ---------- */
.btn-book {
  position: relative;
}

.btn-label-loading,
.btn-label-success {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}

.btn-book.is-loading .btn-label-default,
.btn-book.is-success .btn-label-default {
  opacity: 0;
  pointer-events: none;
}

.btn-book.is-loading .btn-label-loading {
  opacity: 1;
  pointer-events: auto;
}

.btn-book.is-success .btn-label-success {
  opacity: 1;
  pointer-events: auto;
}

.btn-book.is-loading {
  pointer-events: none;
  opacity: 0.85;
}

/* ----- State machine for generic btn-primary ----- */
.btn-primary .btn-label-default {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: opacity var(--t-base);
}

.btn-primary .btn-label-loading,
.btn-primary .btn-label-success {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}

.btn-primary.is-loading .btn-label-default,
.btn-primary.is-success .btn-label-default {
  opacity: 0;
  pointer-events: none;
}

.btn-primary.is-loading .btn-label-loading {
  opacity: 1;
  pointer-events: auto;
}

.btn-primary.is-success .btn-label-success {
  opacity: 1;
  pointer-events: auto;
}

.btn-primary.is-loading {
  pointer-events: none;
  opacity: 0.85;
}

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

.spinner {
  animation: spin 0.8s linear infinite;
}

/* ---------- UX Feedback: Form success banner ---------- */
.form-success-banner {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  text-align: center;
  display: none;
}

.form-success-banner.visible {
  display: block;
  animation: fadeSlideUp 0.4s var(--ease-out);
}

.form-success-banner svg {
  color: #10B981;
  margin-bottom: var(--space-3);
}

.form-success-banner h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.form-success-banner p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ---------- UX Feedback: Field validation refinements ---------- */
/* has-value and is-valid are now defined in the form section above */

/* ---------- UX Feedback: Empty states for dynamic areas ---------- */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-12) var(--space-6);
  text-align: center;
  color: var(--text-tertiary);
}

.empty-state svg {
  opacity: 0.3;
  color: var(--text-tertiary);
}

.empty-state h4 {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.empty-state p {
  font-size: 0.85rem;
  max-width: 320px;
}

/* ===========================================
   RESPONSIVE (Max-width approach)
   =========================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-8);
  }
  
  .hero-subtitle {
    margin: 0 auto;
  }

  .hero-hindi {
    justify-content: center;
  }

  .booking-app {
    max-width: 560px;
    margin: 0 auto;
    text-align: left;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  
  .bento-card.span-2-row {
    grid-row: auto;
  }

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

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

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .navbar {
    padding: 8px 8px 0;
  }

  .navbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: var(--radius-lg);
    padding: 8px 8px 8px 14px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-card.span-2-col,
  .bento-card.span-2-row {
    grid-column: span 1;
    grid-row: span 1;
  }

  .bento-card-inner {
    padding: var(--space-5);
  }

  .bento-card h3 {
    font-size: 1.25rem;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  /* Compact and balanced journey line inputs on mobile */
  .journey-container {
    padding-left: 24px;
    gap: var(--space-3);
  }

  .journey-container::before {
    left: 8px;
    top: 24px;
    bottom: 24px;
  }

  .journey-indicator-node.pickup {
    top: 24px;
    left: 4px;
  }

  .journey-indicator-node.drop {
    bottom: 24px;
    left: 4px;
  }

  .app-input-group label {
    left: 36px;
    font-size: 0.6rem;
  }

  .app-input-icon {
    left: 12px;
  }

  .app-input-group input,
  .app-input-group select {
    padding: 24px 12px 8px 36px;
    font-size: 0.9rem;
    min-height: 48px;
  }

  .app-input-group select {
    padding-right: 32px;
  }

  .app-row {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  /* Trust Bar mobile layout */
  .trust-bar {
    padding: 16px 0;
    margin-top: 0;
  }

  .trust-flex {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 var(--space-4);
    gap: var(--space-3);
  }

  .trust-item {
    font-size: 0.85rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .fleet-grid,
  .reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    padding: 0;
    margin: 0;
  }

  .product-card,
  .review-card {
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    flex: none;
  }

  .product-card-inner {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--inner-highlight);
  }

  .product-image-wrapper {
    height: 190px;
  }

  .product-badge {
    top: 12px;
    left: 12px;
    font-size: 0.65rem;
    padding: 3px 10px;
  }

  .product-info {
    padding: var(--space-5) var(--space-3) var(--space-3);
  }

  .product-info h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-3);
  }

  .product-specs {
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-4);
  }

  .spec-item {
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  .product-card .btn {
    width: 100%;
    padding: 14px;
    font-size: 0.9rem;
  }

  .review-card {
    padding: var(--space-5);
    box-shadow: none;
    background: var(--bg-surface);
  }

  /* ---------- Routes Mobile ---------- */
  .routes-grid {
    gap: var(--space-3);
  }

  .route-dest {
    font-size: 1.1rem;
  }

  .route-row {
    padding: var(--space-3) var(--space-4);
  }

  .route-arrow {
    opacity: 0.6;
    transform: translateX(0);
  }

  /* ---------- FAB Adjustments on Mobile ---------- */
  .whatsapp-fab {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  }

  .whatsapp-fab svg {
    width: 28px;
    height: 28px;
  }

  .scroll-top {
    bottom: 88px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 540px) {
  .navbar-inner {
    padding: 10px 12px;
  }

  .nav-brand {
    min-width: 0;
    flex: 1 1 100%;
  }

  .nav-brand-text {
    font-size: 1rem;
    white-space: normal;
    word-break: break-word;
  }

  .hero-grid {
    gap: var(--space-6);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    gap: var(--space-3);
  }

  .hero-actions .btn {
    width: 100%;
    min-width: auto;
  }

  .booking-app {
    width: 100%;
    margin: 0 auto;
    padding-left: var(--space-2);
    padding-right: var(--space-2);
  }

  .booking-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .booking-hint {
    margin-left: 0;
  }

  .app-row {
    grid-template-columns: 1fr;
  }

  .app-input-group input,
  .app-input-group select,
  .app-input-group textarea {
    min-height: 52px;
  }

  .stats-grid,
  .trust-flex,
  .footer-grid,
  .bento-grid,
  .routes-grid,
  .fleet-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .route-row {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-2);
  }

  .route-arrow {
    margin-top: var(--space-2);
    transform: translateX(0);
  }

  .footer-bottom {
    text-align: center;
  }

  .mobile-nav-body a {
    font-size: 1.65rem;
  }
}

@media (max-width: 420px) {
  .hero-subtitle {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .hero-actions {
    gap: 0.75rem;
  }

  .btn {
    padding: 14px 18px;
  }

  .nav-brand-text {
    font-size: 0.95rem;
  }

  .footer-bottom {
    gap: var(--space-3);
  }

  .mobile-nav-body a {
    font-size: 1.45rem;
  }

  .route-dest {
    font-size: 1.05rem;
  }

  .route-row {
    padding: var(--space-3) var(--space-3);
  }

  .app-input-group input,
  .app-input-group select,
  .app-input-group textarea {
    padding-left: 34px;
  }
}

