:root {
  --bg: #0f1419;
  --bg-alt: #1a1f28;
  --ink: #f5f5f5;
  --muted: #a9a9a9;
  --accent: #d4af37;
  --accent-soft: #3a3520;
  --panel: #1a1f28;
  --line: #332f27;
  --ok: #0f7c58;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  --dark-bg: #0a0e13;
  --gold-light: #e8d5a7;
  --gold-dark: #9d8a54;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --radius: 12px;
  --pad: 1.5rem;
}

* {
  box-sizing: border-box;
}

html {
  background:
    linear-gradient(135deg, rgba(10, 14, 19, 0.1) 0%, rgba(10, 14, 19, 0.1) 45%, rgba(26, 31, 40, 0.1) 100%),
    url('/images/components/heroBackground.jpg') center center / cover no-repeat fixed;
  background-attachment: fixed;
  min-height: 100vh;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: var(--site-header-height, 0px);
}

h1,
h2,
h3,
strong {
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.01em;
}

.shell {
  width: min(1300px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(10, 14, 19, 0.95);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 30px rgba(212, 175, 55, 0.1);
  transform: translateY(0);
  transition: transform 0.28s ease;
  will-change: transform;
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 2px));
}

.header-announcement {
  width: 100%;
  background: #f1c40f;
  color: #111111;
  border-bottom: 1px solid rgba(17, 17, 17, 0.15);
}

.header-announcement-inner {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem 0.8rem;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.header-announcement-link,
.header-announcement-location {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 1.2em;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.header-announcement-link:hover {
  text-decoration: underline;
}

.header-announcement-link svg,
.header-announcement-location svg {
  flex-shrink: 0;
}

.header-announcement-separator {
  font-weight: 900;
  line-height: 1;
}

.nav-wrap {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand-logo {
  height: 80px;
  width: auto;
  flex-shrink: 0;
}

/* Hamburger button — hidden on desktop */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 30;
}

.hamburger-menu span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile nav extras — hidden on desktop */
.mobile-nav-extras {
  display: none;
}

.site-nav {
  display: flex;
  gap: 1.2rem;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
  white-space: nowrap;
}

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

/* When the desktop layout starts to feel cramped, drop to a centered
   two-row arrangement instead of squishing items. The breakpoint is
   set to 1280px to accommodate longer locales (BG / RU / DE) which
   consume significantly more horizontal space than EN. */
@media (max-width: 1280px) {
  .nav-wrap {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem ;
    flex-basis: 100%;
    font-size: 0.8rem;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Switch to hamburger before things get too tight on tablets. */
@media (max-width: 900px) {
  .header-actions {
    display: none !important;
  }

  .hamburger-menu {
    display: flex;
  }

  .nav-wrap {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .mobile-nav-extras {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0.5rem;
  }

  .mobile-locale-row {
    display: flex;
    gap: 0.6rem;
  }

  .mobile-locale-link {
    display: flex;
    align-items: center;
    padding: 0.3rem;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: border-color 0.2s;
  }

  .mobile-locale-link.active {
    border-color: var(--accent);
  }

  .mobile-auth-row {
    display: flex;
    gap: 0.6rem;
  }

  .mobile-auth-row .btn {
    flex: 1;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}

.locale-dropdown {
  position: relative;
  display: inline-block;
}

.locale-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.85rem;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.locale-dropdown-toggle:hover {
  border-color: var(--accent);
}

.flag-icon {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}

.locale-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  min-width: 140px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 100;
}

.locale-dropdown:hover .locale-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.locale-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.locale-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
}

/* Premium Form Inputs */
input[type="text"],
input[type="time"],
input[type="date"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--dark-bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  outline: none;
}

input[type="text"]:focus,
input[type="time"]:focus,
input[type="date"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* Base button styles */

.btn {
  border: 0;
  border-radius: 6px;
  padding: 0.85rem 1.8rem;
  text-decoration: none;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.85rem;
  white-space: nowrap;
}

.btn-solid {
  background: linear-gradient(135deg, var(--accent), var(--gold-dark));
  color: var(--dark-bg);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.4);
}

.btn-ghost {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--accent-soft);
}

.hero {
  padding: 4.2rem 0 1.4rem;
}

.hero-spotlight {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.6fr);
  gap: 1.5rem;
  align-items: start;
}

.hero-search {
  background: var(--dark-bg);
  border: 1px solid var(--accent-soft);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.hero-search h2 {
  margin: 0 0 0.5rem 0;
  font-size: 2rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.hero-search-desc {
  color: var(--ink);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 0.9;
  font-weight: 500;
}

.hero-search-form {
  display: grid;
  gap: 1.2rem;
  background: var(--panel);
  border-radius: var(--radius);
  padding: var(--pad);
}

.hero-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hero-carousel {
  position: relative;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
}

.hero-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  /* Remove flex */
}

.hero-carousel-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 80%;
  transform: translate(-50%, -50%);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  opacity: 0;
  z-index: 1;
  border: none;
  /* Removed border */
  background: transparent;
  /* Ensure transparent */
  padding: 0;
  cursor: pointer;
}

.hero-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.hero-carousel-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 2rem;
  background: linear-gradient(to top, rgba(10, 14, 19, 0.9), transparent);
  color: var(--ink);
}

.hero-carousel-info--cta {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  justify-content: space-between;
}

.hero-carousel-copy {
  min-width: 0;
}

.hero-carousel-info h2 {
  margin: 0 0 0.5rem 0;
  font-size: 2.2rem;
}

.hero-carousel-info p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-find-car-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: min(100%, 18rem);
  padding: 1.1rem 1.25rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #d9b33d);
  color: #0b1016;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 18px 36px rgba(217, 179, 61, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.hero-find-car-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.hero-find-car-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(217, 179, 61, 0.34);
  filter: brightness(1.03);
}

/* CAROUSEL ADVANCED STATES */
.hero-carousel-slide.is-center {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
  z-index: 10;
  filter: blur(0) brightness(1);
  pointer-events: auto;
}

.hero-carousel-slide.is-left {
  opacity: 1;
  /* Removed transparency as requested */
  transform: translate(-120%, -50%) scale(0.85);
  z-index: 5;
  filter: none;
  /* Removed blur */
  pointer-events: auto;
  cursor: pointer;
  will-change: transform;
}

.hero-carousel-slide.is-right {
  opacity: 1;
  /* Removed transparency as requested */
  transform: translate(20%, -50%) scale(0.85);
  z-index: 5;
  filter: none;
  /* Removed blur */
  pointer-events: auto;
  cursor: pointer;
  will-change: transform;
}

.hero-carousel-slide.is-far-left {
  opacity: 0;
  transform: translate(-180%, -50%) scale(0.7);
  z-index: 1;
}

.hero-carousel-slide.is-far-right {
  opacity: 0;
  transform: translate(80%, -50%) scale(0.7);
  z-index: 1;
}

.hero-carousel-slide:hover img {
  transform: scale(1.05);
}

@media (min-width: 1200px) {
  .hero {
    padding-top: 1.6rem;
    padding-bottom: 1rem;
  }

  .hero-spotlight {
    gap: 1rem;
  }

  .hero-search {
    padding: 1.6rem;
  }

  .hero-search h2 {
    font-size: 1.55rem;
  }

  .hero-search-form {
    gap: 0.85rem;
    padding: 1rem;
  }

  .hero-row-two {
    gap: 0.75rem;
  }

  .hero-carousel {
    height: 390px;
  }

  .hero-carousel-info {
    padding: 1.7rem 1.4rem;
  }

  .hero-carousel-info h2 {
    font-size: 1.65rem;
  }

  .hero-carousel-info p {
    font-size: 0.95rem;
  }

  .hero-find-car-btn {
    min-width: 14rem;
    padding: 0.85rem 1rem;
  }
}

@media (max-width: 768px) {
  .hero-carousel {
    height: 350px;
  }

  .hero-carousel-slide {
    width: 85%;
    height: 70%;
  }

  .hero-carousel-slide.is-left {
    transform: translate(-105%, -50%) scale(0.85);
  }

  .hero-carousel-slide.is-right {
    transform: translate(5%, -50%) scale(0.85);
  }
}

/* MOSAIC SECTION */
.mosaic-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: 1rem;
}

.mosaic-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: none;
  /* Removed border */
  text-decoration: none;
  background: transparent;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.mosaic-item:hover img {
  transform: scale(1.05);
}

.mosaic-item-1 {
  grid-column: span 2;
  grid-row: span 2;
}

.mosaic-item-2 {
  grid-column: span 2;
}

.mosaic-item-3 {
  grid-column: span 1;
}

.mosaic-item-4 {
  grid-column: span 1;
}

.mosaic-item-5 {
  display: none;
}

/* Hide 5th if grid feels too crowded */

@media (max-width: 900px) {
  .mosaic-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .mosaic-item {
    height: 200px;
  }

  .mosaic-item-1 {
    grid-column: span 2;
    grid-row: span 1;
  }
}

.mosaic-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1rem 0.8rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
  font-weight: 700;
  font-family: var(--font-heading);
}

