/* ==========================================================================
   FRIGAT EXPRESS — DESIGN SYSTEM
   Brand preserved from existing site: navy wordmark + coral "Express",
   slate-blue navigation, warm cream hero, deep violet footer.
   Typefaces: Poppins (display/headings/logo) + Inter (body/UI)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* ---- Brand color tokens ---- */
  --fx-navy-900: #1B2333;
  --fx-navy-800: #232D42;
  --fx-navy-700: #33405C;
  --fx-coral-600: #E8503A;
  --fx-coral-500: #FF6A4D;
  --fx-coral-100: #FFE4DC;
  --fx-orange-500: #FF8A2E;
  --fx-orange-400: #FFA557;
  --fx-purple-900: #341A5C;
  --fx-purple-800: #402070;
  --fx-purple-700: #4C2685;
  --fx-purple-600: #5A2E99;
  --fx-slate-500: #7C8BB0;
  --fx-slate-600: #67759B;
  --fx-slate-700: #4F5C7D;
  --fx-violet-900: #3C1F63;
  --fx-violet-700: #5B3391;
  --fx-violet-600: #6E3FA8;
  --fx-cream-100: #F6F0E4;
  --fx-cream-200: #EFE5D3;
  --fx-cream-50: #FBF8F1;

  /* ---- Neutral text/background tokens ---- */
  --fx-ink: #1B2333;
  --fx-body: #4B5468;
  --fx-muted: #767F94;
  --fx-border: #E4E2DC;
  --fx-surface: #FFFFFF;
  --fx-bg: #FCFAF6;

  /* ---- Status colors ---- */
  --fx-status-complete: #1E8A5F;
  --fx-status-active: #E8503A;
  --fx-status-pending: #A6ACB9;
  --fx-status-delay: #C4571F;
  --fx-status-exception: #C0392B;

  /* ---- Typography ---- */
  --fx-font-display: 'Poppins', 'Segoe UI', sans-serif;
  --fx-font-body: 'Inter', 'Segoe UI', sans-serif;

  /* ---- Spacing scale ---- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* ---- Radius & elevation ---- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm:
    0 1px 2px rgba(27,35,51,0.06),
    0 1px 3px rgba(27,35,51,0.08);

  --shadow-md:
    0 4px 14px rgba(27,35,51,0.10);

  --shadow-lg:
    0 12px 32px rgba(27,35,51,0.14);

  /* ---- Layout ---- */
  --container-max: 1240px;
  --header-h: 76px;
}

/* ==========================================================================
   RESET
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--fx-font-body);
  color: var(--fx-body);
  background: var(--fx-bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
select,
textarea {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--fx-coral-600);
  outline-offset: 2px;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1,
h2,
h3,
h4 {
  font-family: var(--fx-font-display);
  color: var(--fx-ink);
  margin: 0;
  line-height: 1.15;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

h4 {
  font-size: 1.05rem;
  font-weight: 600;
}

p {
  margin: 0 0 var(--sp-4);
  max-width: 62ch;
}

.lede {
  font-size: 1.1rem;
  color: var(--fx-body);
  max-width: 52ch;
}

.eyebrow-none {
  display: none;
}

/* ==========================================================================
   CONTAINER
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

@media (min-width: 900px) {
  .container {
    padding: 0 var(--sp-7);
  }
}

section {
  padding: var(--sp-8) 0;
}

.section-tight {
  padding: var(--sp-6) 0;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--fx-font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition:
    transform .15s ease,
    background-color .15s ease,
    box-shadow .15s ease,
    color .15s ease,
    border-color .15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--fx-navy-900);
  color: #fff;
}

.btn-primary:hover {
  background: var(--fx-navy-800);
  box-shadow: var(--shadow-md);
}

.btn-coral {
  background: var(--fx-coral-600);
  color: #fff;
}

.btn-coral:hover {
  background: #d6432e;
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border-color: var(--fx-navy-900);
  color: var(--fx-navy-900);
}

.btn-outline:hover {
  background: var(--fx-navy-900);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--fx-navy-900);
  padding: 13px 10px;
}

.btn-ghost:hover {
  color: var(--fx-coral-600);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(
    180deg,
    #4C2685 0%,
    #341A5C 100%
  );
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 2px 10px rgba(27,35,51,0.18);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

.logo {
  font-family: var(--fx-font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
  flex-shrink: 0;
}

.logo .logo-frigat {
  color: #fff;
}

.logo .logo-express {
  color: var(--fx-orange-500);
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.main-nav a {
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  padding: var(--sp-2) 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--fx-coral-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.header-track-shortcut {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.16);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-sm);
  padding: 9px 16px;
  font-size: 0.9rem;
  font-weight: 500;
}

.header-track-shortcut:hover {
  background: rgba(255,255,255,0.26);
}

.nav-toggle {
  display: inline-flex;
  background: none;
  border: none;
  color: #fff;
  padding: 8px;
}

/* ---- Header translator widget ---- */
.translate-widget {
  position: relative;
}

