:root {
  --navy: #102033;
  --blue: #1d4fa3;
  --blue-bright: #568eef;
  --gold: #e7b15a;
  --ink: #172033;
  --text: #2a3646;
  --muted: #4a5968;
  --paper: #f3f5f8;
  --line: #e1e7ef;
  --white: #ffffff;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --header: 72px;
  --shadow: 0 14px 36px rgba(16, 32, 51, 0.06);
  color-scheme: light;
  accent-color: var(--blue);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: clip;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--blue);
}

a:hover {
  color: #163e82;
}

img,
svg {
  max-width: 100%;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 40;
  padding: 8px 12px;
  background: var(--white);
  color: var(--navy);
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.icon {
  width: 36px;
  height: 36px;
  color: var(--blue-bright);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font: inherit;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  background: #163e82;
  color: var(--white);
}

.button-ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.78);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.button-light {
  background: var(--white);
  color: var(--navy);
}

.button-light:hover,
.button-light:focus-visible {
  background: #f3e6cc;
  color: var(--navy);
}

:focus-visible {
  outline: 2px solid #8eb4ff;
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bar {
  position: relative;
}

.bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 16px;
}

.wordmark {
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.92rem;
  text-transform: uppercase;
  text-decoration: none;
}

.wordmark:hover {
  color: var(--white);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2px;
}

.nav-desktop > a {
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
}

.nav-desktop > a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.lang {
  display: inline-flex;
  margin-left: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  overflow: hidden;
}

.lang a {
  padding: 6px 11px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.lang a[aria-current="page"] {
  background: var(--white);
  color: var(--navy);
}

.nav-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 4px 0 8px;
  color: var(--white);
  font: inherit;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.nav-button::-webkit-details-marker {
  display: none;
}

.nav-button::marker {
  content: "";
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  position: relative;
  transition: transform 0.2s, top 0.2s, background-color 0.2s;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger::before {
  top: -6px;
}

.burger::after {
  top: 6px;
}

.nav-mobile[open] .burger {
  background: transparent;
}

.nav-mobile[open] .burger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-mobile[open] .burger::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-mobile > nav {
  display: none;
}

.nav-mobile[open] > nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100svh - var(--header));
  overflow: auto;
  padding: 6px 16px 18px;
  background: #0d1b2e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.nav-mobile nav a {
  padding: 14px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.nav-mobile .lang {
  margin: 16px 8px 0;
  align-self: flex-start;
}

.hero {
  display: flex;
  align-items: flex-end;
  min-height: calc(100vh - var(--header));
  min-height: calc(100svh - var(--header));
  padding: 48px 0 56px;
  color: var(--white);
  background-color: var(--navy);
  background-image:
    linear-gradient(90deg, rgba(16, 32, 51, 0.78) 0%, rgba(16, 32, 51, 0.42) 48%, rgba(16, 32, 51, 0.12) 100%),
    linear-gradient(180deg, rgba(16, 32, 51, 0.18) 0%, rgba(16, 32, 51, 0.28) 42%, rgba(16, 32, 51, 0.78) 100%),
    url("../img/header-bg.jpg");
  background-position: center 42%;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero h1 {
  max-width: 100%;
  margin-bottom: 16px;
  color: var(--white);
  font-size: clamp(2.15rem, 7vw, 4.75rem);
  font-weight: 620;
  line-height: 1.02;
}

.accent {
  color: #b9d0ff;
}

.lead {
  max-width: 38rem;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  line-height: 1.55;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.band {
  padding: clamp(64px, 8vw, 112px) 0;
}

.band h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.1;
}

.services {
  background: var(--paper);
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 36px;
}

.card {
  padding: 24px 22px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 16px 0 8px;
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}

.card p {
  color: var(--muted);
}

.company {
  background: var(--white);
}

.split {
  display: grid;
  gap: 32px;
}

.company .intro {
  max-width: 42rem;
  margin-top: 16px;
  font-size: 1.12rem;
}

.facts {
  display: grid;
  gap: 18px;
  margin: 0;
}

.facts div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.facts dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.facts dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 600;
}

.mobility {
  padding: clamp(64px, 8vw, 104px) 0;
  background: var(--navy);
  color: var(--white);
}

.mobility .eyebrow {
  color: var(--gold);
}

.mobility h2 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.mobility p {
  max-width: 65ch;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
}

.contact {
  background: var(--paper);
}

.contact h2 {
  margin-bottom: 32px;
}

.contact-grid {
  display: grid;
  gap: 28px;
}

.contact h3,
.form h3 {
  margin-bottom: 16px;
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}

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

.contact-list span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.contact-list a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form {
  padding: 22px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

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

.field {
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cfd7e2;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #9b2c2c;
}

.form .button {
  margin-top: 16px;
}

.form-hint,
.form-status {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-status:empty {
  display: none;
}

.site-footer {
  padding: 28px 0 calc(28px + env(safe-area-inset-bottom));
  background: var(--navy);
  color: #d5deea;
}

.site-footer .wrap {
  display: grid;
  gap: 12px;
}

.site-footer p {
  max-width: 78ch;
  font-size: 0.95rem;
  line-height: 1.65;
}

.site-footer a {
  color: #d6e4ff;
}

@media (max-width: 720px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(16, 32, 51, 0.55) 0%, rgba(16, 32, 51, 0.78) 100%),
      url("../img/header-bg.jpg");
    background-position: center 40%;
  }

  .cta .button,
  .mobility .button,
  .form .button {
    width: 100%;
  }
}

@media (max-height: 560px) {
  .hero {
    min-height: 0;
  }
}

@media (min-width: 640px) {
  .form {
    padding: 28px;
  }

  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid .wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 720px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 860px) {
  .split,
  .contact-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    gap: 56px;
  }
}

@media (min-width: 881px) {
  .nav-desktop {
    display: flex;
  }

  .nav-mobile {
    display: none;
  }
}

@media (min-width: 1100px) {
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .burger,
  .burger::before,
  .burger::after {
    transition: none;
  }
}

@media print {
  .site-header,
  .nav-mobile,
  .cta,
  .form {
    display: none !important;
  }

  .hero {
    min-height: 0;
    padding: 0 0 24px;
    color: var(--ink);
    background: none;
  }

  .hero h1,
  .accent,
  .lead,
  .mobility,
  .mobility h2,
  .mobility p {
    color: var(--ink);
  }

  .mobility {
    background: none;
    padding-left: 0;
    padding-right: 0;
  }

  body {
    background: white;
  }
}
