:root {
  --ink: #151515;
  --muted: #687076;
  --line: #dde2e4;
  --paper: #ffffff;
  --soft: #f5f6f7;
  --panel: #eceff1;
  --primary: #d71920;
  --primary-dark: #9f1017;
  --accent: #ffd200;
  --dark: #0d0f10;
  --success: #14855f;
  --whatsapp: #25d366;
  --shadow: 0 18px 44px rgba(13, 15, 16, 0.16);
  --control-shadow: 0 10px 26px rgba(20, 28, 32, 0.08);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.admin-mode {
  background: #eef0f2;
}

section {
  scroll-margin-top: 124px;
}

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(13, 15, 16, 0.96);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 34px rgba(7, 10, 12, 0.24);
}

.header-shell {
  width: min(1760px, 100%);
  margin: 0 auto;
  padding: 0 clamp(18px, 3.4vw, 76px);
}

.header-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 4vw, 92px);
  min-height: 66px;
}

.brand,
.nav-links a,
.header-action,
.primary-button,
.secondary-button,
.ghost-button,
.booking-dock button[type="submit"],
.vehicle-card button,
.admin-tabs button,
.small-button,
.icon-button {
  display: inline-flex;
  align-items: center;
}

.brand {
  min-width: 0;
  justify-self: start;
}

.booking-dock > *,
.featured-grid > *,
.vehicle-grid > *,
.service-grid > *,
.footer-shell > *,
.admin-grid > *,
.admin-form-grid > *,
.stat-grid > *,
.lead-list > * {
  min-width: 0;
}

.brand-frame {
  display: block;
  border: 2px solid var(--accent);
  border-radius: 4px;
  padding: 7px 13px 8px;
  background: rgba(255, 255, 255, 0.035);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  align-self: stretch;
  justify-self: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.91rem;
  font-weight: 900;
}

.nav-links a {
  position: relative;
  justify-content: center;
  min-height: 66px;
  padding: 0 clamp(16px, 1.35vw, 28px);
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: clamp(16px, 1.35vw, 28px);
  right: clamp(16px, 1.35vw, 28px);
  bottom: 0;
  height: 2px;
  background: transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.045);
}

.nav-links a[aria-current="page"]::after {
  background: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}

.header-action {
  display: grid;
  gap: 2px;
  min-height: 42px;
  border-left: 3px solid var(--accent);
  padding: 3px 0 3px 14px;
  color: #ffffff;
  font-weight: 950;
}

.header-action span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.64rem;
  text-transform: uppercase;
}

.header-action strong {
  font-size: 0.92rem;
  line-height: 1.1;
  white-space: nowrap;
}

.header-action:hover {
  color: var(--accent);
}

.mobile-menu-button,
.mobile-menu-close,
.mobile-nav-backdrop {
  display: none;
}

.mobile-menu-button,
.mobile-menu-close {
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.mobile-menu-button svg,
.mobile-menu-close svg {
  width: 21px;
  height: 21px;
  stroke-width: 2.2;
}

.hero {
  position: relative;
  display: grid;
  min-height: 990px;
  overflow: hidden;
  color: #ffffff;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.62) 43%, rgba(10, 10, 10, 0.14) 100%),
    linear-gradient(0deg, rgba(10, 10, 10, 0.64) 0%, rgba(10, 10, 10, 0.08) 46%, rgba(10, 10, 10, 0.22) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 88vw);
  padding: 126px 5vw 220px;
  align-self: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero h1,
.section-head h2,
.modal-panel h2,
.admin-topbar h1 {
  margin: 0;
  line-height: 1.03;
}

.hero h1 {
  max-width: 650px;
  font-size: 4.25rem;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.16rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.secondary-button,
.ghost-button,
.booking-dock button[type="submit"],
.vehicle-card button,
.small-button,
.icon-button {
  min-height: 46px;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  border: 0;
  padding: 0 16px;
  font-weight: 950;
}

.primary-button,
.booking-dock button[type="submit"],
.vehicle-card button {
  background: var(--primary);
  color: #ffffff;
}

.primary-button:hover,
.booking-dock button[type="submit"]:hover,
.vehicle-card button:hover {
  background: var(--primary-dark);
}

.secondary-button,
.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.ghost-button {
  border-color: var(--line);
  color: var(--ink);
  background: #ffffff;
}

.ghost-button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 34px 0 0;
}

.hero-metrics div {
  min-width: 110px;
  border-left: 4px solid var(--accent);
  padding-left: 12px;
}

.hero-metrics dt {
  font-size: 1.75rem;
  font-weight: 950;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.booking-dock {
  position: absolute;
  z-index: 2;
  left: 5vw;
  right: 5vw;
  bottom: 28px;
  display: grid;
  gap: 20px;
  width: min(1180px, 90vw);
  margin: 0 auto;
  padding: 34px 42px 32px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-bottom: 5px solid var(--accent);
  border-radius: 18px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(7, 14, 16, 0.3);
}

@media (min-width: 1181px) {
  .hero {
    grid-template-columns: minmax(360px, 0.42fr) minmax(650px, 0.58fr);
    gap: 48px;
    align-items: center;
    min-height: 940px;
    padding: 126px 5vw 88px;
  }

  .hero-content {
    align-self: center;
    width: 100%;
    max-width: 650px;
    padding: 0;
  }

  .hero-copy {
    max-width: 540px;
  }

  .booking-dock {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    align-self: center;
    justify-self: end;
    width: 100%;
    max-width: 1120px;
    margin: 0;
  }
}

.booking-panel-head {
  max-width: 760px;
}

.booking-panel-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.08;
}

.booking-panel-head p,
.booking-panel-bottom p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

label span,
.addons legend,
.admin-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.location-input-shell,
input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d8dde0;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #ffffff;
  box-shadow: var(--control-shadow);
}

.booking-location-stack {
  display: grid;
  gap: 18px;
}

.location-combobox {
  position: relative;
  display: grid;
  gap: 9px;
}

.location-combobox > span,
.booking-date-group > span {
  margin: 0;
  line-height: 1.18;
}

.return-location-field {
  margin-top: 2px;
}

.location-input-shell {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 42px;
  align-items: center;
  min-height: 66px;
  padding: 0 12px 0 18px;
  box-shadow: none;
}

.location-input-shell:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.1);
}