/* BENEFITS SECTION */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.benefits-grid--featured {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.benefit-card {
  background: var(--panel);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
  width: 3.2rem;
  height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(217, 179, 61, 0.14);
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.benefit-icon svg {
  width: 1.65rem;
  height: 1.65rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card h3 {
  color: var(--accent);
  margin-top: 0;
  font-size: 1.4rem;
}

.benefit-card p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .hero-carousel-info--cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-find-car-btn {
    width: 100%;
  }
}

/* CAR DETAILS PAGE */
.details-top {
  display: flex;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: flex-start;
}

.details-image-wrap {
  flex: 1.2;
  min-width: 300px;
}

.details-image-wrap img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.details-info-wrap {
  flex: 1;
  min-width: 300px;
}

.details-info-wrap h1 {
  font-size: 3rem;
  margin: 0 0 1.5rem 0;
  color: var(--accent);
  text-transform: uppercase;
  line-height: 1.1;
}

.details-description {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.details-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.details-specs-item strong {
  display: block;
  color: var(--ink);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.pricing-strip {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 3rem;
  box-shadow: var(--shadow);
}

.pricing-header {
  display: grid;
  grid-template-columns: 2fr repeat(5, 1fr);
  background: var(--accent);
  color: var(--dark-bg);
  padding: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.pricing-row {
  display: grid;
  grid-template-columns: 2fr repeat(5, 1fr);
  padding: 1.5rem 1rem;
  align-items: center;
  font-weight: 700;
}

.pricing-row .car-name {
  color: var(--accent);
  font-size: 1.2rem;
}

.pricing-row .price-val {
  text-align: center;
}

.availability-section {
  margin-bottom: 4rem;
}

.availability-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
}

/* LOCATION COMBOBOX */
.location-combobox {
  position: relative;
}

.location-combobox input {
  padding-right: 2.5rem !important;
  /* Space for the toggle button */
}

.location-combobox-toggle {
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0.2rem;
  font-size: 0.8rem;
}

.location-combobox-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-top: 4px;
  max-height: none;
  overflow-y: visible;
  z-index: 100;
  box-shadow: var(--shadow);
}

.location-combobox-option {
  width: 100%;
  padding: 0.8rem;
  text-align: left;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 0.9rem;
}

.location-combobox-option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
}

.avail-calendar {

  display: flex;
  overflow-x: auto;
  gap: 6px;
  padding: 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.avail-day {
  flex: 0 0 45px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avail-day .date-label {
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.avail-box {
  width: 100%;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 800;
  font-size: 1.1rem;
}

.avail-free {
  background: rgba(15, 124, 88, 0.2);
  color: #50fa7b;
  border: 1px solid rgba(15, 124, 88, 0.4);
}

.avail-booked {
  background: rgba(255, 85, 85, 0.2);
  color: #ff5555;
  border: 1px solid rgba(255, 85, 85, 0.4);
}

/* BOOKING PAGE LAYOUT */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: 1rem;
  align-items: start;
}

.booking-panel {
  background: var(--bg-alt);
  padding: 1.5rem;
  /* Slightly reduced padding */
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.booking-panel h2 {
  font-size: 1.2rem;
  /* Compact header */
  color: var(--accent);
  margin: 0;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}

.booking-fields-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.booking-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.car-select-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.7rem;
  align-items: stretch;
}

.car-select-control {
  min-width: 0;
}

.car-browse-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-height: 44px;
}

.booking-summary-box {
  background: var(--dark-bg);
  padding: 1rem;
  /* Compact summary */
  border-radius: 8px;
  border: 1px solid var(--line);
  margin-top: 0.5rem;
  font-size: 0.9rem;
  /* Smaller font for compaction */
}

.booking-receipt-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

/* Compact elements for summary column */
.compact-extras {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.compact-extras label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.compact-extras input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.booking-summary-box+.booking-fields-grid {
  margin-top: 0.8rem;
}

.booking-panel p {
  margin: 0.5rem 0;
}

@media (max-width: 1024px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }

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

.avail-calendar-slot.is-taken {
  background: rgba(255, 69, 58, 0.2);
  color: #ff453a;
  border-color: rgba(255, 69, 58, 0.4);
}

/* FLATPICKR DARK/GOLD THEME OVERRIDES */
.flatpickr-calendar {
  background: var(--bg-alt) !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6) !important;
  color: var(--ink) !important;
}

.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
  border-bottom-color: var(--bg-alt) !important;
}

.flatpickr-months .flatpickr-month,
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  background: transparent !important;
  color: var(--ink) !important;
  fill: var(--ink) !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
  background: rgba(255, 255, 255, 0.05) !important;
}

.flatpickr-weekday {
  background: transparent !important;
  color: var(--accent) !important;
  font-weight: 700 !important;
}

.flatpickr-day {
  color: var(--ink) !important;
  border-radius: 4px !important;
}

.flatpickr-day:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover,
.flatpickr-day.today:hover,
.flatpickr-day.prevMonthDay.today:hover,
.flatpickr-day.nextMonthDay.today:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: transparent !important;
}

.flatpickr-day.today {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  font-weight: 800 !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: var(--dark-bg) !important;
}

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

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  color: rgba(255, 255, 255, 0.1) !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  color: var(--ink) !important;
  fill: var(--ink) !important;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
  color: var(--accent) !important;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
  fill: var(--accent) !important;
}

@media (max-width: 768px) {
  .details-top {
    flex-direction: column;
  }

  .pricing-header,
  .pricing-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .pricing-header {
    display: none;
  }

  .pricing-row {
    border-bottom: 1px solid var(--line);
  }
}

.section {
  padding: 4rem 0;
}

.cars-page {
  padding-top: 0;
  padding-bottom: 1rem;
}

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-head h2 {
  font-size: 2.5rem;
  margin: 0 0 1rem 0;
}

.section-head p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.car-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1rem;
}

.car-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 31, 40, 0.98), rgba(15, 20, 25, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
}

.car-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.car-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 165px;
  object-fit: contain;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.02);
}

.car-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.95rem 1rem 1rem;
  gap: 0.65rem;
}

.car-card h3 {
  margin: 0;
  font-size: 1.45rem;
  color: var(--accent);
}

.car-card h2 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.2;
  color: var(--accent);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}

/* Ensure digits are rendered for car titles: use a robust fallback and enable numeric features */
.car-card h2 {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
}

.car-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.car-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

.car-spec-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.car-spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.48rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.76rem;
  line-height: 1;
  color: var(--muted);
}

.car-spec-chip svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.car-spec-chip strong {
  color: var(--ink);
  font-size: 0.8rem;
}

.card-bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 0.65rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.card-bottom strong {
  color: var(--ink);
  line-height: 1.2;
  font-size: 1.34rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.card-bottom a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 0.64rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--gold-dark));
  color: var(--dark-bg);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-bottom a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(212, 175, 55, 0.28);
}

.pill-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pill {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer {
  background: var(--dark-bg);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--accent);
  margin: 0 0 1.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* CAR LIST TOOLBAR */
.cars-toolbar-modern {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  margin-bottom: 0.45rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.cars-filters-modern {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
}

.cars-filter-search-wrap {
  flex: 1 1 340px;
  min-width: 0;
  order: 1;
}

.cars-filter-search {
  width: 100%;
  height: 32px;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font-size: 0.76rem;
}

.cars-filter-search:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.16);
}

.cars-filter-sort-wrap {
  flex: 0 0 34px;
  order: 2;
}

.cars-sort-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 38px;
  min-width: 38px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: #0e1116;
  color: var(--ink);
  font-size: 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0;
  cursor: pointer;
}

.cars-sort-toggle:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.16);
}

.cars-sort-toggle:hover {
  border-color: rgba(212, 175, 55, 0.52);
}

.cars-sort-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
  flex: 0 0 auto;
}

.cars-chip-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 0.5rem;
  flex: 1 1 100%;
  width: 100%;
  overflow: visible;
  white-space: normal;
  order: 4;
}

.cars-chip-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
  gap: 0.22rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  padding: 0.45rem 0.55rem 0.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.04);
  position: relative;
  min-height: 0;
  box-sizing: border-box;
}

.car-card.is-filter-hidden {
  display: none !important;
}

.cars-chip-label {
  flex: 0 0 100%;
  display: block;
  color: var(--muted);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
  white-space: nowrap;
  opacity: 0.95;
  padding-left: 0.12rem;
}

/* style for the new sort button */
/* sort7 button removed */

.cars-chip {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.18rem 0.45rem;
  cursor: pointer;
  transition: all 0.12s ease;
}

.cars-chip:hover {
  border-color: rgba(212, 175, 55, 0.52);
}

.cars-chip.is-active {
  background: linear-gradient(135deg, var(--accent), var(--gold-dark));
  color: var(--dark-bg);
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(212,175,55,0.18);
}

.cars-filter-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  flex: 0 0 auto;
  justify-self: end;
  order: 3;
}

.cars-count-badge {
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cars-count-badge strong {
  color: var(--accent);
  font-size: 0.82rem;
  margin-right: 0.08rem;
}

.cars-clear {
  height: auto;
  padding: 0.22rem 0.46rem;
  font-size: 0.62rem;
}

.cars-hidden-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
}

.cars-hidden-notice[hidden] {
  display: none !important;
}

.cars-hidden-notice-text {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.3;
}

.cars-hidden-notice-text strong {
  color: var(--accent);
  margin-right: 0.2rem;
}

.cars-hidden-reset {
  border: 1px solid rgba(212, 175, 55, 0.55);
  background: #0e1116;
  color: #ffffff;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.cars-hidden-reset:hover {
  border-color: rgba(212, 175, 55, 0.8);
}

.cars-hidden-reset:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.18);
}

.cars-empty-state {
  margin: 0.8rem 0 0;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.92rem;
}

@media (max-width: 768px) {
  .cars-filters-modern {
    display: flex;
    gap: 0.45rem;
  }

  .cars-filter-search-wrap,
  .cars-filter-sort-wrap {
    min-width: 0;
  }

  .cars-filter-search-wrap {
    flex: 1 1 auto;
  }

  .cars-filter-sort-wrap {
    flex: 0 0 34px;
  }

  .cars-filter-search,
  .cars-sort-toggle {
    width: 100%;
  }

  .cars-chip-groups {
    grid-template-columns: 1fr;
  }

  .cars-filter-actions {
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }

  .car-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .car-card img {
    max-height: 150px;
  }

  .car-card-body {
    padding: 0.85rem;
  }

  .card-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-bottom a {
    width: 100%;
  }

  .car-spec-icons {
    gap: 0.4rem;
  }

  .cars-chip-groups {
    gap: 0.42rem;
  }

  .cars-results-count {
    text-align: left;
  }

  .cars-filter-actions {
    justify-content: space-between;
  }

  .cars-toolbar-modern {
    padding: 0.55rem;
  }

  .cars-chip-group {
    border-radius: 14px;
  }

  .cars-chip {
    font-size: 0.68rem;
    padding: 0.2rem 0.48rem;
  }

  .cars-hidden-notice {
    flex-direction: column;
    align-items: flex-start;
  }

  .cars-hidden-reset {
    width: 100%;
  }

  .cars-sort-toggle {
    width: 34px;
    min-width: 34px;
  }
}

