:root {
  --bg: #071012;
  --bg-alt: #0f181a;
  --card: #131f21;
  --card-alt: #182629;
  --accent: #c5d75b;
  --accent-soft: rgba(197, 215, 91, 0.08);
  --border-soft: rgba(255, 255, 255, 0.08);
  --text: #f5f7f6;
  --muted: #a7b1b3;
  --danger: #f97171;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.6);
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1b2a2e 0, #020708 55%, #000000 100%);
  color: var(--text);
  line-height: 1.5;
}

body.auth-locked {
  min-height: 100vh;
  overflow: hidden;
}

body.auth-locked .site-header,
body.auth-locked main,
body.auth-locked .site-footer {
  display: none;
}

.password-gate {
  display: none;
}

body.auth-locked .password-gate {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.password-card {
  width: min(100%, 360px);
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.password-card h1 {
  margin: 0 0 18px;
  font-size: 1.6rem;
}

.password-card label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.password-card input {
  width: 100%;
  margin-bottom: 10px;
}

.password-kicker {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.password-error {
  min-height: 1.2em;
  margin: 0 0 12px;
  color: var(--danger);
  font-size: 0.9rem;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: radial-gradient(circle at top, #111c1f 0, #050b0c 60%, #000000);
}

.section-header {
  text-align: left;
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: 1.9rem;
  margin: 0 0 8px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

.section-footnote {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Header and nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-main {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.logo-sub {
  font-size: 0.78rem;
  color: var(--muted);
}

.main-nav {
  display: flex;
  gap: 16px;
  font-size: 0.9rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  color: var(--text);
  padding: 4px 10px;
  font-size: 1rem;
}

/* Hero */

.hero {
  padding: 72px 0 60px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.6fr 1.1fr;
  gap: 32px;
  align-items: stretch;
}

.hero-text h1 {
  font-size: 2.3rem;
  margin: 0 0 12px;
}

.hero-lead {
  font-size: 1.1rem;
  margin: 0 0 16px;
  color: var(--muted);
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  color: var(--muted);
}

.hero-bullets li {
  margin-bottom: 6px;
  padding-left: 18px;
  position: relative;
}

.hero-bullets li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.hero-note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Hero side */

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.badge {
  background: var(--accent-soft);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  border: 1px solid rgba(197, 215, 91, 0.25);
}

.badge-title {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
  color: var(--accent);
}

.badge-sub {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-card {
  background: radial-gradient(circle at top, #193025, #091010);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 16px;
  border: 1px solid rgba(197, 215, 91, 0.35);
}

.hero-card h2 {
  font-size: 1.2rem;
  margin: 0 0 8px;
}

.hero-card p {
  margin: 4px 0;
  font-size: 0.95rem;
}

.hero-card a {
  color: var(--accent);
  text-decoration: none;
}

.hero-card a:hover {
  text-decoration: underline;
}

.hero-card-note {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.95rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.08s ease;
  outline: none;
}

.btn-primary {
  background: var(--accent);
  color: #111;
  font-weight: 600;
}

.btn-primary:hover {
  background: #d8ea6c;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-soft);
  color: var(--muted);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Split layout */

.split {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr;
  gap: 28px;
}

.split p {
  margin-top: 0;
}

/* Cards */

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

.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  padding: 16px 16px 14px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Vehicle grid */

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

.vehicle-col h3 {
  margin-top: 0;
}

.vehicle-col ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

/* Checklist */

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
}

.checklist li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  font-size: 0.8rem;
  color: var(--accent);
}

/* Testimonial */

.testimonial {
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--card-alt);
  border: 1px solid var(--border-soft);
}

.testimonial-quote {
  margin: 0 0 6px;
  font-style: italic;
}

.testimonial-name {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* FAQ */

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

details {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  padding: 10px 12px;
}

summary {
  cursor: pointer;
  list-style: none;
  font-weight: 500;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--muted);
}

details[open] summary::after {
  content: "\2212";
}

details p {
  margin: 8px 0 4px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Contact */

.contact-split {
  align-items: flex-start;
}

.contact-form {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 16px 16px 14px;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.form-row label {
  font-size: 0.9rem;
}

input,
textarea {
  background: #05090b;
  border-radius: 6px;
  border: 1px solid #273237;
  padding: 8px 10px;
  color: var(--text);
  font: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-note {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--muted);
}

.contact-details h3 {
  margin-top: 0;
}

.contact-details p {
  margin: 4px 0;
  font-size: 0.95rem;
}

.contact-details a {
  color: var(--accent);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-note {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border-soft);
  background: #020304;
  padding: 16px 0 18px;
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-small {
  margin-top: 4px;
  font-size: 0.8rem;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 420px;
  }

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

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

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

@media (max-width: 720px) {
  .site-header {
    padding-inline: 0;
  }

  .header-inner {
    gap: 10px;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 10px 16px 12px;
    border-bottom: 1px solid var(--border-soft);
    background: rgba(0, 0, 0, 0.98);
    display: none;
    flex-direction: column;
    gap: 4px;
  }

  .main-nav.open {
    display: flex;
  }

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

  .hero {
    padding-top: 56px;
  }

  .hero-text h1 {
    font-size: 1.9rem;
  }

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

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