:root {
  --green-950: #06241b;
  --green-900: #0a3528;
  --green-800: #0e513d;
  --green-700: #147356;
  --green-600: #17966e;
  --green-100: #e7f7ef;
  --green-50: #f2fbf6;
  --ink: #101820;
  --ink-soft: #344149;
  --muted: #6f7b75;
  --paper: #fbfcf8;
  --panel: #ffffff;
  --line: rgba(10, 53, 40, 0.13);
  --danger: #b6323b;
  --warning: #9b6a12;
  --shadow: 0 24px 70px rgba(10, 53, 40, 0.12);
  --header-h: 74px;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.5;
  margin: 0;
  min-width: 320px;
}

body.nav-open,
body.admin-route {
  overflow-x: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

[data-lucide],
svg {
  display: inline-block;
  flex: 0 0 auto;
  height: 1.05rem;
  width: 1.05rem;
}

.site-header {
  align-items: center;
  background: rgba(251, 252, 248, 0.86);
  border-bottom: 1px solid rgba(10, 53, 40, 0.09);
  backdrop-filter: blur(20px);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  inset: 0 0 auto 0;
  min-height: var(--header-h);
  padding: 0 4vw;
  position: fixed;
  z-index: 80;
}

.site-header.is-scrolled {
  box-shadow: 0 18px 50px rgba(10, 53, 40, 0.08);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.75rem;
  justify-self: start;
  min-width: 0;
}

.brand-logo {
  display: block;
  height: 42px;
  object-fit: contain;
  width: min(190px, 42vw);
}

.brand-mark {
  background:
    linear-gradient(135deg, rgba(23, 150, 110, 0.95), rgba(14, 81, 61, 0.96)),
    var(--green-900);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 7px rgba(255, 255, 255, 0.12),
    0 12px 26px rgba(10, 53, 40, 0.2);
  display: inline-block;
  height: 42px;
  position: relative;
  width: 42px;
}

.brand-mark::before {
  background: #fff;
  border-radius: 999px 999px 4px 4px;
  content: "";
  height: 12px;
  left: 11px;
  position: absolute;
  top: 15px;
  transform: skewX(-16deg);
  width: 20px;
}

.brand-mark::after {
  background: var(--green-100);
  border-radius: 999px;
  content: "";
  height: 3px;
  left: 9px;
  position: absolute;
  top: 27px;
  width: 24px;
}

.brand span:last-child {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--green-700);
  font-size: 0.73rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav {
  align-items: center;
  display: inline-flex;
  gap: 0.16rem;
  justify-self: center;
}

.site-nav a {
  border-radius: 8px;
  color: #34433d;
  font-size: 0.92rem;
  font-weight: 780;
  padding: 0.72rem 0.92rem;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--green-100);
  color: var(--green-800);
}

.site-nav a:active,
.button:active,
.fleet-filters button:active {
  transform: translateY(1px);
}

.header-controls {
  align-items: center;
  display: inline-flex;
  gap: 0.65rem;
  justify-self: end;
  min-width: 0;
}

.language-switcher {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(10, 53, 40, 0.07);
  display: inline-flex;
  gap: 0.12rem;
  padding: 0.18rem;
}

.language-switcher button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #496159;
  font-size: 0.76rem;
  font-weight: 860;
  min-height: 32px;
  padding: 0 0.55rem;
}

.language-switcher button.is-active {
  background: var(--green-800);
  color: #fff;
}

.header-action {
  align-items: center;
  background: var(--green-800);
  border: 1px solid var(--green-800);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 0.91rem;
  font-weight: 820;
  gap: 0.48rem;
  min-height: 42px;
  padding: 0.72rem 0.95rem;
}

.icon-button {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green-900);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.nav-toggle {
  display: none;
  justify-self: end;
}