.translate-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  font-family: var(--fx-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background .15s ease;
}

.translate-trigger:hover,
.translate-trigger[aria-expanded="true"] {
  background: rgba(255,255,255,0.22);
}

.translate-trigger-label {
  text-transform: uppercase;
}

.translate-caret {
  transition: transform .15s ease;
}

.translate-trigger[aria-expanded="true"] .translate-caret {
  transform: rotate(180deg);
}

.translate-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--fx-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 168px;
  padding: var(--sp-2);
  z-index: 110;
  max-height: 280px;
  overflow-y: auto;
}

.translate-menu[hidden] {
  display: none;
}

.translate-menu li {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--fx-body);
  font-size: 0.92rem;
  cursor: pointer;
}

.translate-menu li:hover,
.translate-menu li[aria-selected="true"] {
  background: var(--fx-bg);
  color: var(--fx-ink);
  font-weight: 600;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Hide Google's own translate banner/toolbar so only our themed trigger shows */
body {
  top: 0 !important;
}
.goog-te-banner-frame.skiptranslate,
.goog-tooltip.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}
.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

@media (min-width: 1000px) {
  .main-nav {
    display: block;
  }

  .header-track-shortcut {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* ==========================================================================
   MOBILE MENU
   ========================================================================== */

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: #341A5C;
  z-index: 99;
  padding: var(--sp-6) var(--sp-5);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity .18s ease,
    transform .18s ease;
  overflow-y: auto;
}

.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav a {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  padding: var(--sp-4) 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: block;
}

.mobile-nav .btn {
  margin-top: var(--sp-5);
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  background: var(--fx-cream-100);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  min-height: 560px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-5);
  padding: var(--sp-8) var(--sp-5) var(--sp-8);
  position: relative;
  z-index: 2;
}

.hero-copy .accent-rule {
  width: 46px;
  height: 4px;
  background: var(--fx-coral-500);
  border-radius: 2px;
}

.hero-copy h1 {
  color: var(--fx-slate-700);
}

.hero-copy h1 strong {
  display: block;
  color: var(--fx-navy-900);
  font-weight: 700;
}

.hero-copy p {
  color: var(--fx-body);
  font-size: 1.08rem;
}

.hero-ctas {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
  min-height: 320px;
  background-size: cover;
  background-position: center;
}

.hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--fx-cream-100) 0%,
    rgba(246,240,228,0.55) 22%,
    rgba(246,240,228,0) 55%
  );
}

.track-card {
  background: var(--fx-surface);
  border-left: 4px solid var(--fx-coral-500);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-5);
  max-width: 520px;
}

.track-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fx-ink);
  margin-bottom: var(--sp-3);
}

.track-form-row {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.track-form-row input[type="text"] {
  flex: 1 1 220px;
  border: 1.5px solid var(--fx-border);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-size: 0.98rem;
  color: var(--fx-ink);
  background: var(--fx-bg);
}

.track-form-row input[type="text"]:focus {
  border-color: var(--fx-coral-500);
  outline: none;
  background: #fff;
}

.track-card .hint {
  font-size: 0.82rem;
  color: var(--fx-muted);
  margin-top: var(--sp-2);
  margin-bottom: 0;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 620px;
  }

  .hero-copy {
    padding: var(--sp-9) var(--sp-7) var(--sp-9) var(--sp-7);
  }

  .hero-media {
    min-height: unset;
  }
}

