:root {
  --nav: #1a1a1a;
  --sand: #c4b59a;
  --sand-deep: #b8a78a;
  --card-tan: #d6c7a8;
  --olive: #4a5a2a;
  --olive-dark: #3a4820;
  --ink: #2a2418;
  --ink-soft: #3d3426;
  --copper: #c4a574;
  --white: #f5f0e6;
  --muted: #5c5346;
  --btn: #2c2c2c;
  --line: rgba(42, 36, 24, 0.22);
  --font-display: var(--font-oswald), "Oswald", "Arial Narrow", sans-serif;
  --font-body: var(--font-barlow), "Barlow", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #ebe4d4;
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.brand-logo--header {
  order: 0;
  width: 48px;
  height: 48px;
  max-width: 48px;
  max-height: 48px;
}

.brand-logo-img {
  display: block;
  height: auto;
  border-radius: 0.2rem;
}

.brand-logo-img--header,
.site-header .brand-logo-img--header,
.elementor .brand-logo-img--header {
  width: 48px !important;
  height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  object-fit: contain !important;
}

.site-header img.brand-logo-img--header {
  width: 48px !important;
  height: 48px !important;
}

.brand-logo-img--hero {
  width: min(220px, 42vw);
  max-width: 220px;
  border-radius: 0.35rem;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.quote-btn.desktop-only {
  flex-shrink: 0;
  margin-left: auto;
}

.nav-links a,
.nav-toggle {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  min-width: 12rem;
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.35rem);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  list-style: none;
  margin: 0;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-panel a {
  display: block;
  padding: 0.65rem 1rem;
  letter-spacing: 0.12em;
}

.nav-dropdown-panel a::after {
  display: none;
}

.nav-dropdown-panel a:hover {
  background: rgba(196, 165, 116, 0.12);
  color: var(--copper);
}

.quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.quote-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--copper);
}

.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  padding: 0.45rem 0.7rem;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  text-transform: uppercase;
  cursor: pointer;
}

