@font-face {
  font-family: "Inter";
  src: url("assets/fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --ocean-900: #0b1d2a;
  --ocean-800: #12324a;
  --ocean-700: #1a4a6a;
  --ocean-500: #2a6f97;
  --ocean-300: #6cb6d6;
  --ocean-100: #d7edf7;
  --slate-900: #1f2328;
  --slate-700: #3a424a;
  --slate-500: #6c7782;
  --slate-200: #e6eaee;
  --slate-100: #f5f7f9;
  --white: #ffffff;
  --accent: #2f8abf;
  --shadow: 0 24px 45px rgba(13, 31, 45, 0.18);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--slate-900);
  background: var(--slate-100);
  line-height: 1.6;
}

h1, h2, h3, .eyebrow {
  font-family: "Inter", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
}

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(44, 122, 165, 0.18), transparent 55%),
    radial-gradient(circle at 30% 20%, rgba(108, 182, 214, 0.25), transparent 60%),
    radial-gradient(circle at 80% 10%, rgba(11, 29, 42, 0.2), transparent 50%),
    linear-gradient(180deg, #f8fafb 0%, #e8eef3 100%);
  z-index: -2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(16px);
  background: rgba(248, 250, 251, 0.85);
  border-bottom: 1px solid rgba(26, 74, 106, 0.1);
}

.nav-bar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.logo-text {
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--ocean-900);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--slate-700);
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ocean-700);
}

.nav-cta {
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ocean-700);
  color: var(--white);
  font-weight: 600;
  font-family: "Inter", "Segoe UI", sans-serif;
  box-shadow: var(--shadow);
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  grid-template-areas:
    "content visual"
    "stats .";
  gap: 40px;
  align-items: start;
  padding: 40px 0 60px;
}

.hero-content {
  grid-area: content;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin: 0 0 16px;
  color: var(--ocean-900);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--slate-700);
  max-width: 520px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  color: var(--ocean-500);
  margin-bottom: 14px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 28px 0 32px;
  flex-wrap: wrap;
}

.primary-btn,
.ghost-btn,
.tracking-form button {
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-btn {
  background: var(--ocean-700);
  color: var(--white);
  box-shadow: var(--shadow);
}

.ghost-btn {
  border: 1px solid rgba(26, 74, 106, 0.25);
  color: var(--ocean-800);
  background: rgba(255, 255, 255, 0.7);
}

.hero-stats {
  grid-area: stats;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin: 0;
}

.stat-card {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(26, 74, 106, 0.1);
  box-shadow: 0 12px 30px rgba(13, 31, 45, 0.08);
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ocean-800);
  display: block;
}

.stat-label {
  color: var(--slate-500);
  font-size: 0.85rem;
}

.hero-visual {
  grid-area: visual;
  display: flex;
  justify-content: center;
  align-self: start;
  margin: 0;
}

.carousel {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #0f2536;
}

.carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  margin: 0;
}

.carousel-slide.is-active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(13, 31, 45, 0.65);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
}

.carousel-control.prev {
  left: 14px;
}

.carousel-control.next {
  right: 14px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
}

.carousel-dot.is-active {
  background: var(--white);
}

.section {
  padding: 60px 0;
}

.section-heading h2 {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--ocean-900);
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
}

.copy-block {
  background: rgba(255, 255, 255, 0.85);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(26, 74, 106, 0.08);
}

.accent-card {
  background: var(--ocean-800);
  color: var(--white);
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.accent-card ul {
  padding-left: 18px;
  margin: 16px 0 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.service-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(26, 74, 106, 0.1);
  box-shadow: 0 16px 35px rgba(13, 31, 45, 0.08);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 1px solid rgba(26, 74, 106, 0.18);
}

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

.service-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.service-icon.ocean {
  background: rgba(44, 122, 165, 0.14);
  color: #0f5b86;
}

.service-icon.air {
  background: rgba(55, 122, 70, 0.14);
  color: #1e6d2f;
}

.service-icon.intermodal {
  background: rgba(168, 107, 42, 0.16);
  color: #86511e;
}

.service-meta {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.tracking-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  align-items: start;
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(26, 74, 106, 0.1);
}

.tracking-details {
  display: grid;
  gap: 12px;
}

.label {
  font-size: 0.8rem;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.value {
  display: block;
  font-size: 1rem;
  color: var(--ocean-800);
  font-weight: 600;
}

.tracking-form {
  display: grid;
  gap: 12px;
}

.tracking-form label {
  font-weight: 600;
  color: var(--slate-700);
}

.tracking-form input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(26, 74, 106, 0.2);
  font-size: 1rem;
}

.tracking-form input:focus-visible,
.tracking-form button:focus-visible,
.carousel-control:focus-visible,
.carousel-dot:focus-visible {
  outline: 2px solid var(--ocean-500);
  outline-offset: 2px;
}

.tracking-form button {
  background: var(--ocean-700);
  color: var(--white);
  font-family: "Inter", "Segoe UI", sans-serif;
}

.tracking-feedback {
  margin-top: 12px;
  color: var(--slate-700);
  font-size: 0.92rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--slate-500);
}

