/* Main HarborSwift theme styles. WordPress theme metadata lives in the root style.css file. */

:root {
  --navy-950: #071526;
  --navy-900: #0b1f36;
  --navy-800: #12345a;
  --blue-50: #f4f8fc;
  --orange-600: #f47a1f;
  --orange-500: #ff8f2f;
  --orange-100: #fff0e3;
  --green-600: #16805d;
  --gray-900: #17202c;
  --gray-700: #4a5565;
  --gray-500: #697386;
  --gray-200: #d8dee8;
  --white: #ffffff;
  --shadow-soft: 0 24px 70px rgba(7, 21, 38, 0.16);
  --shadow-card: 0 16px 40px rgba(7, 21, 38, 0.1);
  --radius: 8px;
  --header-height: 76px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--gray-900); background: var(--white); font-size: 16px; line-height: 1.6; }
body.nav-open { overflow: hidden; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy-900);
  border-radius: var(--radius);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(216, 222, 232, 0.8);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease;
}
.site-header[data-elevated] { box-shadow: 0 12px 34px rgba(7, 21, 38, 0.1); }

.navbar {
  width: min(1180px, calc(100% - 40px));
  min-height: var(--header-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--navy-900);
  border-radius: var(--radius);
}
.brand-mark svg { width: 25px; fill: currentColor; }
.brand strong, .brand small { display: block; line-height: 1.1; }
.brand strong { font-size: 1.03rem; color: var(--navy-950); }
.brand small { margin-top: 3px; color: var(--gray-500); font-size: 0.76rem; font-weight: 700; text-transform: uppercase; }

.nav-menu { justify-self: end; display: flex; align-items: center; gap: 4px; }
.nav-menu ul, .nav-menu li { display: contents; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  padding: 10px 13px;
  color: var(--gray-700);
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}
.nav-menu a:hover, .nav-menu a:focus-visible, .nav-menu .current-menu-item > a { color: var(--navy-950); background: var(--blue-50); }

.header-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.header-cta, .btn-primary { color: var(--white); background: var(--orange-600); box-shadow: 0 10px 24px rgba(244, 122, 31, 0.28); }
.btn-secondary { color: var(--white); background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.42); backdrop-filter: blur(12px); }
.header-cta:hover, .btn:hover { transform: translateY(-2px); }
.header-cta:focus-visible, .btn:focus-visible, .nav-toggle:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid rgba(244, 122, 31, 0.42); outline-offset: 3px; }

.nav-toggle { display: none; justify-self: end; width: 44px; height: 44px; padding: 0; background: var(--navy-900); border: 0; border-radius: var(--radius); cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--white); transition: transform 180ms ease, opacity 180ms ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.section-anchor { scroll-margin-top: calc(var(--header-height) + 24px); }
.section-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: clamp(68px, 9vw, 110px) 0; }