/* ========== Hero ========== */
.home-hero {
  position: relative;
  overflow: visible;
  background:
    radial-gradient(ellipse at 18% 12%, rgba(60, 55, 45, 0.18), transparent 42%),
    linear-gradient(180deg, #d2c3a5 0%, var(--sand) 45%, #b9a888 100%);
  padding: 2.75rem 1.25rem 5rem;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.14'/%3E%3C/svg%3E");
  opacity: 0.18;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  isolation: isolate;
}

.home-hero .brand-logo--hero {
  position: relative;
  z-index: 3;
  margin: 0 auto 0.35rem;
  background: #000;
  border-radius: 0.35rem;
  line-height: 0;
  overflow: hidden;
  /* Avoid entrance animation washing out the mark on first paint */
  animation: none;
  opacity: 1;
}

.home-hero .brand-logo--hero img {
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  display: block;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-top: 1.75rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  z-index: 3;
}

.hero-copy {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  animation: fadeRise 1s ease 0.1s both;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.45rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.hero-sub {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.hero-body {
  margin: 0.85rem auto 0;
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 32rem;
}

.hero-lineup {
  margin: 0;
  width: min(100%, 1100px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
  animation: fadeRise 1.15s ease 0.18s both;
}

.hero-lineup figure {
  margin: 0;
  width: 100%;
  /* Match source hero art (~1024x682) so nothing is cropped */
  aspect-ratio: 1024 / 682;
  display: block;
  overflow: hidden;
  border-radius: 0.25rem;
  background: #0d0d0d;
  box-shadow: 0 12px 18px rgba(0, 0, 0, 0.28);
}

.hero-lineup img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.hero-ground {
  display: none;
}

/* ========== Models grid ========== */
.models-section {
  background: #2a2418;
  padding: 5.5rem 1.25rem 3.5rem;
  margin-top: 0;
  position: relative;
  z-index: 1;
  clear: both;
}

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

.model-card {
  background: var(--card-tan);
  border-radius: 0.85rem;
  padding: 1.15rem 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.model-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.3);
}

.model-card-image {
  background: #111;
  border-radius: 0.5rem;
  overflow: hidden;
  aspect-ratio: 1024 / 682;
  display: block;
  margin-bottom: 1rem;
}

.model-card-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}

.model-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.model-card .tagline {
  margin: 0.35rem 0 0.75rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.model-card ul {
  margin: 0 0 1.25rem;
  padding: 0 0 0 1.1rem;
  flex: 1;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.model-card li + li {
  margin-top: 0.25rem;
}

.btn-dark {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--btn);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-dark:hover {
  background: #111;
}

/* ========== Footer / trust bar ========== */
.trust-footer {
  background: var(--olive);
  color: var(--white);
  padding: 2rem 1.25rem;
}

.trust-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1.4fr 1.2fr;
  gap: 1.75rem;
  align-items: center;
}

.usa-seal {
  width: 128px;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

.usa-seal img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.trust-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  letter-spacing: 0.04em;
  color: var(--copper);
  text-transform: uppercase;
}

.trust-copy p {
  margin: 0.55rem 0 0;
  font-size: 0.92rem;
  color: rgba(245, 240, 230, 0.92);
  max-width: 34rem;
}

.trust-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  text-align: center;
}

.trust-pillars article {
  color: var(--copper);
}

.trust-pillars .icon {
  width: 2.6rem;
  height: 2.6rem;
  margin: 0 auto 0.45rem;
  color: var(--copper);
  display: grid;
  place-items: center;
}

.trust-pillars .icon svg {
  width: 100%;
  height: 100%;
}

.trust-pillars h3 {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-pillars p {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: rgba(245, 240, 230, 0.85);
}

.site-footer-bar {
  background: var(--olive-dark);
  color: rgba(245, 240, 230, 0.7);
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 0.75rem 1rem;
  text-transform: uppercase;
}

/* ========== Page shells ========== */
.page-hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0d0d0d;
  overflow: hidden;
  width: 100%;
}

.page-hero img {
  position: relative;
  z-index: 0;
  display: block;
  width: min(100%, 1200px);
  height: auto;
  max-height: min(72vh, 720px);
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 20%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

.page-section {
  max-width: 1040px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.page-section h1,
.page-section h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
  color: var(--ink);
}

.page-section .lede {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 46rem;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 2rem 0;
}

.spec-tile {
  background: var(--card-tan);
  border: 1px solid var(--line);
  padding: 1rem;
}

.spec-tile dt {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.spec-tile dd {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
}

.capability-list {
  columns: 2;
  gap: 2rem;
  margin: 1.25rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.capability-list li + li {
  margin-top: 0.4rem;
}

.app-groups {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.app-card {
  background: var(--card-tan);
  border-radius: 0.75rem;
  padding: 1.35rem 1.5rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.app-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--olive-dark);
}

.app-card ul {
  margin: 0;
  padding-left: 1.1rem;
  columns: 2;
  gap: 1.5rem;
  color: var(--ink-soft);
}

.accessories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.accessory-card {
  background: #2a2418;
  color: var(--white);
  padding: 1.4rem;
  border-left: 4px solid var(--copper);
}

.accessory-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--copper);
}

.accessory-card p {
  margin: 0;
  color: rgba(245, 240, 230, 0.85);
  font-size: 0.95rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.pillar {
  background: var(--olive);
  color: var(--white);
  padding: 1.4rem;
  text-align: center;
}

.pillar h3 {
  margin: 0;
  color: var(--copper);
  font-family: var(--font-display);
  letter-spacing: 0.12em;
}

.pillar p {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
}

.quote-form {
  display: grid;
  gap: 0.9rem;
  max-width: 560px;
  margin-top: 1.5rem;
}

.quote-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--ink);
  border-radius: 2px;
}

.quote-form textarea {
  min-height: 140px;
  resize: vertical;
}

.quote-form .btn-dark {
  width: auto;
  justify-self: start;
  padding-inline: 1.6rem;
  margin-top: 0.35rem;
}

.contact-meta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

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

.mobility-card {
  background: #1f1a12;
  color: var(--white);
  padding: 1.35rem;
}

.mobility-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  color: var(--copper);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1rem;
}

.mobility-card ul {
  margin: 0;
  padding-left: 1.05rem;
  color: rgba(245, 240, 230, 0.88);
  font-size: 0.9rem;
}

.mobility-card li + li {
  margin-top: 0.35rem;
}

@keyframes fadeRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== Responsive ========== */
@media (max-width: 960px) {
  .models-grid,
  .specs-grid,
  .pillars,
  .mobility-grid,
  .trust-inner {
    grid-template-columns: 1fr;
  }

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

  .hero-lineup {
    width: min(100%, 960px);
  }

  .accessories-grid,
  .app-card ul,
  .capability-list {
    columns: 1;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #121212;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
  }

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

  .nav-links > li {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links a,
  .nav-toggle {
    display: block;
    padding: 0.85rem 1.25rem;
  }

  .nav-dropdown-panel {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    background: #0c0c0c;
    min-width: 0;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .brand-logo--header {
    margin-right: auto;
  }

  .quote-btn.desktop-only {
    display: none;
  }

  .hero-lineup {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .trust-pillars {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 821px) {
  .mobile-quote {
    display: none;
  }
}