.contact-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(26, 74, 106, 0.1);
  box-shadow: 0 16px 35px rgba(13, 31, 45, 0.08);
}

.contact-hours {
  margin-top: 16px;
  display: grid;
  gap: 6px;
}

.site-footer {
  margin-top: 60px;
  background: var(--ocean-900);
  color: var(--white);
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 300px;
}

.footer-brand-head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.logo-mark-footer {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.logo-text-footer {
  margin: 0;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.footer-brand-copy {
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  display: block;
  margin: 6px 0;
}

.footer-title {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 24px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.tracking-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

.tracking-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 16, 24, 0.7);
}

.tracking-modal-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 30px 26px 26px;
  box-shadow: 0 26px 52px rgba(9, 23, 34, 0.32);
  animation: modal-enter 0.24s ease, loading-border-glow 1.25s ease-in-out infinite;
  isolation: isolate;
}

.tracking-modal-dialog.is-loading {
  animation: modal-enter 0.24s ease, loading-border-glow 1.25s ease-in-out infinite;
}

.tracking-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: transparent;
  color: var(--slate-700);
  font-size: 1.45rem;
  cursor: pointer;
}

.tracking-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 14px 0 18px;
}

.tracking-modal-grid > div {
  background: #f8fafc;
  border: 1px solid rgba(26, 74, 106, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
}

.status-done {
  background: #e7f7ef;
  color: #0e7c45;
}

.status-current {
  background: #fff2df;
  color: #a55511;
}

.status-pending {
  background: #eceff2;
  color: #5a6672;
}

.timeline-wrap h4 {
  margin: 0 0 10px;
}

.timeline-wrap {
  background: #f8fafc;
  border: 1px solid rgba(26, 74, 106, 0.08);
  border-radius: 14px;
  padding: 12px;
}

.timeline-list {
  display: grid;
  gap: 10px;
  position: relative;
  padding-left: 8px;
}

.timeline-item {
  position: relative;
  padding: 0 0 0 26px;
  color: var(--slate-700);
}

.timeline-item::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
  background: #d0d6dd;
  z-index: 2;
}

.timeline-item::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 20px;
  bottom: -10px;
  width: 2px;
  background: #d9dee5;
}

.timeline-item.done::before {
  background: #12a15b;
}

.timeline-item.current::before {
  background: #ee8f2d;
}

.timeline-item.pending::before {
  background: #bcc4ce;
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-item-title {
  font-weight: 600;
}

.timeline-item-time {
  display: block;
  margin-top: 2px;
  color: var(--slate-500);
  font-size: 0.82rem;
}

.timeline-empty {
  color: var(--slate-500);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modal-enter {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes loading-border-glow {
  0%, 100% {
    box-shadow:
      0 26px 52px rgba(9, 23, 34, 0.32),
      0 0 0 2px rgba(48, 130, 182, 0.34),
      0 0 18px rgba(66, 173, 232, 0.34);
  }
  50% {
    box-shadow:
      0 26px 52px rgba(9, 23, 34, 0.32),
      0 0 0 3px rgba(48, 130, 182, 0.52),
      0 0 28px rgba(66, 173, 232, 0.52);
  }
}

@media (max-width: 900px) {
  .nav-bar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding-top: 20px;
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "visual"
      "stats";
    gap: 26px;
  }

  .hero-visual {
    align-self: center;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .hero-stats .stat-card:last-child {
    grid-column: 1 / -1;
  }

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

  .carousel-control {
    width: 36px;
    height: 36px;
  }

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

  .tracking-modal {
    padding: 14px;
  }

  .tracking-modal-dialog {
    padding: 24px 18px 18px;
  }

  .tracking-modal-grid > div {
    padding: 9px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .carousel-slide {
    transition: none;
  }

  .tracking-modal-dialog,
  .tracking-modal-dialog.is-loading {
    animation: none;
  }
}

@media (min-width: 721px) {
  .hero {
    align-items: center;
  }

  .hero-visual {
    align-self: center;
  }
}
