:root {
  --ink: #0b0b0b;
  --muted: #666666;
  --line: #e5e5e5;
  --paper: #f6f6f6;
  --white: #ffffff;
  --brand: #ff7a00;
  --brand-dark: #d96200;
  --accent: #ff7a00;
  --success: #111111;
  --danger: #b23b3b;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: var(--white);
  border-bottom: 3px solid var(--brand);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  width: 190px;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  justify-content: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.header-action {
  color: var(--white);
  background: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 96px clamp(18px, 5vw, 72px) 140px;
  color: var(--white);
  background: #050505;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.58) 62%, rgba(0, 0, 0, 0.16));
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slides {
  z-index: 0;
}

.hero-slide {
  opacity: 0;
  background-position: center;
  background-size: cover;
  animation: heroFade 18s infinite;
}

.hero-slide-road {
  background-image: url("https://images.unsplash.com/photo-1533473359331-0135ef1b58bf?auto=format&fit=crop&w=1900&q=82");
}

.hero-slide-city {
  animation-delay: 6s;
  background-image: url("https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?auto=format&fit=crop&w=1900&q=82");
}

.hero-slide-family {
  animation-delay: 12s;
  background-image: url("https://images.unsplash.com/photo-1519641471654-76ce0107ad1b?auto=format&fit=crop&w=1900&q=82");
}

@keyframes heroFade {
  0%,
  28% {
    opacity: 1;
  }

  36%,
  92% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(2.3rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-text {
  max-width: 590px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 800;
}

.hero-benefits span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

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

.primary:hover {
  background: var(--brand-dark);
}

.outline {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.full {
  width: 100%;
}

.search-panel {
  width: min(1180px, calc(100% - 36px));
  margin: -86px auto 0;
  position: relative;
  z-index: 10;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.search-form {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 0.55fr 0.9fr 0.55fr auto;
  gap: 14px;
  align-items: end;
  padding: 20px;
}

.field,
label,
fieldset {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 46px;
  margin-top: 7px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.payment-note {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.payment-link {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  color: var(--white);
  background: var(--ink);
  text-decoration: none;
}

.payment-confirm {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--ink);
  font-size: 0.84rem;
}

.payment-confirm input {
  width: auto;
  min-height: auto;
  margin: 0;
}

input:focus,
select:focus {
  outline: 3px solid rgba(255, 122, 0, 0.2);
  border-color: var(--brand);
}

.toggle-line {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 24px;
  color: var(--ink);
}

.toggle-line input,
.extras input {
  width: auto;
  min-height: auto;
  margin: 0;
}

.dropoff-field {
  grid-column: 1 / 3;
}

.is-hidden {
  display: none;
}

.search-button {
  min-width: 150px;
}

.trust-strip {
  width: min(1180px, calc(100% - 36px));
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.trust-strip span,
.trust-strip strong {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 8px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
}

.trust-strip strong {
  color: var(--brand-dark);
}

.results-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  padding: 42px clamp(18px, 5vw, 72px) 70px;
}

.filters {
  align-self: start;
  position: sticky;
  top: 82px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.filters h2 {
  font-size: 1.2rem;
}

.filter-group {
  display: grid;
  gap: 9px;
}

.chip {
  min-height: 40px;
  padding: 0 14px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.chip.active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.filter-note {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding: 14px;
  background: var(--paper);
  border-radius: 8px;
}

.filter-note span,
.sort-label,
.reservation-copy p,
.faq p {
  color: var(--muted);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 20px;
}

.fleet-list {
  display: grid;
  gap: 16px;
}

.car-card {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr) 190px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.car-card.is-unavailable {
  opacity: 0.72;
}

.car-card img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: contain;
  background: #f3f5f5;
}

.car-body,
.car-price {
  padding: 18px;
}

.car-body h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.car-body h3 span {
  color: #006ec8;
  font-size: 0.82rem;
  font-weight: 500;
}

.car-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 12px 22px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 1rem;
}

.car-specs span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  line-height: 1.2;
}

.car-specs span:last-child {
  grid-column: 1 / -1;
}

.spec-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--ink);
  border: 1.6px solid var(--ink);
  border-radius: 999px;
  font-size: 0.68rem;
  line-height: 1;
}

.car-price {
  display: grid;
  align-content: center;
  gap: 10px;
  border-left: 1px solid var(--line);
  text-align: right;
}

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

.car-price strong {
  color: var(--brand);
  font-size: 1.42rem;
}

.choose-car:disabled {
  color: var(--muted);
  background: #e3e9ed;
  cursor: not-allowed;
  transform: none;
}

.reservation {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 70px);
  padding: 72px clamp(18px, 5vw, 72px);
  background: var(--white);
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow: auto;
  display: none;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1.1fr);
  align-items: start;
  background: rgba(246, 246, 246, 0.96);
}

.booking-modal.is-open {
  display: grid;
}

.modal-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 90;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.software-login-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.62);
}

