:root {
  --ink: #142033;
  --muted: #5d6878;
  --line: #dce3ea;
  --paper: #ffffff;
  --soft: #f4f7fa;
  --navy: #12365a;
  --navy-2: #0c2947;
  --orange: #f36b21;
  --green: #0f9d72;
  --shadow: 0 16px 45px rgba(20, 32, 51, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: var(--paper);
}

body.modal-open {
  overflow: hidden;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(18, 54, 90, 0.08);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  flex: 0 1 280px;
  align-items: center;
  height: 64px;
  min-width: 0;
  overflow: hidden;
}

.brand img {
  width: min(280px, calc(100vw - 86px));
  height: auto;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--orange);
}

.language-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.language-link img {
  width: 22px;
  height: 15px;
  object-fit: cover;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(12, 41, 71, 0.95) 0%, rgba(18, 54, 90, 0.78) 48%, rgba(18, 54, 90, 0.3) 100%),
    url("../images/bg/5.jpg") center / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  align-items: end;
  gap: 46px;
  min-height: 650px;
  padding: 86px 0 128px;
}

.hero .eyebrow,
.hero h1,
.hero-copy,
.hero .button {
  animation: fadeSlideUp 720ms ease both;
}

.hero h1 {
  animation-delay: 80ms;
}

.hero-copy {
  animation-delay: 160ms;
}

.hero .button {
  animation-delay: 240ms;
}

.eyebrow {
  margin: 0 0 14px;
  color: #ffd8c4;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 740px;
  margin-bottom: 22px;
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.hero-art {
  align-self: end;
}

.hero-art img {
  max-height: 545px;
  margin-left: auto;
  object-fit: contain;
  animation: floatCourier 5s ease-in-out infinite;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--orange);
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus {
  background: #d95412;
  transform: translateY(-1px);
}

.tracking-band {
  position: relative;
  z-index: 4;
  margin-top: -72px;
}

.tracking-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 28px;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.tracking-panel input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
}

.tracking-result {
  grid-column: 1 / -1;
  display: none;
  margin: 4px 0 0;
  padding: 12px 14px;
  border-left: 4px solid var(--green);
  border-radius: 6px;
  color: var(--navy);
  background: #edf9f5;
  white-space: pre-line;
}

.tracking-result.is-visible {
  display: block;
}

.tracking-result.is-error {
  border-left-color: #d83a34;
  color: #8f1d18;
  background: #fff1f0;
}

.tracking-modal[hidden] {
  display: none;
}

.tracking-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 180ms ease;
}

.tracking-modal.is-open {
  opacity: 1;
}

.tracking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 27, 0.68);
  backdrop-filter: blur(1px);
}

.tracking-modal__dialog {
  position: relative;
  width: min(480px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 34px 28px 22px;
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(8, 16, 27, 0.34);
  transform: translateY(16px) scale(0.98);
  transition: transform 180ms ease;
}

.tracking-modal.is-open .tracking-modal__dialog {
  transform: translateY(0) scale(1);
}

.tracking-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #6b7480;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.tracking-modal__close:hover,
.tracking-modal__close:focus-visible {
  color: var(--navy);
  background: var(--soft);
}

.tracking-modal__icon {
  display: grid;
  width: 86px;
  height: 86px;
  margin: 0 auto 24px;
  place-items: center;
  border: 3px solid #dff4d8;
  border-radius: 50%;
  color: #8bdc73;
}

.tracking-modal__icon svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.tracking-modal__dialog h2 {
  margin-bottom: 18px;
  color: #40464d;
  font-size: 28px;
  text-align: center;
}

.tracking-modal__status {
  color: #555d66;
  font-size: 16px;
  line-height: 1.55;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.tracking-modal__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 26px;
}

.tracking-modal__button {
  min-width: 72px;
  min-height: 46px;
  background: #66c8ec;
}

.tracking-modal__button:hover,
.tracking-modal__button:focus {
  background: #38afe0;
}

.section {
  padding: 92px 0;
}

.section.soft {
  background:
    url("../images/bg/abs-bg1.png") right top / 420px auto no-repeat,
    var(--soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1fr);
  align-items: center;
  gap: 58px;
}

.photo-stack {
  position: relative;
}

.photo-stack img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.experience {
  position: absolute;
  right: 22px;
  bottom: -36px;
  width: min(210px, 62%);
  padding: 22px;
  border-radius: 8px;
  color: #fff;
  background: var(--orange);
  box-shadow: var(--shadow);
}

.experience strong {
  display: block;
  font-size: 42px;
  line-height: 1;
}

.experience span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.35;
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--orange);
  font-weight: 800;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 20px;
  color: var(--navy);
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: 0;
}

