:root {
  --bg: #f3f5f7;
  --paper: #ffffff;
  --ink: #18212b;
  --muted: #637083;
  --line: #dbe1e8;
  --navy: #10263f;
  --navy-soft: #18395d;
  --red: #c83f31;
  --red-dark: #9f2e24;
  --cyan: #1c8ca1;
  --lime: #8aa63f;
  --sand: #d8b36a;
  --steel: #526174;
  --shadow: 0 18px 46px rgba(16, 38, 63, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 64px);
  color: #ffffff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 34px rgba(16, 38, 63, 0.1);
  backdrop-filter: blur(14px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo__mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #ffffff;
  background: var(--red);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  font-weight: 850;
}

.logo strong,
.logo small {
  display: block;
  white-space: nowrap;
}

.logo strong {
  font-size: 16px;
}

.logo small {
  color: currentColor;
  font-size: 12px;
  opacity: 0.74;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2.8vw, 30px);
  color: currentColor;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  position: relative;
  padding: 6px 0;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: currentColor;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: var(--radius);
}

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

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #ffffff;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(9, 24, 42, 0.94) 0%, rgba(9, 24, 42, 0.78) 46%, rgba(9, 24, 42, 0.28) 100%),
    linear-gradient(180deg, rgba(9, 24, 42, 0.1), rgba(9, 24, 42, 0.8));
}

.hero__content {
  position: relative;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 116px 0 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.section--dark .eyebrow,
.contact .eyebrow {
  color: #ffb39d;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: 84px;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 52px;
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.hero__lead {
  max-width: 690px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 22px;
}

.hero__actions,
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.15;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: #ffffff;
  background: var(--red);
  border-color: var(--red);
}

.button--primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.button--ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.46);
}

.hero__facts {
  max-width: 980px;
  margin: 48px 0 0;
}

.hero__facts div {
  flex: 1 1 240px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.hero__facts dt {
  margin-bottom: 6px;
  font-size: 25px;
  font-weight: 900;
}

.hero__facts dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(68px, 9vw, 112px) 0;
}

.section--soft,
.section--overview,
.section--visual,
.section--dark,
.section--process,
.section--contact {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - 1160px) / 2));
  padding-left: max(18px, calc((100vw - 1160px) / 2));
}

.section--overview {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 90px);
  background:
    linear-gradient(90deg, #ffffff 0%, #ffffff 52%, #edf2f6 52%, #edf2f6 100%);
}