@media (min-width: 769px) and (max-width: 1180px) {
  .car-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-spotlight {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.reveal {
  animation: rise 620ms ease both;
}

/* Login Page Styles */
.login-container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 2.5rem;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.login-box {
  background: linear-gradient(135deg, rgba(26, 31, 40, 0.98), rgba(15, 20, 25, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.login-box h1 {
  color: var(--accent);
  margin: 0 0 0.5rem 0;
  font-size: 2rem;
}

.login-box .subtitle {
  color: var(--muted);
  margin: 0 0 2rem 0;
  font-size: 1rem;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 2rem;
  background: rgba(58, 53, 32, 0.75);
  border-radius: 999px;
  padding: 4px;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-weight: 700;
  padding: 0.9rem 1rem;
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.2s ease;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.tab-btn.active {
  background: var(--accent);
  color: var(--dark-bg);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.login-form {
  display: grid;
  gap: 1.2rem;
}

.login-form label {
  display: grid;
  gap: 0.5rem;
}

.password-field {
  gap: 0.45rem;
}

.password-field-wrap {
  position: relative;
}

.login-form span {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.login-form input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(10, 14, 19, 0.9);
  color: var(--ink);
  padding: 0.9rem 1rem;
  padding-right: 5rem;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.password-toggle {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  background: rgba(26, 31, 40, 0.95);
  color: var(--accent);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.password-toggle:hover {
  border-color: var(--accent);
  background: rgba(26, 31, 40, 1);
}

.password-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16);
}

.login-form input:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.login-form input::placeholder {
  color: var(--muted);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--muted);
  margin: 0;
}

.checkbox input {
  width: auto;
  padding: 0;
  margin: 0;
}

.forgot-password {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.forgot-password:hover {
  color: var(--gold-light);
}

.auth-switch {
  color: var(--muted);
  margin: 0.5rem 0 0;
  text-align: center;
  font-size: 0.9rem;
}

.auth-switch a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
}

.auth-switch a:hover {
  color: var(--gold-light);
}

.login-benefits {
  display: grid;
  gap: 1rem;
  align-self: start;
}

.login-benefits h2 {
  color: var(--accent);
  font-size: 1.6rem;
  margin: 0 0 0.5rem 0;
}

.login-benefits article {
  background: linear-gradient(135deg, rgba(26, 31, 40, 0.9), rgba(15, 20, 25, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.login-benefits article:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.12);
  transform: translateY(-2px);
}

.benefit-icon {
  font-size: 1.8rem;
  min-width: 50px;
  text-align: center;
}

.login-benefits h3 {
  color: var(--ink);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .login-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .login-box {
    padding: 1.4rem;
  }

  .form-options {
    flex-direction: column;
    align-items: flex-start;
  }

  .login-benefits article {
    padding: 1rem;
  }
}

/* Dashboard Styles */
.dashboard-container {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 0 4rem;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  padding: 1.6rem 1.75rem;
  background: linear-gradient(135deg, rgba(26, 31, 40, 0.98), rgba(15, 20, 25, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.dashboard-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--accent) !important;
  letter-spacing: -0.04em;
}

.dashboard-header .subtitle {
  color: var(--muted) !important;
  font-size: 1rem !important;
  line-height: 1.6;
}

.dashboard-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dashboard-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.65rem;
  margin-bottom: 0.25rem;
  background: rgba(26, 31, 40, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.dashboard-tabs .tab-btn {
  padding: 0.85rem 1.15rem !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--muted) !important;
  box-shadow: none !important;
}

.dashboard-tabs .tab-btn:hover {
  color: var(--ink) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.dashboard-tabs .tab-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--gold-dark)) !important;
  color: var(--dark-bg) !important;
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.2) !important;
}

.dashboard-content {
  background: linear-gradient(135deg, rgba(26, 31, 40, 0.95), rgba(15, 20, 25, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.dashboard-content>div:first-child {
  margin-bottom: 1.5rem !important;
  padding-bottom: 1rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.dashboard-content h2 {
  color: var(--ink);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.dashboard-content input[type="text"] {
  min-width: 220px;
  padding: 0.85rem 1rem !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(10, 14, 19, 0.85) !important;
  color: var(--ink) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.dashboard-content input[type="text"]::placeholder {
  color: var(--muted);
}

.dashboard-content input[type="text"]:focus {
  border-color: rgba(212, 175, 55, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12) !important;
}

.dashboard-content .table-responsive {
  background: rgba(10, 14, 19, 0.4) !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24) !important;
  overflow: auto !important;
}

.dashboard-content table {
  width: 100% !important;
  border-collapse: collapse !important;
  background: transparent !important;
}

.dashboard-content thead tr {
  background: rgba(10, 14, 19, 0.86);
}

.dashboard-content th {
  padding: 1rem 1rem !important;
  color: var(--gold-light) !important;
  font-family: "Outfit", sans-serif !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-content td {
  padding: 1rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.dashboard-content tbody tr {
  transition: background 0.2s ease, transform 0.2s ease;
}

.dashboard-content tbody tr:hover {
  background: rgba(255, 255, 255, 0.03) !important;
}

.dashboard-content .empty-state {
  background: rgba(10, 14, 19, 0.45) !important;
  border: 1px dashed rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
}

.dashboard-content .status-badge {
  border: 1px solid transparent;
}

.dashboard-content .status-badge.pending {
  background: rgba(212, 175, 55, 0.14) !important;
  color: var(--gold-light) !important;
  border-color: rgba(212, 175, 55, 0.22);
}

.dashboard-content .status-badge.accepted {
  background: rgba(15, 124, 88, 0.16) !important;
  color: #8ce0c2 !important;
  border-color: rgba(15, 124, 88, 0.22);
}

.dashboard-content .status-badge.refused {
  background: rgba(255, 107, 107, 0.14) !important;
  color: #ffb3b3 !important;
  border-color: rgba(255, 107, 107, 0.2);
}

.dashboard-content .calendar-cell {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  min-width: 42px;
}

.dashboard-content .calendar-cell.is-booked {
  background: rgba(255, 77, 77, 0.14);
  color: #ffb3b3;
}

.dashboard-content .calendar-cell.is-free {
  color: var(--muted);
}

.dashboard-content .inv-input {
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(10, 14, 19, 0.72) !important;
  color: var(--ink) !important;
}

.dashboard-content .inv-input:focus {
  background: rgba(10, 14, 19, 0.95) !important;
}

.dashboard-content .btn-sm {
  border-radius: 999px !important;
}

.dashboard-content .btn-solid.btn-sm {
  box-shadow: none !important;
}

.dashboard-content .btn-ghost.btn-sm {
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.dashboard-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.dashboard-stat-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.1rem 1.15rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(26, 31, 40, 0.96), rgba(10, 14, 19, 0.9));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.dashboard-stat-card--accent {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(26, 31, 40, 0.96));
}

.dashboard-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
  flex-shrink: 0;
}

.dashboard-stat-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dashboard-stat-value {
  display: block;
  margin-top: 0.2rem;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 800;
  line-height: 1;
}

.dashboard-stat-note {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.dashboard-calendar-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 0.9rem 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 14, 19, 0.38);
}

.dashboard-calendar-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.dashboard-legend {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.legend-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
}

.legend-chip--free {
  color: #8ce0c2;
}

.legend-chip--booked {
  color: #ffb3b3;
}

.dashboard-content .calendar-table {
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 16px;
}

.dashboard-content .calendar-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}

.dashboard-content .calendar-table th.calendar-head-car,
.dashboard-content .calendar-table td.calendar-car-cell {
  position: sticky;
  left: 0;
  z-index: 1;
}

.dashboard-content .calendar-table th.calendar-head-car {
  background: rgba(10, 14, 19, 0.94);
}

.dashboard-content .calendar-table td.calendar-car-cell {
  background: rgba(10, 14, 19, 0.92);
  box-shadow: 10px 0 0 rgba(10, 14, 19, 0.92);
}

.dashboard-content td.calendar-cell {
  padding: 0.5rem 0.35rem !important;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 800;
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  min-width: 50px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0;
}

.dashboard-content td.calendar-cell.is-free {
  color: #8ce0c2;
  background: rgba(15, 124, 88, 0.08);
}

.dashboard-content td.calendar-cell.is-booked {
  color: #ffb3b3;
  background: rgba(255, 107, 107, 0.14);
}

.inventory-eyebrow {
  margin: 0 0 0.35rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
}

.inventory-toolbar {
  padding: 1.05rem 1.15rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(26, 31, 40, 0.95), rgba(10, 14, 19, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.inventory-toolbar h2 {
  font-size: 1.45rem;
}

.inventory-toolbar-actions input[type="text"] {
  min-height: 46px;
}

.inventory-table {
  border-radius: 18px;
  overflow: hidden;
}

.inventory-table thead tr {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16), rgba(10, 14, 19, 0.92));
}

.inventory-table th {
  color: var(--gold-light);
}

.inventory-table tbody tr {
  background: rgba(10, 14, 19, 0.22);
}

.inventory-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.inventory-cell {
  background: rgba(10, 14, 19, 0.14);
}

.inventory-cell-vehicle {
  background: rgba(10, 14, 19, 0.2);
}

.inventory-spec-grid,
.inventory-pricing-grid {
  gap: 0.85rem;
}

.inventory-control {
  padding: 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.inventory-control span,
.inventory-upload span {
  color: var(--muted);
}

.inventory-cell .inv-input {
  min-height: 44px;
  border-radius: 12px;
}

.inventory-footer-bar {
  padding-top: 1.1rem;
}

.inventory-footer-note {
  max-width: 42rem;
}

@media (max-width: 1024px) {

  .dashboard-header,
  .dashboard-content>div:first-child {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-header {
    padding: 1.4rem;
  }

  .dashboard-content {
    padding: 1.25rem;
  }

  .dashboard-content input[type="text"] {
    width: 100% !important;
    min-width: 0 !important;
  }

  .dashboard-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-calendar-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .dashboard-container {
    padding-top: 1.25rem;
  }

  .dashboard-tabs {
    border-radius: 16px;
  }

  .dashboard-tabs .tab-btn {
    width: 100%;
    text-align: center;
  }

  .dashboard-content {
    padding: 1rem;
  }

  .dashboard-content th,
  .dashboard-content td {
    padding: 0.85rem 0.9rem !important;
  }

  .dashboard-content .table-responsive {
    border-radius: 14px !important;
  }

  .dashboard-overview {
    grid-template-columns: 1fr;
  }

  .dashboard-stat-card {
    padding: 1rem;
  }

  .dashboard-content .calendar-table {
    min-width: 860px;
  }
}

.inventory-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.inventory-toolbar h2 {
  margin: 0 0 0.4rem 0;
  font-size: 1.35rem;
  color: var(--accent);
}

.inventory-toolbar p {
  margin: 0;
  color: var(--muted);
}

.inventory-toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.inventory-toolbar-actions input[type="text"] {
  width: min(340px, 100%);
}

.inventory-scroll {
  overflow-x: auto !important;
  padding-bottom: 0.25rem;
}

.inventory-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  text-align: left;
  background: rgba(10, 14, 19, 0.35);
  table-layout: fixed;
}

.inventory-table th:nth-child(1) {
  width: 28%;
}

.inventory-table th:nth-child(2) {
  width: 32%;
}

.inventory-table th:nth-child(3) {
  width: 28%;
}

.inventory-table th:nth-child(4) {
  width: 12%;
}

.inventory-table thead tr {
  background: rgba(10, 14, 19, 0.86);
}

.inventory-table th,
.inventory-table td {
  vertical-align: top;
}

.inventory-cell {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.inventory-cell-vehicle {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.inventory-cell-actions {
  text-align: center;
}

.fleet-preview {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(26, 31, 40, 0.9), rgba(10, 14, 19, 0.95));
  margin-bottom: 0.9rem;
}

.fleet-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.inventory-id-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.inventory-id-row a,
.inventory-id-row span {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.75rem;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  background: rgba(212, 175, 55, 0.1);
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
}

.inventory-control {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.7rem;
}

.inventory-control span,
.inventory-upload span {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.inventory-upload {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0;
}

.inventory-upload input[type="file"] {
  width: 100%;
  color: var(--muted);
}

.inventory-spec-grid,
.inventory-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.inventory-control-wide {
  grid-column: 1 / -1;
}

.inventory-control .inv-input,
.inventory-upload input[type="file"] {
  width: 100%;
}

.inventory-cell .inv-input {
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: rgba(10, 14, 19, 0.82);
  border-color: rgba(255, 255, 255, 0.08);
}

.inventory-cell .inv-input:focus {
  background: rgba(10, 14, 19, 0.96);
}

.inventory-cell-actions .remove-row-btn {
  width: 100%;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 107, 107, 0.4);
  color: #ff9b9b;
}

.inventory-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0.25rem 0.1rem;
}

.inventory-footer-note {
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 1024px) {

  .inventory-toolbar,
  .inventory-footer-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .inventory-toolbar-actions {
    width: 100%;
    justify-content: stretch;
  }

  .inventory-toolbar-actions input[type="text"],
  .inventory-toolbar-actions button {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .inventory-table {
    min-width: 860px;
  }

  .inventory-spec-grid,
  .inventory-pricing-grid {
    grid-template-columns: 1fr;
  }

  .inventory-control-wide {
    grid-column: auto;
  }

  .inventory-cell {
    padding: 0.85rem;
  }
}

/* About + FAQ Page Styling */
.info-page {
  display: grid;
  gap: 1.4rem;
  align-content: start;
}

.info-hero {
  display: grid;
  gap: 0.75rem;
  padding: 1.6rem 1.8rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(10, 14, 19, 0.9), rgba(26, 31, 40, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.05;
  color: var(--ink);
}

.info-lead {
  margin: 0;
  color: var(--gold-light);
  font-size: 1.1rem;
  max-width: 72ch;
}

.about-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.about-copy-card {

  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(26, 31, 40, 0.96), rgba(15, 20, 25, 0.96));
}

.about-copy-card-wide {
  grid-column: 1 / -1;
}

.about-copy {
  margin: 1.5rem;
  color: #d7d7d7;
  line-height: 1.75;
  font-size: 1.03rem;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.about-feature-grid article {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(26, 31, 40, 0.96), rgba(15, 20, 25, 0.96));
  padding: 1.25rem 1.35rem;
}

.about-feature-grid h2 {
  margin: 0 0 0.65rem 0;
  color: var(--accent);
  font-size: 1.15rem;
}

.about-feature-grid p {
  margin: 0;
  color: #c8c8c8;
  line-height: 1.65;
}

.about-freebies {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.about-freebies li {
  display: flex;
  align-items: start;
  gap: 0.6rem;
  color: #d8d8d8;
}

.about-freebies li::before {
  content: "\2713";
  color: var(--accent);
  font-weight: 800;
}

.faq-surface {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(26, 31, 40, 0.97), rgba(12, 16, 22, 0.97));
  padding: 0.75rem;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-list details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(10, 14, 19, 0.65);
  overflow: hidden;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.1rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.03rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 700;
  margin-left: 1rem;
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-list details p {
  margin: 0;
  padding: 0 1.1rem 1rem;
  color: #d2d2d2;
  line-height: 1.7;
}

@media (max-width: 900px) {

  .about-story-grid,
  .about-feature-grid {
    grid-template-columns: 1fr;
  }

  .about-copy-card-wide {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .info-page {
    gap: 1rem;
  }

  .info-hero {
    padding: 1.2rem;
    border-radius: 14px;
  }

  .about-feature-grid article,
  .about-copy-card {
    padding: 1rem;
    border-radius: 12px;
  }

  .faq-surface {
    padding: 0.6rem;
    border-radius: 12px;
  }

  .faq-list summary {
    font-size: 0.98rem;
    padding: 0.9rem;
  }

  /* Hamburger Menu Styles */
  .hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
  }

  .hamburger-menu span {
    width: 26px;
    height: 3px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .hamburger-menu[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .hamburger-menu[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
}

/* Contact Page Styling */
.section-head {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .section-head h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin: 0;
    color: var(--ink);
    line-height: 1.1;
  }

  .section-head p {
    margin: 0;
    color: var(--gold-light);
    font-size: 1.05rem;
  }

  .contact-intro {
    color: #d0d0d0;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }

  .contact-highlight,
  .contact-map {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(26, 31, 40, 0.96), rgba(15, 20, 25, 0.96));
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .contact-highlight {
    background: linear-gradient(135deg, rgba(31, 26, 15, 0.96), rgba(25, 20, 15, 0.96));
  }

  .contact-highlight h2,
  .contact-map-head h2 {
    margin: 0 0 0.8rem 0;
    color: var(--accent);
    font-size: 1.4rem;
  }

  .contact-highlight p,
  .contact-map-head p {
    margin: 0 0 0.8rem 0;
    color: #d0d0d0;
    line-height: 1.6;
  }

  .contact-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.8rem;
    margin-top: 1.2rem;
  }

  .contact-map-head {
    margin-bottom: 1.2rem;
  }

  .map-frame-wrap {
    border-radius: 12px;
    overflow: hidden;
    height: 450px;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .map-frame-wrap iframe {
    width: 100%;
    height: 100%;
  }

  .split-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    margin-bottom: 2rem;
  }

  .contact-card {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(26, 31, 40, 0.96), rgba(15, 20, 25, 0.96));
    padding: 1.4rem;
  }

  .contact-card h2 {
    margin: 0 0 1rem 0;
    color: var(--accent);
    font-size: 1.2rem;
  }

  .contact-card p {
    margin: 0.6rem 0;
    color: #d0d0d0;
    line-height: 1.6;
    font-size: 0.95rem;
  }

  .contact-card strong {
    color: var(--gold-light);
  }

  .contact-card a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
  }

  .contact-card a:hover {
    color: var(--gold-light);
  }

  .contact-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
    transition: all 0.2s ease;
  }

  .contact-link:hover {
    color: var(--gold-light);
    border-bottom-color: var(--gold-light);
  }

  .contact-extra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.2rem;
  }

  /* Terms Page Styling */
  .terms-section {
    display: grid;
    gap: 1.2rem;
  }

  .terms-section article {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(26, 31, 40, 0.96), rgba(15, 20, 25, 0.96));
    padding: 1.5rem;
  }

  .terms-section h2 {
    margin: 0 0 0.8rem 0;
    color: var(--accent);
    font-size: 1.2rem;
  }

  .terms-section p {
    margin: 0;
    color: #d0d0d0;
    line-height: 1.7;
  }

  .narrow {
    max-width: 900px;
    margin: 0 auto;
  }

  /* Enhanced About Page */
  .about-page .info-hero {
    background: linear-gradient(135deg, rgba(31, 26, 15, 0.95), rgba(25, 20, 15, 0.95));
    border: 1px solid rgba(255, 183, 77, 0.15);
  }

  .about-page .info-hero .eyebrow {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
  }

  .about-page .info-hero h1 {
    background: linear-gradient(135deg, #fff, var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .about-story-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }

  .about-copy-card {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(26, 31, 40, 0.96), rgba(15, 20, 25, 0.96));
    padding: 1.8rem;
    transition: all 0.3s ease;
  }

  .about-copy-card:hover {
    border-color: rgba(255, 183, 77, 0.2);
    background: linear-gradient(135deg, rgba(26, 31, 40, 0.98), rgba(15, 20, 25, 0.98));
  }

  .about-copy-card-wide {
    grid-column: 1 / -1;
  }

  .about-copy {
    margin: 0;
    color: #d7d7d7;
    line-height: 1.8;
    font-size: 1.05rem;
  }

  .about-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }

  .about-feature-grid article {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(26, 31, 40, 0.96), rgba(15, 20, 25, 0.96));
    padding: 1.8rem;
    transition: all 0.3s ease;
  }

  .about-feature-grid article:hover {
    border-color: rgba(255, 183, 77, 0.2);
    transform: translateY(-2px);
  }

  .about-feature-grid h2 {
    margin: 0 0 0.8rem 0;
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 700;
  }

  .about-feature-grid p {
    margin: 0;
    color: #c8c8c8;
    line-height: 1.7;
  }

  .about-freebies {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.8rem;
  }

  .about-freebies li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #d8d8d8;
    font-weight: 500;
  }

  .about-freebies li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  @media (max-width: 1024px) {
    .split-grid {
      grid-template-columns: 1fr;
    }

    .about-story-grid,
    .about-feature-grid {
      grid-template-columns: 1fr;
    }

    .contact-extra-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 900px) {

    /* Hamburger menu show */
    .hamburger-menu {
      display: flex;
    }

    .site-nav {
      position: fixed;
      top: 65px;
      left: 0;
      right: 0;
      flex-direction: column;
      background: linear-gradient(180deg, rgba(10, 14, 19, 0.98), rgba(15, 20, 25, 0.98));
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      gap: 0;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      padding: 0;
      flex: 0 0 auto;
    }

    .site-nav.mobile-open {
      max-height: 400px;
      padding: 1rem 0;
    }

    .site-nav a {
      padding: 0.75rem 1.5rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .site-nav a:last-child {
      border-bottom: none;
    }

    /* Contact page mobile */
    .contact-highlight,
    .contact-map {
      padding: 1.2rem;
      border-radius: 12px;
    }

    .contact-actions {
      grid-template-columns: 1fr;
    }

    .map-frame-wrap {
      height: 300px;
    }

    .split-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
    }

    .contact-card {
      padding: 1.2rem;
    }

    /* Terms page mobile */
    .terms-section article {
      padding: 1.2rem;
      border-radius: 12px;
    }

    /* About page mobile */
    .about-story-grid,
    .about-feature-grid {
      gap: 0.8rem;
    }

    .about-copy-card,
    .about-feature-grid article {
      padding: 1.2rem;
    }

    .about-feature-grid h2 {
      font-size: 1.05rem;
    }

    .info-hero {
      padding: 1.2rem;
      border-radius: 14px;
    }

    .info-hero h1 {
      font-size: clamp(1.5rem, 3vw, 2rem) !important;
    }

    .faq-surface {
      padding: 0.6rem;
      border-radius: 12px;
    }

    .faq-list summary {
      font-size: 0.98rem;
      padding: 0.9rem;
    }

    .faq-list details p {
      padding: 0 0.9rem 0.9rem;
    }

    .section-head h1 {
      font-size: clamp(1.5rem, 3vw, 2rem);
    }

    .section-head p {
      font-size: 0.95rem;
    }

    .contact-intro {
      font-size: 0.95rem;
    }

    .cars-filters-compact {
      flex-direction: column;
    }

    .cars-filters-compact label {
      min-width: 100%;
    }

    .cars-filter-actions {
      width: 100%;
      justify-content: space-between;
    }
  }

  /* ══════════════════════════════════════════ */
  /* FOOTER                                    */
  /* ══════════════════════════════════════════ */
  .site-footer {
    margin-top: 4rem;
    background: rgba(10, 14, 19, 0.95);
    border-top: 1px solid var(--line);
  }

  .footer-main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    padding: 3rem 0 2rem;
  }

  .footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }

  .footer-logo {
    height: 60px;
    width: auto;
    opacity: 0.9;
  }

  .footer-tagline {
    color: var(--muted);
    font-size: 0.85rem;
    margin: 0;
    max-width: 220px;
    line-height: 1.5;
  }

  .footer-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
  }

  .footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-social a:hover {
    color: var(--accent);
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--accent);
  }

  .footer-col h4 {
    color: var(--accent);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 1rem 0;
    font-family: "Outfit", sans-serif;
  }

  .footer-col a {
    display: block;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.3rem 0;
    transition: color 0.2s ease;
  }

  .footer-col a:hover {
    color: var(--ink);
  }

  .footer-contact-col a,
  .footer-contact-col span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.9rem;
    padding: 0.3rem 0;
    text-decoration: none;
  }

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

  .footer-phone {
    font-weight: 700;
    color: var(--ink) !important;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
    padding: 1.2rem 0;
    font-size: 0.8rem;
    color: var(--muted);
  }

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

  .footer-bottom-links a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
  }

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

  @media (max-width: 768px) {
    .footer-main {
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
      padding: 2rem 0 1.5rem;
    }

    .footer-bottom {
      flex-direction: column;
      gap: 0.8rem;
      text-align: center;
    }
  }

/* ==========================================================================
   Design tokens — extending the existing :root
   ========================================================================== */
:root {
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --ring: 0 0 0 3px rgba(212, 175, 55, 0.35);
  --error: #ff6b6b;
  --error-soft: rgba(255, 107, 107, 0.12);
  --success: #4caf50;
  --success-soft: rgba(76, 175, 80, 0.12);
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.14);
  --surface-1: linear-gradient(135deg, rgba(26, 31, 40, 0.96), rgba(15, 20, 25, 0.96));
  --surface-2: linear-gradient(135deg, rgba(31, 26, 15, 0.95), rgba(25, 20, 15, 0.95));
}