/* ==========================================================================
   QUICK ACTIONS STRIP
   ========================================================================== */

.quick-actions {
  background: var(--fx-surface);
  border-bottom: 1px solid var(--fx-border);
  padding: var(--sp-6) 0;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}

.qa-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border: 1.5px solid var(--fx-border);
  border-radius: var(--radius-md);
  background: var(--fx-bg);
  transition:
    border-color .15s ease,
    transform .15s ease,
    background .15s ease;
}

.qa-item:hover {
  border-color: var(--fx-coral-500);
  background: #fff;
  transform: translateY(-2px);
}

.qa-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--fx-coral-100);
  color: var(--fx-coral-600);
}

.qa-item strong {
  display: block;
  color: var(--fx-ink);
  font-size: 0.98rem;
  font-weight: 600;
}

.qa-item span {
  font-size: 0.84rem;
  color: var(--fx-muted);
}

@media (min-width: 700px) {
  .quick-actions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   CARDS / SERVICES
   ========================================================================== */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

@media (min-width: 700px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--fx-surface);
  border: 1px solid var(--fx-border);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  transition:
    box-shadow .15s ease,
    border-color .15s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #D8D4CA;
}

.service-card .qa-icon {
  margin-bottom: var(--sp-3);
}

.service-card h3 {
  margin-bottom: var(--sp-2);
}

.service-card p {
  margin-bottom: var(--sp-3);
  font-size: 0.95rem;
}

.service-card a.card-link {
  color: var(--fx-coral-600);
  font-weight: 600;
  font-size: 0.92rem;
}

/* ==========================================================================
   STATS / TRUST STRIP
   ========================================================================== */

.stats-strip {
  background: var(--fx-navy-900);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  text-align: left;
}

.stat-num {
  font-family: var(--fx-font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: #fff;
}

.stat-label {
  color: #B9C0D6;
  font-size: 0.9rem;
  margin-top: 4px;
}

@media (min-width: 800px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   TIMELINE
   ========================================================================== */

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
}

.timeline-item {
  position: relative;
  display: flex;
  gap: var(--sp-4);
  padding-bottom: var(--sp-6);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  flex-shrink: 0;
  width: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--fx-status-pending);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--fx-border);
  flex-shrink: 0;
  margin-top: 2px;
}

.timeline-line {
  flex: 1;
  width: 2px;
  background: var(--fx-border);
  margin-top: 4px;
}

.timeline-item.is-complete .timeline-dot {
  background: var(--fx-status-complete);
  box-shadow: 0 0 0 2px var(--fx-status-complete);
}

.timeline-item.is-complete .timeline-line {
  background: var(--fx-status-complete);
}

.timeline-item.is-active .timeline-dot {
  background: var(--fx-coral-600);
  box-shadow: 0 0 0 4px var(--fx-coral-100);
  width: 18px;
  height: 18px;
  margin-top: 0;
}

.timeline-body {
  padding-top: 0;
}

.timeline-status {
  font-weight: 600;
  color: var(--fx-ink);
  font-size: 1rem;
}

.timeline-item.is-active .timeline-status {
  color: var(--fx-coral-600);
}

.timeline-item:not(.is-complete):not(.is-active) .timeline-status {
  color: var(--fx-muted);
}

.timeline-meta {
  font-size: 0.85rem;
  color: var(--fx-muted);
  margin-top: 2px;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--fx-body);
  margin-top: 4px;
  margin-bottom: 0;
}

