/* ========================================
   CSS Custom Properties — Professional Theme
   Clean, minimal, Uber-inspired
   ======================================== */
:root {
  --color-primary: #000000;
  --color-accent: #000000;
  --color-accent-hover: #333333;
  --color-danger: #dc2626;
  --color-success: #059669;

  --color-white: #ffffff;
  --color-bg: #ffffff;
  --color-bg-alt: #f9fafb;
  --color-bg-dark: #111827;
  --color-bg-darker: #0a0a0a;

  --color-text: #111827;
  --color-text-secondary: #6b7280;
  --color-text-muted: #9ca3af;
  --color-text-inverse: #ffffff;

  --color-border: #e5e7eb;
  --color-border-dark: #d1d5db;

  /* Legacy aliases used by map/sidebar components */
  --color-dark: #111827;
  --color-red: #dc2626;
  --color-yellow: #000000;
  --color-cream: #f9fafb;
  --color-gray: #6b7280;
  --color-gray-light: #e5e7eb;

  --font-family: 'Gotham', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1200px;
  --nav-height: 72px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --transition: 0.2s ease;
}

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

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

body {
  font-family: var(--font-family);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: var(--color-bg);
}

h1, h2, h3, h4 {
  font-family: var(--font-family);
  line-height: 1.15;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--color-white);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu a {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
  letter-spacing: -0.01em;
}

.nav-menu a:hover {
  color: var(--color-primary);
}

.nav-cta {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 600 !important;
  transition: all var(--transition) !important;
}

.nav-cta:hover {
  background: #333 !important;
  transform: none;
  box-shadow: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  transition: var(--transition);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-family);
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  box-shadow: none;
}

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

.btn-primary:hover {
  background: #333333;
  color: var(--color-white);
  transform: none;
  box-shadow: none;
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: left;
  background: var(--color-primary);
  padding: var(--nav-height) 0 0;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.03) 40%,
    rgba(0, 0, 0, 0.35) 80%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 64px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 560px;
}

.hero-cta {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 1.2rem;
  padding: 18px 48px;
}

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

.hero .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* ========================================
   Trust Statement Section
   ======================================== */
.trust-section {
  background: #f5f0eb;
  padding: 80px 0;
}

.trust-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 60px;
  align-items: start;
}

.trust-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  padding-top: 10px;
}

.trust-statement {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.45;
  font-weight: 400;
  color: var(--color-text);
  margin: 0;
  letter-spacing: -0.01em;
}

.trust-statement strong {
  font-weight: 600;
}

/* ========================================
   Section Base
   ======================================== */
.section {
  padding: 96px 0;
  position: relative;
  background: var(--color-bg);
}

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

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto 56px;
  font-weight: 400;
  line-height: 1.6;
}

/* ========================================
   How It Works
   ======================================== */
#how-it-works {
  background: var(--color-bg-alt);
}

#how-it-works .section-title {
  color: var(--color-text);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  text-align: center;
  padding: 40px 28px;
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.step:nth-child(1),
.step:nth-child(2),
.step:nth-child(3) {
  background: var(--color-white);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-bg-dark);
  color: var(--color-white);
  font-family: var(--font-family);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: none;
  box-shadow: none;
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--color-text);
  font-weight: 600;
}

.step p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 400;
}

/* ========================================
   Drive Time Badges
   ======================================== */
.drive-badge {
  display: inline-block;
  background: var(--color-bg-alt);
  color: var(--color-text-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
  border: 1px solid var(--color-border);
}

/* ========================================
   Map Explorer (Leaflet)
   ======================================== */
.map-explorer-section {
  background: var(--color-bg-dark);
  border-top: none;
  border-bottom: none;
}

.map-explorer-section .section-title {
  color: var(--color-white);
  font-weight: 700;
}

.map-explorer-section .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.explorer-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  align-items: stretch;
}

.explorer-sidebar {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 620px;
  max-height: 620px;
}

.explorer-map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.explore-map {
  width: 100%;
  height: 100%;
  min-height: 620px;
  background: #f0f0f0;
}

/* ---- Sidebar: default list ---- */
.exp-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  flex-shrink: 0;
}

.exp-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 4px;
}

.exp-home-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.exp-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.exp-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-family);
  transition: all var(--transition);
}

.exp-row:hover {
  border-color: var(--color-border-dark);
  box-shadow: var(--shadow-sm);
}

.exp-row img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.exp-row-body { min-width: 0; flex: 1; }