/* Reusable surface utility — used by legacy contact panels */
.panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  background: var(--surface-1);
  padding: var(--space-5);
}

/* Visible keyboard focus everywhere — accessibility */
:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-color: var(--accent);
}
a:focus-visible,
button:focus-visible {
  border-radius: 6px;
}

/* ==========================================================================
   Contact page — premium redesign
   ========================================================================== */
.contact-page {
  display: grid;
  gap: var(--space-6);
  padding-top: var(--space-6);
  padding-bottom: var(--space-7);
}

.contact-hero {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--hairline);
  background:
    radial-gradient(circle at 0% 0%, rgba(212, 175, 55, 0.12), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(212, 175, 55, 0.08), transparent 50%),
    var(--surface-1);
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), transparent 40%, rgba(212, 175, 55, 0.05));
  pointer-events: none;
  opacity: 0.6;
  z-index: 0;
}

.contact-hero > * {
  position: relative;
  z-index: 1;
}

.contact-hero .eyebrow {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: var(--space-4);
}

.contact-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin: 0 0 var(--space-4) 0;
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 30%, var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 22ch;
}

.contact-hero p.lede {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--ink);
  opacity: 0.85;
  max-width: 60ch;
  margin: 0 0 var(--space-5) 0;
  line-height: 1.6;
}

