@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap");

:root {
  --color-primary: #0f172a;
  --color-on-primary: #ffffff;
  --color-secondary: #334155;
  --color-accent: #c85a00;
  --color-on-accent: #ffffff;
  --color-background: #f8fafc;
  --color-foreground: #0f172a;
  --color-card: #ffffff;
  --color-muted: #e8ecf1;
  --color-muted-foreground: #475569;
  --color-border: #e2e8f0;
  --color-ring: #0077b3;
  --brand-red: #d51a22;
  --brand-orange: #c85a00;
  --brand-orange-bright: #f07a00;
  --brand-blue: #0077b3;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.1);
  --radius: 10px;
  --nav-h: 72px;
  --max: 1120px;
  --max-wide: 1320px;
  --font-heading: "Inter Tight", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-foreground);
  background: var(--color-background);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--color-primary);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .wrap {
    width: min(var(--max), calc(100% - 3rem));
  }
}

@media (min-width: 1024px) {
  .wrap {
    width: min(var(--max), calc(100% - 4rem));
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.swoosh {
  display: inline-flex;
  width: 28px;
  height: 10px;
  flex-shrink: 0;
}

.swoosh span {
  display: block;
  flex: 1;
  border-radius: 99px;
}

.swoosh span:nth-child(1) {
  background: var(--brand-red);
  transform: translateY(-3px);
}

.swoosh span:nth-child(2) {
  background: var(--brand-orange-bright);
}

.swoosh span:nth-child(3) {
  background: var(--brand-blue);
  transform: translateY(3px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  min-height: var(--nav-h);
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  height: 46px;
  cursor: pointer;
}

.logo img {
  height: 46px;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--color-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 200ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--color-foreground);
}

.btn.nav-cta {
  display: none;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  color: var(--color-foreground);
}

.menu-btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-ring);
  outline-offset: 2px;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }

  .btn.nav-cta {
    display: inline-flex;
  }

  .menu-btn {
    display: none;
  }
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--color-border);
  background: #fff;
  padding: 12px 0 20px;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-weight: 600;
  color: var(--color-secondary);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-on-accent);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: #b04e00;
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: #cbd5e1;
}

.btn-secondary:hover {
  border-color: var(--color-primary);
}

section[id] {
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

.hero {
  padding: 36px 0 28px;
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

@media (min-width: 1024px) {
  .hero {
    padding: 56px 0 40px;
  }
}

.hero-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;
    gap: 40px;
  }
}

.hero h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.55rem);
  max-width: 16ch;
  margin: 16px 0 18px;
}

.hero-lead {
  color: var(--color-muted-foreground);
  font-size: 1.05rem;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  color: var(--color-secondary);
  font-size: 0.88rem;
  font-weight: 600;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-row svg {
  width: 18px;
  height: 18px;
  color: var(--brand-blue);
}

.stats {
  padding: 8px 0 8px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  padding: 8px 10px;
}

.stat b {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  letter-spacing: -0.04em;
  color: var(--color-foreground);
}

.stat span {
  color: var(--color-muted-foreground);
  font-size: 0.9rem;
}

.section {
  padding: 72px 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 96px 0;
  }
}

.section-head {
  max-width: 640px;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin: 12px 0 12px;
}

.section-head p {
  color: var(--color-muted-foreground);
}

.flow {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .flow {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px 20px;
}

.step-num {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-orange);
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.step h3 {
  margin: 10px 0 8px;
  font-size: 1.05rem;
}

.step p {
  color: var(--color-muted-foreground);
  font-size: 0.94rem;
}

.quote {
  background: #fff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.quote-grid {
  display: grid;
  gap: 36px;
}

@media (min-width: 960px) {
  .quote-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.form {
  display: grid;
  gap: 14px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  gap: 14px;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-secondary);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  color: var(--color-foreground);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-ring);
  box-shadow: 0 0 0 3px rgba(0, 119, 179, 0.16);
  outline: none;
}

.form-note {
  color: var(--color-muted-foreground);
  font-size: 0.82rem;
}

.form-success {
  display: none;
  padding: 12px 14px;
  border-radius: 8px;
  background: #eef8f1;
  color: #166534;
  font-weight: 600;
}

.form-success.is-visible {
  display: block;
}

.site-footer {
  padding: 36px 0 28px;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted-foreground);
}

.footer-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand img {
  height: 48px;
  width: auto;
}

.footer-brand p {
  margin-top: 12px;
  max-width: 36ch;
  font-size: 0.92rem;
}

.footer-grid h4 {
  color: var(--color-foreground);
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 6px 0;
  font-size: 0.92rem;
  cursor: pointer;
}

