/* Shared styles for the new, separate website pages. */

:root {
  color-scheme: dark;
  --bg: #07121f;
  --panel: #102235;
  --text: #f3f6fa;
  --muted: #b8c5d3;
  --red: #d91e36;
  --accent: #ff565f;
  --line: rgba(190, 210, 232, .22);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

:focus-visible {
  outline: 3px solid #91d6ff;
  outline-offset: 5px;
}

.container {
  width: min(1400px, calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: #fff;
  color: #111;
  padding: 12px;
}

.skip-link:focus {
  top: 10px;
}

/* Top bar */

.topbar {
  background: #b91d2f;
}

.topbar-inner {
  min-height: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

/* Header */

.site-header {
  position: relative;
  z-index: 20;
  background: #040d18;
  border-bottom: 4px solid transparent;
  border-image:
    linear-gradient(
      90deg,
      #2363a8 0 33%,
      #eef2f7 33% 66%,
      #d82237 66%
    ) 1;
}

.header-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  flex-shrink: 0;
  margin-right: auto;
}

.brand-logo {
  width: 178px;
  height: 104px;
  object-fit: contain;
}

.brand-fallback {
  font-weight: 900;
  font-size: 21px;
  line-height: 1.2;
}

.brand-fallback small {
  display: block;
  font-size: 12px;
  letter-spacing: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 23px;
  border: 1px solid #e83e50;
  border-radius: 7px;
  background: linear-gradient(135deg, #eb3448, #ad1026);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  transition: transform .2s, filter .2s;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.button-outline {
  background: rgba(5, 16, 29, .65);
  border-color: #90a8bf;
}

.header-quote {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 14px;
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #112437;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(2, 10, 20, .93),
    rgba(3, 13, 25, .58)
  );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding-block: 76px 92px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 800;
}

.hero h1 {
  margin: 24px 0;
  font-size: clamp(58px, 5.8vw, 92px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -3px;
}

.hero h1 span {
  color: var(--accent);
}

.hero h1 small {
  display: block;
  margin-top: 18px;
  font-size: .43em;
  line-height: 1.25;
  letter-spacing: 5px;
}

.tagline {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.hero-description {
  max-width: 570px;
  margin: 28px 0;
  font-size: 18px;
  line-height: 1.8;
  color: #dae3ed;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Featured vehicle */

.featured {
  min-width: 0;
  border: 1px solid #708198;
  border-radius: 16px;
  overflow: hidden;
  background: #0b1b2b;
  box-shadow: 0 25px 65px #0005;
}

.image-wrap {
  position: relative;
  overflow: hidden;
  background: #14273a;
}

.image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-wrap.has-error::after {
  content: "Photo unavailable";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.featured-image {
  aspect-ratio: 16 / 10;
}

.featured-label {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #bb1930;
  border-radius: 5px;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.featured-body {
  padding: 24px;
}

.vehicle-meta {
  margin: 0 0 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  color: var(--muted);
  text-transform: uppercase;
}

.featured h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.2;
}

.featured-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.price {
  font-size: 25px;
  font-weight: 900;
  white-space: nowrap;
}

.featured .button-row .button {
  flex: 1;
}

.video-toggle {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 14px;
  color: #fff;
  background: #07121fcc;
  font-size: 12px;
}

/* Links to separate pages */

.quick-section {
  padding: 26px 0;
  border-block: 1px solid var(--line);
  background: #0b1b2c;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.quick-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(135deg, #14283e, #081725);
}

.quick-number {
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2px;
}

.quick-card h2 {
  margin: 12px 0 8px;
  font-size: 23px;
}

.quick-card p {
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  color: #ff8891;
  font-weight: 700;
  font-size: 13px;
}

.text-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Inventory cards */

.section {
  padding-block: 76px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.15;
}

.rv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rv-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #0d2032;
}

.rv-photo {
  aspect-ratio: 16 / 10;
}

.rv-body {
  padding: 24px;
}

.rv-body h3 {
  min-height: 54px;
  margin: 8px 0 16px;
  font-size: 21px;
  line-height: 1.3;
}

.rv-body .button-row {
  margin-top: 20px;
}

.rv-body .button {
  flex: 1;
  padding-inline: 12px;
}

/* Quote call to action */

.cta-section {
  padding-block: 52px;
  background: linear-gradient(110deg, #142c45, #081523);
  border-top: 1px solid var(--line);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-inner h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  margin-bottom: 12px;
}

.cta-inner p {
  margin: 0;
  color: var(--muted);
}

.cta-inner .button {
  flex-shrink: 0;
}

/* Footer */

.site-footer {
  background: #030b15;
  padding: 50px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  font-size: 23px;
  font-weight: 900;
  line-height: 1.3;
}

.footer-brand small {
  display: block;
  font-size: 12px;
  letter-spacing: 3px;
}

.footer-grid p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 18px;
}

.footer-grid h2 {
  margin: 0 0 16px;
  font-size: 15px;
}

.footer-links {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

/* Responsive layout */

@media (max-width: 1100px) {
  .header-inner {
    gap: 20px;
  }

  .site-nav {
    gap: 20px;
  }

  .hero-grid {
    gap: 34px;
  }

  .featured-info {
    flex-wrap: wrap;
    gap: 12px;
  }

  .quick-card,
  .rv-body {
    padding: 20px;
  }

  .rv-body .button-row {
    flex-direction: column;
  }
}

@media (max-width: 820px) {
  .container {
    width: calc(100% - 36px);
  }

  .header-inner {
    min-height: 88px;
    gap: 12px;
  }

  .brand-logo {
    width: 130px;
    height: 80px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 24px;
    background: #040d18;
    box-shadow: 0 14px 24px #0005;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 8px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 48px 70px;
  }

  .hero h1 {
    font-size: clamp(58px, 10vw, 84px);
  }

  .hero-description {
    font-size: 17px;
  }

  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rv-grid {
    grid-template-columns: 1fr;
  }

  .rv-body h3 {
    min-height: 0;
  }

  .rv-body .button-row {
    flex-direction: row;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .topbar-inner {
    font-size: 9px;
    letter-spacing: .4px;
    min-height: 32px;
  }

  .topbar-inner > a {
    display: none;
  }

  .header-inner {
    gap: 8px;
  }

  .brand-logo {
    width: 100px;
    height: 74px;
  }

  .brand-fallback {
    max-width: 120px;
    font-size: 16px;
  }

  .header-quote {
    font-size: 11px;
    padding: 12px;
  }

  .menu-toggle {
    font-size: 12px;
    padding: 10px;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .hero h1 small {
    letter-spacing: 3px;
  }

  .button-row > .button {
    flex: 1 1 100%;
  }

  .quick-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 50px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}/* Hide setup notices on the quote page. */
#preview-note,
#captcha-preview {
  display: none !important;
}