/* ========== reset & base ========== */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: #15191c;
  background: #fafaf7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

:root {
  --bg: #fafaf7;
  --bg-alt: #f3f3ee;
  --ink: #15191c;
  --ink-2: #4a5258;
  --ink-3: #7d858b;
  --line: #e4e1d9;
  --accent: #1FA8E0;
  --accent-deep: #0c7eb0;
  --max: 1240px;
  --pad: clamp(20px, 4vw, 56px);
  --radius: 14px;
}

h1, h2, h3 {
  font-family: 'Unbounded', 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0 0 0.4em;
  color: var(--ink);
}
h1 { font-size: clamp(30px, 5.6vw, 72px); }
h2 { font-size: clamp(26px, 3.8vw, 48px); }
h3 { font-size: clamp(18px, 1.5vw, 22px); font-family: 'Manrope'; font-weight: 700; letter-spacing: -0.005em; }
p  { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 14px;
  position: relative;
  padding-left: 28px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 18px; height: 2px;
  background: var(--accent);
  transform: translateY(-50%);
}
.accent { color: var(--accent-deep); }

/* ========== buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn--primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn:active { transform: translateY(1px); }

/* ========== nav ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px var(--pad);
  background: rgba(250,250,247,0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__brand img { height: 36px; width: auto; }
.nav__links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
}
.nav__links a {
  text-decoration: none;
  color: var(--ink-2);
  position: relative;
  padding: 4px 2px;
}
.nav__links a:hover { color: var(--ink); }
.nav__cta { padding: 10px 18px; font-size: 14px; }

@media (max-width: 760px) {
  .nav { gap: 12px; padding: 10px 16px; }
  .nav__links { display: none; }
  .nav__brand img { height: 30px; }
  .nav__cta { padding: 9px 14px; }
}

/* ========== hero ========== */
.hero {
  padding: clamp(80px, 12vw, 160px) var(--pad) clamp(80px, 10vw, 140px);
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(31,168,224,0.10), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(31,168,224,0.06), transparent 60%),
    var(--bg);
  position: relative;
  overflow: hidden;
}
.hero__inner { max-width: var(--max); margin: 0 auto; }
.hero__title { max-width: 18ch; }
.hero__lede {
  max-width: 56ch;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-2);
  margin-top: 24px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--ink-3);
  border-radius: 12px;
  opacity: 0.6;
}
.hero__scroll span {
  display: block;
  width: 2px;
  height: 8px;
  background: var(--ink-2);
  margin: 6px auto 0;
  border-radius: 2px;
  animation: scrollHint 1.6s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.2; }
}

/* ========== services / scrolly ========== */
.services {
  padding: clamp(80px, 10vw, 140px) var(--pad);
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.services__head {
  max-width: var(--max);
  margin: 0 auto 56px;
  text-align: center;
}
.services__head h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.services__lede { max-width: 60ch; margin: 16px auto 0; color: var(--ink-2); }
.services__head .eyebrow { padding-left: 0; }
.services__head .eyebrow::before { display: none; }

.scrolly {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.scrolly__map {
  position: relative;
  align-self: stretch;
}
.map-sticky {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 30px 80px -40px rgba(20,30,40,0.18);
}
.worldmap {
  width: 100%;
  height: auto;
  display: block;
}
.map-caption {
  margin: 14px 4px 0;
  font-size: 13px;
  color: var(--ink-3);
}
.map-caption__credit {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: #aab1b5;
}

.marker__label {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  fill: #15191c;
}
.marker--simple .marker__label {
  font-size: 12px;
  fill: #4a5258;
}
.vehicle { transition: opacity .3s ease; }

/* hide additional routes unless explicit multi mode is enabled */
.scrolly:not(.scrolly--multi) .route--multi-only { display: none; }

/* steps list */
.scrolly__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.step {
  position: relative;
  padding: 26px 28px 26px 108px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  min-height: 140px;
}
.step__num {
  position: absolute;
  left: 28px;
  top: 28px;
  width: 56px;
  text-align: right;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--line);
  letter-spacing: -0.02em;
  transition: color .35s ease;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }

.step.is-active {
  border-color: var(--accent);
  box-shadow: 0 20px 50px -30px rgba(31,168,224,0.5);
  transform: translateX(-6px);
}
.step.is-active .step__num { color: var(--accent); }

@media (max-width: 980px) {
  .scrolly { grid-template-columns: 1fr; }
  .map-sticky { position: relative; top: 0; }
}
@media (max-width: 560px) {
  .step { padding: 22px 22px 22px 84px; min-height: 0; }
  .step__num { left: 18px; top: 24px; width: 52px; font-size: 24px; }
}

/* ========== about ========== */
.about {
  padding: clamp(80px, 10vw, 140px) var(--pad);
  background: var(--ink);
  color: #ebeef0;
}
.about__inner { max-width: var(--max); margin: 0 auto; }
.about h2 { color: #fff; max-width: 22ch; }
.about .eyebrow { color: #6cd3ff; }
.about .eyebrow::before { background: #6cd3ff; }
.about__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 44px);
  margin-top: 32px;
  font-size: 16px;
  color: #c8cfd4;
}
.about__grid p { margin: 0; }
@media (max-width: 760px) { .about__grid { grid-template-columns: 1fr; } }

.pillars {
  list-style: none;
  margin: 56px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  font-size: 15px;
}
.pillars li { color: #c8cfd4; }
.pillars strong { display: block; color: #fff; font-weight: 700; margin-bottom: 4px; }
@media (max-width: 760px) { .pillars { grid-template-columns: repeat(2, 1fr); } }

/* ========== contacts ========== */
.contacts {
  padding: clamp(80px, 10vw, 140px) var(--pad);
  background: var(--bg);
}
.contacts__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 880px) {
  .contacts__inner { grid-template-columns: 1fr; }
}

.contacts__info h2 { max-width: 18ch; }
.contacts__lede { color: var(--ink-2); max-width: 42ch; }
.contacts__list {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.contacts__list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.contacts__list span:first-child {
  color: var(--ink-3);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  padding-top: 2px;
}
.contacts__list a { text-decoration: none; }
.contacts__list a:hover { color: var(--accent-deep); }

/* form */
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 36px);
  box-shadow: 0 30px 80px -40px rgba(20,30,40,0.18);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}
.field input,
.field textarea {
  font: inherit;
  color: var(--ink);
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fdfdfb;
  transition: border-color .15s ease, background .15s ease;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #d14b4b;
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-2);
}
.consent input { margin-top: 4px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form__submit { align-self: flex-start; padding: 14px 26px; }
.form__submit[disabled] { opacity: 0.6; cursor: progress; }
.form__status { margin: 0; font-size: 14px; min-height: 1.2em; }
.form__status.is-error { color: #c8312c; }
.form__status.is-success { color: #128a3a; }

/* ========== footer ========== */
.footer {
  background: var(--ink);
  color: #c8cfd4;
  padding: 36px var(--pad);
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand img {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.footer__copy { margin: 0; font-size: 14px; }
.footer__nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
  font-size: 14px;
}
.footer__nav a { text-decoration: none; color: #c8cfd4; }
.footer__nav a:hover { color: #fff; }

/* ========== reveal-on-scroll ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: transform, opacity;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
