:root {
  --ah-black: #07080a;
  --ah-dark: #0c0e12;
  --ah-panel: #12151c;
  --ah-panel-2: #181c25;
  --ah-line: rgba(255, 255, 255, 0.08);
  --ah-lime: #29bf12;
  --ah-lime-hover: #4ad42f;
  --ah-lime-dim: #709a0e;
  --ah-lime-rgb: 41, 191, 18;
  --ah-text: #eef1f6;
  --ah-muted: #8b929e;
  --ah-silver: #c5c9d1;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.ah-rental {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding-top: 64px;
  background: var(--ah-black);
  color: var(--ah-text);
  font-family: Barlow, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body.ah-rental main {
  flex: 1 0 auto;
}

h1, h2, h3, .ah-display {
  font-family: "Barlow Condensed", Barlow, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

a {
  color: var(--ah-lime);
  text-decoration: none;
}

a:hover {
  color: var(--ah-lime-hover);
}

.ah-nav {
  height: 64px;
  background: rgba(7, 8, 10, 0.92) !important;
  border-bottom: 1px solid var(--ah-line);
  backdrop-filter: blur(12px);
}

.ah-logo {
  height: 40px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
}

.ah-nav .nav-link {
  color: rgba(255, 255, 255, 0.72) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem !important;
}

.ah-nav .nav-link:hover,
.ah-nav .nav-link.is-active {
  color: #fff !important;
}

.ah-nav .nav-link.is-active {
  box-shadow: inset 0 -2px 0 var(--ah-lime);
}

.btn-lime {
  --bs-btn-color: #0b0d10;
  --bs-btn-bg: var(--ah-lime);
  --bs-btn-border-color: var(--ah-lime);
  --bs-btn-hover-color: #0b0d10;
  --bs-btn-hover-bg: var(--ah-lime-hover);
  --bs-btn-hover-border-color: var(--ah-lime-hover);
  --bs-btn-active-color: #0b0d10;
  --bs-btn-active-bg: var(--ah-lime-dim);
  --bs-btn-active-border-color: var(--ah-lime-dim);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  padding: 0.7rem 1.25rem;
}

.btn-outline-light {
  border-radius: 2px;
  border-color: rgba(255, 255, 255, 0.28);
}

.ah-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 8, 10, 0.2), rgba(7, 8, 10, 0.88)),
    radial-gradient(1200px 500px at 80% -10%, rgba(var(--ah-lime-rgb), 0.16), transparent 55%),
    #000;
  border-bottom: 1px solid var(--ah-line);
}

.ah-hero-inner {
  padding: 2.5rem 0 4.5rem;
}

.ah-kicker {
  color: var(--ah-lime);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.ah-hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 0.95;
  max-width: 14ch;
  margin: 0 0 1rem;
}

.ah-hero .lead {
  color: var(--ah-muted);
  max-width: 42ch;
  font-size: 1.05rem;
}

.ah-hero-logo {
  width: min(360px, 100%);
  height: auto;
  margin-bottom: 1rem;
}

.ah-hero-art {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--ah-line);
}

@media (min-width: 992px) {
  .ah-hero-inner {
    padding: 3rem 0 5rem;
  }
}

.ah-search-wrap {
  margin-top: -3rem;
  position: relative;
  z-index: 2;
}

.ah-search,
.ah-panel {
  background: var(--ah-panel);
  border: 1px solid var(--ah-line);
  border-top: 2px solid var(--ah-lime);
  padding: 1.15rem 1.2rem 1.25rem;
}

.ah-search .form-label,
.ah-panel .form-label {
  color: var(--ah-silver);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.form-control,
.form-select {
  background: #0e1116;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ah-text);
  border-radius: 2px;
}

.form-control:focus,
.form-select:focus {
  background: #0e1116;
  color: var(--ah-text);
  border-color: var(--ah-lime);
  box-shadow: 0 0 0 0.2rem rgba(var(--ah-lime-rgb), 0.22);
}

.form-check-input {
  background-color: #0e1116;
  border-color: rgba(255, 255, 255, 0.35);
}

.form-check-input:checked {
  background-color: var(--ah-lime);
  border-color: var(--ah-lime);
}

.navbar-collapse {
  background: var(--ah-black);
}

@media (min-width: 992px) {
  .navbar-collapse {
    background: transparent;
  }
}

.ah-section {
  padding: 3.5rem 0;
}

.ah-section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.35rem;
}

.ah-muted {
  color: var(--ah-muted);
}

.ah-card {
  background: var(--ah-panel);
  border: 1px solid var(--ah-line);
  display: flex;
  flex-direction: column;
}

.ah-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}