.hero {
  align-items: center;
  background:
    radial-gradient(circle at 70% 38%, rgba(23, 150, 110, 0.16), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, #f4faf6 64%, #eaf6ef 100%);
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  min-height: 100svh;
  overflow: hidden;
  padding: calc(var(--header-h) + 3rem) 4vw 3.5rem;
  position: relative;
}

.hero::after {
  background: linear-gradient(90deg, rgba(20, 115, 86, 0.35), rgba(20, 115, 86, 0));
  bottom: 0;
  content: "";
  height: 1px;
  left: 4vw;
  position: absolute;
  right: 4vw;
}

.hero-copy {
  max-width: 610px;
  position: relative;
  z-index: 3;
}

.eyebrow {
  color: var(--green-700);
  font-size: 0.76rem;
  font-weight: 860;
  letter-spacing: 0.14em;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--green-950);
  font-size: clamp(3.8rem, 8vw, 8.6rem);
  letter-spacing: 0;
  line-height: 0.85;
  margin: 0;
  max-width: 8ch;
}

.hero-copy p:not(.eyebrow) {
  color: #354b43;
  font-size: clamp(1.03rem, 1.8vw, 1.28rem);
  margin: 1.45rem 0 0;
  max-width: 40rem;
}

.hero-actions,
.contact-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 840;
  gap: 0.52rem;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.06rem;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button.button-compact {
  min-height: 38px;
  padding: 0.55rem 0.72rem;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--green-800);
  box-shadow: 0 18px 44px rgba(14, 81, 61, 0.22);
  color: #fff;
}

.button-primary:hover {
  background: var(--green-700);
  box-shadow: 0 22px 54px rgba(14, 81, 61, 0.27);
}

.button-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--green-900);
}

.button-secondary:hover {
  border-color: rgba(20, 115, 86, 0.36);
  box-shadow: 0 12px 30px rgba(10, 53, 40, 0.08);
}

.button-danger {
  background: #fff;
  border-color: rgba(182, 50, 59, 0.24);
  color: var(--danger);
}

.button-danger:hover {
  border-color: rgba(182, 50, 59, 0.46);
  box-shadow: 0 12px 30px rgba(182, 50, 59, 0.12);
}

.hero-stage {
  height: min(58vh, 560px);
  min-height: 380px;
  position: relative;
  touch-action: pan-y;
  z-index: 2;
}

#hero-canvas {
  height: 100%;
  inset: 0;
  position: absolute;
  touch-action: pan-y;
  width: 100%;
}

.section {
  padding: clamp(5rem, 8vw, 8.2rem) 4vw;
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.section-heading {
  margin: 0 auto 2.35rem;
  max-width: 820px;
  text-align: center;
}

.section-heading h2,
.rules-copy h2 {
  color: var(--green-950);
  font-size: clamp(2.25rem, 5.2vw, 5.2rem);
  letter-spacing: 0;
  line-height: 0.92;
  margin: 0;
}

.section-heading p:not(.eyebrow),
.rules-copy p {
  color: var(--muted);
  font-size: 1.04rem;
  margin: 1rem auto 0;
  max-width: 45rem;
}

.fleet-section {
  background: #fff;
}

.fleet-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin: -0.6rem auto 1.5rem;
  max-width: 980px;
}

.fleet-filters button {
  background: var(--green-50);
  border: 1px solid rgba(10, 53, 40, 0.09);
  border-radius: 8px;
  color: #34433d;
  font-size: 0.88rem;
  font-weight: 820;
  min-height: 40px;
  padding: 0.55rem 0.82rem;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.fleet-filters button:hover,
.fleet-filters button.is-active {
  background: var(--green-800);
  border-color: var(--green-800);
  color: #fff;
}

.fleet-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1280px;
}