/* ==========================================================================
   STATUS BADGES
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.badge-active {
  background: var(--fx-coral-100);
  color: var(--fx-coral-600);
}

.badge-active .badge-dot {
  background: var(--fx-coral-600);
}

.badge-complete {
  background: #DCF0E5;
  color: var(--fx-status-complete);
}

.badge-complete .badge-dot {
  background: var(--fx-status-complete);
}

.badge-delay {
  background: #FBE7D6;
  color: var(--fx-status-delay);
}

.badge-delay .badge-dot {
  background: var(--fx-status-delay);
}

.badge-exception {
  background: #F8D9D5;
  color: var(--fx-status-exception);
}

.badge-exception .badge-dot {
  background: var(--fx-status-exception);
}

/* ==========================================================================
   FORMS
   ========================================================================== */

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

@media (min-width: 700px) {
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fx-ink);
}

.field .req {
  color: var(--fx-coral-600);
}

.field input,
.field select,
.field textarea {
  border: 1.5px solid var(--fx-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.96rem;
  color: var(--fx-ink);
  background: var(--fx-surface);
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--fx-coral-500);
  outline: none;
}

.field .error-msg {
  font-size: 0.82rem;
  color: var(--fx-status-exception);
  display: none;
}

.field.has-error input,
.field.has-error select {
  border-color: var(--fx-status-exception);
}

.field.has-error .error-msg {
  display: block;
}

.field-hint {
  font-size: 0.8rem;
  color: var(--fx-muted);
}

/* ==========================================================================
   MULTI-STEP
   ========================================================================== */

.steps-track {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}

.steps-track .step {
  flex: 1;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fx-muted);
  padding-bottom: var(--sp-3);
  border-bottom: 3px solid var(--fx-border);
}

.steps-track .step.is-active {
  color: var(--fx-navy-900);
  border-color: var(--fx-coral-500);
}

.steps-track .step.is-done {
  color: var(--fx-status-complete);
  border-color: var(--fx-status-complete);
}

/* ==========================================================================
   PANELS / CALLOUTS
   ========================================================================== */

.panel {
  background: var(--fx-surface);
  border: 1px solid var(--fx-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
}

.callout {
  background: var(--fx-cream-100);
  border-radius: var(--radius-lg);
  padding: var(--sp-7) var(--sp-6);
  text-align: left;
}

.callout-actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-top: var(--sp-4);
}

/* ==========================================================================
   SECTION HEADING
   ========================================================================== */

.section-head {
  max-width: 640px;
  margin-bottom: var(--sp-6);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ==========================================================================
   ALERTS
   ========================================================================== */

.alert {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: var(--sp-4);
  border-radius: var(--radius-md);
  border: 1px solid;
}

.alert-info {
  background: #EEF1FA;
  border-color: #C9D2EE;
  color: var(--fx-navy-800);
}

.alert-success {
  background: #E7F5EC;
  border-color: #BFE3CB;
  color: #1E6B47;
}

.alert-warning {
  background: #FDF1E2;
  border-color: #F1D4A4;
  color: #9C5B12;
}

.alert p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   TABLES
   ========================================================================== */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--fx-border);
  border-radius: var(--radius-md);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

thead th {
  text-align: left;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fx-muted);
  padding: var(--sp-3) var(--sp-4);
  background: var(--fx-bg);
  border-bottom: 1px solid var(--fx-border);
}

tbody td {
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.92rem;
  color: var(--fx-body);
  border-bottom: 1px solid var(--fx-border);
}

tbody tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.pagination {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.pagination button {
  min-width: 36px;
  height: 36px;
  border: 1.5px solid var(--fx-border);
  background: var(--fx-surface);
  border-radius: var(--radius-sm);
  color: var(--fx-body);
  font-weight: 600;
  font-size: 0.9rem;
}

.pagination button.is-active {
  background: var(--fx-navy-900);
  border-color: var(--fx-navy-900);
  color: #fff;
}

.pagination button:hover:not(.is-active) {
  border-color: var(--fx-slate-500);
}

/* ==========================================================================
   MODAL
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27,35,51,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: var(--sp-5);
}

.modal-overlay.is-open {
  display: flex;
}

.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: var(--sp-6);
  box-shadow: var(--shadow-lg);
}

.modal-close {
  float: right;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--fx-muted);
}

/* ==========================================================================
   DROPDOWN
   ========================================================================== */

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  border: 1px solid var(--fx-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  padding: var(--sp-2);
  display: none;
  z-index: 50;
}

.dropdown-menu.is-open {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--fx-body);
  font-size: 0.92rem;
}

