:root {
  --graphite: #14171A;
  --paper: #F7F4EF;
  --orange: #FF5A1F;
  --orange-dark: #E34710;
  --teal: #0B5D57;
  --stone: #8C8A85;
  --stone-light: #E4E0D8;
  --radius: 14px;
  --headline-font: "Helvetica Neue Condensed", "Arial Narrow", system-ui, sans-serif;
  --body-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--body-font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--headline-font);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0 0 0.4em;
  text-transform: uppercase;
}

p { margin: 0 0 1em; color: var(--graphite); }

.eyebrow {
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.6em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 2px solid transparent;
  padding: 0.85em 1.6em;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color .15s ease;
  text-decoration: none;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--orange); color: var(--paper); }
.btn--primary:hover { background: var(--orange-dark); }
.btn--ghost { background: transparent; color: var(--graphite); border-color: var(--graphite); }
.btn--ghost:hover { background: var(--graphite); color: var(--paper); }
.btn--large { padding: 1em 2em; font-size: 1.02rem; }
.btn--small { padding: 0.55em 1.1em; font-size: 0.82rem; }
.btn--block { width: 100%; }

.link-btn {
  background: none;
  border: none;
  color: var(--paper);
  font-family: var(--body-font);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 244, 239, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--stone-light);
}
.nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}
.nav__logo {
  font-family: var(--headline-font);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--graphite);
  text-decoration: none;
}
.nav__tag {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--stone);
  font-weight: 700;
}
.lang-switch {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem;
  max-width: 100%;
}
.lang-switch button {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--stone);
  background: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.35em 0.6em;
  cursor: pointer;
}
.lang-switch button svg { border-radius: 2px; display: block; flex-shrink: 0; }
.lang-switch button:hover { color: var(--graphite); }
.lang-switch button.is-active {
  color: var(--graphite);
  border-color: var(--stone-light);
  background: var(--paper);
}
@media (max-width: 900px) {
  .lang-switch button span { display: none; }
  .lang-switch button { padding: 0.4em; }
}
@media (max-width: 640px) {
  .nav__tag { display: none; }
  .lang-switch button { padding: 0.4em 0.55em; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 1.25rem 4.5rem;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
}
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,23,26,0.35) 0%, rgba(20,23,26,0.55) 55%, rgba(20,23,26,0.88) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  padding: 0 0.25rem;
}
.eyebrow--light { color: var(--orange); }
.hero__headline { font-size: clamp(2.4rem, 6vw, 4.2rem); color: var(--paper); }
.hero__sub { font-size: 1.08rem; color: rgba(247,244,239,0.88); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.6rem 0 0.8rem; }
.btn--ghost-light { color: var(--paper); border-color: rgba(247,244,239,0.6); }
.btn--ghost-light:hover { background: var(--paper); color: var(--graphite); }
.hero__microcopy { font-size: 0.82rem; color: var(--stone); margin: 0; }
.hero__microcopy--light { color: rgba(247,244,239,0.7); }

.flag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.8rem;
}
.flag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(247,244,239,0.12);
  border: 1px solid rgba(247,244,239,0.25);
  border-radius: 999px;
  padding: 0.35em 0.8em 0.35em 0.5em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--paper);
  backdrop-filter: blur(4px);
}
.flag-chip svg { border-radius: 2px; display: block; flex-shrink: 0; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
}
.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 220px;
  grid-row: span 2;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.3em 0.7em;
  background: rgba(20,23,26,0.55);
  border-radius: 999px;
  backdrop-filter: blur(3px);
}
@media (max-width: 800px) {
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery-item { grid-row: auto; min-height: 200px; }
}

/* ---------- Photo-backed sections ---------- */
.section--photo-bg { position: relative; }
.section--photo-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1653564245106-cd111ed154de?fm=jpg&q=60&w=1600&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  opacity: 0.16;
}
.section--photo-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--graphite) 0%, rgba(20,23,26,0.85) 100%);
}
.section--photo-bg > * { position: relative; z-index: 1; }

.cta-final { position: relative; padding: 0; overflow: hidden; max-width: none; }
.cta-final__photo { position: absolute; inset: 0; }
.cta-final__photo img { width: 100%; height: 100%; object-fit: cover; }
.cta-final__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 6rem 1.25rem 6.5rem;
}
.cta-final__content h2 { color: var(--paper); }
.cta-final__content p { color: rgba(247,244,239,0.85); margin-bottom: 1.6rem; }

/* ---------- Strip ---------- */
.strip {
  background: var(--graphite);
  color: var(--paper);
  overflow: hidden;
}
.strip__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  justify-content: center;
}
.strip .dot { color: var(--orange); }