.copyright {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  font-size: 0.82rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.media-toggle {
  margin-top: 22px;
}

#routes {
  overflow: hidden;
}

.mode {
  display: grid;
  gap: 0;
  margin: 28px auto;
  width: min(var(--max-wide), calc(100% - 1.5rem));
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 900px) {
  .mode {
    grid-template-columns: 1.15fr 0.85fr;
    margin: 40px auto;
  }

  .mode:nth-child(even):not(.mode-scene) {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .mode:nth-child(even):not(.mode-scene) .mode-text {
    order: -1;
  }
}

.mode-media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.mode-media img,
.mode-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.mode-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mode-badge img {
  position: static;
  width: 42px;
  height: auto;
}

.mode-text {
  padding: 36px 28px;
  display: grid;
  align-content: center;
  gap: 14px;
}

.mode-text h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.mode-text p {
  color: var(--color-muted-foreground);
  font-size: 1.05rem;
  max-width: 36ch;
}

.mode.mode-scene {
  padding: 0;
}

@media (min-width: 900px) {
  .mode.mode-scene {
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
    align-items: center;
  }

  .mode.mode-scene[data-from="right"] {
    grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
  }

  .mode.mode-scene[data-from="right"] .mode-text {
    order: -1;
    padding: 28px 8px 28px 32px;
    text-align: left;
  }

  .mode.mode-scene[data-from="right"] .mode-badge {
    left: auto;
    right: 18px;
  }
}

.mode-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 1.1rem 0 1rem;
}

.mode-vehicle-motion {
  width: 106%;
  margin-left: -3%;
}

@media (prefers-reduced-motion: no-preference) {
  .mode-motion-ready .mode-vehicle-motion {
    opacity: 0;
    transform: translateX(-110%);
  }
  .mode-motion-ready[data-from="right"] .mode-vehicle-motion {
    transform: translateX(110%);
  }
  .mode-motion-ready.is-arrived .mode-vehicle-motion {
    opacity: 1;
    transform: translateX(0);
    transition: transform 1400ms cubic-bezier(0.22, 1, 0.36, 1), opacity 450ms ease;
  }
}

.mode-scene[data-from="right"] .mode-vehicle-motion {
  margin-left: 0;
  margin-right: -4%;
  width: 108%;
}

.mode-vehicle {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 18px rgba(15, 23, 42, 0.14));
}

.mode-scene .mode-text {
  padding: 28px 32px 28px 8px;
}

@media (max-width: 899px) {
  .mode-scene .mode-text {
    padding: 8px 24px 28px;
  }
}

/* Free horizontal scrolling: pointer drag, touch, trackpad and keyboard. */
.filmstrip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 8px 0 16px;
  scrollbar-width: thin;
  scrollbar-color: #95a28e #e5e9e1;
  cursor: grab;
  user-select: none;
}
.filmstrip.is-dragging { cursor: grabbing; }
.filmstrip:focus-visible { outline: 2px solid #526a53; outline-offset: 5px; border-radius: 12px; }
.film-card { flex: 0 0 min(72vw, 420px); min-width: 0; margin: 0; border-radius: 16px; overflow: hidden; background: #f4f4ef; border: 1px solid #233a2620; }
.film-card img { display: block; width: 100%; height: 280px; object-fit: cover; pointer-events: none; }
.film-card figcaption { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 19px 22px; color: #192b25; }
.film-card b { display: block; font-size: .95rem; font-weight: 500; }
.film-card small { display: block; margin-top: 4px; color: #63705e; font-size: .69rem; }
.film-number { font: .65rem Consolas, monospace; color: #73806a; }
.film-controls { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; }
.film-controls p { font-size: .7rem; color: #63705e; }
.film-controls p span { margin-left: 8px; }
.film-buttons { display: flex; gap: 9px; flex-shrink: 0; }
.film-buttons button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #233a2640; border-radius: 50%; background: transparent; color: #192b25; font-size: 1.3rem; cursor: pointer; transition: background 180ms ease, color 180ms ease; }
.film-buttons button:hover:not(:disabled) { background: #192b25; color: #f4f4ef; }
.film-buttons button:disabled { opacity: .3; cursor: default; }
@media (max-width: 540px) {
  .film-card img { height: 215px; }
  .film-card figcaption { padding: 16px; }
  .film-card b { font-size: .85rem; }
  .film-card small { font-size: .62rem; }
  .film-controls p { font-size: .61rem; max-width: 190px; }
}
@media (prefers-reduced-motion: reduce) { .film-buttons button { transition: none; } }

.photo-frame {
  overflow: hidden;
  border-radius: 24px;
}

.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes ken {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.18) translate3d(-2%, -1%, 0);
  }
}

