:root {
  --bg: #0b0c1a;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(11, 12, 26, 0.82);
  --border: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --accent: #5b7cff;
  --accent-strong: #7f97ff;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-soft: 0 20px 55px rgba(0, 0, 0, 0.36);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(91, 124, 255, 0.24), transparent 40%),
    radial-gradient(circle at 88% 10%, rgba(51, 75, 150, 0.34), transparent 38%),
    linear-gradient(140deg, #070914 0%, #0b0c1a 52%, #0e1224 100%);
  min-height: 100vh;
  overflow-x: clip;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(var(--container), 92vw);
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}

.section-head {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}

.section-head h2,
.page-hero h1,
.hero h1 {
  margin: 0;
  line-height: 1.1;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  padding: 1rem 0;
  transition: padding 250ms ease;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(10, 12, 26, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  transition: background 250ms ease, border-color 250ms ease, box-shadow 250ms ease, backdrop-filter 250ms ease;
}

.site-header.is-scrolled {
  padding: 0.6rem 0;
}

.site-header.is-scrolled .nav-shell {
  background: rgba(8, 11, 24, 0.74);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.35);
}

.brand {
  font-weight: 600;
  font-size: clamp(0.95rem, 1.9vw, 1.08rem);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav > a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.86);
  transition: color 180ms ease;
}

.site-nav > a:hover,
.site-nav > a:focus-visible {
  color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.78rem 1.22rem;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 10px 22px rgba(91, 124, 255, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(91, 124, 255, 0.48);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(91, 124, 255, 0.28);
}

.btn-secondary,
.btn-tertiary {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.03);
}

.btn-secondary:hover,
.btn-secondary:focus-visible,
.btn-tertiary:hover,
.btn-tertiary:focus-visible {
  border-color: rgba(91, 124, 255, 0.75);
  box-shadow: 0 0 0 3px rgba(91, 124, 255, 0.15);
}

.nav-cta {
  margin-left: 0.25rem;
}

.nav-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
}

.nav-toggle-line,
.nav-toggle-line::before,
.nav-toggle-line::after {
  content: "";
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  display: block;
  transition: transform 240ms ease, opacity 240ms ease;
}

.nav-toggle-line {
  position: relative;
}

.nav-toggle-line::before,
.nav-toggle-line::after {
  position: absolute;
  left: 0;
}

.nav-toggle-line::before {
  transform: translateY(-6px);
}

.nav-toggle-line::after {
  transform: translateY(6px);
}

.nav-toggle.is-open .nav-toggle-line {
  transform: rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-line::before {
  transform: rotate(90deg);
}

.nav-toggle.is-open .nav-toggle-line::after {
  transform: rotate(90deg);
  opacity: 0;
}

.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 10, 30, 0.85) 0%,
    rgba(5, 10, 30, 0.6) 35%,
    rgba(5, 10, 30, 0.2) 60%,
    rgba(5, 10, 30, 0) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-parallax {
  position: absolute;
  inset: -32px 0 0;
  will-change: transform;
}

.hero-media,
.hero-media img {
  width: 100%;
  height: calc(100% + 32px);
  display: block;
}

.hero-media img {
  object-fit: cover;
  object-position: right center;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1rem;
  max-width: 860px;
  padding-top: clamp(5.5rem, 9vw, 7rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

.hero-copy {
  display: grid;
  gap: 1rem;
  max-width: 640px;
}

.hero h1 {
  font-size: clamp(2.25rem, 4.4vw, 4rem);
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  line-height: 1.7;
}

.hero-booking {
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 14px 32px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(12px);
  animation: bookingFade 220ms ease forwards 180ms;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.hero-booking:hover {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 18px 34px rgba(0, 0, 0, 0.34);
}

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

.booking-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 0.75rem;
  align-items: end;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field span {
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.booking-input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font: inherit;
  padding: 0.66rem 0.75rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.booking-input:focus {
  border-color: rgba(91, 124, 255, 0.95);
  box-shadow: 0 0 0 3px rgba(91, 124, 255, 0.22);
}

.booking-cta {
  min-height: 42px;
  white-space: nowrap;
}

.booking-cta:hover,
.booking-cta:focus-visible {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 14px 26px rgba(91, 124, 255, 0.46);
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, max-content));
  gap: 0.85rem;
}

.hero-benefit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  background: rgba(10, 12, 24, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: fit-content;
}

.hero-benefit .feature-icon {
  width: 24px;
  height: 24px;
}

.hero-benefit span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-animate {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 420ms ease forwards;
}

.hero-animate.d1 {
  animation-delay: 0ms;
}

.hero-animate.d2 {
  animation-delay: 120ms;
}

.hero-animate.d3 {
  animation-delay: 220ms;
}

.hero-animate.d4 {
  animation-delay: 320ms;
}

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

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

.rental-card {
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.fleet-card {
  overflow: hidden;
}

.rental-card-media {
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.rental-card-media img,
.fleet-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 280ms ease;
}

.rental-card-body {
  padding: 1.2rem 1.2rem 1.35rem;
  display: grid;
  gap: 0.85rem;
}

.rental-card-body h2,
.rental-card-body h3 {
  margin: 0;
  font-size: 1.18rem;
}

.rental-card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  font-size: 0.93rem;
}

.card-meta span {
  font-weight: 600;
}

@media (hover: hover) {
  .rental-card:hover {
    transform: translateY(-6px);
    border-color: rgba(91, 124, 255, 0.62);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.42);
  }

  .rental-card:hover .rental-card-media img {
    transform: scale(1.03);
  }
}

@media (hover: none) {
  .rental-card:active {
    transform: scale(0.992);
  }
}

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

.feature-tile {
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid;
  gap: 0.75rem;
}

.feature-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.feature-tile h3 {
  margin: 0;
  font-size: 1rem;
}

.feature-tile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.93rem;
}