.contact-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  align-items: center;
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--hairline);
}

.contact-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--gold-light);
}

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

.contact-hero-meta-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.18);
  animation: contact-pulse 2.4s ease-in-out infinite;
}

@keyframes contact-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(76, 175, 80, 0.05); }
}

/* Channel grid — call / email / viber / map */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}

.channel-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  background: var(--surface-1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.channel-card:hover,
.channel-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: var(--shadow-md);
}

/* Ensure phone numbers stack nicely in contact channel cards */
.channel-card .channel-card-value .phone-line {
  display: block;
  line-height: 1.2;
}

/* Footer phone links: show stacked lines on small widths */
.footer-phone, .footer-phone .phone-line {
  display: inline-flex;
  flex-direction: column;
}

.channel-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.12);
  color: var(--accent);
  margin-bottom: var(--space-2);
}

.channel-card-label {
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.channel-card-value {
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  word-break: break-word;
}

.channel-card-hint {
  margin-top: auto;
  padding-top: var(--space-3);
  font-size: 0.85rem;
  color: var(--muted);
}

/* Two-column: form (left) + side info (right) */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--space-5);
  align-items: start;
}

.contact-form-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  background: var(--surface-1);
  padding: clamp(1.5rem, 3vw, 2.4rem);
}

.contact-form-card > h2 {
  margin: 0 0 var(--space-2) 0;
  font-size: 1.5rem;
  color: var(--ink);
}

.contact-form-card > p.contact-form-intro {
  margin: 0 0 var(--space-5) 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-form {
  display: grid;
  gap: var(--space-4);
}

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

.contact-form .field {
  display: grid;
  gap: 0.4rem;
}

.contact-form .field > span {
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-light);
}

.contact-form .field .hint {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: normal;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
  font-family: "Manrope", sans-serif;
  line-height: 1.55;
}

.contact-form .field.invalid input,
.contact-form .field.invalid textarea,
.contact-form .field.invalid select {
  border-color: var(--error);
  box-shadow: 0 0 0 3px var(--error-soft);
}

.contact-form .field-error {
  font-size: 0.82rem;
  color: var(--error);
  margin-top: 0.2rem;
}

.contact-form .consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.contact-form .consent input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.contact-form .consent a {
  color: var(--accent);
}

/* Honeypot — hidden from humans, present for bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form button[type="submit"] {
  justify-self: start;
  margin-top: var(--space-2);
}

.form-banner {
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-4);
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-banner.success {
  background: var(--success-soft);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #b9e7be;
}

.form-banner.error {
  background: var(--error-soft);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: #ffb1b1;
}

.form-banner svg {
  flex-shrink: 0;
  margin-top: 1px;
}

/* Side info card */
.contact-side {
  display: grid;
  gap: var(--space-4);
}

.info-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  background: var(--surface-1);
  padding: var(--space-5);
}

.info-card.accent {
  background: var(--surface-2);
  border-color: rgba(212, 175, 55, 0.2);
}

.info-card h3 {
  margin: 0 0 var(--space-3) 0;
  font-size: 1.1rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.info-card h3 svg {
  flex-shrink: 0;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--hairline);
  gap: var(--space-3);
}

.info-row:last-child {
  border-bottom: 0;
}

.info-row-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.info-row-value {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

/* Locations grid (3 offices) */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
}

.location-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  background: var(--surface-1);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.location-card:hover {
  border-color: rgba(212, 175, 55, 0.25);
  transform: translateY(-2px);
}

.location-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.location-card-pin {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.location-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.2;
}

