/* The Rental Radar - Modern Stylesheet */
:root {
  --bg-dark: #0e021c;
  --bg-dark-card: #190533;
  --bg-dark-accent: #240947;
  --primary-gold: #f5b301;
  --primary-gold-hover: #e0a200;
  --primary-gold-light: #fff2cc;
  --text-primary: #ffffff;
  --text-secondary: #c2b5d8;
  --text-muted: #8e7ea8;
  --accent-blue: #38bdf8;
  --input-bg: #f3f4f6;
  --input-border: #e2e8f0;
  --input-focus: #f5b301;
  --card-light: #ffffff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(245, 179, 1, 0.35);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-dark);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background mesh */
.bg-mesh {
  background: radial-gradient(circle at 50% 10%, #2b0b52 0%, #0e021c 65%);
  background-attachment: fixed;
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: rgba(14, 2, 28, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5b301, #ff8c00);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(245, 179, 1, 0.5);
  color: #0e021c;
  font-size: 1.1rem;
}

.logo-text .t-the {
  color: var(--accent-blue);
}

.logo-text .t-rental {
  color: var(--primary-gold);
}

.logo-text .t-radar {
  color: #ffffff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-contact-btn {
  background: rgba(245, 179, 1, 0.15) !important;
  color: var(--primary-gold) !important;
  border: 1px solid rgba(245, 179, 1, 0.3);
}

.nav-contact-btn:hover {
  background: var(--primary-gold) !important;
  color: #0e021c !important;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section with High-Res Car Banner Background */
.hero-section {
  position: relative;
  background: url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1920&q=80') center center / cover no-repeat;
  padding: 42px 0 54px;
  text-align: center;
  overflow: visible;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 2, 28, 0.82) 0%, rgba(14, 2, 28, 0.92) 65%, #0e021c 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
}

.hero-title-area {
  margin-bottom: 22px;
}

.hero-title {
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Modern Search Box (The highlight) */
.search-container {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65);
  color: #1e293b;
  text-align: left;
  position: relative;
  z-index: 50;
  max-width: 1080px;
  margin: 0 auto;
}

/* Top bar of search (Drop-off option & alert switch) */
.search-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 12px;
}

.dropoff-select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.custom-select {
  padding: 6px 14px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  color: #334155;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.custom-select:focus {
  border-color: var(--primary-gold);
}

.price-alert-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  user-select: none;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1;
  transition: .3s;
  border-radius: 22px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

input:checked + .toggle-slider {
  background-color: var(--primary-gold);
}

input:checked + .toggle-slider:before {
  transform: translateX(18px);
}

/* Fields Row 1: Locations & Dates */
.search-fields-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}

/* When Different drop-off is active: 2x2 symmetrical grid */
.search-fields-row.show-dropoff {
  grid-template-columns: 1fr 1fr;
}

/* Row 2: Customer Email, Phone, and Final Search Button */
.search-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr 190px;
  gap: 12px;
  align-items: end;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.field-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.field-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.field-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  border-radius: 10px;
  padding: 0 12px;
  transition: var(--transition);
  cursor: pointer;
  height: 46px;
}

.field-input-wrap:focus-within,
.field-input-wrap.active {
  border-color: var(--input-focus);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(245, 179, 1, 0.18);
}

.field-icon {
  color: #64748b;
  font-size: 0.95rem;
  margin-right: 10px;
  flex-shrink: 0;
}

.field-input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
}

.field-input::placeholder {
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.85rem;
}