.location-input-shell > svg {
  width: 24px;
  height: 24px;
  color: #697177;
}

.location-input-shell input {
  min-height: 62px;
  border: 0;
  padding: 0 12px;
  box-shadow: none;
  font-size: 1.08rem;
  font-weight: 850;
  outline: 0;
}

.location-target {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--primary);
  background: #fff3f4;
}

.location-target:hover {
  background: #ffe2e5;
}

.location-suggestions {
  position: absolute;
  z-index: 8;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 24px 54px rgba(12, 18, 20, 0.18);
}

.location-suggestions.open {
  display: grid;
}

.location-suggestions button,
.location-empty {
  display: grid;
  gap: 2px;
  border: 0;
  border-bottom: 1px solid #edf0f1;
  padding: 12px 16px;
  background: #ffffff;
  color: var(--ink);
  text-align: left;
}

.location-suggestions button:last-child {
  border-bottom: 0;
}

.location-suggestions button:hover,
.location-suggestions button.active {
  background: #fff5f5;
}

.location-suggestions strong {
  font-size: 0.98rem;
}

.location-suggestions span,
.location-empty {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.return-toggle {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 2px 0 0;
  gap: 12px;
  color: var(--ink);
  font-weight: 850;
}

.return-toggle input {
  width: 24px;
  min-height: 24px;
  height: 24px;
  box-shadow: none;
  accent-color: var(--primary);
}

.return-toggle span {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  text-transform: none;
}

.booking-date-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr);
  gap: 22px;
  align-items: end;
}

.booking-date-group {
  display: grid;
  gap: 8px;
}

.date-time-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 10px;
}

.booking-flow-arrow {
  display: grid;
  min-height: 48px;
  place-items: center;
  color: var(--primary);
}

.booking-flow-arrow svg {
  width: 44px;
  height: 44px;
  stroke-width: 2.4;
}

@media (min-width: 1181px) and (max-width: 1500px) {
  .booking-date-flow {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .booking-flow-arrow {
    display: none;
  }
}

.booking-panel-bottom {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 16px;
}

.booking-panel-bottom p {
  margin: 0;
  max-width: 390px;
}

.booking-panel-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.booking-dock button[type="submit"] {
  min-width: 236px;
  min-height: 64px;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 1.12rem;
  text-transform: uppercase;
}

.booking-whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 236px;
  min-height: 64px;
  gap: 8px;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--whatsapp);
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.22);
  white-space: nowrap;
}

.booking-whatsapp-button:hover {
  filter: brightness(0.95);
}

.booking-whatsapp-button svg {
  width: 24px;
  height: 24px;
}

select {
  -webkit-appearance: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #5d666d 50%),
    linear-gradient(135deg, #5d666d 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 12px) 21px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

input[type="color"] {
  min-height: 46px;
  padding: 4px;
}

input[type="checkbox"] {
  width: 20px;
  min-height: 20px;
  box-shadow: none;
  accent-color: var(--primary);
}

textarea {
  min-height: 120px;
  padding-top: 12px;
  resize: vertical;
  line-height: 1.45;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(255, 210, 0, 0.6);
  outline-offset: 2px;
}

.featured-section,
.inventory-section,
.service-band {
  padding: 72px 5vw;
}

body:not(.vehicles-mode) .vehicle-page {
  display: none;
}

body.vehicles-mode .home-view {
  display: none;
}

.vehicle-page {
  min-height: calc(100vh - 74px);
  padding-top: 88px;
}

.section-head {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-head h2 {
  font-size: 2.55rem;
}

.section-head p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.fleet-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 24px;
  align-items: start;
}

.featured-section {
  background: #ffffff;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.featured-card .vehicle-body {
  padding: 16px;
}

.featured-card .specs {
  display: none;
}

.featured-card .vehicle-media {
  aspect-ratio: 16 / 8.4;
}

.featured-all {
  width: fit-content;
  margin-top: 22px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.filter-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  background: #ffffff;
  color: var(--muted);
  font-weight: 950;
}

.filter-button.active,
.filter-button:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #fff4f4;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.vehicle-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(28, 38, 39, 0.08);
}

.vehicle-card.selected {
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(215, 25, 32, 0.16);
}

.vehicle-media {
  position: relative;
  display: grid;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  place-items: center;
  background: var(--panel);
}

.deal-badge {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.18);
  font-size: 0.78rem;
  font-weight: 950;
}