.page-hero {
  padding: clamp(7.5rem, 10vw, 9rem) 0 clamp(2.8rem, 6vw, 4.2rem);
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 35%, rgba(91, 124, 255, 0.24), transparent 42%),
    linear-gradient(180deg, rgba(8, 10, 20, 0.7), rgba(8, 10, 20, 0.15));
  z-index: -1;
}

.page-hero-content {
  max-width: 700px;
}

.page-hero p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.filter-btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.filter-btn.is-active {
  background: rgba(91, 124, 255, 0.25);
  border-color: rgba(91, 124, 255, 0.82);
}

.filter-status {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.contact-layout {
  display: grid;
  gap: 1rem;
}

.contact-card,
.glass-form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}

.contact-card {
  padding: 1.3rem;
}

.contact-card h2,
.glass-form h2 {
  margin: 0;
}

.contact-card p,
.contact-card li {
  color: var(--muted);
  line-height: 1.7;
}

.contact-card ul {
  margin: 1rem 0 0;
  padding-left: 1rem;
}

.contact-card strong {
  color: #fff;
}

.glass-form {
  padding: 1.3rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin: 1.1rem 0;
}

label {
  display: grid;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.86);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(9, 12, 24, 0.72);
  color: #fff;
  font: inherit;
  padding: 0.72rem 0.85rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(91, 124, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(91, 124, 255, 0.16);
}

textarea {
  resize: vertical;
}

.form-error {
  min-height: 1em;
  font-size: 0.8rem;
  color: #ff9aa2;
}

input[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: rgba(255, 154, 162, 0.92);
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(25, 30, 50, 0.92);
  border: 1px solid rgba(129, 230, 175, 0.58);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

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

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 10, 20, 0.62);
  backdrop-filter: blur(8px);
}

.footer-grid {
  padding: 2.4rem 0 1.8rem;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

.site-footer h3,
.site-footer h4,
.site-footer p {
  margin: 0;
}

.site-footer h4 {
  margin-bottom: 0.7rem;
}

.site-footer a,
.site-footer p {
  display: block;
  color: var(--muted);
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.social-links a {
  margin: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-links img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.footer-copy {
  margin: 0;
  text-align: center;
  padding: 0 1rem 1.25rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.85rem;
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

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

.reveal-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .hero-animate,
  .hero-booking,
  .reveal,
  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-parallax {
    transform: none !important;
  }
}

/* === RESPONSIVE === */
@media (max-width: 760px) {
  .site-header {
    padding: 0.7rem 0;
  }

  .nav-shell {
    border-radius: 22px;
    position: relative;
    flex-wrap: wrap;
  }

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

  .site-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    overflow: hidden;
    pointer-events: none;
    transition: max-height 260ms ease, opacity 220ms ease, transform 220ms ease;
  }

  .site-nav a {
    padding: 0.35rem 0;
  }

  .site-nav .btn {
    justify-content: center;
    margin-top: 0.25rem;
  }

  .site-nav.is-open {
    max-height: 310px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .hero-media img {
    object-fit: cover;
    object-position: center bottom;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    padding-top: 20vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 92vw;
  }

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

  .booking-cta {
    width: 100%;
  }

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

  .hero-benefit {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-actions {
    margin-top: auto;
    width: 100%;
    padding-bottom: 1rem;
  }

  .hero-actions .btn {
    flex: 1;
    min-width: 150px;
  }
}

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

  .hero-actions .btn {
    width: 100%;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
  }
}

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

@media (min-width: 768px) {
  .rental-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-layout {
    grid-template-columns: 0.92fr 1.08fr;
    align-items: start;
  }

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

  .full-width {
    grid-column: 1 / -1;
  }

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

@media (min-width: 1100px) {
  .rental-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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