/* ============================================================
   SWIFTLINK — Computer Systems Design & Integrated Logistics
   Dark terminal theme · amber accent · steel-blue secondary
   ============================================================ */

:root {
  --bg: #0D1117;
  --bg-2: #11161D;
  --bg-3: #161D26;
  --panel: #131A22;
  --line: #232B35;
  --line-2: #2C3642;
  --text: #E9E7E0;
  --text-soft: #C6C2B8;
  --muted: #94A3B8;
  --amber: #F59E0B;
  --amber-strong: #FBBF24;
  --amber-deep: #B45309;
  --steel: #94A3B8;
  --steel-deep: #64748B;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-size: 16px;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  background-color: #0D1117;
  color: #E9E7E0;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: #E9E7E0;
}

a {
  color: #F59E0B;
  text-decoration: none;
}

a:hover {
  color: #FBBF24;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  position: relative;
}

/* ============================================================
   BOX NAVIGATION (.box-nav) — shipping container brand mark
   ============================================================ */

.box-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #0D1117;
  border-bottom: 1px solid #232B35;
}

.box-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 30px;
  background: linear-gradient(180deg, #FBBF24 0%, #F59E0B 45%, #B45309 100%);
  border: 1px solid #B45309;
  border-radius: 3px;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.18);
}

.brand-mark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: #78350F;
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background-color: #0D1117;
  border-radius: 1px;
}

.brand-mark .latch {
  position: absolute;
  width: 7px;
  height: 5px;
  background-color: #78350F;
  border-radius: 1px;
}

.brand-mark .latch.tl { top: 3px; left: 3px; }
.brand-mark .latch.tr { top: 3px; right: 3px; }
.brand-mark .latch.bl { bottom: 3px; left: 3px; }
.brand-mark .latch.br { bottom: 3px; right: 3px; }

.brand-word {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.14em;
  color: #E9E7E0;
}

.brand-word span {
  color: #F59E0B;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: #C6C2B8;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #F59E0B;
}

.nav-cta {
  flex-shrink: 0;
  display: inline-block;
  background-color: #F59E0B;
  color: #0D1117;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 7px;
  letter-spacing: 0.01em;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background-color: #FBBF24;
  color: #0D1117;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #E9E7E0;
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* ============================================================
   HERO — CONTAINER YARD (.crane-hero)
   ============================================================ */

.crane-hero {
  background:
    radial-gradient(1100px 520px at 78% 40%, rgba(245, 158, 11, 0.12), transparent 60%),
    linear-gradient(180deg, #11161D 0%, #0D1117 100%);
  border-bottom: 1px solid #232B35;
  overflow: hidden;
  padding: 88px 0 96px;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy .kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F59E0B;
  margin-bottom: 22px;
}

.hero-copy .kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background-color: #F59E0B;
}

.hero-copy h1 {
  font-size: 52px;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero-copy h1 em {
  font-style: normal;
  color: #F59E0B;
}

.hero-copy .lede {
  font-size: 18px;
  color: #C6C2B8;
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  letter-spacing: 0.01em;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-solid {
  background-color: #F59E0B;
  color: #0D1117;
}

.btn-solid:hover {
  background-color: #FBBF24;
  color: #0D1117;
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: #E9E7E0;
  border: 1px solid #2C3642;
}

.btn-ghost:hover {
  border-color: #F59E0B;
  color: #F59E0B;
}

/* --- Crane terminal scene (pure CSS) --- */

.terminal-scene {
  position: relative;
  height: 380px;
  background-color: #131A22;
  border: 1px solid #232B35;
  border-radius: var(--radius);
  overflow: hidden;
}

.terminal-scene .glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.28), transparent 70%);
  border-radius: 50%;
}

.terminal-scene .ground {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background-color: #2C3642;
}

/* gantry crane */
.crane {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 210px;
}

.crane .leg {
  position: absolute;
  bottom: 0;
  width: 14px;
  background-color: #64748B;
  border-radius: 2px;
}

.crane .leg.left { left: 10px; height: 180px; }
.crane .leg.right { right: 10px; height: 180px; }

.crane .leg::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -8px;
  width: 30px;
  height: 6px;
  background-color: #94A3B8;
  border-radius: 2px;
}