.vehicle-media img {
  display: block;
  width: 220%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.vehicle-card[data-focus="left"] .vehicle-media img {
  transform: translateX(0);
}

.vehicle-card[data-focus="center"] .vehicle-media img {
  transform: translateX(-28%);
}

.vehicle-card[data-focus="right"] .vehicle-media img {
  transform: translateX(-52%);
}

.vehicle-card[data-focus="full"] .vehicle-media img {
  width: 100%;
  max-width: 100%;
  object-fit: contain;
  transform: none;
}

.vehicle-body {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.vehicle-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.vehicle-card h3 {
  margin: 0;
  font-size: 1.16rem;
}

.vehicle-card .class {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.price {
  text-align: right;
  white-space: nowrap;
}

.price strong {
  display: block;
  color: var(--primary);
  font-size: 1.22rem;
}

.price del {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.price span {
  color: var(--muted);
  font-size: 0.84rem;
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.93rem;
}

.specs li {
  position: relative;
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--soft);
}

.specs li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--primary);
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 28px;
  color: var(--muted);
  background: #ffffff;
  font-weight: 800;
}

.contact-page,
.corporate-page {
  min-height: calc(100vh - 110px);
  padding: 134px 5vw 70px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f6f7 100%);
}

.contact-hero {
  width: min(930px, 100%);
  margin: 0 auto 28px;
}

.contact-hero h1 {
  margin: 0;
  font-size: 2.75rem;
  line-height: 1.06;
}

.contact-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 22px;
  align-items: stretch;
  width: min(930px, 100%);
  margin: 0 auto;
}

.corporate-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(1050px, 100%);
  margin: 0 auto;
}

.contact-card,
.company-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(28, 38, 39, 0.07);
}

.contact-card {
  border-left: 6px solid var(--accent);
}

.contact-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-card h2,
.company-card h2 {
  margin: 0 0 16px;
  font-size: 1.48rem;
  line-height: 1.16;
}

.contact-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.secondary-button.dark {
  border-color: var(--line);
  color: var(--ink);
  background: #ffffff;
}

.company-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.company-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.company-list div {
  display: grid;
  gap: 5px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.company-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.company-list dd {
  margin: 0;
  font-weight: 900;
  line-height: 1.45;
}

.quote-panel {
  position: sticky;
  top: 88px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--accent);
  border-radius: 8px;
  padding: 22px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.quote-topline,
.total-row,
.quote-details div,
.addons label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.quote-topline {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 950;
}

.quote-topline strong {
  color: var(--primary);
}

.quote-panel h3 {
  margin: 16px 0 18px;
  font-size: 1.45rem;
}

.quote-location-editor {
  gap: 12px;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8fafb;
}

.quote-location-editor .location-input-shell {
  min-height: 50px;
  grid-template-columns: 20px minmax(0, 1fr) 34px;
  padding: 0 8px 0 12px;
  background: #ffffff;
}

.quote-location-editor .location-input-shell input {
  min-height: 48px;
  padding: 0 8px;
  font-size: 0.96rem;
}

.quote-location-editor .location-target {
  width: 32px;
  height: 32px;
}

.quote-location-editor .return-toggle {
  gap: 9px;
  font-size: 0.88rem;
}

.quote-location-editor .return-toggle input {
  width: 20px;
  min-height: 20px;
  height: 20px;
}

.quote-date-editor {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8fafb;
}

.quote-date-editor label {
  display: grid;
  gap: 7px;
}

.quote-date-editor label > span {
  margin: 0;
}

.quote-date-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 8px;
}

.quote-date-grid input,
.quote-date-grid select {
  min-height: 42px;
  padding: 0 10px;
  box-shadow: none;
}

.quote-details {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

.quote-details dt {
  color: var(--muted);
  font-weight: 850;
}

.quote-details dd {
  margin: 0;
  text-align: right;
  font-weight: 900;
}

.addons {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 0 0 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.addons label {
  min-height: 38px;
  color: var(--ink);
}

.addons input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--primary);
}

.addons label span {
  flex: 1;
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  text-transform: none;
}

.addons strong {
  font-size: 0.9rem;
}

.total-row {
  margin-bottom: 18px;
}

.total-row span {
  color: var(--muted);
  font-weight: 950;
}

.total-row strong {
  color: var(--primary);
  font-size: 1.8rem;
}

.wide {
  width: 100%;
}

.service-band {
  background: #ffffff;
}

.compact {
  margin-bottom: 26px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-grid article {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--soft);
}

.service-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(215, 25, 32, 0.18);
  border-radius: 8px;
  background: #ffffff;
  color: var(--primary);
}

.service-icon svg {
  width: 23px;
  height: 23px;
}

.service-grid h3 {
  margin: 28px 0 10px;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--success);
  font-weight: 950;
}