.page-hero {
  padding: clamp(86px, 11vw, 142px) 0 clamp(48px, 7vw, 82px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 21, 38, 0.94), rgba(7, 21, 38, 0.72)),
    url("https://commons.wikimedia.org/wiki/Special:FilePath/Shipping%20containers%20in%20a%20port%20%28Unsplash%29.jpg") center/cover;
}
.page-hero-compact { padding-bottom: clamp(42px, 6vw, 64px); }
.page-hero h1 { max-width: 860px; margin: 0; font-size: clamp(2.35rem, 6vw, 4.8rem); line-height: 1.02; letter-spacing: 0; }
.page-hero p:not(.eyebrow) { max-width: 720px; margin: 20px 0 0; color: rgba(255, 255, 255, 0.82); font-size: clamp(1rem, 2vw, 1.25rem); }

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: end;
  gap: 28px;
  padding: clamp(120px, 14vw, 190px) max(20px, calc((100vw - 1180px) / 2)) 56px;
  overflow: hidden;
}
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media {
  background:
    linear-gradient(rgba(7, 21, 38, 0.2), rgba(7, 21, 38, 0.2)),
    url("https://commons.wikimedia.org/wiki/Special:FilePath/Shipping%20containers%20in%20a%20port%20%28Unsplash%29.jpg") center/cover;
  transform: scale(1.02);
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 21, 38, 0.94), rgba(7, 21, 38, 0.58) 52%, rgba(7, 21, 38, 0.78)),
    linear-gradient(0deg, rgba(7, 21, 38, 0.62), rgba(7, 21, 38, 0));
}
.hero-content, .hero-panel { position: relative; z-index: 1; }
.hero-content { max-width: 760px; color: var(--white); }
.eyebrow { margin: 0 0 12px; color: var(--orange-500); font-size: 0.78rem; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(2.5rem, 8vw, 5.8rem); line-height: 0.98; letter-spacing: 0; }
.hero-subtitle { max-width: 620px; margin: 24px 0 0; color: rgba(255, 255, 255, 0.84); font-size: clamp(1.05rem, 2vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-panel { align-self: end; padding: 22px; color: var(--white); background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.24); border-radius: var(--radius); box-shadow: var(--shadow-soft); backdrop-filter: blur(18px); }
.panel-header { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; margin-bottom: 18px; font-weight: 800; }
.panel-header strong { padding: 5px 10px; color: var(--navy-950); background: var(--orange-500); border-radius: 999px; font-size: 0.75rem; }
.route-card { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; padding: 14px; background: rgba(255, 255, 255, 0.12); border-radius: var(--radius); }
.route-card small, .metric-grid span { display: block; color: rgba(255, 255, 255, 0.72); }
.route-dot { width: 12px; height: 12px; background: var(--orange-500); border-radius: 50%; box-shadow: 0 0 0 8px rgba(255, 143, 47, 0.16); }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.metric-grid div { padding: 14px; background: rgba(255, 255, 255, 0.1); border-radius: var(--radius); }
.metric-grid strong { display: block; font-size: 1.6rem; line-height: 1; }

.feature-band { padding: 52px 0; background: var(--blue-50); }
.features, .stats-grid, .service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card, .stat-card, .service-card, .tracking-card, .contact-card, .location-card, .milestone-panel {
  background: var(--white);
  border: 1px solid rgba(216, 222, 232, 0.78);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.feature-card, .service-card { padding: 26px; }
.feature-icon, .service-icon { display: grid; place-items: center; width: 48px; height: 48px; color: var(--orange-600); background: var(--orange-100); border-radius: var(--radius); }
.feature-icon svg, .service-icon svg { width: 25px; fill: currentColor; }
.feature-card h2, .service-card h3 { margin: 18px 0 8px; color: var(--navy-950); font-size: 1.2rem; line-height: 1.2; }
.feature-card p, .service-card p { margin: 0; color: var(--gray-700); }
.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; }
.stat-card { padding: 24px; }
.stat-card strong { display: block; color: var(--navy-900); font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1; }
.stat-card span { display: block; margin-top: 8px; color: #536071; font-weight: 700; }

.split-layout, .dashboard-layout, .contact-layout { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr); gap: clamp(24px, 6vw, 70px); align-items: center; }
.tracking-workspace { display: grid; grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.35fr); gap: clamp(22px, 4vw, 44px); align-items: start; }
.section-copy h2, .section-heading h2, .contact-card h2 { margin: 0; color: var(--navy-950); font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.08; letter-spacing: 0; }
.section-copy p { margin: 18px 0 0; color: var(--gray-700); }
.section-heading { max-width: 720px; margin-bottom: 30px; }
.milestone-panel { padding: 10px; }
.milestone { display: grid; grid-template-columns: 76px 1fr; gap: 18px; padding: 20px; border-radius: var(--radius); }
.milestone + .milestone { border-top: 1px solid var(--gray-200); }
.milestone span { color: var(--orange-600); font-weight: 900; }
.milestone p { margin: 0; color: var(--gray-700); }
.tracking-section { background: linear-gradient(180deg, rgba(232, 241, 251, 0.82), rgba(255, 255, 255, 0.92)), var(--blue-50); }
.integration-list { margin: 24px 0 0; padding: 0; list-style: none; }
.integration-list li { position: relative; padding: 10px 0 10px 32px; color: var(--gray-700); font-weight: 700; }
.integration-list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 13px; height: 13px; background: var(--orange-600); border-radius: 50%; }