.software-login-modal.is-open {
  display: grid;
}

.software-login-card {
  position: relative;
  width: min(430px, 100%);
  display: grid;
  gap: 15px;
  padding: 24px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.software-login-card img {
  width: 180px;
}

.software-close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.reservation-copy {
  align-self: start;
  position: sticky;
  top: 86px;
}

.summary {
  display: grid;
  gap: 9px;
  margin-top: 24px;
  padding: 18px;
  background: linear-gradient(135deg, var(--ink), #252525);
  color: var(--white);
  border-radius: 8px;
}

.summary-row,
.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.summary-row {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.summary-total {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.summary-total strong {
  font-size: 1.35rem;
}

.booking-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.extras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.booking-type {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.booking-type label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.booking-type input {
  width: auto;
  min-height: auto;
  margin: 0;
}

.extras legend {
  padding: 0 6px;
}

.extras label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  color: var(--ink);
  font-weight: 700;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--brand-dark);
  font-weight: 800;
}

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

.requirements,
.faq {
  padding: 72px clamp(18px, 5vw, 72px);
}

.requirements {
  background: var(--white);
}

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

.requirements-grid article {
  min-height: 150px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.requirements-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 1.05rem;
}

.requirements-grid p {
  margin: 0;
  color: var(--muted);
}

.admin-login {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 70px);
  padding: 72px clamp(18px, 5vw, 72px);
  background: var(--white);
}

.admin-login,
.admin-panel {
  display: none !important;
}

.login-copy p {
  color: var(--muted);
}

.login-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-panel {
  padding: 72px clamp(18px, 5vw, 72px);
  background: var(--paper);
}

.admin-panel.is-locked {
  display: none;
}

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

.danger-action {
  color: var(--danger);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.admin-stats div {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-stats span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-stats strong {
  font-size: 1.4rem;
  color: var(--brand);
}

.fleet-availability {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.fleet-unit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.fleet-unit span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.fleet-unit strong {
  color: var(--brand);
}

.admin-table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

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

.admin-table th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.client-cell,
.booking-cell {
  display: grid;
  gap: 3px;
}

.client-cell span,
.booking-cell span {
  color: var(--muted);
  font-size: 0.86rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.status-new {
  color: var(--brand-dark);
  background: rgba(255, 122, 0, 0.14);
}

.status-confirmed {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.1);
}

.status-cancelled {
  color: var(--danger);
  background: rgba(178, 59, 59, 0.12);
}

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

.small-button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

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

details {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 12px 0 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: #050505;
  color: var(--white);
}

.footer-logo {
  display: block;
  width: 180px;
  max-width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  background: var(--white);
  border-radius: 8px;
}

.footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-copy {
  font-size: 0.82rem;
}

@media (max-width: 980px) {
  .site-header,
  .footer,
  .section-heading {
    align-items: flex-start;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .search-form,
  .results-layout,
  .reservation,
  .admin-login,
  .admin-stats,
  .fleet-availability,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .dropoff-field {
    grid-column: auto;
  }

  .filters,
  .reservation-copy {
    position: static;
  }

  .trust-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .car-card {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .car-price {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    border-left: 0;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 420px;
    padding-top: 74px;
  }

  .search-panel {
    width: calc(100% - 24px);
  }

  .trust-strip,
  .form-row,
  .extras,
  .requirements-grid {
    grid-template-columns: 1fr;
  }

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

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

  .booking-form {
    padding: 16px;
  }
}