.location-card-sub {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.location-card dl {
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.location-card dl div {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.location-card dt {
  color: var(--muted);
  font-weight: 600;
  flex-shrink: 0;
  min-width: 64px;
}

.location-card dd {
  margin: 0;
  color: var(--ink);
  word-break: break-word;
}

.location-card a {
  color: var(--accent);
  text-decoration: none;
}

.location-card a:hover {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.location-card-actions {
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--hairline);
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.location-card-actions a {
  font-family: "Outfit", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  background: var(--surface-1);
  padding: var(--space-5);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.trust-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.trust-item h4 {
  margin: 0 0 0.2rem 0;
  font-size: 0.95rem;
  color: var(--ink);
}

.trust-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Map */
.contact-map-section {
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  background: var(--surface-1);
  padding: var(--space-5);
}

.contact-map-section .map-frame-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 420px;
  border: 1px solid var(--hairline);
  margin-top: var(--space-4);
}

.contact-map-section .map-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Section labels */
.section-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.section-label h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--ink);
}

.section-label p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 540px) {
  .contact-hero {
    padding: 1.4rem;
  }

  .contact-hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

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

/* ==========================================================================
   Phase B — global polish layer
   Additive on top of existing styles. No removals; rules here either refine
   or add. All token references resolve to the :root block defined earlier.
   ========================================================================== */

/* --- Accessibility: skip link + visually-hidden helper --- */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  background: var(--accent);
  color: var(--dark-bg);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-to-content:focus {
  top: 1rem;
  outline: none;
  box-shadow: var(--ring);
}

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

/* --- Buttons: focus, disabled, size variants, gentle motion --- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  vertical-align: middle;
  user-select: none;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.btn[disabled],
.btn:disabled,
.btn.is-loading {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  filter: saturate(0.6);
}

.btn-solid:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(212, 175, 55, 0.25);
}

.btn-ghost:focus-visible {
  background: var(--accent-soft);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.btn-icon {
  padding: 0.55rem;
}

/* --- Inputs: standardize focus across the site --- */
input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
input[type="tel"]:focus-visible,
input[type="time"]:focus-visible,
input[type="date"]:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--ring);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a9a9a9' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.4rem;
}

/* --- Header: logo hover, nav link focus, locale dropdown polish --- */
.brand:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius-sm);
}

.brand-logo {
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.brand:hover .brand-logo {
  opacity: 0.92;
  transform: scale(0.98);
}

.site-nav a {
  position: relative;
  padding: 0.4rem 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}
.site-nav a:focus-visible {
  outline: none;
  color: var(--accent);
}

.locale-dropdown-toggle:focus-visible,
.hamburger-menu:focus-visible,
.header-announcement-link:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius-sm);
}

/* --- Footer: focus + small polish --- */
.site-footer a {
  transition: color 0.2s ease;
}
.site-footer a:focus-visible {
  outline: none;
  color: var(--accent);
  box-shadow: var(--ring);
  border-radius: var(--radius-sm);
}

.footer-social a {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline);
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover {
  color: var(--accent);
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-1px);
}

/* --- Section heading consistency (now visible on desktop after Phase A fix) --- */
.section-head .eyebrow,
.section-head + .eyebrow,
.eyebrow {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}

/* --- Status pills: shared across dashboard / booking-success / future use --- */
.status-pill,
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.status-pill::before,
.status-badge.pending::before,
.status-badge.accepted::before,
.status-badge.refused::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.status-pill.pending,
.status-badge.pending {
  color: #f5c46a;
  background: rgba(245, 196, 106, 0.12);
  border-color: rgba(245, 196, 106, 0.25);
}
.status-pill.accepted,
.status-badge.accepted {
  color: var(--success);
  background: var(--success-soft);
  border-color: rgba(76, 175, 80, 0.3);
}
.status-pill.refused,
.status-badge.refused {
  color: var(--error);
  background: var(--error-soft);
  border-color: rgba(255, 107, 107, 0.3);
}

/* --- Cars listing card: gentle polish, image aspect, hover --- */
.car-card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.car-card:focus-within {
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: var(--shadow-md);
}
.car-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  display: block;
  background: rgba(255, 255, 255, 0.03);
}
.card-bottom a {
  transition: color 0.2s ease;
}
.card-bottom a:focus-visible {
  outline: none;
  color: var(--gold-light);
  box-shadow: var(--ring);
  border-radius: var(--radius-sm);
}

/* --- Cars filter toolbar: focus polish, count-badge presence --- */
.cars-filters-compact input:focus-visible,
.cars-filters-compact select:focus-visible {
  border-color: var(--accent);
  box-shadow: var(--ring);
}
.cars-clear:focus-visible {
  box-shadow: var(--ring);
}

/* --- Mosaic grid hover --- */
.mosaic-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mosaic-item:focus-visible {
  outline: none;
  box-shadow: var(--ring), var(--shadow-md);
  border-radius: var(--radius-md);
}

/* --- Benefits grid card polish --- */
.benefits-grid article {
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

/* --- Booking page: error message uses error tokens, panel focus --- */
.booking-form .error-message,
main .error-message {
  background: var(--error-soft);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: #ffb1b1;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.booking-form .error-message::before,
main .error-message::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 107, 107, 0.2);
  color: var(--error);
  font-weight: 800;
  font-family: "Outfit", sans-serif;
  flex-shrink: 0;
  margin-top: 1px;
}

.booking-panel:focus-within {
  border-color: rgba(212, 175, 55, 0.25);
}

.location-combobox-toggle:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius-sm);
}
.location-combobox-option:focus-visible {
  outline: none;
  background: rgba(212, 175, 55, 0.12);
}

/* --- Dashboard: empty state and table polish --- */
.dashboard-content .empty-state {
  display: grid;
  place-items: center;
  gap: var(--space-3);
}
.dashboard-content .tab-btn {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.dashboard-content .tab-btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.dashboard-content tbody tr {
  transition: background 0.18s ease;
}
.dashboard-content tbody tr:hover {
  background: rgba(212, 175, 55, 0.04);
}
.dashboard-content table a:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius-sm);
}

/* --- Login page: tighten focus --- */
.login-form input:focus-visible {
  border-color: var(--accent);
  box-shadow: var(--ring);
}
.tab-btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

/* --- Mobile menu: smoother slide, hairline accent --- */
.site-nav.mobile-open {
  border-top: 1px solid var(--hairline);
}
.mobile-nav-extras {
  border-top: 1px solid var(--hairline);
}

/* --- Selection styling --- */
::selection {
  background: rgba(212, 175, 55, 0.4);
  color: #fff;
}

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

/* --- Image fallback to prevent broken-image icons --- */
img {
  max-width: 100%;
}

/* --- Print: keep it sane --- */
@media print {
  .site-header,
  .site-footer,
  .hamburger-menu,
  .header-actions,
  .skip-to-content,
  .channel-grid,
  .contact-map-section,
  .booking-summary-box {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
  }
}

/* ===========================================================
   Dashboard supplementary rules
   Layout pieces that previously lived as inline styles in
   src/views/dashboard.ejs. Color/borders/etc still come from
   the main .dashboard-content rules above (line ~1769+).
   =========================================================== */

.dashboard-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.dashboard-section-title {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  font-size: 1.3rem;
  color: var(--ink);
}

.dashboard-section-title svg {
  color: var(--accent);
}