input, textarea, select { width: 100%; color: var(--navy-950); background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); }
input, select { min-height: 48px; padding: 12px 14px; }
textarea { resize: vertical; min-height: 136px; padding: 12px 14px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gray-700) 50%), linear-gradient(135deg, var(--gray-700) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 12px) 21px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }

.shipment-form, .registered-shipment, .receiver-update-card, .map-settings-card {
  background: var(--white);
  border: 1px solid rgba(216, 222, 232, 0.78);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.shipment-form { display: grid; gap: 18px; padding: clamp(18px, 3vw, 28px); }
.shipment-form fieldset { margin: 0; padding: 0 0 18px; border: 0; border-bottom: 1px solid var(--gray-200); }
.shipment-form fieldset:last-of-type { border-bottom: 0; padding-bottom: 0; }
.shipment-form legend { margin-bottom: 14px; color: var(--navy-950); font-size: 1rem; font-weight: 900; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid label, .receiver-comment-form > label { display: grid; gap: 7px; color: var(--gray-700); font-size: 0.86rem; font-weight: 900; }
.weight-row { display: grid; grid-template-columns: minmax(0, 1fr) 84px; gap: 8px; }
.registered-shipment { grid-column: 2; padding: clamp(18px, 3vw, 28px); }
.summary-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.summary-header h2 { margin: 0; color: var(--navy-950); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1; }

.status-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: 6px 10px; color: var(--navy-950); background: var(--orange-100); border-radius: 999px; font-size: 0.76rem; font-weight: 900; text-transform: uppercase; }
.status-pill.pending { color: #5c3b00; background: #fff3cc; }
.status-pill.hold { color: #5a2b00; background: #ffe4c7; }
.status-pill.in-transit, .status-pill.out-for-delivery { color: #113c66; background: #ddecff; }
.status-pill.delivered { color: #064c36; background: #ddf8ed; }
.status-pill.cancelled { color: #7b1d1d; background: #ffe0e0; }
.status-control { margin-top: 18px; padding: 16px; background: var(--blue-50); border: 1px solid var(--gray-200); border-radius: var(--radius); }
.status-control label { display: block; margin-bottom: 8px; color: var(--navy-950); font-size: 0.86rem; font-weight: 900; }
.status-control-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.status-time-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }

.summary-route { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); align-items: center; gap: 14px; margin-top: 22px; padding: 18px; background: var(--navy-950); border-radius: var(--radius); }
.summary-route div:last-child { text-align: right; }
.summary-route span { height: 2px; background: linear-gradient(90deg, var(--orange-600), var(--white)); }
.summary-route small, .summary-grid small { display: block; color: var(--gray-500); font-weight: 900; text-transform: uppercase; }
.summary-route strong { display: block; color: var(--white); font-size: 1.2rem; }
.summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.summary-grid div { min-width: 0; padding: 16px; background: var(--blue-50); border: 1px solid var(--gray-200); border-radius: var(--radius); }
.summary-grid strong, .summary-grid span { display: block; overflow-wrap: anywhere; }
.summary-grid strong { margin-top: 4px; color: var(--navy-950); }
.summary-grid span { color: var(--gray-700); }

.shipment-status { margin-top: 26px; padding: 22px; background: var(--blue-50); border: 1px solid var(--gray-200); border-radius: var(--radius); }
.compact-status { margin-top: 18px; }
.status-topline { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.progress-track { position: relative; display: block; height: 10px; margin: 22px 0; overflow: hidden; background: #dce5ef; border-radius: 999px; }
.progress-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--orange-600), var(--green-600)); border-radius: inherit; transition: width 300ms ease; }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; position: relative; padding: 0 0 20px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; top: 24px; left: 8px; bottom: 0; width: 2px; background: var(--gray-200); }
.timeline li:last-child::before { display: none; }
.timeline li > span { width: 18px; height: 18px; margin-top: 3px; background: var(--white); border: 3px solid var(--gray-200); border-radius: 50%; z-index: 1; }
.timeline li.complete > span, .timeline li.active > span { border-color: var(--orange-600); background: var(--orange-600); }
.timeline li.active > span { box-shadow: 0 0 0 8px rgba(244, 122, 31, 0.14); }
.timeline strong { display: block; color: var(--navy-950); }
.timeline small { color: var(--gray-500); }

.receiver-update-card, .map-settings-card { grid-column: 1 / -1; padding: clamp(18px, 3vw, 28px); }
.receiver-update-card .section-heading, .map-settings-card .section-heading { margin-bottom: 18px; }
.receiver-update-card .section-heading h2, .map-settings-card .section-heading h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
.receiver-comment-form, .map-settings-form { display: grid; gap: 14px; }
.comment-options { display: flex; flex-wrap: wrap; gap: 12px; }
.comment-options label { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 8px 12px; color: var(--navy-950); background: var(--blue-50); border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: 0.88rem; font-weight: 900; }
.comment-options input { width: 17px; min-height: 17px; accent-color: var(--orange-600); }
.receiver-comment-form .btn, .map-settings-form .btn { justify-self: start; }
.receiver-message-preview, .goods-location-summary { margin-top: 18px; padding: 16px; background: var(--blue-50); border: 1px solid var(--gray-200); border-radius: var(--radius); }
.receiver-message-preview small { display: block; color: var(--gray-500); font-weight: 900; text-transform: uppercase; }
.receiver-message-preview p { margin: 8px 0 0; color: var(--navy-950); }
.goods-location-summary { display: grid; gap: 4px; }
.goods-location-summary strong { color: var(--navy-950); font-size: 1.1rem; }
.goods-location-summary span { color: var(--gray-700); }
.google-map-frame { display: block; width: 100%; min-height: 380px; margin-top: 18px; border: 0; border-radius: var(--radius); background: var(--blue-50); }

.tracking-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-muted { color: var(--navy-950); background: var(--blue-50); border: 1px solid var(--gray-200); box-shadow: none; }
.tracking-notice { padding: 12px 14px; border-radius: var(--radius); font-weight: 800; }
.tracking-notice-success { color: #064c36; background: #ddf8ed; border: 1px solid rgba(22, 128, 93, 0.24); }
.tracking-notice-error { color: #7b1d1d; background: #ffe0e0; border: 1px solid rgba(123, 29, 29, 0.2); }
.tracking-record-list { display: grid; gap: 12px; margin-top: 18px; }
.tracking-record-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px; background: var(--blue-50); border: 1px solid var(--gray-200); border-radius: var(--radius); }
.tracking-record-card strong, .tracking-record-card span, .tracking-record-card small { display: block; overflow-wrap: anywhere; }
.tracking-record-card strong { color: var(--navy-950); }
.tracking-record-card span, .tracking-record-card small { color: var(--gray-700); }
.tracking-record-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; font-size: 0.88rem; font-weight: 900; }
.tracking-record-actions a { color: var(--navy-800); }
.tracking-empty { margin: 18px 0 0; color: var(--gray-700); font-weight: 700; }

.service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card { transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(244, 122, 31, 0.45); box-shadow: 0 22px 50px rgba(7, 21, 38, 0.14); }
.service-detail-section { background: var(--blue-50); }
.service-detail-stack { display: grid; gap: 28px; }
.service-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  padding: clamp(18px, 3vw, 28px);
  background: var(--white);
  border: 1px solid rgba(216, 222, 232, 0.78);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.service-detail-reverse { grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr); }
.service-detail-reverse img { order: 2; }
.service-detail img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--blue-50);
}
.service-detail h2 { margin: 0; color: var(--navy-950); font-size: clamp(1.6rem, 3vw, 2.55rem); line-height: 1.1; }
.service-detail p:not(.eyebrow) { margin: 16px 0 0; color: var(--gray-700); }
.service-points { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.service-points li { position: relative; padding-left: 28px; color: var(--gray-700); font-weight: 800; }
.service-points li::before { content: ""; position: absolute; top: 9px; left: 0; width: 12px; height: 12px; background: var(--orange-600); border-radius: 50%; }
.service-support-section { background: var(--white); }
.service-support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.contact-section { background: var(--navy-950); }
.contact-layout { grid-template-columns: minmax(0, 0.94fr) minmax(320px, 1.06fr); }
.contact-card, .location-card { padding: clamp(20px, 4vw, 32px); }
.contact-card h2 { margin-bottom: 22px; }
.contact-form { display: grid; gap: 12px; }
.contact-form label { display: block; margin-bottom: 8px; color: var(--navy-950); font-size: 0.88rem; font-weight: 900; }
.contact-form .btn { justify-self: start; margin-top: 6px; }
.map-embed { position: relative; min-height: 300px; overflow: hidden; background: linear-gradient(90deg, transparent 0 48%, rgba(255,255,255,.36) 48% 50%, transparent 50%), linear-gradient(0deg, transparent 0 48%, rgba(255,255,255,.36) 48% 50%, transparent 50%), linear-gradient(135deg, #dfe8f2, #a9bed4); background-size: 88px 88px, 88px 88px, cover; border-radius: var(--radius); }
.map-pin { position: absolute; top: 47%; left: 53%; width: 22px; height: 22px; background: var(--orange-600); border: 4px solid var(--white); border-radius: 50%; box-shadow: 0 0 0 12px rgba(244, 122, 31, 0.22); }
.contact-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.contact-details p { margin: 0; color: var(--gray-700); }
.contact-details strong { color: var(--navy-950); }
.contact-details a { color: var(--navy-800); font-weight: 800; }
.social-links { display: flex; align-items: end; gap: 10px; }
.social-links a { display: grid; place-items: center; width: 40px; height: 40px; color: var(--white); background: var(--navy-900); border-radius: var(--radius); font-weight: 900; text-transform: uppercase; }

.site-footer { padding: 28px 0; color: rgba(255, 255, 255, 0.74); background: #04101e; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.footer-inner p { margin: 0; }
.footer-inner a { color: var(--white); font-weight: 800; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

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

@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; align-items: end; }
  .hero-panel { max-width: 560px; }
  .features, .service-grid, .service-support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-layout, .dashboard-layout, .contact-layout, .tracking-workspace, .service-detail, .service-detail-reverse { grid-template-columns: 1fr; }
  .service-detail-reverse img { order: 0; }
  .registered-shipment { grid-column: auto; }
}

@media (max-width: 820px) {
  .navbar { width: min(100% - 28px, 1180px); grid-template-columns: auto auto; gap: 14px; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .nav-menu { position: fixed; top: var(--header-height); left: 14px; right: 14px; display: grid; gap: 6px; padding: 14px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); box-shadow: var(--shadow-soft); opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity 180ms ease, transform 180ms ease; }
  .nav-menu.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-menu a { padding: 13px 12px; }
  .hero { min-height: auto; padding-top: 96px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(7, 21, 38, 0.92), rgba(7, 21, 38, 0.68)), linear-gradient(0deg, rgba(7, 21, 38, 0.58), rgba(7, 21, 38, 0)); }
  .tracking-input-row, .status-topline, .contact-details, .form-grid, .summary-header, .summary-grid, .status-time-grid { grid-template-columns: 1fr; }
  .status-control-row { grid-template-columns: 1fr; }
  .summary-route { grid-template-columns: 1fr; }
  .summary-route div:last-child { text-align: left; }
  .summary-route span { width: 2px; height: 28px; }
  .tracking-record-card { grid-template-columns: 1fr; }
  .tracking-record-card .status-pill { justify-self: start; }
}

@media (max-width: 620px) {
  .section-shell { width: min(100% - 28px, 1180px); }
  .brand small { display: none; }
  .hero { padding-inline: 14px; padding-bottom: 38px; }
  .hero h1 { font-size: clamp(2.35rem, 12vw, 3.2rem); }
  .hero-actions, .hero-actions .btn, .contact-form .btn { width: 100%; }
  .features, .stats-grid, .service-grid, .service-support-grid, .metric-grid { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .feature-card, .service-card, .service-detail, .contact-card, .location-card { padding: 20px; }
  .milestone { grid-template-columns: 1fr; gap: 8px; }
  .map-embed { min-height: 230px; }
  .google-map-frame { min-height: 300px; }
  .footer-inner { display: grid; }
}