.fleet-card,
.booking-form,
.contact-form,
.contact-card,
.quote-panel,
.customer-login,
.customer-results,
.rule-card,
.terms-panel,
.admin-section,
.metric-card,
.admin-login-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.fleet-card {
  box-shadow: none;
  min-height: 430px;
  overflow: hidden;
  padding: 0;
  position: relative;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.fleet-card:hover,
.fleet-card.is-selected {
  border-color: rgba(20, 115, 86, 0.5);
  box-shadow: 0 24px 54px rgba(10, 53, 40, 0.12);
  transform: translateY(-4px);
}

.fleet-card.is-hidden {
  display: none;
}

.fleet-photo {
  background:
    radial-gradient(circle at 50% 100%, rgba(23, 150, 110, 0.16), transparent 46%),
    var(--green-50);
  height: 218px;
  overflow: hidden;
  position: relative;
}

.fleet-photo img {
  display: block;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 1rem;
  box-sizing: border-box;
  transition:
    opacity 180ms ease,
    transform 460ms ease;
  width: 100%;
}

.fleet-photo img.is-changing {
  opacity: 0.4;
}

.fleet-card:hover .fleet-photo img {
  transform: scale(1.045);
}

.fleet-body {
  padding: 1rem;
}

.fleet-top {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.fleet-kind {
  background: var(--green-50);
  border-radius: 999px;
  color: var(--green-800);
  font-size: 0.74rem;
  font-weight: 860;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.55rem;
  text-transform: uppercase;
}

.fleet-card h3 {
  font-size: 1.22rem;
  line-height: 1.15;
  margin: 0;
}

.fleet-card p {
  color: var(--muted);
  margin: 0.48rem 0 0;
}

.fleet-meta {
  display: grid;
  gap: 0.48rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.fleet-meta div {
  background: #f6faf7;
  border: 1px solid rgba(10, 53, 40, 0.08);
  border-radius: 8px;
  padding: 0.7rem;
}

.fleet-meta span {
  color: var(--muted);
  display: block;
  font-size: 0.76rem;
  font-weight: 760;
}

.fleet-meta strong {
  color: var(--green-900);
  display: block;
  font-size: 1rem;
  margin-top: 0.12rem;
}

.fleet-credit {
  color: var(--muted);
  display: block;
  font-size: 0.72rem;
  margin-top: 0.7rem;
}

.fleet-select-button {
  margin-top: 1rem;
  width: 100%;
}

.booking-section,
.customer-section {
  background:
    linear-gradient(180deg, var(--green-50), #ffffff 52%, #f6faf7);
}

.booking-layout,
.customer-layout {
  align-items: start;
  display: grid;
  gap: 1rem;
  margin: 0 auto;
  max-width: 1220px;
}

.booking-layout {
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
}

.customer-layout {
  align-items: stretch;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-form,
.customer-login {
  padding: clamp(1rem, 2.4vw, 1.65rem);
}

.form-grid {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.form-pair {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}

.span-2 {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 0.42rem;
  min-width: 0;
}

label span {
  color: #2b433a;
  font-size: 0.82rem;
  font-weight: 820;
}

input,
select,
textarea {
  background: #fbfdfb;
  border: 1px solid rgba(10, 53, 40, 0.15);
  border-radius: 8px;
  box-sizing: border-box;
  color: var(--ink);
  min-height: 48px;
  outline: none;
  padding: 0.78rem 0.82rem;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
  width: 100%;
}

input,
select {
  height: 48px;
}

input[type="date"],
input[type="time"] {
  font-size: 0.9rem;
  padding-left: 0.68rem;
  padding-right: 0.68rem;
}

textarea {
  margin-top: 1rem;
  min-height: 128px;
  resize: vertical;
}

.terms-acceptance {
  background: rgba(23, 150, 110, 0.07);
  border: 1px solid rgba(23, 150, 110, 0.18);
  border-radius: 8px;
  margin-top: 1rem;
  padding: 0.9rem;
}

.terms-acceptance label {
  align-items: flex-start;
  display: flex;
  gap: 0.7rem;
}

.terms-acceptance input[type="checkbox"] {
  accent-color: var(--green-700);
  box-shadow: none;
  flex: 0 0 auto;
  height: 18px;
  margin-top: 0.16rem;
  min-height: 18px;
  padding: 0;
  width: 18px;
}

.terms-acceptance span {
  color: #2b433a;
  font-size: 0.86rem;
  font-weight: 760;
  line-height: 1.45;
}

.terms-acceptance a {
  color: var(--green-800);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.quote-options-drawer {
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(187, 242, 219, 0.2);
  border-radius: 8px;
  margin-top: 1rem;
  overflow: hidden;
}

.quote-options-drawer summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  list-style: none;
  min-height: 58px;
  padding: 0.85rem;
}

.quote-options-drawer summary::-webkit-details-marker {
  display: none;
}

.quote-options-drawer summary span,
.quote-options-drawer summary small {
  align-items: center;
  display: inline-flex;
  gap: 0.48rem;
}

.quote-options-drawer summary span {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 860;
}

.quote-options-drawer summary small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  font-weight: 760;
  text-align: right;
}

.quote-options-drawer summary [data-lucide] {
  color: #bbf2db;
  height: 1rem;
  width: 1rem;
}

.booking-options-grid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr;
  padding: 0 0.85rem 0.85rem;
}

.booking-option {
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  gap: 0.7rem;
  min-height: 52px;
  padding: 0.62rem;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.phone-field {
  align-items: center;
  background: #fbfdfb;
  border: 1px solid rgba(10, 53, 40, 0.15);
  border-radius: 8px;
  box-sizing: border-box;
  display: flex;
  min-height: 48px;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.phone-field:focus-within {
  background: #fff;
  border-color: rgba(23, 150, 110, 0.78);
  box-shadow: 0 0 0 4px rgba(23, 150, 110, 0.13);
}

.phone-flag {
  align-items: center;
  border-right: 1px solid rgba(10, 53, 40, 0.11);
  display: inline-flex;
  flex: 0 0 50px;
  font-size: 1.35rem;
  height: 30px;
  justify-content: center;
  line-height: 1;
}

.phone-field input {
  background: transparent;
  border: 0;
  box-shadow: none;
  flex: 1;
  min-width: 0;
}

.phone-field input:focus {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.booking-option:hover,
.booking-option:has(input:checked) {
  border-color: rgba(187, 242, 219, 0.34);
}

.booking-option:has(input:checked) {
  background: rgba(187, 242, 219, 0.12);
}

.booking-option input {
  accent-color: #bbf2db;
  flex: 0 0 auto;
  height: 17px;
  margin: 0;
  min-height: 17px;
  padding: 0;
  width: 17px;
}

.booking-option span {
  display: grid;
  gap: 0.08rem;
}

.booking-option strong {
  color: #fff;
  font-size: 0.84rem;
  line-height: 1.15;
}

.booking-option small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.74rem;
  font-weight: 760;
}

input:focus,
select:focus,
textarea:focus {
  background: #fff;
  border-color: rgba(23, 150, 110, 0.78);
  box-shadow: 0 0 0 4px rgba(23, 150, 110, 0.13);
}

.submit-button {
  margin-top: 1rem;
  width: 100%;
}

.form-status {
  color: var(--green-700);
  font-weight: 780;
  margin: 0.85rem 0 0;
  min-height: 1.45rem;
}

.form-status.is-error {
  color: var(--danger);
}

.quote-panel {
  background:
    linear-gradient(160deg, rgba(10, 53, 40, 0.98), rgba(6, 36, 27, 0.96)),
    var(--green-950);
  color: #fff;
  overflow: hidden;
  padding: clamp(1.2rem, 2.6vw, 1.7rem);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.quote-panel::before {
  background: linear-gradient(90deg, #bbf2db, var(--green-600), #ffffff);
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.quote-empty {
  align-content: center;
  display: grid;
  min-height: 340px;
}

.quote-empty [data-lucide] {
  color: #bbf2db;
  height: 2.1rem;
  margin-bottom: 1rem;
  width: 2.1rem;
}

.quote-empty strong {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1;
}

.quote-empty p,
.quote-details p {
  color: rgba(255, 255, 255, 0.64);
  margin: 1rem 0 0;
}

.quote-vehicle {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.quote-brand {
  align-items: center;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(187, 242, 219, 0.44);
  border-radius: 8px;
  color: var(--green-950);
  display: inline-flex;
  font-size: 0.66rem;
  font-weight: 920;
  height: 68px;
  justify-content: center;
  letter-spacing: 0.08em;
  line-height: 1;
  min-width: 68px;
  padding: 0.65rem;
  text-align: center;
  width: 68px;
}

.quote-brand img {
  display: block;
  max-height: 46px;
  max-width: 50px;
  object-fit: contain;
}

.quote-vehicle strong,
.quote-vehicle small {
  display: block;
}

.quote-vehicle small {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.2rem;
}

.quote-list {
  display: grid;
  gap: 0;
  margin: 1.5rem 0 0;
}

.quote-list div {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.quote-list dt {
  color: rgba(255, 255, 255, 0.64);
}

.quote-list dd {
  font-weight: 860;
  margin: 0;
  text-align: right;
  max-width: 56%;
}

.quote-total {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 0.35rem;
  padding-top: 1rem;
}

.quote-total span {
  color: rgba(255, 255, 255, 0.7);
}

.quote-total strong {
  color: #bbf2db;
  font-size: clamp(2.25rem, 5vw, 4rem);
  letter-spacing: 0;
  line-height: 0.9;
}

.quote-total strong span {
  color: inherit;
}

.customer-results {
  box-shadow: none;
  min-height: 320px;
  padding: 1rem;
}

.customer-empty {
  align-content: center;
  display: grid;
  min-height: 280px;
  text-align: left;
}

.customer-empty [data-lucide] {
  color: var(--green-700);
  height: 2rem;
  margin-bottom: 1rem;
  width: 2rem;
}

.customer-empty h3 {
  color: var(--green-950);
  font-size: 1.55rem;
  line-height: 1.1;
  margin: 0;
}

.customer-empty p {
  color: var(--muted);
  margin: 0.75rem 0 0;
}

.booking-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.booking-card + .booking-card {
  margin-top: 0.8rem;
}

.booking-notice {
  align-items: start;
  border-radius: 8px;
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem;
}

.booking-notice [data-lucide] {
  height: 1.25rem;
  margin-top: 0.12rem;
  width: 1.25rem;
}

.booking-notice strong,
.booking-notice span {
  display: block;
}

.booking-notice strong {
  color: var(--green-950);
}

.booking-notice span {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.18rem;
}

.booking-notice.is-accepted {
  background: var(--green-100);
  color: var(--green-800);
}

.booking-notice.is-pending {
  background: #fff8e8;
  color: var(--warning);
}

.booking-notice.is-rejected {
  background: #f8e3e5;
  color: var(--danger);
}

.booking-card h3 {
  color: var(--green-950);
  margin: 0;
}

.booking-card p {
  color: var(--muted);
  margin: 0.2rem 0 0;
}

.booking-card dl {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

.booking-card dl div {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.booking-card dt {
  color: var(--muted);
}

.booking-card dd {
  font-weight: 820;
  margin: 0;
  text-align: right;
}

.booking-actions {
  display: grid;
  gap: 0.75rem;
}

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

.rules-section {
  align-items: start;
  background: #fff;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
}

.rules-copy {
  position: sticky;
  top: calc(var(--header-h) + 1.2rem);
}

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

.rule-card {
  box-shadow: none;
  min-height: 220px;
  padding: 1.2rem;
}

.rule-card [data-lucide] {
  color: var(--green-700);
  height: 1.7rem;
  width: 1.7rem;
}

.rule-card h3 {
  color: var(--green-950);
  font-size: 1.35rem;
  line-height: 1.05;
  margin: 1.4rem 0 0;
}

.rule-card p {
  color: var(--muted);
  margin: 0.8rem 0 0;
}

.terms-section {
  background:
    linear-gradient(180deg, #ffffff 0%, var(--green-50) 100%);
}

.terms-panel {
  box-shadow: none;
  margin: 0 auto;
  max-width: 1080px;
  padding: clamp(1rem, 2.6vw, 1.6rem);
}

.terms-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}

.terms-list details {
  background: #fbfdfb;
  border: 1px solid rgba(10, 53, 40, 0.11);
  border-radius: 8px;
  color: var(--muted);
  line-height: 1.6;
  overflow: hidden;
}

.terms-list summary {
  color: var(--green-950);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
  list-style: none;
  padding: 1rem 1.1rem;
}

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

.terms-list summary::after {
  color: var(--green-700);
  content: "+";
  float: right;
  font-weight: 900;
}

.terms-list details[open] summary::after {
  content: "-";
}

.terms-list p,
.terms-list ul {
  margin: 0 1.1rem 1rem;
}

.terms-list ul {
  padding-left: 1.1rem;
}

.terms-list li + li {
  margin-top: 0.35rem;
}

.terms-table-wrap {
  margin: 0 1.1rem 1rem;
  overflow-x: auto;
}

.terms-table {
  border-collapse: collapse;
  min-width: 560px;
  width: 100%;
}

.terms-table th,
.terms-table td {
  border-bottom: 1px solid rgba(10, 53, 40, 0.1);
  padding: 0.72rem 0.55rem;
  text-align: left;
  vertical-align: top;
}

.terms-table th {
  color: var(--green-950);
  font-weight: 860;
  width: 52%;
}

.contact-section {
  background:
    linear-gradient(180deg, #ffffff 0%, var(--green-50) 54%, #ffffff 100%);
}

.airport-map {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  height: clamp(340px, 46vw, 520px);
  margin: 0 auto 1rem;
  max-width: 1220px;
  overflow: hidden;
  position: relative;
}

.airport-map iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.airport-map-label {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 53, 40, 0.12);
  border-radius: 8px;
  bottom: 1rem;
  box-shadow: 0 18px 46px rgba(10, 53, 40, 0.14);
  display: inline-flex;
  gap: 0.8rem;
  left: 1rem;
  max-width: min(520px, calc(100% - 2rem));
  padding: 0.82rem 0.95rem;
  position: absolute;
}

.airport-map-label [data-lucide] {
  color: var(--green-700);
  height: 1.35rem;
  width: 1.35rem;
}

.airport-map-label strong,
.airport-map-label span {
  display: block;
}

.airport-map-label strong {
  color: var(--green-950);
}

.airport-map-label span {
  color: var(--muted);
  font-size: 0.86rem;
}

.contact-layout {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  margin: 0 auto;
  max-width: 1220px;
}

.contact-form,
.contact-card {
  padding: clamp(1rem, 2.4vw, 1.65rem);
}

.contact-card {
  box-shadow: none;
  display: grid;
  gap: 1rem;
}

.contact-card > [data-lucide] {
  color: var(--green-700);
  height: 2rem;
  width: 2rem;
}

.contact-card h3 {
  color: var(--green-950);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.02;
  margin: 0;
}

.contact-card p {
  color: var(--muted);
  margin: 0;
}

.contact-direct {
  background: #f6faf7;
  border: 1px solid rgba(10, 53, 40, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
  padding: 0.75rem;
}

.contact-direct a,
.social-link {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(10, 53, 40, 0.1);
  border-radius: 8px;
  color: var(--green-950);
  display: inline-flex;
  gap: 0.55rem;
  min-height: 44px;
  min-width: 0;
  padding: 0.62rem 0.7rem;
}

.contact-direct a [data-lucide],
.social-link [data-lucide] {
  color: var(--green-700);
  height: 1rem;
  width: 1rem;
}

.contact-direct a span,
.social-link span {
  font-size: 0.86rem;
  font-weight: 820;
  min-width: 0;
  overflow-wrap: anywhere;
}

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

.social-link.is-placeholder {
  color: var(--muted);
}

.site-footer {
  align-items: center;
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 82px;
  padding: 1.2rem 4vw;
}

.footer-logo {
  display: block;
  height: 46px;
  object-fit: contain;
  width: min(220px, 48vw);
}

.site-footer small {
  max-width: 620px;
  text-align: right;
}

.site-footer a {
  color: var(--green-800);
  font-weight: 820;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.admin-view {
  background:
    linear-gradient(180deg, var(--green-950), var(--green-900) 34%, var(--paper) 34%, var(--paper));
  min-height: 100vh;
  padding: calc(var(--header-h) + 2.4rem) 4vw 5rem;
}

.admin-login {
  align-items: center;
  display: grid;
  min-height: calc(100vh - var(--header-h) - 5rem);
}

.admin-login-card {
  margin: 0 auto;
  max-width: 460px;
  padding: 1.4rem;
  width: min(100%, 460px);
}

.admin-login-card h1 {
  color: var(--green-950);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.94;
  margin: 0;
}

.admin-login-card p:not(.eyebrow) {
  color: var(--muted);
  margin: 0.8rem 0 1.2rem;
}

.admin-hero {
  align-items: end;
  color: #fff;
  display: flex;
  gap: 1.4rem;
  justify-content: space-between;
  margin: 0 auto 1.4rem;
  max-width: 1220px;
}

.admin-hero h1 {
  font-size: clamp(2.8rem, 6vw, 6.4rem);
  letter-spacing: 0;
  line-height: 0.9;
  margin: 0;
}

.admin-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  margin: 0.9rem 0 0;
}

.admin-metrics {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1220px;
}

.metric-card {
  box-shadow: none;
  padding: 1rem;
}

.metric-card span {
  color: var(--muted);
  display: block;
  font-size: 0.82rem;
  font-weight: 820;
}

.metric-card strong {
  display: block;
  font-size: 2.2rem;
  line-height: 1;
  margin-top: 0.65rem;
}

.metric-card small {
  color: var(--green-700);
  display: block;
  font-weight: 780;
  margin-top: 0.5rem;
}

.admin-section {
  box-shadow: none;
  margin: 1rem auto 0;
  max-width: 1220px;
  overflow: hidden;
}

.admin-calendar-section {
  background: #fff;
}

.admin-create-form {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
}

.admin-create-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.admin-create-actions .admin-action-status {
  padding: 0;
}

.admin-section-heading {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem;
}

.admin-heading-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.admin-calendar-heading {
  align-items: end;
}

.admin-calendar-heading > div:first-child {
  display: grid;
  gap: 0.3rem;
}

.calendar-controls {
  align-items: center;
  display: inline-flex;
  gap: 0.45rem;
}

.calendar-wrap {
  overflow-x: auto;
}

.calendar-grid {
  display: grid;
  grid-template-columns: 172px repeat(var(--calendar-days), minmax(104px, 1fr));
  min-width: 1560px;
}

.calendar-corner,
.calendar-date,
.calendar-vehicle,
.calendar-cell {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-height: 66px;
}

.calendar-corner,
.calendar-date {
  background: #f7fbf8;
  color: var(--green-950);
  font-weight: 850;
  position: sticky;
  top: 0;
  z-index: 2;
}

.calendar-corner {
  align-items: center;
  border-left: 0;
  display: flex;
  left: 0;
  padding: 0.9rem 1rem;
  z-index: 4;
}

.calendar-date {
  display: grid;
  gap: 0.16rem;
  padding: 0.72rem 0.76rem;
}

.calendar-date span {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.calendar-date strong {
  font-size: 0.9rem;
}

.calendar-date.is-today {
  background: var(--green-100);
}

.calendar-vehicle {
  background: #fff;
  display: grid;
  left: 0;
  padding: 0.82rem 1rem;
  position: sticky;
  z-index: 3;
}

.calendar-vehicle strong {
  color: var(--green-950);
}

.calendar-vehicle span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 720;
}

.calendar-vehicle small {
  color: var(--green-700);
  font-size: 0.68rem;
  font-weight: 820;
  margin-top: 0.12rem;
}

.calendar-cell {
  align-content: start;
  background: #fff;
  display: grid;
  gap: 0.3rem;
  padding: 0.48rem;
}

.calendar-cell.has-conflict {
  background: #fff5f6;
  box-shadow: inset 0 0 0 2px rgba(182, 50, 59, 0.18);
}

.calendar-chip {
  background: #eef8f2;
  border: 1px solid rgba(20, 115, 86, 0.18);
  border-radius: 6px;
  color: var(--green-800);
  display: block;
  font-size: 0.7rem;
  font-weight: 860;
  line-height: 1.1;
  overflow: hidden;
  padding: 0.36rem 0.42rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-chip.is-warning {
  background: #fff8e8;
  border-color: rgba(155, 106, 18, 0.24);
  color: var(--warning);
}

.calendar-chip.is-accepted {
  background: var(--green-800);
  border-color: var(--green-800);
  color: #fff;
}

.calendar-chip.is-conflict {
  background: #fff;
  border-color: rgba(182, 50, 59, 0.45);
  color: var(--danger);
}

.admin-action-status {
  color: var(--green-700);
  font-weight: 780;
  margin: 0;
  min-height: 1.3rem;
  padding: 0.8rem 1rem 0;
}

.admin-action-status.is-error {
  color: var(--danger);
}

.admin-section-heading h2 {
  font-size: 1.05rem;
  margin: 0;
}

.admin-section-heading span {
  color: var(--muted);
  font-weight: 760;
}

.table-wrap {
  overflow-x: auto;
}

.admin-section table {
  border-collapse: collapse;
  min-width: 900px;
  width: 100%;
}

.admin-section th,
.admin-section td {
  border-bottom: 1px solid var(--line);
  padding: 0.95rem 1rem;
  text-align: left;
  vertical-align: top;
}

.admin-section th {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-section td {
  color: #2d3b36;
  font-weight: 680;
}

.admin-section td small {
  color: var(--muted);
  display: block;
  font-weight: 650;
  margin-top: 0.18rem;
}

.status-pill {
  background: var(--green-100);
  border-radius: 999px;
  color: var(--green-800);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 820;
  padding: 0.4rem 0.58rem;
}

.status-pill.is-warning {
  background: #fff6df;
  color: var(--warning);
}

.status-pill.is-accepted {
  background: var(--green-800);
  color: #fff;
}

.status-pill.is-rejected {
  background: #f8e3e5;
  color: var(--danger);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-width: 190px;
}

.admin-actions .button[disabled] {
  cursor: not-allowed;
  opacity: 0.48;
}

.empty-row {
  color: var(--muted);
  padding: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  }

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

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .site-nav {
    align-content: start;
    background: rgba(251, 252, 248, 0.98);
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    gap: 0.35rem;
    grid-template-columns: 1fr;
    inset: var(--header-h) 0 auto 0;
    padding: 1rem 4vw 1.3rem;
    position: fixed;
  }

  body.nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 0.9rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-controls {
    gap: 0.45rem;
  }

  .header-action {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 100svh;
    padding-bottom: 3rem;
  }

  .hero h1 {
    max-width: 10ch;
  }

  .hero-stage {
    height: 360px;
    min-height: 360px;
  }

  .booking-layout,
  .customer-layout,
  .contact-layout,
  .rules-section {
    grid-template-columns: 1fr;
  }

  .quote-panel,
  .rules-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 68px;
  }

  .site-header,
  .section,
  .hero,
  .admin-view,
  .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand-mark {
    height: 38px;
    width: 38px;
  }

  .brand-logo {
    height: 36px;
    width: min(154px, 46vw);
  }

  .language-switcher button {
    font-size: 0.72rem;
    min-height: 30px;
    padding: 0 0.48rem;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding-bottom: 2.6rem;
    padding-top: calc(var(--header-h) + 1.8rem);
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.1rem);
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 1.35rem;
    max-width: 340px;
  }

  .hero-stage {
    aspect-ratio: auto;
    height: 218px;
    min-height: 218px;
    margin-top: -1rem;
  }

  .form-grid,
  .fleet-grid,
  .rules-grid,
  .admin-metrics,
  .booking-options-grid,
  .contact-direct,
  .social-links,
  .small-grid {
    grid-template-columns: 1fr;
  }

  .form-pair {
    gap: 0.55rem;
  }

  .form-pair label span {
    font-size: 0.72rem;
  }

  .form-pair input {
    font-size: 0.78rem;
    padding-left: 0.45rem;
    padding-right: 0.45rem;
  }

  .section-heading {
    text-align: left;
  }

  .section-heading p:not(.eyebrow) {
    margin-left: 0;
  }

  .booking-form,
  .contact-form,
  .contact-card,
  .quote-panel,
  .customer-login,
  .customer-results {
    padding: 1rem;
  }

  .admin-hero {
    align-items: start;
    flex-direction: column;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
  }

  .site-footer small {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
