:root {
  --navy: #07122d;
  --navy-2: #0b1f4a;
  --red: #ee1d25;
  --red-dark: #b91119;
  --yellow: #ffe12d;
  --sky: #eaf2ff;
  --white: #ffffff;
  --ink: #111827;
  --muted: #61708a;
  --line: rgba(7, 18, 45, 0.12);
  --shadow: 0 24px 70px rgba(7, 18, 45, 0.18);
  --radius: 8px;
  --content: 1440px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f7f9fd;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

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

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

#loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-content: center;
  gap: 18px;
  text-align: center;
  color: var(--white);
  background: var(--navy);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo,
.brand-text,
h1,
h2,
h3 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  letter-spacing: 0;
}

.loader-logo {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  font-style: italic;
}

.loader-logo span,
.brand-text strong {
  color: var(--yellow);
}

.loader-track {
  width: min(280px, 72vw);
  height: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.loader-track div {
  width: 42%;
  height: 100%;
  background: var(--red);
  animation: loadbar 1s ease-in-out infinite alternate;
}

@keyframes loadbar {
  from { transform: translateX(0); }
  to { transform: translateX(140%); }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
  padding: 0 clamp(18px, 5vw, 72px);
  color: var(--white);
  background: rgba(7, 18, 45, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.site-header.scrolled {
  background: rgba(7, 18, 45, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 38px;
  color: var(--red);
}

.brand-mark svg {
  width: 56px;
  height: 36px;
}

.brand-mark path,
.brand-mark circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-text {
  color: var(--red);
  font-size: 2rem;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-left: auto;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--yellow);
}

.header-call {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--navy);
  background: var(--yellow);
  border-radius: var(--radius);
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(255, 225, 45, 0.25);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 116px clamp(18px, 5vw, 72px) 48px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(238, 29, 37, 0.28), transparent 28%),
    linear-gradient(135deg, #07122d 0%, #0b1f4a 48%, #154c9f 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background:
    linear-gradient(120deg, transparent 0 38%, rgba(255, 255, 255, 0.28) 38% 39%, transparent 39% 100%),
    repeating-linear-gradient(0deg, transparent 0 56px, rgba(255, 255, 255, 0.1) 56px 57px);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 70px);
  max-width: var(--content);
  min-height: calc(100svh - 164px);
  margin: 0 auto;
  min-width: 0;
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(4rem, 8vw, 7.8rem);
  font-weight: 800;
  font-style: italic;
  line-height: 0.86;
  text-transform: uppercase;
}

.hero-copy p {
  max-width: 570px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
}

.btn-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 18px 34px rgba(238, 29, 37, 0.28);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 650px;
  margin-top: 42px;
}

.trust-strip div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.trust-strip strong {
  display: block;
  color: var(--yellow);
  font-size: 1.45rem;
  line-height: 1;
}

.trust-strip span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-media {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  min-width: 0;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-note {
  position: absolute;
  right: -18px;
  bottom: 13%;
  max-width: 270px;
  padding: 18px;
  color: var(--navy);
  background: var(--yellow);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(7, 18, 45, 0.28);
}

.media-note span,
.media-note strong {
  display: block;
}

.media-note span {
  font-size: 0.82rem;
  font-weight: 700;
}

.media-note strong {
  margin-top: 5px;
  font-size: 1.12rem;
}

.quick-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--content);
  margin: -38px auto 0;
  position: relative;
  z-index: 5;
  padding: 0 clamp(18px, 4vw, 32px);
}

.quick-contact a {
  min-height: 112px;
  padding: 24px;
  color: var(--white);
  background: var(--red);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.quick-contact a:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
}

.quick-contact a:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
  border-right: 0;
}

.quick-contact span,
.quick-contact strong {
  display: block;
}

.quick-contact span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-contact strong {
  margin-top: 8px;
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.section {
  padding: clamp(76px, 10vw, 128px) clamp(18px, 5vw, 72px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.7fr);
  gap: 34px;
  align-items: end;
  max-width: var(--content);
  margin: 0 auto 44px;
}

.section-head h2,
.finance-panel h2,
.contact-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 800;
  font-style: italic;
  line-height: 0.94;
  text-transform: uppercase;
}

.section-head p,
.finance-panel p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: var(--content);
  margin: 0 auto;
}

.vehicle-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(7, 18, 45, 0.08);
}

.vehicle-visual {
  position: relative;
  height: 160px;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #dfe7f6;
}

.vehicle-visual img,
.deal-card img,
.steps-copy img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 2rem;
  font-style: italic;
}

.vehicle-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.finance {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #112c63);
}

.finance-panel {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 54px;
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 56px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.finance-panel h2,
.finance-panel p {
  color: var(--white);
}

.check-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 18px 18px 18px 56px;
  background: rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  font-weight: 800;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--yellow);
  font-size: 1.4rem;
}

.partner-map {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  max-width: var(--content);
  margin: 0 auto;
}

.deals {
  background: #ffffff;
}

.deal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: var(--content);
  margin: 0 auto;
}

.deal-card {
  position: relative;
  min-height: 310px;
  padding: 28px;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(7, 18, 45, 0.92), rgba(13, 43, 99, 0.94)),
    radial-gradient(circle at 85% 10%, rgba(255, 225, 45, 0.32), transparent 28%);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(7, 18, 45, 0.12);
}

.deal-card.featured {
  background:
    linear-gradient(145deg, rgba(238, 29, 37, 0.96), rgba(152, 19, 28, 0.96)),
    radial-gradient(circle at 80% 12%, rgba(255, 225, 45, 0.35), transparent 30%);
}

.deal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(7, 18, 45, 0.95), rgba(7, 18, 45, 0.2));
}