.lead {
  color: var(--muted);
  font-size: 17px;
}

.section-title {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 36px;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 45px rgba(20, 32, 51, 0.1);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 500ms ease;
}

.service-icon {
  position: absolute;
  top: auto;
  right: 26px;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: #ff4b0a;
  box-shadow: 0 16px 28px rgba(255, 75, 10, 0.28);
  transform: translateY(-46px);
  transition: transform 220ms ease, background 220ms ease;
}

.service-icon svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.service-card div {
  position: relative;
  min-height: 224px;
  padding: 40px 36px 34px;
}

.service-card div::after {
  position: absolute;
  right: -16px;
  bottom: -18px;
  width: 154px;
  height: 92px;
  content: "";
  background: url("../images/objects/1.png") center / contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.service-card h3 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.18;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 58px rgba(20, 32, 51, 0.16);
}

.service-card:hover img {
  transform: scale(1.06);
}

.service-card:hover .service-icon {
  transform: translateY(-54px);
  background: var(--orange);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

.coverage {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1fr);
  min-height: 520px;
}

.coverage-photo {
  background: url("../images/bg/1.jpg") center / cover no-repeat;
}

.coverage-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 74px min(8vw, 86px);
  color: #fff;
  background: var(--navy);
}

.coverage-copy h2 {
  color: #fff;
}

.coverage-copy p {
  color: rgba(255, 255, 255, 0.86);
}

.contact {
  position: relative;
  color: #fff;
  background:
    linear-gradient(rgba(12, 41, 71, 0.86), rgba(12, 41, 71, 0.86)),
    url("../images/bg/5.jpg") center / cover no-repeat;
}

.contact h2 {
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.contact-item {
  min-height: 205px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-item img {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
}

.contact-item h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.contact-item p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 22px 0;
  color: #dce7f0;
  background: var(--navy-2);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner p {
  margin: 0;
}

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

  .nav-links {
    position: absolute;
    top: 74px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    display: block;
    padding: 12px;
  }

  .language-link {
    width: 100%;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 70px 0 118px;
  }

  .hero-art img {
    max-height: 360px;
    margin: 0 auto;
  }

  .tracking-panel,
  .split,
  .section-title,
  .coverage,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .tracking-panel {
    margin: 0 auto;
  }

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

  .service-icon {
    right: 22px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(100% - 24px, 1120px);
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-grid {
    padding-top: 48px;
    gap: 28px;
  }

  .tracking-band {
    margin-top: -54px;
  }

  .tracking-panel {
    padding: 18px;
  }

  .button {
    width: 100%;
  }

  .tracking-modal {
    align-items: center;
    padding: 14px;
  }

  .tracking-modal__dialog {
    max-height: calc(100vh - 28px);
    padding: 30px 20px 20px;
  }

  .tracking-modal__icon {
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
  }

  .tracking-modal__dialog h2 {
    font-size: 24px;
  }

  .tracking-modal__status {
    font-size: 14px;
  }

  .tracking-modal__actions {
    justify-content: stretch;
  }

  .section {
    padding: 68px 0;
  }

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

  .service-card h3 {
    font-size: 26px;
  }

  .service-card p {
    font-size: 16px;
  }

  .service-card div {
    min-height: 190px;
    padding: 38px 24px 28px;
  }

  .service-icon {
    width: 76px;
    height: 76px;
    right: 20px;
    transform: translateY(-38px);
  }

  .service-icon svg {
    width: 36px;
    height: 36px;
  }

  .service-card:hover .service-icon {
    transform: translateY(-44px);
  }

  .experience {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .coverage {
    min-height: 0;
  }

  .coverage-photo {
    min-height: 280px;
  }

  .coverage-copy {
    padding: 48px 20px;
  }

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

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatCourier {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

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