.section--soft {
  background:
    linear-gradient(180deg, #f3f5f7 0%, #ffffff 100%);
}

.section--visual {
  background:
    linear-gradient(120deg, rgba(16, 38, 63, 0.06), rgba(200, 63, 49, 0.06)),
    #ffffff;
}

.section--dark {
  color: #ffffff;
  background:
    linear-gradient(135deg, #0f2035 0%, #173657 55%, #1c5163 100%);
}

.section--process {
  background:
    linear-gradient(120deg, #ffffff, #f1f5f8 52%, #eef2f0);
}

.section--contact {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(15, 32, 53, 0.92), rgba(16, 38, 63, 0.74)),
    url("assets/final-delivery.png") center / cover;
}

.section__heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section__heading--wide {
  max-width: 850px;
}

.section__heading p:not(.eyebrow),
.overview__text,
.calculator__content p,
.contact__content p {
  color: var(--muted);
  font-size: 18px;
}

.section--dark .section__heading p:not(.eyebrow),
.section--dark p {
  color: rgba(255, 255, 255, 0.72);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 680ms ease,
    transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.overview__text {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 36px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.overview__text p {
  margin: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 230px;
  padding: 24px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(16, 38, 63, 0.06);
}

.service-card::after {
  position: absolute;
  right: 22px;
  bottom: 18px;
  width: 46px;
  height: 3px;
  content: "";
  background: var(--red);
}

.service-card:nth-child(2n)::after {
  background: var(--cyan);
}

.service-card:nth-child(3n)::after {
  background: var(--lime);
}

.service-card__tag,
.transport-card span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.service-card p,
.transport-card p,
.cargo-grid span,
.geo-panel__row span,
.timeline p {
  color: var(--muted);
}

.transport-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.transport-card {
  min-height: 238px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(16, 38, 63, 0.07);
}

.transport-card--feature {
  grid-column: span 2;
  grid-row: span 2;
  display: grid;
  grid-template-rows: minmax(250px, 1fr) auto;
  gap: 24px;
  padding: 0;
  overflow: hidden;
  color: #ffffff;
  background: var(--navy);
}

.transport-card--feature img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.transport-card--feature div {
  padding: 0 28px 28px;
}

.transport-card--feature span,
.transport-card--feature p {
  color: rgba(255, 255, 255, 0.76);
}

.transport-card--feature h3 {
  font-size: 38px;
}

.cargo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cargo-grid article {
  min-height: 190px;
  padding: 22px;
  background: #ffffff;
}

.cargo-grid strong,
.cargo-grid span {
  display: block;
}

.cargo-grid strong {
  margin-bottom: 10px;
  font-size: 19px;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: center;
}

.geo {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - 1160px) / 2));
  padding-left: max(18px, calc((100vw - 1160px) / 2));
  background: #f3f5f7;
}

.geo-panel {
  display: grid;
  gap: 12px;
}

.geo-panel__image {
  min-height: 260px;
  margin: 0 0 8px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.geo-panel__image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.geo-panel__row {
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
}

.geo-panel__row:nth-child(3) {
  border-left-color: var(--cyan);
}

.geo-panel__row:nth-child(4) {
  border-left-color: var(--lime);
}

.geo-panel__row strong,
.geo-panel__row span {
  display: block;
}

.geo-panel__row strong {
  margin-bottom: 6px;
  font-size: 20px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.solution-grid article {
  min-height: 224px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.timeline article {
  position: relative;
  min-height: 248px;
  padding: 26px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(16, 38, 63, 0.07);
}

.timeline article::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  content: "";
  background: var(--red);
}

.timeline article:nth-child(2)::before {
  background: var(--cyan);
}

.timeline article:nth-child(3)::before {
  background: var(--lime);
}

.timeline article:nth-child(4)::before {
  background: var(--sand);
}

.timeline span {
  display: block;
  margin-bottom: 34px;
  color: var(--red);
  font-weight: 900;
}

.calculator {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: start;
}

.mini-form,
.form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mini-form__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mini-form label,
.form label,
.mini-form label span,
.form label span {
  display: grid;
  gap: 8px;
}

.mini-form label span,
.form label span {
  color: var(--navy);
  font-size: 14px;
  font-weight: 850;
}

.mini-form input,
.mini-form select,
.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  color: var(--ink);
  background: #f7f9fb;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
}

.form textarea {
  resize: vertical;
}

.mini-form input:focus,
.mini-form select:focus,
.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(200, 63, 49, 0.12);
}

.form__button {
  width: 100%;
}

.form__note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: start;
}

.contact__content p,
.contact__details span {
  color: rgba(255, 255, 255, 0.8);
}

.contact__details {
  display: grid;
  gap: 10px;
  margin-top: 32px;
}

.contact__details span {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 700;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 64px);
  color: rgba(255, 255, 255, 0.74);
  background: #0f2035;
}

.footer p {
  margin: 0;
}

.footer a {
  color: #ffffff;
  font-weight: 800;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 74px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .nav a {
    padding: 14px;
  }

  .section--overview,
  .split,
  .calculator,
  .contact {
    grid-template-columns: 1fr;
  }

  .section--overview {
    background: #ffffff;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 40px;
  }

  .transport-card--feature h3 {
    font-size: 32px;
  }

  .service-grid,
  .transport-grid,
  .solution-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cargo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .logo__mark {
    width: 40px;
    height: 40px;
  }

  .logo small {
    display: none;
  }

  .nav {
    top: 68px;
    right: 12px;
    left: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    width: min(100% - 28px, 1160px);
    padding: 112px 0 40px;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(9, 24, 42, 0.96), rgba(9, 24, 42, 0.75)),
      linear-gradient(180deg, rgba(9, 24, 42, 0.28), rgba(9, 24, 42, 0.72));
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 29px;
  }

  .hero__lead,
  .section__heading p:not(.eyebrow),
  .overview__text,
  .calculator__content p,
  .contact__content p {
    font-size: 16px;
  }

  .hero__actions,
  .hero__actions .button {
    width: 100%;
  }

  .section,
  .section--soft,
  .section--overview,
  .section--visual,
  .section--dark,
  .section--process,
  .section--contact {
    width: 100%;
    padding: 58px 14px;
  }

  .service-grid,
  .transport-grid,
  .cargo-grid,
  .solution-grid,
  .timeline,
  .mini-form__pair {
    grid-template-columns: 1fr;
  }

  .transport-card--feature {
    grid-column: auto;
    grid-row: auto;
  }

  .transport-card,
  .service-card,
  .timeline article,
  .solution-grid article {
    min-height: auto;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