.site-footer {
  padding: 26px 5vw 18px;
  background: #101314;
  color: #ffffff;
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.6fr 1.3fr;
  gap: 24px;
  align-items: start;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-main {
  display: grid;
  gap: 12px;
}

.footer-brand {
  display: inline-block;
  width: fit-content;
}

.footer-brand strong {
  font-size: 1.2rem;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
  font-weight: 800;
}

.footer-about,
.footer-legal {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
}

.footer-column {
  display: grid;
  gap: 8px;
}

.footer-column h2,
.footer-column h3 {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-contact a,
.footer-column a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 21px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
}

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

.footer-contact {
  display: grid;
  gap: 5px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.footer-contact strong {
  color: #ffffff;
  line-height: 1.25;
}

.footer-contact span {
  line-height: 1.3;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, 100%);
  margin: 18px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.84rem;
}

.floating-actions {
  position: fixed;
  z-index: 50;
  left: 10px;
  bottom: 18px;
  display: grid;
  gap: 10px;
}

.floating-button {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(10, 14, 16, 0.24);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.floating-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 18px 38px rgba(10, 14, 16, 0.3);
}

.floating-button.phone {
  background: var(--primary);
}

.floating-button.whatsapp {
  background: var(--whatsapp);
}

.floating-button svg {
  width: 25px;
  height: 25px;
}

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

.admin-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 0;
  padding-top: 74px;
  background: #eef1f3;
}

body.admin-mode #site-view {
  display: none;
}

body.admin-mode .floating-actions {
  display: none;
}

.admin-sidebar {
  position: sticky;
  top: 74px;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 74px);
  overflow: auto;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 210, 0, 0.08), rgba(255, 210, 0, 0) 190px),
    #101314;
  color: #ffffff;
  padding: 22px;
}

.admin-nav-backdrop,
.admin-mobile-bar {
  display: none;
}

.admin-mobile-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
}

.admin-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-brand-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 210, 0, 0.5);
  border-radius: 8px;
  background: rgba(255, 210, 0, 0.08);
  color: var(--accent);
}

.admin-brand-icon svg {
  width: 22px;
  height: 22px;
}

.admin-brand strong,
.admin-brand small {
  display: block;
}

.admin-brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.64);
}

.admin-tabs {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.admin-tabs button {
  gap: 10px;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  padding: 0 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 900;
  text-align: left;
}

.admin-tabs button:hover,
.admin-tabs button.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.admin-side-actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
}

.admin-side-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.84);
  font-weight: 950;
}

.admin-side-link:hover {
  border-color: rgba(255, 210, 0, 0.5);
  color: #ffffff;
}

.admin-side-link.danger {
  color: #ffd7d9;
}

.admin-side-link svg {
  width: 19px;
  height: 19px;
  color: var(--accent);
}

.admin-workspace {
  min-width: 0;
  padding: 24px 4vw 70px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(25, 30, 34, 0.06);
}

.admin-topbar h1 {
  font-size: 2.2rem;
}

.admin-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.admin-status span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  border: 1px solid #dce2e6;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--muted);
  background: #f7f9fa;
  font-size: 0.82rem;
  font-weight: 900;
}

.admin-status svg {
  width: 15px;
  height: 15px;
  color: var(--success);
}

.admin-content {
  display: grid;
  gap: 18px;
}

.admin-content.narrow {
  max-width: 520px;
}

.admin-save-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(25, 30, 34, 0.06);
}

.admin-save-bar > span {
  margin-right: auto;
  color: var(--muted);
  font-weight: 900;
}

.admin-save-bar .primary-button {
  min-width: 150px;
}

body.admin-login-state .admin-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 1fr;
  place-items: center;
  padding: 26px 16px;
  background:
    linear-gradient(140deg, rgba(255, 210, 0, 0.13), rgba(255, 210, 0, 0) 42%),
    #eef1f3;
}

body.admin-login-state .admin-sidebar,
body.admin-login-state .admin-topbar,
body.admin-login-state .admin-mobile-bar,
body.admin-login-state .admin-save-bar {
  display: none !important;
}

body.admin-login-state .admin-workspace {
  width: min(460px, 100%);
  padding: 0;
}

body.admin-login-state #admin-content {
  width: 100%;
}

.admin-login-card {
  display: grid;
  gap: 16px;
  padding: 30px;
}

.admin-login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.admin-login-brand strong,
.admin-login-brand small {
  display: block;
}

.admin-login-brand small {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 900;
}

.admin-login-card h1 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.05;
}

.admin-lock-note {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 12px;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 850;
  line-height: 1.4;
}

.login-card {
  align-content: start;
  gap: 14px;
}

.admin-login-form {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.admin-login-form label {
  display: grid;
  gap: 8px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(25, 30, 34, 0.06);
}

.admin-card.full {
  grid-column: 1 / -1;
}

.admin-card h2,
.admin-card h3 {
  margin: 0 0 16px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-form-grid .wide-field {
  grid-column: 1 / -1;
}

.derived-field {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 12px;
  background: var(--soft);
}

.derived-field span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.derived-field strong {
  overflow-wrap: anywhere;
  color: var(--primary);
  font-size: 0.98rem;
  line-height: 1.25;
}

.derived-field small {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.repeater {
  display: grid;
  gap: 12px;
}

.repeater-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--soft);
}

.repeater-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.repeater-head strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.repeater-actions {
  display: flex;
  gap: 8px;
}

.small-button,
.icon-button {
  min-height: 38px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
}

.small-button.primary {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.small-button.danger,
.icon-button.danger {
  border-color: #f1c9cc;
  color: var(--primary);
}

.icon-button {
  width: 38px;
  padding: 0;
}

.json-box {
  min-height: 280px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
}

.compact-json {
  min-height: 130px;
}

.admin-page .admin-shell {
  padding-top: 0;
}

.admin-page .admin-sidebar {
  top: 0;
  height: 100vh;
}

.admin-brand {
  color: inherit;
  text-decoration: none;
}

.stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  display: grid;
  gap: 10px;
  align-content: start;
}

.stat-card strong {
  font-size: 2.2rem;
  line-height: 1;
}

.stat-card > span:last-child {
  color: var(--muted);
  font-weight: 900;
}

.lead-list {
  display: grid;
  gap: 12px;
}

.lead-list.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lead-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #f8fafb;
}