.crane .beam {
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 14px;
  background-color: #F59E0B;
  border-radius: 3px;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.45);
}

.crane .beam::before,
.crane .beam::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 8px;
  height: 22px;
  background-color: #94A3B8;
}

.crane .beam::before { left: 0; }
.crane .beam::after { right: 0; }

.crane .trolley {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 12px;
  background-color: #64748B;
  border-radius: 3px;
}

.crane .cable {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 86px;
  background-color: #94A3B8;
}

.crane .spreader {
  position: absolute;
  top: 104px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 14px;
  background-color: #F59E0B;
  border-radius: 3px;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.4);
}

.crane .spreader::before,
.crane .spreader::after {
  content: "";
  position: absolute;
  top: -12px;
  width: 10px;
  height: 12px;
  background-color: #64748B;
  border-radius: 2px;
}

.crane .spreader::before { left: 8px; }
.crane .spreader::after { right: 8px; }

/* container stack */
.containers {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.containers .stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.containers .box {
  position: relative;
  width: 78px;
  height: 48px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.18);
}

.containers .box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
}

.containers .box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.14) 0px,
    rgba(0, 0, 0, 0.14) 3px,
    transparent 3px,
    transparent 8px
  );
  border-radius: 3px;
}

.containers .box.amber {
  background-color: #F59E0B;
}

.containers .box.steel {
  background-color: #64748B;
}

.containers .box.steel-2 {
  background-color: #94A3B8;
}

.hero-note {
  position: absolute;
  bottom: 14px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #94A3B8;
}

.hero-note .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #F59E0B;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
}

/* ============================================================
   STATS BAND — big numerals
   ============================================================ */

.stats-section {
  background-color: #0D1117;
  border-bottom: 1px solid #232B35;
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  text-align: center;
  padding: 18px 12px;
  border-left: 1px solid #232B35;
}

.stat:first-child {
  border-left: none;
}

.stat .num {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #F59E0B;
  line-height: 1;
}

.stat .label {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94A3B8;
}

/* ============================================================
   PROCESS — numbered port-operations (01–06)
   ============================================================ */