.deal-card.featured::before {
  background: linear-gradient(to top, rgba(152, 19, 28, 0.96), rgba(152, 19, 28, 0.28));
}

.deal-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  filter: saturate(1.05);
  transition: transform 0.4s ease;
}

.deal-card:hover img {
  transform: scale(1.05);
}

.deal-card span {
  position: relative;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--navy);
  background: var(--yellow);
  border-radius: var(--radius);
  font-weight: 900;
}

.deal-card h3 {
  position: relative;
  z-index: 2;
  margin: 92px 0 14px;
  font-size: clamp(2rem, 3vw, 3rem);
  font-style: italic;
  line-height: 0.95;
  text-transform: uppercase;
}

.deal-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.68;
}

.steps {
  color: var(--white);
  background: linear-gradient(135deg, #07122d, #123b86);
}

.steps-wrap {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 46px;
  max-width: var(--content);
  margin: 0 auto;
  align-items: start;
}

.steps-copy h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-style: italic;
  line-height: 0.94;
  text-transform: uppercase;
}

.steps-copy p {
  max-width: 390px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.72;
}

.steps-copy img {
  display: block;
  height: 240px;
  margin-top: 28px;
  border-radius: var(--radius);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.22);
}

.step-list {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.step-list div {
  position: relative;
  min-height: 118px;
  padding: 24px 24px 24px 86px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.step-list div::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  left: 24px;
  top: 24px;
  color: var(--yellow);
  font-size: 1.4rem;
  font-weight: 900;
}

.step-list strong,
.step-list span {
  display: block;
}

.step-list strong {
  font-size: 1.1rem;
}

.step-list span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.62;
}

.map-card {
  position: relative;
  min-height: 430px;
  padding: 36px;
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(circle at 62% 28%, rgba(255, 225, 45, 0.28), transparent 4%),
    radial-gradient(circle at 54% 60%, rgba(238, 29, 37, 0.26), transparent 6%),
    linear-gradient(135deg, #0d1d42, #174f9f);
  border-radius: var(--radius);
}

.map-card::before {
  content: "";
  position: absolute;
  inset: 34px 28%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 48% 52% 44% 56%;
  transform: rotate(16deg);
}

.map-card h3 {
  position: relative;
  max-width: 410px;
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  font-style: italic;
  line-height: 0.95;
  text-transform: uppercase;
}

.map-card p {
  position: relative;
  max-width: 440px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.pin {
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--yellow);
  border: 4px solid var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(255, 225, 45, 0.16);
}

.auckland { right: 30%; top: 26%; }
.wellington { right: 37%; top: 47%; }
.christchurch { right: 43%; top: 64%; }
.dunedin { right: 36%; top: 78%; }

.partner-stats {
  display: grid;
  gap: 18px;
}

.partner-stats div {
  display: grid;
  align-content: center;
  min-height: 128px;
  padding: 24px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.partner-stats strong {
  color: var(--red);
  font-size: 3rem;
  line-height: 1;
}

.partner-stats span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.contact {
  padding-top: 0;
}

.contact-card {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 44px;
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  color: var(--white);
  background: linear-gradient(135deg, var(--red), #98131c);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-copy h2,
.contact-copy p {
  color: var(--white);
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  font-weight: 800;
}

.contact-lines a,
.contact-lines span {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid transparent;
  border-radius: var(--radius);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 225, 45, 0.28);
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--yellow);
  font-weight: 800;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--navy);
}

.footer-brand .brand-text {
  font-size: 1.8rem;
}

footer p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  background: var(--yellow);
  font-size: 1.2rem;
  font-weight: 900;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-top.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    height: 70px;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 18px 24px;
    background: rgba(7, 18, 45, 0.98);
  }

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

  .nav-links a {
    padding: 15px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header-call {
    margin-left: auto;
  }

  .menu-toggle {
    display: block;
  }

  .hero-content,
  .section-head,
  .finance-panel,
  .deal-grid,
  .steps-wrap,
  .partner-map,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-content {
    min-height: auto;
    width: 100%;
    max-width: 342px;
    margin-inline: 0;
  }

  .hero-copy,
  .hero-media,
  .hero-media img,
  .trust-strip {
    width: 100%;
    max-width: 342px;
  }

  .hero-copy h1 {
    max-width: 342px;
    font-size: clamp(3.1rem, 8vw, 4.4rem);
  }

  .hero-copy p {
    max-width: 342px;
  }

  .hero-media {
    align-self: auto;
  }

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

  .quick-contact a,
  .quick-contact a:first-child,
  .quick-contact a:last-child {
    border-radius: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .quick-contact a:first-child {
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .quick-contact a:last-child {
    border-radius: 0 0 var(--radius) var(--radius);
  }
}

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

  .brand-mark {
    width: 42px;
  }

  .brand-mark svg {
    width: 42px;
  }

  .brand-text {
    font-size: 1.55rem;
  }

  .header-call {
    display: none;
  }

  .hero {
    padding-top: 104px;
  }

  .hero-content,
  .hero-copy,
  .hero-media,
  .hero-media img,
  .trust-strip {
    width: 100%;
    max-width: calc(100vw - 48px);
  }

  .hero-copy h1 {
    max-width: calc(100vw - 48px);
    font-size: clamp(3.1rem, 15vw, 4.4rem);
  }

  .hero-copy p {
    max-width: calc(100vw - 48px);
  }

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

  .media-note {
    position: static;
    max-width: none;
    margin-top: 12px;
  }

  .vehicle-card {
    padding: 16px;
  }

  .map-card {
    min-height: 360px;
  }

  footer {
    display: grid;
  }
}