.lead-card > div:first-child {
  display: grid;
  gap: 4px;
}

.lead-card strong {
  font-size: 1rem;
}

.lead-card a {
  color: var(--primary);
  font-weight: 900;
}

.lead-card span,
.lead-card small,
.lead-card p {
  margin: 0;
  color: var(--muted);
}

.lead-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.lead-actions select {
  min-height: 38px;
}

.vehicle-admin-card {
  overflow: hidden;
}

.vehicle-manager {
  display: grid;
  gap: 16px;
}

.discount-manager {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  gap: 18px;
  align-items: end;
  border-left: 5px solid var(--accent);
}

.discount-manager h2 {
  margin-bottom: 8px;
}

.discount-manager .helper-text {
  margin: 0;
}

.vehicle-admin-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px 150px;
  gap: 12px;
}

.vehicle-admin-list {
  display: grid;
  gap: 10px;
}

.vehicle-admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8fafb;
}

.vehicle-admin-row.active {
  border-color: var(--primary);
  background: #fff5f5;
}

.vehicle-admin-title {
  display: flex;
  min-width: 0;
  gap: 12px;
  align-items: center;
}

.vehicle-admin-title img {
  width: 84px;
  height: 54px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  object-fit: contain;
  background: #ffffff;
}

.vehicle-admin-title div {
  min-width: 0;
}

.vehicle-admin-title strong,
.vehicle-admin-title span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vehicle-admin-title span {
  margin-top: 3px;
  color: var(--muted);
}

.vehicle-admin-meta {
  display: grid;
  gap: 3px;
  text-align: right;
  white-space: nowrap;
}

.vehicle-admin-meta strong {
  color: var(--primary);
}

.vehicle-admin-meta span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 900;
}

.vehicle-editor-backdrop {
  position: fixed;
  z-index: 95;
  inset: 0;
  background: rgba(8, 12, 14, 0.42);
}