.process-section {
  background-color: #11161D;
  border-bottom: 1px solid #232B35;
  padding: 88px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F59E0B;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: 38px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-head p {
  color: #C6C2B8;
  font-size: 17px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.process-card {
  background-color: #131A22;
  border: 1px solid #232B35;
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.process-card:hover {
  border-color: #B45309;
  transform: translateY(-3px);
}

.process-card .step {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #2C3642;
  line-height: 1;
  margin-bottom: 16px;
}

.process-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.process-card p {
  color: #C6C2B8;
  font-size: 15px;
}

.process-card .bar {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 26px;
  height: 4px;
  border-radius: 2px;
  background-color: #F59E0B;
}

/* ============================================================
   ABOUT / OVERVIEW
   ============================================================ */

.about-section {
  background-color: #0D1117;
  border-bottom: 1px solid #232B35;
  padding: 88px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-grid .about-text h2 {
  font-size: 34px;
  margin-bottom: 18px;
}

.about-grid .about-text p {
  color: #C6C2B8;
  font-size: 16px;
  margin-bottom: 16px;
}

.about-grid .about-text p strong {
  color: #E9E7E0;
}

.about-facts {
  list-style: none;
  display: grid;
  gap: 14px;
}

.about-facts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #C6C2B8;
  font-size: 15px;
}

.about-facts li .mark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background-color: #F59E0B;
  color: #0D1117;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

/* ============================================================
   COMPARISON TABLE — freight service classes
   ============================================================ */

.compare-section {
  background-color: #11161D;
  border-bottom: 1px solid #232B35;
  padding: 88px 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid #232B35;
  border-radius: var(--radius);
  background-color: #131A22;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.compare-table th,
.compare-table td {
  padding: 18px 22px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid #232B35;
}

.compare-table thead th {
  background-color: #161D26;
  color: #E9E7E0;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.compare-table thead th.hl {
  background-color: #F59E0B;
  color: #0D1117;
}

.compare-table tbody th {
  color: #94A3B8;
  font-weight: 600;
  white-space: nowrap;
}

.compare-table tbody td {
  color: #C6C2B8;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table .yes {
  color: #F59E0B;
  font-weight: 700;
}

.compare-table .no {
  color: #64748B;
}

/* ============================================================
   TESTIMONIALS — quote row with border-left emphasis
   ============================================================ */

.quote-section {
  background-color: #0D1117;
  border-bottom: 1px solid #232B35;
  padding: 88px 0;
}

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

.quote-card {
  background-color: #131A22;
  border: 1px solid #232B35;
  border-left: 4px solid #F59E0B;
  border-radius: var(--radius-sm);
  padding: 28px;
}

.quote-card .quote-text {
  color: #E9E7E0;
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.quote-card .quote-who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-card .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #161D26;
  border: 1px solid #2C3642;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F59E0B;
  font-weight: 800;
  font-size: 14px;
}

.quote-card .name {
  font-weight: 700;
  font-size: 14px;
  color: #E9E7E0;
}

.quote-card .role {
  font-size: 12px;
  color: #94A3B8;
}

/* ============================================================
   SPLIT CTA BAND
   ============================================================ */

.cta-section {
  background-color: #11161D;
  border-bottom: 1px solid #232B35;
  padding: 88px 0;
}

.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background-color: #131A22;
  border: 1px solid #2C3642;
  border-radius: var(--radius);
  padding: 52px;
}

.cta-split h2 {
  font-size: 32px;
  margin-bottom: 14px;
}

.cta-split p {
  color: #C6C2B8;
  font-size: 16px;
  margin-bottom: 24px;
}

.cta-split .cta-side {
  text-align: left;
}

.cta-split .contact-lines {
  display: grid;
  gap: 16px;
}

.cta-split .contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #C6C2B8;
  font-size: 16px;
}

.cta-split .contact-line .mark {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background-color: #161D26;
  border: 1px solid #2C3642;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F59E0B;
  font-weight: 800;
}

/* ============================================================
   CONTACT / FORM
   ============================================================ */

.contact-section {
  background-color: #0D1117;
  border-bottom: 1px solid #232B35;
  padding: 88px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.contact-info p {
  color: #C6C2B8;
  font-size: 16px;
  margin-bottom: 26px;
}

.contact-info .line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  color: #C6C2B8;
  font-size: 16px;
}

.contact-info .line .mark {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background-color: #131A22;
  border: 1px solid #232B35;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F59E0B;
  font-weight: 800;
}

.contact-form {
  background-color: #131A22;
  border: 1px solid #232B35;
  border-radius: var(--radius);
  padding: 34px;
}

.contact-form .field {
  margin-bottom: 18px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #94A3B8;
  margin-bottom: 7px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background-color: #0D1117;
  border: 1px solid #2C3642;
  border-radius: 7px;
  color: #E9E7E0;
  font-size: 15px;
  font-family: inherit;
  padding: 13px 15px;
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #F59E0B;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .form-status {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #F59E0B;
  min-height: 20px;
}

/* ============================================================
   FOOTER — compact multi-column, thin amber top rule
   ============================================================ */

.site-footer {
  background-color: #0A0E13;
  border-top: 3px solid #F59E0B;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #232B35;
}

.footer-col h4 {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E9E7E0;
  margin-bottom: 18px;
}

.footer-col p {
  color: #94A3B8;
  font-size: 14px;
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 11px;
}

.footer-col ul li a {
  color: #94A3B8;
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: #F59E0B;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom .legal-links {
  display: flex;
  gap: 22px;
}

.footer-bottom p {
  color: #64748B;
  font-size: 13px;
}

.footer-bottom .legal-links a {
  color: #94A3B8;
  font-size: 13px;
}

.footer-bottom .legal-links a:hover {
  color: #F59E0B;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .terminal-scene {
    height: 320px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(3) {
    border-left: none;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quote-grid {
    grid-template-columns: 1fr;
  }
  .about-grid,
  .cta-split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .box-nav .nav-links,
  .box-nav .nav-cta {
    display: none;
  }

  .box-nav.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background-color: #0D1117;
    border-bottom: 1px solid #232B35;
    padding: 18px 24px 24px;
    gap: 16px;
    align-items: flex-start;
  }

  .box-nav.nav-open .nav-cta {
    display: inline-block;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-split {
    padding: 28px;
  }
  .section-head h2 {
    font-size: 30px;
  }
}