/* ---------- Sections ---------- */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
}
.section--dark {
  max-width: none;
  background: var(--graphite);
  color: var(--paper);
}
.section--dark .section__head,
.section--dark h2 { color: var(--paper); }
.section--dark .section__sub { color: var(--stone-light); }
.section--dark .fleet-grid { max-width: 1120px; margin: 0 auto; }

.section__head { max-width: 640px; margin: 0 auto 2.5rem; text-align: center; }
.section__head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section__sub { color: var(--stone); }

.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) {
  .grid--3 { grid-template-columns: 1fr; }
}

.card, .step {
  background: #fff;
  border: 1px solid var(--stone-light);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.card__num, .step__num {
  font-family: var(--headline-font);
  font-size: 1.6rem;
  color: var(--orange);
  font-weight: 800;
  margin-bottom: 0.4rem;
}
.card h3, .step h3 { font-size: 1.15rem; text-transform: none; }
.card p, .step p { color: var(--stone); margin: 0; font-size: 0.95rem; }

/* ---------- Fleet grid ---------- */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.fleet-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.fleet-card:hover { border-color: var(--orange); background: rgba(255,90,31,0.08); }
.fleet-card__brand {
  font-family: var(--headline-font);
  font-weight: 800;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 0.35rem;
}
.fleet-card__models { color: var(--stone-light); font-size: 0.88rem; }

.cta-final__content h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

/* ---------- Footer ---------- */
.footer { background: var(--graphite); color: var(--paper); }
.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.25rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--stone-light);
}
.footer .nav__logo { color: var(--paper); }
.footer__credits {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem 6.5rem;
  font-size: 0.72rem;
  color: var(--stone);
}
.footer__credits a { color: var(--stone); text-decoration: underline; }
.footer__credits a:hover { color: var(--stone-light); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 45;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--paper) 60%, transparent);
  display: none;
}
@media (max-width: 720px) {
  .sticky-cta { display: block; }
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 23, 26, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 100;
  padding: 0;
}
@media (min-width: 640px) {
  .modal-overlay { align-items: center; padding: 1.5rem; }
}
.modal-overlay[hidden] { display: none; }
.modal {
  position: relative;
  background: var(--paper);
  width: 100%;
  max-width: 480px;
  border-radius: 20px 20px 0 0;
  padding: 2.2rem 1.6rem 2rem;
  max-height: 92vh;
  overflow-y: auto;
}
@media (min-width: 640px) {
  .modal { border-radius: var(--radius); padding: 2.6rem; }
}
.modal--large { max-width: 560px; }
.modal__close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--stone-light);
  background: #fff;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--graphite);
  cursor: pointer;
}
.modal h3 { font-size: 1.5rem; text-transform: none; }
.modal__sub { color: var(--stone); }

#newsletter-form input,
.step-panel input,
.step-panel select {
  width: 100%;
  font-family: var(--body-font);
  font-size: 1rem;
  padding: 0.85em 1em;
  border-radius: 10px;
  border: 1.5px solid var(--stone-light);
  background: #fff;
  color: var(--graphite);
  margin-bottom: 0.8rem;
}
#newsletter-form input:focus,
.step-panel input:focus,
.step-panel select:focus {
  outline: none;
  border-color: var(--orange);
}

.form-error {
  color: var(--orange-dark);
  font-size: 0.85rem;
  margin: 0.6rem 0 0;
}

.modal__success { text-align: center; padding: 1rem 0; }
.modal__success h3 { margin-top: 0.4rem; }

/* ---------- Progressive form ---------- */
.progress {
  height: 4px;
  background: var(--stone-light);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.6rem;
}
.progress__bar {
  height: 100%;
  width: 16.6%;
  background: var(--orange);
  transition: width 0.25s ease;
}
.step-help { color: var(--stone); font-size: 0.9rem; margin-top: -0.6rem; }

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 1.2rem;
}
.choice-grid--stack { grid-template-columns: 1fr; }
.choice {
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 1em 1.1em;
  border-radius: 12px;
  border: 1.5px solid var(--stone-light);
  background: #fff;
  color: var(--graphite);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.choice:hover { border-color: var(--orange); }
.choice.is-selected { border-color: var(--orange); background: rgba(255,90,31,0.08); }

.height-input {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.2rem 0 1.4rem;
}
.height-input input {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
}
.height-unit { color: var(--stone); font-weight: 600; }

.step-back {
  background: none;
  border: none;
  color: var(--stone);
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  padding: 0;
  font-size: 0.9rem;
}

.step-panel select { appearance: auto; }
.step-panel select:disabled { color: var(--stone); }