.exp-row-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exp-row-time {
  font-size: 0.78rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* ---- Sidebar: detail card ---- */
.exp-detail {
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
  height: 100%;
}

.exp-back {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0 0 14px;
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  cursor: pointer;
}

.exp-back:hover { color: var(--color-text); }

.exp-detail-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.exp-detail-time {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  background: #fff3ee;
  color: #c1492f;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.exp-detail-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.exp-detail-desc {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.exp-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.exp-maps,
.exp-book {
  display: block;
  width: 100%;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-family);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}

.exp-maps {
  background: var(--color-white);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.exp-maps:hover {
  border-color: var(--color-border-dark);
  background: var(--color-bg-alt);
}

.exp-book {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
}

.exp-book:hover { background: #333; }

/* ---- Map markers ---- */
.exp-marker {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-white);
  border: 3px solid #2b2b2b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.18s ease;
  box-sizing: border-box;
}

.exp-marker:hover {
  width: 20px;
  height: 20px;
  margin-left: -3px;
  margin-top: -3px;
  border-color: #e07a5f;
}

.exp-marker.active {
  background: #e07a5f;
  border-color: #2b2b2b;
  width: 20px;
  height: 20px;
  margin-left: -3px;
  margin-top: -3px;
}

.exp-home-marker {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e07a5f;
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 4px rgba(224, 122, 95, 0.25), 0 2px 6px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}

.exp-home-label {
  background: var(--color-white) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 6px !important;
  font-family: var(--font-family);
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: var(--color-text) !important;
  padding: 4px 10px !important;
  box-shadow: var(--shadow-sm) !important;
  margin-top: -4px !important;
}

.exp-home-label::before { display: none !important; }

.exp-tip {
  background: #2b2b2b !important;
  color: var(--color-white) !important;
  border: none !important;
  border-radius: 6px !important;
  font-family: var(--font-family);
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  padding: 5px 10px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) !important;
}

.exp-tip::before { border-top-color: #2b2b2b !important; }

.exp-drive-tip {
  background: #2b2b2b !important;
  color: var(--color-white) !important;
  border: none !important;
  border-radius: 100px !important;
  font-family: var(--font-family);
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  padding: 6px 14px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) !important;
}

.exp-drive-tip::before { display: none !important; }

/* ---- Map responsive ---- */
@media (max-width: 860px) {
  .explorer-layout {
    grid-template-columns: 1fr;
  }
  .explorer-sidebar {
    max-height: 420px;
    order: 2;
  }
  .explorer-map-wrap {
    order: 1;
    min-height: 420px;
  }
  .explore-map {
    min-height: 420px;
  }
}

/* ========================================
   World Cup Section
   ======================================== */
.world-cup-section {
  background: #000000 !important;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 0;
  isolation: isolate;
}

.world-cup-section::before,
.world-cup-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.38;
  pointer-events: none;
  z-index: 0;
}

.world-cup-section::before {
  width: 560px;
  height: 560px;
  background: #00c852;
  top: 32%;
  left: -180px;
}

.world-cup-section::after {
  width: 560px;
  height: 560px;
  background: #7c4dff;
  bottom: -160px;
  right: -180px;
}

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

.world-cup-section .section-title {
  background: linear-gradient(110deg, #ff6b2c 0%, #00c852 52%, #7c4dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.world-cup-section .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.wc-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 6vw, 72px) 24px;
  margin-bottom: clamp(48px, 6vw, 72px);
  background-image: url('../images/world-cup-pattern.png');
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}

.wc-banner-logo {
  width: auto;
  height: clamp(130px, 22vw, 210px);
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.5));
}

.world-cup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
  text-align: left;
}

.wc-feature {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 36px 32px 32px;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: none;
  border-top: 6px solid transparent;
}

.wc-feature:nth-child(1) { border-top-color: #ff6b2c; }
.wc-feature:nth-child(1) .wc-number { color: #ff6b2c; }
.wc-feature:nth-child(1):hover { box-shadow: 0 18px 50px -20px rgba(255, 107, 44, 0.55); }

.wc-feature:nth-child(2) { border-top-color: #00c852; }
.wc-feature:nth-child(2) .wc-number { color: #00c852; }
.wc-feature:nth-child(2):hover { box-shadow: 0 18px 50px -20px rgba(0, 200, 82, 0.55); }

.wc-feature:nth-child(3) { border-top-color: #7c4dff; }
.wc-feature:nth-child(3) .wc-number { color: #7c4dff; }
.wc-feature:nth-child(3):hover { box-shadow: 0 18px 50px -20px rgba(124, 77, 255, 0.6); }

.wc-feature:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.wc-number {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  font-feature-settings: "tnum";
}

.wc-feature h3 {
  color: var(--color-white);
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.wc-feature p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 400;
}

.world-cup-section .btn-primary {
  background: #ff6b2c;
  color: #ffffff;
  border: none;
  font-weight: 700;
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 32px -8px rgba(255, 107, 44, 0.55);
}

.world-cup-section .btn-primary:hover {
  background: #ff8147;
  box-shadow: 0 14px 40px -8px rgba(255, 107, 44, 0.7);
}

/* ========================================
   Safety
   ======================================== */
#safety {
  background: var(--color-bg);
  border-top: none;
  border-bottom: none;
}

#safety .section-title {
  color: var(--color-text);
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.safety-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.safety-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.safety-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  display: block;
  color: var(--color-text);
  opacity: 0.85;
}

.safety-item h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--color-text);
  font-weight: 600;
}

.safety-item p {
  color: var(--color-text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  font-weight: 400;
}

.safety-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.01em;
  transition: all var(--transition);
}

.safety-cta:hover {
  border-color: var(--color-primary);
  background: var(--color-white);
}

/* ========================================
   Drivers
   ======================================== */
#drivers {
  background: var(--color-bg-alt);
}

#drivers .section-title {
  color: var(--color-text);
  text-align: left;
}