/* Date + Time Combo Input */
.datetime-split {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.date-part {
  font-weight: 600;
  font-size: 0.86rem;
  color: #0f172a;
  white-space: nowrap;
}

.time-badge {
  background: #e2e8f0;
  color: #334155;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Final Search Action Button */
.btn-search-main {
  background: var(--primary-gold);
  color: #0e021c;
  border: none;
  border-radius: 10px;
  height: 46px;
  width: 100%;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(245, 179, 1, 0.4);
  white-space: nowrap;
}

.btn-search-main:hover {
  background: var(--primary-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 179, 1, 0.5);
}

/* Autocomplete Dropdown List */
.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  min-width: 320px;
  max-width: 480px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
  border: 1px solid #e2e8f0;
  max-height: 280px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.autocomplete-dropdown.open {
  display: block;
}

.dropdown-header {
  padding: 8px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  display: flex;
  justify-content: space-between;
}

.dropdown-item {
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover,
.dropdown-item.highlighted {
  background: #f8fafc;
}

.item-icon-badge {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.icon-airport {
  background: #e0f2fe;
  color: #0284c7;
}

.icon-city {
  background: #fef3c7;
  color: #b45309;
}

.item-details {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.item-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-title mark {
  background: #fef08a;
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}

.item-sub {
  font-size: 0.74rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-code {
  margin-left: 8px;
  background: #f1f5f9;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #475569;
  flex-shrink: 0;
}

/* Date / Time Popover */
.picker-popover {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 300px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.2);
  border: 1px solid #e2e8f0;
  padding: 14px;
  z-index: 1000;
  display: none;
}

.picker-popover.open {
  display: block;
}

.time-slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
}

.time-slot-btn {
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.time-slot-btn:hover {
  border-color: var(--primary-gold);
  background: #fffbeb;
  color: #92400e;
}

.time-slot-btn.selected {
  background: #1e1b4b;
  border-color: #1e1b4b;
  color: #ffffff;
}

/* Backdrop dim */
.page-dimmer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  z-index: 40;
  display: none;
}

.page-dimmer.active {
  display: block;
}

/* 3-Car Visual Graphic */
.hero-visual-graphic {
  margin: 32px auto 0;
  max-width: 860px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-car-img {
  width: 100%;
  max-width: 780px;
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.7));
  transition: transform 0.4s ease;
}

.hero-car-img:hover {
  transform: scale(1.02);
}

/* Partner Logos Section */
.partners-section {
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.partners-heading {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.partners-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.partner-badge {
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: var(--transition);
}

.partner-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.partner-logo-text {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.3px;
}

.p-kayak { color: #ff690f; }
.p-avis { color: #d40000; }
.p-budget { color: #ff6000; }
.p-enterprise { color: #007734; }
.p-alamo { color: #00529b; }
.p-orbitz { color: #00a4b4; }
.p-hertz { color: #ffcc00; -webkit-text-stroke: 0.5px #111; }
.p-expedia { color: #00355f; }
.p-sixt { color: #ff5f00; }

/* Fleet Categories Section */
.deals-section {
  padding: 72px 0;
  text-align: center;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 44px;
}

.car-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  text-align: left;
}

.car-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 22px;
  color: #0f172a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.car-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.car-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}

.car-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.car-image-box {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 16px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #f8fafc;
}

.car-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.car-card:hover .car-image-box img {
  transform: scale(1.06);
}

.car-specs {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.car-specs span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.car-pricing-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
}

.car-price-wrap {
  display: flex;
  flex-direction: column;
}

.price-from {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

.price-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
}

.price-value small {
  font-size: 0.8rem;
  font-weight: 500;
  color: #64748b;
}

.btn-offer {
  background: var(--primary-gold);
  color: #0e021c;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-offer:hover {
  background: var(--primary-gold-hover);
  transform: translateY(-1px);
}

.btn-show-more {
  margin-top: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-show-more:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
}

/* White Band Section: World Map & Latest Finds */
.world-section {
  background: #ffffff;
  color: #0f172a;
  padding: 72px 0;
  text-align: center;
  position: relative;
}

.world-section .section-title {
  color: #0f172a;
  max-width: 760px;
  margin: 0 auto 16px;
}

.world-section .section-subtitle {
  color: #475569;
  max-width: 620px;
  margin: 0 auto 40px;
}

.real-map-wrapper {
  max-width: 1080px;
  margin: 0 auto 36px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.15);
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
}

.real-rental-map {
  width: 100%;
  height: 480px;
  z-index: 10;
}

.map-overlay-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(14, 2, 28, 0.9);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(245, 179, 1, 0.4);
  pointer-events: none;
}

/* Custom Marker Pins for Leaflet Real Map */
.custom-leaflet-div-icon {
  background: transparent !important;
  border: none !important;
}

.custom-map-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0e021c;
  color: #ffffff;
  border: 1.5px solid var(--primary-gold);
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  line-height: 1.2;
}

.custom-map-pin:hover {
  transform: scale(1.1) translateY(-2px);
  background: #240947;
  border-color: #ffffff;
}

.custom-map-pin .pin-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  margin-right: 5px;
  flex-shrink: 0;
}

.custom-map-pin .pin-code {
  letter-spacing: 0.3px;
}

.custom-map-pin .pin-price {
  color: var(--primary-gold);
  margin-left: 4px;
  font-weight: 800;
}

/* Leaflet Popup customization */
.leaflet-popup-content-wrapper {
  border-radius: 12px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
  padding: 4px;
}

.map-popup-card {
  padding: 6px 4px;
  color: #0f172a;
}

.map-popup-card h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 2px;
  color: #0f172a;
}

.map-popup-card p {
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 8px;
}

.map-popup-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0284c7;
  margin-bottom: 8px;
}

.map-popup-btn {
  display: block;
  background: var(--primary-gold);
  color: #0e021c;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.map-popup-btn:hover {
  background: var(--primary-gold-hover);
}

/* Destinations Cards Row */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}

.dest-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: left;
  transition: var(--transition);
  cursor: pointer;
}

.dest-card:hover {
  background: #ffffff;
  border-color: var(--primary-gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.dest-city {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
}

.dest-country {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 12px;
}

.dest-price-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dest-price {
  font-weight: 800;
  color: #0284c7;
  font-size: 1.1rem;
}

/* Newsletter Section */
.newsletter-section {
  padding: 80px 0;
  background: var(--bg-dark);
  text-align: center;
  position: relative;
}

.newsletter-box {
  background: linear-gradient(135deg, #1f073f 0%, #2f0d5c 100%);
  border: 1px solid rgba(245, 179, 1, 0.2);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.newsletter-box h3 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.newsletter-box p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.highlight-gold {
  color: var(--primary-gold);
}

.newsletter-form {
  display: flex;
  max-width: 520px;
  margin: 0 auto;
  gap: 10px;
}

.newsletter-input {
  flex: 1;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.95rem;
  color: #0f172a;
  outline: none;
}

.newsletter-btn {
  background: var(--primary-gold);
  color: #0e021c;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0 26px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background: var(--primary-gold-hover);
}

/* Site Footer */
.site-footer {
  background: #080112;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 56px 0 28px;
  margin-top: auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
}

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

.footer-disclaimer {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.7;
  max-width: 1000px;
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* Toast Message */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1e1b4b;
  color: #ffffff;
  border: 1px solid var(--primary-gold);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  z-index: 999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* Modal for Simulated Search Results */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 1, 18, 0.85);
  backdrop-filter: blur(8px);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-content {
  background: #ffffff;
  color: #0f172a;
  border-radius: var(--radius-lg);
  max-width: 880px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  animation: modalScaleIn 0.3s ease;
  overflow: hidden;
}

@keyframes modalScaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  padding: 20px 24px;
  background: #0e021c;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title-wrap h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.modal-title-wrap p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.modal-body {
  padding: 20px 24px;
  overflow-y: auto;
}

.result-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  transition: var(--transition);
  background: #f8fafc;
}

.result-card:hover {
  background: #ffffff;
  border-color: var(--primary-gold);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.result-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.result-car-thumb {
  width: 90px;
  height: 60px;
  object-fit: contain;
}

.result-details h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.result-details p {
  font-size: 0.8rem;
  color: #64748b;
}

.result-provider {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  background: #e2e8f0;
  border-radius: 4px;
  margin-top: 4px;
}

.result-action {
  text-align: right;
}

.result-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
}

.result-price small {
  font-size: 0.75rem;
  color: #64748b;
  display: block;
}

/* Static legal / contact pages layout */
.subpage-hero {
  padding: 48px 0 28px;
  background: radial-gradient(circle at 50% 0%, #290852 0%, #0e021c 100%);
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.subpage-hero h1 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.subpage-hero p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.page-content-box {
  background: #ffffff;
  color: #1e293b;
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 40px auto 60px;
  max-width: 960px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.legal-section-block {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
}

.legal-section-block:last-child {
  border-bottom: none;
}

.legal-section-block h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.legal-section-block p,
.legal-section-block ul {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-section-block ul {
  padding-left: 20px;
}

.legal-section-block li {
  margin-bottom: 6px;
}

/* Contact Page Specifics */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: #0f172a;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(245, 179, 1, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.btn-primary-form {
  background: var(--primary-gold);
  color: #0e021c;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-primary-form:hover {
  background: var(--primary-gold-hover);
  transform: translateY(-2px);
}

.contact-info-card {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid #e2e8f0;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

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

.contact-icon-box {
  width: 44px;
  height: 44px;
  background: var(--primary-gold-light);
  color: #92400e;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.contact-text p,
.contact-text a {
  font-size: 0.9rem;
  color: #64748b;
  text-decoration: none;
}

.contact-text a:hover {
  color: var(--primary-gold);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .search-fields-row,
  .search-fields-row.show-dropoff {
    grid-template-columns: 1fr 1fr;
  }
  .search-action-row {
    grid-template-columns: 1fr 1fr;
  }
  .field-submit-btn {
    grid-column: span 2;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .search-fields-row,
  .search-fields-row.show-dropoff {
    grid-template-columns: 1fr;
  }
  .search-action-row {
    grid-template-columns: 1fr;
  }
  .field-submit-btn {
    grid-column: span 1;
  }
  .page-content-box {
    padding: 24px;
    margin: 20px 16px 40px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}

/* User Contact Info Bar inside Search Box */
.search-contact-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}

.search-contact-bar .field-input-wrap {
  height: 48px;
  background: #f8fafc;
}

.search-contact-bar .field-input-wrap:focus-within {
  background: #ffffff;
}

/* Radar Scanning Loader Overlay */
.radar-scanner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 2, 28, 0.92);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 24px;
  text-align: center;
}

.radar-scanner-overlay.active {
  display: flex;
}

.radar-pulse-box {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(245, 179, 1, 0.6);
  animation: radarWave 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.radar-ring:nth-child(1) { width: 60px; height: 60px; animation-delay: 0s; }
.radar-ring:nth-child(2) { width: 100px; height: 100px; animation-delay: 0.5s; }
.radar-ring:nth-child(3) { width: 140px; height: 140px; animation-delay: 1s; }

.radar-center-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5b301, #ea580c);
  color: #0e021c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 0 25px rgba(245, 179, 1, 0.8);
  position: relative;
  z-index: 10;
}

@keyframes radarWave {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.4); opacity: 0; }
}

.radar-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.radar-status {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  min-height: 24px;
}

.radar-progress-wrap {
  width: 100%;
  max-width: 360px;
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

.radar-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #38bdf8, #f5b301);
  border-radius: 10px;
  transition: width 0.3s ease;
}

/* Inconvenience / Will Contact Modal */
.inconvenience-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 1, 18, 0.88);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.inconvenience-modal.open {
  display: flex;
}

.inconvenience-card {
  background: #ffffff;
  color: #0f172a;
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  animation: modalScaleIn 0.3s ease;
  position: relative;
}

.inconvenience-icon {
  width: 72px;
  height: 72px;
  background: #fffbeb;
  color: #d97706;
  border: 2px solid #fef3c7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 20px;
}

.inconvenience-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #0f172a;
}

.inconvenience-card p {
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.inconvenience-info-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  text-align: left;
  font-size: 0.88rem;
  margin-bottom: 24px;
}

.inconvenience-info-box p {
  margin: 4px 0;
  color: #334155;
}

.btn-inconvenience-close {
  background: var(--primary-gold);
  color: #0e021c;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 36px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-inconvenience-close:hover {
  background: var(--primary-gold-hover);
  transform: translateY(-2px);
}