.vehicle-editor-panel {
  position: fixed;
  z-index: 96;
  top: 18px;
  right: 18px;
  bottom: 18px;
  width: min(640px, calc(100vw - 36px));
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.vehicle-editor-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.checkbox-field {
  display: flex;
  min-height: 45px;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 12px;
  background: #ffffff;
  font-weight: 900;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.upload-field input {
  padding: 11px;
  cursor: pointer;
}

.featured-admin-list {
  display: grid;
  gap: 10px;
  max-height: 520px;
  overflow: auto;
  padding-right: 4px;
}

.helper-text {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.modal {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7, 10, 12, 0.68);
}

.modal.open {
  display: flex;
}

.modal-panel {
  position: relative;
  width: min(520px, 100%);
  border-top: 6px solid var(--accent);
  border-radius: 8px;
  padding: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.modal-panel h2 {
  font-size: 2rem;
}

.modal-panel p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.reservation-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.reservation-form .wide {
  width: 100%;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
}

.toast {
  position: fixed;
  z-index: 60;
  right: 18px;
  bottom: 18px;
  max-width: min(360px, calc(100vw - 36px));
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  padding: 13px 16px;
  background: #151515;
  color: #ffffff;
  box-shadow: var(--shadow);
  font-weight: 900;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.mobile-quote-bar {
  display: none;
}

@media (max-width: 1180px) {
  .header-shell {
    padding: 0 clamp(14px, 2.8vw, 38px);
  }

  .header-main {
    gap: clamp(16px, 2.4vw, 34px);
  }

  .nav-links {
    gap: 2px;
    font-size: 0.86rem;
  }

  .nav-links a {
    padding: 0 clamp(11px, 1vw, 16px);
  }

  .nav-links a::after {
    left: clamp(11px, 1vw, 16px);
    right: clamp(11px, 1vw, 16px);
  }

  .header-action strong {
    font-size: 0.84rem;
  }

  .booking-dock {
    padding: 30px;
  }

  .booking-date-flow {
    grid-template-columns: 1fr;
  }

  .booking-flow-arrow {
    display: none;
  }

  .fleet-layout {
    grid-template-columns: 1fr;
  }

  .featured-grid,
  .footer-shell,
  .corporate-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-grid,
  .lead-list.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-panel {
    position: static;
    order: -1;
  }

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

  .admin-form-grid .wide-field {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .header-shell {
    padding: 0 14px;
  }

  .header-main {
    grid-template-columns: auto minmax(0, 1fr) 40px;
    gap: 10px;
    min-height: 56px;
    padding: 0;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: end;
  }

  .nav-links {
    position: fixed;
    z-index: 85;
    top: 0;
    right: 0;
    bottom: 0;
    display: grid;
    align-content: start;
    align-self: auto;
    grid-auto-rows: max-content;
    width: min(318px, 84vw);
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    gap: 0;
    padding: 16px 18px 22px;
    overflow-y: auto;
    background: #101314;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.96rem;
    box-shadow: -26px 0 56px rgba(4, 7, 9, 0.42);
    transform: translateX(105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 180ms ease;
    scrollbar-width: thin;
  }

  body.mobile-nav-open .nav-links {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links a {
    justify-content: flex-start;
    min-height: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    padding: 0;
    white-space: nowrap;
  }

  .nav-links a::after {
    left: 0;
    right: auto;
    width: 42px;
    height: 2px;
  }

  .header-action {
    min-height: 34px;
    padding-left: 10px;
  }

  .header-action span {
    font-size: 0.66rem;
  }

  .header-action strong {
    font-size: 0.82rem;
  }

  .mobile-menu-button {
    display: inline-grid;
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    width: 38px;
    height: 38px;
    padding: 0;
  }

  .mobile-menu-close {
    display: inline-grid;
    justify-self: end;
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
    padding: 0;
  }

  .mobile-nav-backdrop {
    position: fixed;
    z-index: 84;
    inset: 0;
    border: 0;
    padding: 0;
    background: rgba(5, 8, 10, 0.56);
  }

  body.mobile-nav-open {
    overflow: hidden;
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 96px 4vw 34px;
  }

  .hero-content {
    width: 100%;
    padding: 0;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

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

  .booking-dock {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin: 26px 0 0;
    gap: 14px;
    border-radius: 12px;
    border-bottom-width: 3px;
    padding: 18px;
    box-shadow: 0 18px 42px rgba(7, 14, 16, 0.22);
  }

  .booking-panel-head p {
    display: none;
  }

  .booking-panel-bottom {
    display: grid;
  }

  .booking-panel-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .booking-dock button[type="submit"] {
    width: 100%;
    min-width: 0;
  }

  .booking-whatsapp-button {
    width: 100%;
    min-width: 0;
  }

  .vehicle-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-grid {
    width: 100%;
  }

  .vehicle-card {
    width: 100%;
    min-width: 0;
  }

  .vehicle-media img {
    width: 100%;
    max-width: 100%;
    object-fit: contain;
    transform: none;
  }

  .featured-grid,
  .footer-shell,
  .contact-layout,
  .corporate-layout {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 22px 4vw 16px;
  }

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

  .footer-main {
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 8px;
  }

  .footer-about,
  .footer-legal {
    display: none;
  }

  .footer-brand .brand-frame {
    padding: 7px 10px 8px;
  }

  .footer-column {
    gap: 6px;
  }

  .footer-column a,
  .footer-contact,
  .footer-contact span {
    font-size: 0.84rem;
  }

  .footer-bottom {
    display: block;
    gap: 6px;
    margin-top: 18px;
    padding-top: 10px;
    font-size: 0.78rem;
  }

  .section-head h2 {
    font-size: 2.05rem;
  }

  .contact-page,
  .corporate-page {
    padding: 172px 4vw 58px;
  }

  body.vehicles-mode .vehicle-page {
    padding-top: 82px;
    padding-bottom: 132px;
  }

  body.vehicles-mode .section-head {
    margin-bottom: 14px;
  }

  body.vehicles-mode .section-head h2 {
    font-size: 1.95rem;
  }

  body.vehicles-mode .section-head p:not(.eyebrow) {
    margin-top: 8px;
    font-size: 0.92rem;
    line-height: 1.5;
  }

  body.vehicles-mode .fleet-layout {
    gap: 16px;
  }

  body.vehicles-mode .quote-panel {
    border-top-width: 4px;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 12px 30px rgba(7, 10, 12, 0.1);
  }

  .quote-topline {
    font-size: 0.82rem;
  }

  .quote-panel h3 {
    margin: 8px 0 10px;
    font-size: 1.24rem;
  }

  .quote-location-editor,
  .quote-date-editor {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
    padding: 10px;
  }

  .quote-location-editor .location-combobox,
  .quote-date-editor label {
    gap: 6px;
  }

  .quote-location-editor .location-combobox > span,
  .quote-date-editor label > span {
    font-size: 0.74rem;
  }

  .quote-location-editor .location-input-shell {
    min-height: 44px;
    grid-template-columns: 18px minmax(0, 1fr) 30px;
    padding-left: 10px;
  }

  .quote-location-editor .location-input-shell input {
    min-height: 42px;
    font-size: 0.88rem;
  }

  .quote-location-editor .location-target {
    width: 28px;
    height: 28px;
  }

  .quote-location-editor .return-toggle {
    width: 100%;
    gap: 8px;
  }

  .quote-location-editor .return-toggle input {
    width: 18px;
    min-height: 18px;
    height: 18px;
  }

  .quote-location-editor .return-toggle span {
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .quote-date-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .quote-date-grid input,
  .quote-date-grid select {
    min-height: 38px;
    padding: 0 9px;
    font-size: 0.9rem;
  }

  .quote-details {
    gap: 8px;
    padding-bottom: 10px;
    font-size: 0.88rem;
  }

  .addons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 10px 0;
    padding-bottom: 10px;
  }

  .addons legend {
    grid-column: 1 / -1;
  }

  .addons label {
    display: grid;
    align-content: start;
    min-height: 58px;
    gap: 4px;
    border: 1px solid #e3e8eb;
    border-radius: 8px;
    padding: 8px;
    background: #ffffff;
  }

  .addons input {
    width: 16px;
    min-height: 16px;
    height: 16px;
  }

  .addons label span {
    font-size: 0.78rem;
    line-height: 1.15;
  }

  .addons strong {
    font-size: 0.74rem;
    line-height: 1.15;
  }

  .total-row {
    margin-bottom: 10px;
  }

  .total-row strong {
    font-size: 1.36rem;
  }

  .contact-hero h1 {
    font-size: 2.3rem;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: fixed;
    z-index: 82;
    inset: 0 auto 0 0;
    width: min(320px, 86vw);
    height: 100vh;
    transform: translateX(-105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 180ms ease;
  }

  body.admin-nav-open .admin-sidebar {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .admin-nav-backdrop {
    position: fixed;
    z-index: 81;
    inset: 0;
    background: rgba(8, 12, 14, 0.5);
  }

  body.admin-nav-open .admin-nav-backdrop {
    display: block;
  }

  .admin-mobile-bar {
    position: sticky;
    z-index: 90;
    top: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(25, 30, 34, 0.06);
  }

  .admin-mobile-bar strong {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-mobile-actions {
    margin-left: auto;
  }

  .admin-tabs {
    grid-template-columns: 1fr;
  }

  .admin-workspace {
    padding: 14px 4vw 54px;
  }

  .admin-save-bar {
    position: sticky;
    z-index: 50;
    bottom: 10px;
    margin-top: 16px;
  }

  .admin-page .admin-sidebar {
    height: 100vh;
  }

  .admin-page .admin-topbar {
    position: static;
  }

  .vehicle-admin-tools,
  .discount-manager,
  .vehicle-admin-row {
    grid-template-columns: 1fr;
  }

  .vehicle-admin-meta {
    text-align: left;
  }

  .vehicle-admin-row .repeater-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px 38px;
  }

  body.vehicles-mode .vehicle-page {
    padding-bottom: 132px;
  }

  body.vehicles-mode .mobile-quote-bar:not([hidden]) {
    position: fixed;
    z-index: 45;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    left: max(12px, env(safe-area-inset-left));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(18, 24, 28, 0.12);
    border-top: 3px solid var(--accent);
    border-radius: 12px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--ink);
    box-shadow: 0 18px 44px rgba(7, 10, 12, 0.22);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  .mobile-quote-bar div {
    min-width: 0;
  }

  .mobile-quote-bar > div:first-child {
    display: grid;
    gap: 2px;
  }

  .mobile-quote-bar > div:last-child {
    display: grid;
    grid-template-columns: auto minmax(98px, auto);
    gap: 8px;
    align-items: center;
  }

  .mobile-quote-bar > div > span,
  .mobile-quote-bar > div > strong {
    display: block;
  }

  .mobile-quote-bar > div:first-child > span {
    width: fit-content;
    border-radius: 999px;
    padding: 2px 7px;
    background: #f1f3f4;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 900;
  }

  .mobile-quote-bar > div > strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.86rem;
    line-height: 1.15;
  }

  .mobile-quote-bar > div:last-child > strong {
    color: var(--primary);
    font-size: 0.92rem;
    text-align: right;
  }

  .mobile-quote-bar .primary-button {
    min-height: 40px;
    border-radius: 8px;
    padding: 0 10px;
    white-space: nowrap;
    box-shadow: none;
    font-size: 0.78rem;
  }

  .mobile-quote-bar .primary-button span {
    display: inline;
    width: auto;
    border-radius: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
  }

  .mobile-quote-bar .primary-button svg {
    width: 18px;
    height: 18px;
  }

  body.vehicles-mode .floating-actions {
    display: none;
  }

  body.vehicles-mode .floating-button {
    width: 38px;
    height: 38px;
    border: 0;
    box-shadow: none;
  }

  body.vehicles-mode .floating-button svg {
    width: 20px;
    height: 20px;
  }

  body.vehicles-mode .floating-button.whatsapp svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 560px) {
  .header-shell {
    padding: 0 10px;
  }

  .header-main {
    min-height: 54px;
    gap: 8px;
    padding: 0;
  }

  .nav-links {
    display: grid;
    align-self: auto;
    height: 100vh;
    height: 100dvh;
    gap: 0;
    font-size: 0.95rem;
  }

  .nav-links a {
    min-height: 48px;
    padding: 0;
  }

  .brand small {
    display: none;
  }

  .brand-frame {
    padding: 6px 9px;
  }

  .brand strong {
    font-size: 0.8rem;
  }

  .header-action {
    min-height: 32px;
    border-left-width: 2px;
    padding: 3px 0 3px 9px;
  }

  .header-action span {
    display: none;
  }

  .header-action strong {
    font-size: 0.76rem;
  }

  body.vehicles-mode .vehicle-page {
    padding-top: 76px;
    padding-bottom: 116px;
  }

  body.vehicles-mode .section-head h2 {
    font-size: 1.66rem;
  }

  body.vehicles-mode .section-head p:not(.eyebrow) {
    font-size: 0.86rem;
    line-height: 1.42;
  }

  body.vehicles-mode .quote-panel {
    padding: 12px;
  }

  .hero {
    min-height: auto;
    padding: 82px 3.5vw 26px;
  }

  .hero-content {
    padding: 0;
  }

  .hero h1 {
    font-size: 2.22rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 20px;
  }

  .hero-actions a {
    min-height: 42px;
    padding: 0 8px;
    font-size: 0.84rem;
  }

  .hero-metrics {
    gap: 12px;
    margin-top: 22px;
  }

  .hero-metrics div {
    min-width: 78px;
    padding-left: 9px;
    border-left-width: 3px;
  }

  .booking-dock {
    margin-top: 18px;
    gap: 10px;
    border-radius: 10px;
    padding: 12px;
  }

  .booking-panel-head h2 {
    font-size: 1.18rem;
    line-height: 1.14;
  }

  .booking-panel-bottom p {
    margin-top: 0;
    font-size: 0.78rem;
    line-height: 1.32;
  }

  .booking-location-stack {
    gap: 8px;
  }

  .location-combobox {
    gap: 5px;
  }

  .location-combobox > span,
  .booking-date-group > span {
    margin-bottom: 4px;
    font-size: 0.68rem;
  }

  .return-location-field {
    margin-top: 0;
  }

  .location-input-shell {
    min-height: 44px;
    grid-template-columns: 18px minmax(0, 1fr) 30px;
    border-radius: 7px;
    padding: 0 7px 0 10px;
  }

  .location-input-shell > svg {
    width: 18px;
    height: 18px;
  }

  .location-input-shell input {
    min-height: 42px;
    padding: 0 7px;
    font-size: 0.86rem;
  }

  .location-target {
    width: 28px;
    height: 28px;
  }

  .location-target svg {
    width: 17px;
    height: 17px;
  }

  body.vehicles-mode .quote-location-editor .location-input-shell {
    min-height: 42px;
    grid-template-columns: 18px minmax(0, 1fr) 28px;
    padding-left: 9px;
  }

  body.vehicles-mode .quote-location-editor .location-input-shell input {
    min-height: 40px;
    font-size: 0.85rem;
  }

  body.vehicles-mode .quote-date-grid {
    grid-template-columns: 1fr;
  }

  body.vehicles-mode .quote-date-grid input,
  body.vehicles-mode .quote-date-grid select {
    min-height: 36px;
    font-size: 0.86rem;
  }

  .return-toggle {
    align-items: flex-start;
    width: 100%;
    gap: 7px;
    margin-top: 0;
  }

  .return-toggle input {
    width: 17px;
    min-height: 17px;
    height: 17px;
  }

  .return-toggle span {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .booking-date-flow {
    gap: 8px;
  }

  .booking-date-group {
    gap: 4px;
  }

  .date-time-grid {
    grid-template-columns: minmax(0, 1fr) 82px;
    gap: 6px;
  }

  .date-time-grid input,
  .date-time-grid select {
    min-height: 40px;
    border-radius: 7px;
    padding: 0 8px;
    font-size: 0.84rem;
  }

  .booking-panel-bottom {
    gap: 8px;
  }

  .booking-panel-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .booking-dock button[type="submit"] {
    min-height: 42px;
    border-radius: 8px;
    padding: 0 8px;
    font-size: 0.8rem;
  }

  .booking-whatsapp-button {
    min-height: 42px;
    border-radius: 8px;
    padding: 0 8px;
    gap: 5px;
    font-size: 0.78rem;
    box-shadow: none;
  }

  .booking-whatsapp-button span {
    font-size: 0;
  }

  .booking-whatsapp-button span::after {
    content: "WhatsApp";
    font-size: 0.78rem;
  }

  .booking-whatsapp-button svg {
    width: 18px;
    height: 18px;
  }

  .inventory-section,
  .featured-section,
  .service-band {
    padding: 56px 4vw;
  }

  .vehicle-title-row {
    display: grid;
  }

  .price {
    text-align: left;
  }

  .admin-topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-top-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-top-actions .ghost-button,
  .admin-top-actions .primary-button {
    min-height: 42px;
    padding: 0 10px;
    font-size: 0.9rem;
  }

  .admin-tabs {
    grid-template-columns: 1fr;
  }

  .stat-grid,
  .lead-list.compact {
    grid-template-columns: 1fr;
  }

  .vehicle-admin-title img {
    width: 70px;
    height: 48px;
  }

  .modal-panel {
    padding: 24px 18px;
  }

  .vehicle-editor-panel {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 88vh;
    border-radius: 12px 12px 0 0;
    padding: 18px;
  }

  .toast {
    right: 12px;
    bottom: 74px;
    left: 12px;
    max-width: none;
  }

  body.vehicles-mode .toast {
    bottom: 166px;
  }

  .floating-actions {
    left: 8px;
    bottom: 12px;
    gap: 8px;
  }

  body.home-mode .floating-actions {
    right: auto;
    left: max(8px, env(safe-area-inset-left));
    bottom: max(12px, env(safe-area-inset-bottom));
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.home-mode.booking-panel-visible .floating-actions {
    transform: translateY(8px);
    opacity: 0;
    pointer-events: none;
  }

  .floating-button {
    width: 44px;
    height: 44px;
    border-width: 1px;
  }

  .floating-button svg {
    width: 21px;
    height: 21px;
  }

  .floating-button.whatsapp svg {
    width: 23px;
    height: 23px;
  }

  body.vehicles-mode .floating-actions {
    left: max(12px, env(safe-area-inset-left));
    bottom: calc(max(12px, env(safe-area-inset-bottom)) + 94px);
  }

  body.vehicles-mode .floating-button {
    width: 42px;
    height: 42px;
  }
}