#drivers .section-subtitle {
  text-align: left;
  margin: 0 0 48px;
  max-width: none;
}

.drivers-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.driver-card {
  display: flex;
  gap: 32px;
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.driver-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.driver-photo {
  flex-shrink: 0;
  width: 240px;
  height: 320px;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.driver-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.05);
}

.driver-info {
  flex: 1;
  padding: 36px 36px 36px 0;
  display: flex;
  flex-direction: column;
}

.driver-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.driver-location {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 18px;
}

.driver-meta {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.driver-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  font-weight: 400;
  max-width: 560px;
  margin: 0;
}

@media (max-width: 768px) {
  .driver-card {
    flex-direction: column;
    gap: 0;
  }

  .driver-photo {
    width: 100%;
    height: 360px;
  }

  .driver-info {
    padding: 24px;
  }
}

/* ========================================
   Booking Section
   ======================================== */
.booking-section {
  background: var(--color-bg-dark) !important;
  position: relative;
  overflow: hidden;
}

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

.booking-section .section-title {
  color: var(--color-white);
  font-weight: 700;
}

.booking-section .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.booking-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.booking-form {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 40px;
  border: none;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--color-text);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-family);
  transition: all var(--transition);
  background: var(--color-white);
  font-weight: 400;
  color: var(--color-text);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.form-group textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.days-count {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
  min-height: 20px;
}

.booking-info {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.booking-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
}

.booking-info ul {
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.booking-info li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 400;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.booking-info li:last-child {
  border-bottom: none;
}

.booking-info li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
  font-size: 0.9rem;
}

.booking-contact {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-contact p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 16px;
  font-weight: 400;
}

.whatsapp-link {
  display: inline-block;
  background: #25D366;
  color: var(--color-white) !important;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  font-family: var(--font-family);
  transition: all var(--transition);
  border: none;
  box-shadow: none;
}

.whatsapp-link:hover {
  background: #1fbd59;
  transform: none;
  box-shadow: none;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--color-bg-darker);
  color: rgba(255, 255, 255, 0.6);
  padding: 56px 0 28px;
  border-top: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 400;
}

.footer h4 {
  color: var(--color-white);
  font-size: 0.85rem;
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-links li,
.footer-contact li {
  padding: 3px 0;
  font-size: 0.88rem;
  font-weight: 400;
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .safety-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    color: var(--color-text) !important;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding-bottom: 40px;
  }

  .trust-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .trust-section {
    padding: 56px 0;
  }

  .section {
    padding: 72px 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .world-cup-grid {
    grid-template-columns: 1fr;
  }

  .safety-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .drivers-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .booking-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .booking-form {
    padding: 24px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ========================================
   Flatpickr Overrides
   ======================================== */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: var(--color-white) !important;
}

.flatpickr-day.inRange {
  background: rgba(0, 0, 0, 0.06) !important;
  border-color: transparent !important;
  box-shadow: -5px 0 0 rgba(0, 0, 0, 0.06), 5px 0 0 rgba(0, 0, 0, 0.06) !important;
}

.flatpickr-day:hover {
  background: rgba(0, 0, 0, 0.08) !important;
  border-color: transparent !important;
}

/* ========================================
   Inline Edit Mode
   ======================================== */
#editToolbar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  gap: 8px;
}

#editToolbar button {
  padding: 10px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-family);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

#editToggleBtn {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

#editToggleBtn:hover {
  background: #333;
  transform: none;
  box-shadow: var(--shadow-lg);
}

#resetEditsBtn {
  background: var(--color-white);
  color: var(--color-text);
}

#resetEditsBtn:hover {
  background: #fef2f2;
  color: var(--color-danger);
  border-color: var(--color-danger);
}

.editable {
  outline: 2px dashed var(--color-primary) !important;
  outline-offset: 4px;
  border-radius: 4px;
  cursor: text;
  min-height: 1em;
}

.editable:focus {
  outline: 2px solid var(--color-primary) !important;
  outline-offset: 4px;
}

@media (max-width: 768px) {
  #editToolbar {
    bottom: 16px;
    right: 16px;
    flex-direction: column;
  }

  #editToolbar button {
    font-size: 0.75rem;
    padding: 8px 14px;
  }
}