.ah-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ah-card:hover .ah-card-media img {
  transform: scale(1.04);
}

.ah-chip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  background: rgba(7, 8, 10, 0.82);
  color: var(--ah-lime);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
}

.ah-card-body {
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.ah-card-title {
  font-size: 1.2rem;
  margin: 0;
}

.ah-price strong {
  color: var(--ah-lime);
  font-size: 1.2rem;
}

.ah-price span {
  color: var(--ah-muted);
  font-size: 0.8rem;
}

.ah-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--ah-muted);
  font-size: 0.85rem;
}

.ah-specs i {
  color: var(--ah-lime);
  margin-right: 0.3rem;
}

.ah-steps {
  counter-reset: step;
}

.ah-step {
  background: var(--ah-panel);
  border: 1px solid var(--ah-line);
  padding: 1.25rem;
  height: 100%;
}

.ah-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  color: var(--ah-lime);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.ah-stat {
  border-left: 2px solid var(--ah-lime);
  padding-left: 1rem;
}

.ah-stat b {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.ah-footer {
  background: #050608;
  border-top: 1px solid var(--ah-line);
  padding-top: 2.5rem;
  margin-top: auto;
}

.ah-footer-logo {
  height: 36px;
  width: auto;
}

.ah-footer-heading {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: #fff;
}

.ah-footer a {
  color: var(--ah-silver);
}

.ah-footer a:hover {
  color: var(--ah-lime);
}

.ah-page-head {
  padding: 2rem 0 1.25rem;
  border-bottom: 1px solid var(--ah-line);
}

.ah-vehicle-hero {
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--ah-line);
}

.ah-vehicle-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ah-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ah-thumb {
  width: 5.5rem;
  height: 3.6rem;
  padding: 0;
  border: 1px solid var(--ah-line);
  background: #000;
  overflow: hidden;
  cursor: pointer;
}

.ah-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ah-thumb.is-active {
  border-color: var(--ah-lime);
}

.ah-admin-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: 0.75rem;
}

.ah-admin-photo {
  margin: 0;
  background: #000;
  border: 1px solid var(--ah-line);
  position: relative;
}

.ah-admin-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.ah-admin-photo figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.5rem;
}

.ah-fleet-thumb {
  width: 4.5rem;
  height: 3rem;
  object-fit: cover;
  background: #000;
  border: 1px solid var(--ah-line);
  flex-shrink: 0;
}

.ah-quote {
  position: sticky;
  top: 84px;
}

.ah-alert {
  border-radius: 2px;
  border: 1px solid var(--ah-line);
  background: var(--ah-panel);
  color: var(--ah-text);
}

.ah-alert-success {
  border-color: var(--ah-lime);
}

.ah-alert-error,
.ah-alert-danger {
  border-color: #e35d5d;
}

.ah-table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--ah-text);
  --bs-table-border-color: var(--ah-line);
  --bs-table-hover-bg: rgba(255, 255, 255, 0.03);
}

.ah-table thead th[data-sort] {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.ah-table thead th[data-sort]::after {
  content: " \2195";
  opacity: 0.35;
  font-size: 0.8em;
}

.ah-table thead th[data-sort][data-dir="asc"]::after {
  content: " \2191";
  opacity: 1;
  color: var(--ah-lime);
}

.ah-table thead th[data-sort][data-dir="desc"]::after {
  content: " \2193";
  opacity: 1;
  color: var(--ah-lime);
}

.badge-status {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.68rem;
  border-radius: 2px;
  padding: 0.35rem 0.5rem;
}

.badge-pending { background: #3d3310; color: #f0d36a; }
.badge-confirmed { background: #102a12; color: var(--ah-lime); }
.badge-active { background: #102a3d; color: #7ec8ff; }
.badge-completed { background: #22262e; color: var(--ah-silver); }
.badge-cancelled { background: #3a1515; color: #f0a0a0; }

.ah-cat-link {
  display: block;
  padding: 1rem;
  background: var(--ah-panel);
  border: 1px solid var(--ah-line);
  color: #fff;
  height: 100%;
}

.ah-cat-link:hover {
  border-color: var(--ah-lime);
  color: #fff;
}

.ah-cat-link span {
  display: block;
  color: var(--ah-muted);
  font-size: 0.85rem;
}

.ah-sort {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.ah-sort .form-label {
  color: var(--ah-silver);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ah-sort .form-select {
  width: auto;
  min-width: 12rem;
}

.ah-seo {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 991px) {
  .ah-nav {
    height: auto;
  }
  .ah-quote {
    position: static;
  }
  .ah-hero-inner {
    padding-bottom: 5rem;
  }
}