.dashboard-content .empty-state {
  padding: 4rem 2rem !important;
  text-align: center;
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.dashboard-content .empty-state svg {
  color: rgba(255, 255, 255, 0.18);
}

.dashboard-content .empty-state p {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0;
}

.dashboard-content .ref-cell {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.88rem;
  color: var(--accent);
  white-space: nowrap;
}

.dashboard-content .cell-customer {
  display: grid;
  gap: 0.3rem;
}

.dashboard-content .cell-customer-name {
  color: var(--ink);
  font-weight: 600;
}

.dashboard-content .cell-customer-line {
  color: var(--muted);
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.dashboard-content .cell-locale-pill {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.05rem 0.4rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.15rem;
  letter-spacing: 0.04em;
}

.dashboard-content .cell-car-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
  font-family: "JetBrains Mono", monospace;
}

.dashboard-content .bookings-table {
  table-layout: fixed;
  min-width: 1080px;
}

.dashboard-content .bookings-table th:nth-child(1) {
  width: 11%;
}

.dashboard-content .bookings-table th:nth-child(2) {
  width: 23%;
}

.dashboard-content .bookings-table th:nth-child(3) {
  width: 18%;
}

.dashboard-content .bookings-table th:nth-child(4) {
  width: 24%;
}

.dashboard-content .bookings-table th:nth-child(5) {
  width: 9%;
}

.dashboard-content .bookings-table th:nth-child(6) {
  width: 10%;
}

.dashboard-content .bookings-table th:nth-child(7) {
  width: 12%;
}

.dashboard-content .bookings-table td {
  vertical-align: top;
}

.dashboard-content .cell-car-stack,
.dashboard-content .calendar-car-stack {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.dashboard-content .cell-car-meta,
.dashboard-content .calendar-car-info {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.dashboard-content .cell-car-name,
.dashboard-content .calendar-car-info strong {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  word-break: break-word;
}

.dashboard-content .calendar-car-info span {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dashboard-content .cell-car-preview,
.dashboard-content .calendar-car-preview {
  width: min(100%, 150px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(26, 31, 40, 0.92), rgba(10, 14, 19, 0.96));
}

.dashboard-content .cell-car-preview img,
.dashboard-content .calendar-car-preview img {
  display: block;
  width: 100%;
  height: 76px;
  object-fit: cover;
}

.dashboard-content .calendar-car-preview {
  width: 100px;
}

.dashboard-content .calendar-car-preview img {
  height: 58px;
}

.dashboard-content .cell-car-placeholder {
  min-height: 76px;
  display: grid;
  place-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dashboard-content .cell-car-placeholder svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-content .cell-car-placeholder--calendar {
  min-height: 58px;
}

.dashboard-content .bookings-table .cell-car-pill {
  width: fit-content;
}

.dashboard-content .inventory-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.dashboard-content .inventory-toolbar-actions {
  min-width: 0;
}

.dashboard-content .inventory-table {
  min-width: 1100px;
}

.dashboard-content .inventory-table th:nth-child(1) {
  width: 27%;
}

.dashboard-content .inventory-table th:nth-child(2) {
  width: 31%;
}

.dashboard-content .inventory-table th:nth-child(3) {
  width: 28%;
}

.dashboard-content .inventory-table th:nth-child(4) {
  width: 14%;
}

.dashboard-content .inventory-table td {
  vertical-align: top;
}

.dashboard-content .inventory-spec-grid,
.dashboard-content .inventory-pricing-grid {
  gap: 0.65rem;
}

.dashboard-content .inventory-control {
  padding: 0.7rem;
}

.dashboard-content .inventory-control .inv-input {
  min-height: 40px;
}

.dashboard-content .inventory-cell-actions .remove-row-btn {
  margin-top: 0.15rem;
}

.dashboard-content .cell-extras {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.dashboard-content .cell-extra-tag {
  font-size: 0.66rem;
  background: var(--accent);
  color: var(--dark-bg);
  font-weight: 800;
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dashboard-content .cell-dates {
  font-size: 0.85rem;
  display: grid;
  gap: 0.4rem;
}

.dashboard-content .cell-dates strong {
  color: var(--ink);
}

.dashboard-content .cell-dates .at {
  color: var(--muted);
}

.dashboard-content .cell-total {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gold-light);
  white-space: nowrap;
}

.dashboard-content .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dashboard-content .status-badge.pending::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.dashboard-content .actions-cell {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.dashboard-content .action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  padding: 0.5rem 0.9rem !important;
  white-space: nowrap;
}

.dashboard-content .action-btn svg {
  flex-shrink: 0;
}

.dashboard-content .action-btn[data-action="refused"],
.dashboard-content .btn-danger {
  border: 1px solid rgba(255, 107, 107, 0.45) !important;
  color: #ff8a8a !important;
  background: rgba(255, 107, 107, 0.06) !important;
}

.dashboard-content .action-btn[data-action="refused"]:hover,
.dashboard-content .btn-danger:hover {
  background: rgba(255, 107, 107, 0.14) !important;
  color: #ffb3b3 !important;
}

/* Calendar tab: tighter cells so the 14-day grid fits without wrap */
.dashboard-content .calendar-table {
  min-width: 860px;
}

.dashboard-content .calendar-table th {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.dashboard-content .calendar-table th.calendar-head-car {
  text-align: left;
  min-width: 160px;
  padding-left: 1rem !important;
}

.dashboard-content .calendar-table .calendar-car-cell {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  padding-left: 1rem !important;
}

.dashboard-content td.calendar-cell {
  padding: 0.6rem 0.4rem !important;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  min-width: 44px;
}

.dashboard-content td.calendar-cell.is-free {
  color: var(--muted);
  opacity: 0.5;
}

@media (max-width: 768px) {
  .dashboard-content .actions-cell {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-content .action-btn {
    justify-content: center;
  }
}

/* ===========================================================
   Booking success page (booking-success.ejs)
   =========================================================== */

.success-page {
  display: grid;
  gap: 1.75rem;
  padding: 2rem 0 4rem;
}

.success-hero {
  display: grid;
  gap: 0.85rem;
  justify-items: center;
  text-align: center;
  padding: 2.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(15, 20, 25, 0.75));
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.success-hero-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  color: var(--accent);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.success-hero h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  letter-spacing: -0.03em;
  color: var(--ink);
}

.success-hero-subtitle {
  margin: 0;
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.55;
}

.success-hero-ref {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
  padding: 0.55rem 1rem;
  background: rgba(10, 14, 19, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.success-hero-ref .eyebrow {
  background: transparent;
  padding: 0;
  color: var(--muted);
}

.success-hero-ref code {
  font-family: "JetBrains Mono", monospace;
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.success-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.success-card {
  background: linear-gradient(135deg, rgba(26, 31, 40, 0.95), rgba(15, 20, 25, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.success-card h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  color: var(--ink);
}

.success-card h2 svg {
  color: var(--accent);
  flex-shrink: 0;
}

.success-summary-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.success-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.success-summary-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.success-summary-row dt {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
  flex-shrink: 0;
}

.success-summary-row dd {
  color: var(--ink);
  font-size: 0.95rem;
  margin: 0;
  text-align: right;
  word-break: break-word;
}

.success-summary-total dd {
  color: var(--gold-light);
  font-weight: 800;
  font-size: 1.15rem;
}

.success-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--dark-bg);
  font-weight: 800;
  font-size: 0.7rem;
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-left: 0.3rem;
}

.success-tag:first-child {
  margin-left: 0;
}

.success-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.success-status-badge.success-status-pending {
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.success-status-badge.success-status-pending::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.success-promise p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 1.25rem 0;
}

.success-hours-title {
  margin: 0 0 0.7rem 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.success-working-hours {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.25rem 0;
  padding: 0.85rem 1rem;
  background: rgba(10, 14, 19, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.success-working-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.success-working-hours-row dt {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

.success-working-hours-row dd {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.success-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.success-channel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.success-channel-link svg {
  color: var(--accent);
  flex-shrink: 0;
}

.success-channel-link:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.3);
}

.success-steps-list {
  list-style: none;
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.success-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--ink);
  line-height: 1.5;
}

.success-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.85rem;
  font-family: "JetBrains Mono", monospace;
}

.success-cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(157, 138, 84, 0.06));
  border-color: rgba(212, 175, 55, 0.28);
}

.success-cta-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(212, 175, 55, 0.14);
  color: var(--accent);
  border: 1px solid rgba(212, 175, 55, 0.32);
}

.success-cta-body {
  flex: 1;
  display: grid;
  gap: 0.4rem;
}

.success-cta-body h2 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--ink);
}

.success-cta-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.success-cta-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.success-footer-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

@media (max-width: 860px) {
  .success-grid {
    grid-template-columns: 1fr;
  }

  .success-cta {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .success-summary-row {
    flex-direction: column;
    gap: 0.2rem;
  }

  .success-summary-row dd {
    text-align: left;
  }
}

/* Driver-prefill notice on the booking form */
.driver-prefill-notice {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  margin: 0 0 1rem 0;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 10px;
  font-size: 0.82rem;
  color: var(--ink);
}

.driver-prefill-notice > svg {
  color: var(--accent);
  flex-shrink: 0;
}

.driver-prefill-notice > span {
  flex: 1;
  min-width: 180px;
  line-height: 1.4;
}

.driver-prefill-forget {
  margin: 0;
}

.driver-prefill-forget button {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  text-decoration: underline;
  padding: 0.2rem 0.4rem;
  font-family: inherit;
}

.driver-prefill-forget button:hover {
  color: var(--accent);
}

.driver-prefill-notice--profile {
  background: rgba(120, 200, 200, 0.06);
  border-color: rgba(120, 200, 200, 0.22);
}

.driver-prefill-notice--profile > svg {
  color: #8ce0c2;
}

.driver-prefill-link {
  color: var(--accent);
  font-size: 0.78rem;
  text-decoration: underline;
  margin-left: auto;
}

/* ===========================================================
   Auth pages — login.ejs / register.ejs additions
   The base .login-container / .login-box / .login-form rules
   already exist; the helpers below cover OAuth, errors, and the
   info banners.
   =========================================================== */

.auth-error {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: #ffb3b3;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.auth-info {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--gold-light);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.auth-fineprint {
  margin: -0.4rem 0 0.6rem 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.auth-submit {
  width: 100%;
  margin-top: 0.4rem;
}

.auth-oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: #ffffff;
  color: #1f1f1f;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
  margin-bottom: 1rem;
}

.auth-oauth-btn:hover {
  filter: brightness(0.97);
  transform: translateY(-1px);
}

.auth-oauth-btn:active {
  transform: translateY(0);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1rem 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* Inline "switch to other tab" links inside the portal forms */
.tab-btn-switch {
  background: transparent;
  border: none;
  color: var(--accent);
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tab-btn-switch:hover {
  color: var(--gold-light);
}

.portal-panel[hidden] {
  display: none;
}

/* ===========================================================
   Account page (account.ejs)
   =========================================================== */

.account-container {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 0 4rem;
}

.account-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.6rem 1.75rem;
  background: linear-gradient(135deg, rgba(26, 31, 40, 0.98), rgba(15, 20, 25, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.account-header h1 {
  margin: 0.4rem 0 0.2rem 0;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--accent);
  letter-spacing: -0.03em;
}

.account-header .subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.account-header .eyebrow {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 1.25rem;
}

.account-card {
  background: linear-gradient(135deg, rgba(26, 31, 40, 0.95), rgba(15, 20, 25, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.account-card h2 {
  margin: 0 0 0.4rem 0;
  font-size: 1.15rem;
  color: var(--ink);
}

.account-card-lead {
  margin: 0 0 1.2rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.account-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.account-form {
  display: grid;
  gap: 0.85rem;
}

.account-form label {
  display: grid;
  gap: 0.35rem;
}

.account-form label > span {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.account-form input {
  padding: 0.75rem 0.9rem;
  background: rgba(10, 14, 19, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--ink);
  font-family: inherit;
}

.account-form input:focus {
  border-color: rgba(212, 175, 55, 0.55);
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.account-form input:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.account-fieldhint {
  color: var(--muted);
  font-size: 0.74rem;
  margin-top: 0.2rem;
}

.account-empty {
  display: grid;
  gap: 0.85rem;
  justify-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.account-empty svg {
  color: rgba(255, 255, 255, 0.18);
}

.account-empty p {
  margin: 0;
  color: var(--muted);
}

.account-bookings-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.account-booking {
  background: rgba(10, 14, 19, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.account-booking:hover {
  border-color: rgba(212, 175, 55, 0.25);
  background: rgba(10, 14, 19, 0.7);
}

.account-booking-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.account-booking-ref {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.account-booking-ref:hover {
  text-decoration: underline;
}

.account-booking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.account-booking-meta strong {
  color: var(--ink);
}

.account-booking-total {
  margin-left: auto;
  color: var(--gold-light);
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
}

.status-pill.status-pending {
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-light);
  border-color: rgba(212, 175, 55, 0.22);
}

.status-pill.status-accepted {
  background: rgba(15, 124, 88, 0.16);
  color: #8ce0c2;
  border-color: rgba(15, 124, 88, 0.22);
}

.status-pill.status-refused {
  background: rgba(255, 107, 107, 0.14);
  color: #ffb3b3;
  border-color: rgba(255, 107, 107, 0.2);
}

@media (max-width: 860px) {
  .account-grid {
    grid-template-columns: 1fr;
  }
  .account-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .account-booking-total {
    margin-left: 0;
  }
}

/* ==========================================================================
   BOOKING PAGE — TOS CHECKBOX & SUBMIT BUTTON
   ========================================================================== */

.tos-checkbox-row {
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  border: 1px dashed var(--line);
}

.tos-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.4;
}

.tos-checkbox-label input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  min-width: 1.2rem;
  margin-top: 0.15rem;
  cursor: pointer;
  accent-color: var(--accent);
}

.tos-checkbox-label a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}

.tos-checkbox-label a:hover {
  color: var(--gold-light);
}

#bookingSubmitBtn {
  transition: opacity 0.3s ease, filter 0.3s ease;
}

#bookingSubmitBtn:disabled {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
  filter: grayscale(1);
  pointer-events: none;
}

#bookingSubmitBtn:not(:disabled) {
  opacity: 1 !important;
  cursor: pointer !important;
  filter: none;
  pointer-events: auto;
}

/* ==========================================================================
   TERMS PAGE — HERO, SUMMARY MODULES, DOWNLOAD, FULL TEXT
   ========================================================================== */

.info-hero {
  text-align: center;
  padding: 3.5rem 2rem;
  margin-bottom: 2.5rem;
  background: var(--dark-bg);
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius);
}

.info-lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 720px;
  margin: 1rem auto 0;
  line-height: 1.6;
}

.terms-modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (max-width: 1100px) {
  .terms-modules-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .terms-modules-grid { grid-template-columns: 1fr; }
}

.terms-module-card {
  background: var(--panel);
  padding: 1.5rem 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.terms-module-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.terms-module-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--dark-bg);
  font-weight: 900;
  font-size: 0.85rem;
  font-family: "Outfit", sans-serif;
  margin-bottom: 0.75rem;
}

.terms-module-card h3 {
  color: var(--ink);
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  letter-spacing: 0;
}

.terms-module-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.terms-download-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2.5rem;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 3rem;
  text-align: center;
}

.terms-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  padding: 1rem 2.5rem;
}

.terms-download-hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.terms-full-text-section {
  margin-bottom: 4rem;
}

.terms-full-text-section h2 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.terms-full-text {
  max-height: 550px;
  overflow-y: auto;
  padding: 2.5rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ink);
  background: var(--dark-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scrollbar-color: var(--line) var(--bg);
}

.terms-full-text::-webkit-scrollbar {
  width: 6px;
}

.terms-full-text::-webkit-scrollbar-track {
  background: var(--bg);
}

.terms-full-text::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}

/* ==========================================================================
   CAR DETAILS PAGE
   ========================================================================== */

.car-details-page {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* ---- Back link ---- */
.back-link-wrap {
  margin-bottom: 1.5rem;
}

.text-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.text-link:hover {
  color: var(--gold-light);
  transform: translateX(-2px);
}

/* ---- Details Top — Image + Info ---- */
/* ---- Details Top — Image + Info ---- */
.details-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.details-image-wrap {
  background: linear-gradient(to top, rgba(10, 14, 19, 0.7) 0%, rgba(10, 14, 19, 0.3) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.details-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  display: block;
}

.details-info-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.details-info-wrap h1 {
  margin: 0;
  font-size: 1.9rem;
  color: var(--accent);
  line-height: 1.2;
}

.details-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---- Specs Grid ---- */
.details-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.details-specs-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.8rem;
  background: var(--dark-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 0.2s ease;
}

.details-specs-item:hover {
  border-color: var(--accent);
}

.spec-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: 6px;
}

.spec-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: var(--accent);
}

.details-specs-item div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.details-specs-item strong {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 600;
}

.details-specs-item span:not(.spec-icon) {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  font-family: "Outfit", sans-serif;
}

/* ---- Book Button inside info ---- */
.details-book-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
}

/* ---- Pricing Strip ---- */
.pricing-strip {
  background: var(--dark-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
}

.pricing-header {
  display: grid;
  grid-template-columns: 2fr repeat(5, 1fr);
  background: linear-gradient(135deg, var(--accent), var(--gold-dark));
  color: var(--dark-bg);
  font-weight: 800;
  font-family: "Outfit", sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem 1.5rem;
  gap: 0.5rem;
}

.pricing-header > div {
  text-align: center;
}

.pricing-header > div:first-child {
  text-align: left;
}

.pricing-row {
  display: grid;
  grid-template-columns: 2fr repeat(5, 1fr);
  align-items: center;
  padding: 1.25rem 1.5rem;
  gap: 0.5rem;
  border-top: 1px solid var(--line);
}

.pricing-row .car-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.pricing-row .car-name {
  font-weight: 700;
  color: var(--accent);
  font-size: 1rem;
}

.pricing-row .car-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

.pricing-row .price-val {
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  font-family: "Outfit", sans-serif;
}

.pricing-cta {
  padding: 1rem 1.5rem 1.25rem;
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--line);
}

.pricing-cta .btn {
  padding: 0.85rem 3rem;
  font-size: 0.95rem;
}

/* ---- Availability Calendar ---- */
.availability-section {
  background: var(--dark-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.availability-section h3 {
  margin: 0 0 1.25rem 0;
  font-size: 1.15rem;
  color: var(--accent);
  padding-left: 0.75rem;
  border-left: 3px solid var(--accent);
}

.calendar-wrapper {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.5rem;
}

.weekday-header {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.4rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--dark-bg);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  min-height: 72px;
}

.calendar-day .day-number {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: "Outfit", sans-serif;
  color: var(--ink);
  line-height: 1.1;
}

.calendar-day .month-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}

.calendar-day .day-status-indicator {
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Free state */
.calendar-day.is-free {
  border-color: rgba(46, 204, 113, 0.2);
}

.calendar-day.is-free:hover {
  border-color: #2ecc71;
  background: rgba(46, 204, 113, 0.05);
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.1);
  transform: translateY(-1px);
}

.calendar-day.is-free .day-status-indicator {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

/* Booked state */
.calendar-day.is-booked {
  border-color: rgba(231, 76, 60, 0.2);
}

.calendar-day.is-booked:hover {
  border-color: #e74c3c;
  background: rgba(231, 76, 60, 0.05);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.1);
  transform: translateY(-1px);
}

.calendar-day.is-booked .day-status-indicator {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

/* Past/disabled state */
.calendar-day.is-past {
  opacity: 0.4;
  background: rgba(255, 255, 255, 0.01);
  border-color: transparent;
  cursor: not-allowed;
}

.calendar-day.is-past .day-status-indicator {
  color: var(--muted);
  background: transparent;
  border: none;
}

/* Visually hidden helper */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---- Final CTA ---- */
.details-final-cta {
  text-align: center;
  padding: 3.5rem 2rem;
  background: var(--dark-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.details-final-cta h2 {
  margin: 0;
  font-size: 1.75rem;
  color: var(--ink);
}

.cta-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 400px;
}

.details-book-btn-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.2rem 3rem !important;
  font-size: 1.1rem !important;
  font-weight: 800;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--accent), var(--gold-dark));
  color: var(--dark-bg);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.35);
  transition: all 0.3s ease;
  text-decoration: none;
}

.details-book-btn-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(212, 175, 55, 0.45);
}

.contact-link-under {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
}

.contact-link-under:hover {
  color: var(--gold-light);
  text-decoration: underline;
  transform: translateY(-1px);
}

/* ---- Car Listing Card Image Gradient Background ---- */
.car-card img {
  background: linear-gradient(to top, rgba(10, 14, 19, 0.7) 0%, rgba(10, 14, 19, 0.3) 100%) !important;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .details-top {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .details-image-wrap {
    aspect-ratio: 16 / 10;
  }

  .pricing-header,
  .pricing-row {
    grid-template-columns: 1.5fr repeat(5, 1fr);
    font-size: 0.65rem;
    padding: 0.75rem 0.75rem;
    gap: 0.3rem;
  }

  .pricing-row .price-val {
    font-size: 0.85rem;
  }

  .pricing-row .car-name {
    font-size: 0.85rem;
  }

  .calendar-wrapper {
    padding: 1rem;
  }
  .calendar-grid {
    gap: 6px;
  }
  .calendar-day {
    min-height: 64px;
    padding: 0.5rem 0.3rem;
  }
  .calendar-day .day-number {
    font-size: 1rem;
  }
  .calendar-day .month-label {
    font-size: 0.6rem;
  }
  .calendar-day .day-status-indicator {
    width: 16px;
    height: 16px;
    font-size: 0.7rem;
    margin-top: 4px;
  }
}

@media (max-width: 600px) {
  .details-specs {
    grid-template-columns: 1fr;
  }

  .pricing-header,
  .pricing-row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    text-align: center;
  }

  .pricing-header > div:first-child,
  .pricing-row .car-info {
    text-align: center;
  }

  .pricing-row .car-info {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--line);
  }

  .calendar-wrapper {
    padding: 0.75rem;
  }
  .calendar-grid {
    gap: 4px;
  }
  .calendar-day {
    min-height: 58px;
    padding: 0.4rem 0.2rem;
  }
  .calendar-day .day-number {
    font-size: 0.95rem;
  }
  .calendar-day .month-label {
    font-size: 0.55rem;
  }
  .calendar-day .day-status-indicator {
    width: 14px;
    height: 14px;
    font-size: 0.65rem;
    margin-top: 4px;
  }

  .details-book-btn-large {
    width: 100%;
  }
}