.dropdown-menu a:hover {
  background: var(--fx-bg);
  color: var(--fx-ink);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: linear-gradient(
    160deg,
    #4C2685 0%,
    #341A5C 55%,
    #2A1548 100%
  );
  color: #E8E2F5;
  padding: var(--sp-8) 0 var(--sp-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

.footer-brand .logo .logo-frigat,
.footer-brand .logo .logo-express {
  color: #fff;
}

.footer-brand .logo .logo-express {
  color: var(--fx-orange-400);
}

.footer-brand p {
  color: #C9BEE0;
  font-size: 0.92rem;
  margin-top: var(--sp-3);
  max-width: 32ch;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: var(--sp-3);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: #C9BEE0;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  font-size: 0.85rem;
  color: #B8AED2;
}

.footer-legal {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  gap: var(--sp-3);
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  background: rgba(255,255,255,0.12);
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}

@media (min-width: 700px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ==========================================================================
   FULL-BLEED PHOTO HERO
   ========================================================================== */

.hero-fullbleed {
  background: var(--fx-navy-900);
  position: relative;
  padding: 0;
}

.hero-photo {
  position: relative;
  min-height: 460px;
  background-size: cover;
  background-position: center;

  /*
   * MOBILE:
   * Slightly more top space so the heading sits lower in the hero.
   */
  display: flex;
  align-items: flex-start;
  padding: 56px var(--sp-5) 0;
}

.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(27,35,51,0.55) 0%,
    rgba(27,35,51,0.15) 45%,
    rgba(27,35,51,0.05) 100%
  );
}

.hero-photo-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

/*
 * MAIN HERO HEADING
 *
 * The translateY moves the heading/content downward without
 * changing the overall hero structure.
 */
.hero-photo-inner {
  transform: translateY(28px);
}

.hero-photo h1 {
  color: rgba(255,255,255,0.92);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.hero-photo h1 strong {
  color: #FF8A2E;
  font-weight: 700;
}

.hero-photo .accent-rule {
  background: var(--fx-coral-500);
}

.hero-photo p.lede {
  color: #EDE9F5;
}

/* ==========================================================================
   TRACKING CARD OVERLAY
   ========================================================================== */

.hero-track-overlay {
  position: relative;
  z-index: 3;
  margin: 0 auto;
  max-width: var(--container-max);
  padding: 0 var(--sp-5);

  /*
   * Keeps the card overlapping the bottom of the hero.
   * Reduced slightly so the card sits closer to the heading.
   */
  margin-top: -72px;
}

.hero-track-overlay .track-card {
  max-width: none;
}

/* ==========================================================================
   QUICK ACTION OVERLAY CARDS
   ========================================================================== */

.qa-overlay-grid {
  position: relative;
  z-index: 3;
  max-width: var(--container-max);
  margin: -28px auto 0;
  padding: 0 var(--sp-5) 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}

.qa-overlay-card {
  background: var(--fx-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition:
    transform .15s ease,
    box-shadow .15s ease;
}

.qa-overlay-card:hover {
  transform: translateY(-3px);
}

.qa-overlay-card .qa-icon {
  background: var(--fx-coral-100);
  color: var(--fx-coral-600);
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
}

.qa-overlay-card strong {
  font-size: 0.98rem;
  color: var(--fx-ink);
}

.qa-overlay-card span {
  font-size: 0.82rem;
  color: var(--fx-muted);
}

/* ==========================================================================
   DESKTOP HERO POSITIONING
   ========================================================================== */

@media (min-width: 760px) {
  .qa-overlay-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/*
 * DESKTOP:
 * Bring the headline down a little, but not as aggressively as mobile.
 */
@media (min-width: 900px) {
  .hero-photo {
    min-height: 500px;
    padding-top: 70px;
  }

  .hero-photo-inner {
    transform: translateY(35px);
  }

  /*
   * Keep the tracking card overlapping the hero while
   * maintaining a visually tighter relationship with the heading.
   */
  .hero-track-overlay {
    margin-top: -78px;
  }
}

/*
 * LARGE DESKTOP:
 * A little more breathing room for very wide screens.
 */
@media (min-width: 1200px) {
  .hero-photo {
    min-height: 520px;
    padding-top: 76px;
  }

  .hero-photo-inner {
    transform: translateY(38px);
  }

  .hero-track-overlay {
    margin-top: -82px;
  }
}

/* ==========================================================================
   MOBILE-SPECIFIC HERO ADJUSTMENT
   ========================================================================== */

/*
 * Phones:
 * The heading should sit much closer to the Track Your Shipment card.
 *
 * We deliberately keep the heading inside the hero and move it down,
 * while the track card comes upward over the lower portion of the hero.
 */
@media (max-width: 699px) {
  .hero-photo {
    min-height: 405px;
    padding-top: 52px;
    background-size: 166.6667% 100%;
    background-position: left center;
  }

  .hero-photo-inner {
    transform: translateY(34px);
  }

  .hero-photo h1 {
    font-size: clamp(2.35rem, 11vw, 3.1rem);
    line-height: 1.08;
  }

  .hero-photo p.lede {
    font-size: 0.95rem;
  }

  .hero-track-overlay {
    margin-top: -92px;
  }

  .hero-track-overlay .track-card {
    padding: 20px;
  }
}

/*
 * VERY SMALL PHONES:
 * Bring everything slightly tighter together.
 */
@media (max-width: 420px) {
  .hero-photo {
    min-height: 385px;
    padding-top: 48px;
  }

  .hero-photo-inner {
    transform: translateY(38px);
  }

  .hero-photo h1 {
    font-size: 2.25rem;
    line-height: 1.06;
  }

  .hero-photo p.lede {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .hero-track-overlay {
    margin-top: -96px;
  }

  .hero-track-overlay .track-card {
    padding: 18px;
  }
}

/* ==========================================================================
   SPOTLIGHT SERVICE CARD
   ========================================================================== */

.spotlight-card {
  background: var(--fx-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--fx-border);
}

.spotlight-photo {
  height: 220px;
  background-size: cover;
  background-position: center;
}

@media (min-width: 700px) {
  .spotlight-photo {
    height: 440px;
  }
}

.spotlight-body {
  padding: var(--sp-6);
}

.spotlight-body .kicker {
  font-size: 0.92rem;
  color: var(--fx-muted);
  margin-bottom: var(--sp-2);
}

.spotlight-body h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.spotlight-features {
  background: var(--fx-bg);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
  margin: var(--sp-5) 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}

@media (min-width: 560px) {
  .spotlight-features {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--fx-ink);
  font-weight: 500;
}

.feature-chip .chip-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background: var(--fx-coral-100);
  color: var(--fx-coral-600);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

@media (min-width: 860px) {
  .spotlight-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */

.back-to-top {
  position: fixed;
  right: var(--sp-4);
  bottom: var(--sp-4);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--fx-coral-600);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity .2s ease,
    transform .2s ease;
  z-index: 80;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #d6432e;
}

/* ==========================================================================
   PAGE HEADER
   ========================================================================== */

.page-header {
  background: var(--fx-cream-100);
  padding: var(--sp-8) 0 var(--sp-6);
}

.page-header-photo {
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  margin-top: var(--sp-6);
}

@media (min-width: 700px) {
  .page-header-photo {
    height: 520px;
  }
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--fx-muted);
  margin-bottom: var(--sp-3);
}

.breadcrumbs a {
  color: var(--fx-muted);
}

.breadcrumbs a:hover {
  color: var(--fx-coral-600);
}

/* ==========================================================================
   UTILITY
   ========================================================================== */

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-3 {
  gap: var(--sp-3);
}

.bg-surface {
  background: var(--fx-surface);
}

.bg-cream {
  background: var(--fx-cream-100);
}

.divider {
  border: none;
  border-top: 1px solid var(--fx-border);
  margin: var(--sp-6) 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--fx-navy-900);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

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