/* ==========================================================================
   SPEEGO LOGISTICS - SHARED DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. RESET & CSS VARIABLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand from SpeeGo logo + homepage */
  --speego-primary: #04243D;
  --speego-primary-light: #0D3B66;
  --speego-accent: #F05828;
  --speego-accent-hover: #D9481C;
  
  --navy-main: #04243D;         /* Logo / section navy */
  --navy-sidebar: #0A1D37;      /* Dark navy sidebar card background */
  --navy-deep: #0A1118;         /* Homepage dark surface */
  --navy-darker: #071A2F;       /* Homepage deep navy */
  --orange-primary: #F05828;    /* Logo orange (SpeeGo / LOGISTICS) */
  --orange-hover: #D9481C;      /* Darker orange on hover */
  --orange-light: #FFF1E9;      /* Light orange badge / bullet background */
  
  /* Neutral Grayscale & Surfaces */
  --bg-white: #FFFFFF;
  --bg-light-gray: #F5F8FA;     /* Homepage gray surface */
  --bg-subtle-gray: #EEF3F8;    /* Card background for subcategories */
  --bg-ice-blue: #F0FBFB;       /* Homepage teal-tinted surface */
  --border-light: #D5DEE8;      /* Homepage card border */
  --border-input: #CBD5E1;      /* Input border from homepage */
  --border-dark: rgba(255, 255, 255, 0.12); /* Dark section border */
  
  /* Typography Colors */
  --text-navy: #04243D;         /* Dark headings and primary text */
  --text-body: #475569;         /* Homepage body text */
  --text-muted: #64748B;        /* Homepage secondary text */
  --text-white: #FFFFFF;
  
  /* Typography Families — same stack as homepage (--speego-font) */
  --speego-font: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-base: var(--speego-font);
  --font-heading: var(--speego-font);
  --font-primary: var(--speego-font);
  
  /* Shadows & Transitions */
  --shadow-card: 0 16px 40px rgba(4, 36, 61, 0.08);
  --shadow-hover: 0 24px 50px rgba(4, 36, 61, 0.16);
  --transition: all 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--speego-font);
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Match homepage: Inter sitewide for explore pages */
.page-container,
.page-container :is(h1, h2, h3, h4, h5, h6, p, li, a, button, input, select, textarea, label, th, td, span, small, strong, b, em),
.page-fulfillment,
.page-fulfillment :is(h1, h2, h3, h4, h5, h6, p, li, a, button, input, select, textarea, label, th, td, span, small, strong, b, em, summary) {
  font-family: var(--speego-font);
}

#app-main {
  flex: 1 0 auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-wide {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 3.5vw, 40px);
  padding-right: clamp(20px, 3.5vw, 40px);
}

/* --------------------------------------------------------------------------
   2. TYPOGRAPHY & COMMON ATOMS
   -------------------------------------------------------------------------- */
.section-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 8px;
}

.section-tag-orange {
  color: var(--orange-primary);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--text-navy);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-title-white {
  color: var(--text-white);
}

.highlight-orange {
  color: var(--orange-primary);
}

/* Keep the Sourcing section eyebrows visible next to their headings. */
.page-shipping-routes .section-header > .section-tag,
.page-import-export .section-header > .section-tag,
.page-fulfillment .ff-section-header > .ff-tag-eyebrow,
.page-fulfillment .ff-policy-heading .ff-tag-eyebrow,
.page-fulfillment .ff-pricing-section .ff-tag-eyebrow,
.page-fulfillment .ff-calc-section .ff-tag-eyebrow,
.page-fulfillment .ff-faq-section .ff-tag-eyebrow,
.page-fulfillment .ff-testimonial-section .ff-tag-eyebrow,
.page-fulfillment .ff-warehouse-section .ff-tag-eyebrow {
  display: none !important;
}

.btn-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--orange-primary);
  color: var(--text-white);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 9px;
  border: 1px solid var(--orange-primary);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(240, 88, 40, 0.22);
}

.btn-orange:hover {
  background-color: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(240, 88, 40, 0.35);
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--navy-main);
  color: var(--text-white);
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: 9px;
  border: 1px solid var(--navy-main);
  cursor: pointer;
  transition: var(--transition);
}

.btn-navy:hover {
  background-color: var(--orange-primary);
  border-color: var(--orange-primary);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   3. TOP BAR & MAIN HEADER (Synchronized with SpeeGo Legacy Website)
   -------------------------------------------------------------------------- */
/* Top Bar */
.speego-header-topbar {
  background: #04243D;
  height: 38px;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1001;
}

.speego-header-topbar-inner {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 3.5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.speego-header-contact {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.speego-header-contact-popover {
  position: relative;
  display: inline-block;
}

.speego-header-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #FFFFFF;
  font-family: var(--font-primary);
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.speego-header-contact-popover summary::-webkit-details-marker {
  display: none;
}

.speego-header-contact-item:hover {
  color: #38BDF8;
}

.speego-header-contact-icon {
  width: 14px;
  height: 14px;
  color: #FFFFFF;
  stroke: #FFFFFF;
  stroke-width: 1.5;
  flex-shrink: 0;
}

.speego-header-contact-val {
  font-weight: 600;
  color: #FFFFFF;
}

.speego-header-contact-popover-link {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #061B2E;
  color: #38BDF8;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 1050;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.speego-header-contact-popover[open] .speego-header-contact-popover-link {
  display: block;
}

.speego-header-contact-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 13px;
}

/* Policy Menu Dropdown in Top Bar */
.speego-policy-menu {
  position: relative;
  display: inline-block;
}

.speego-header-topbar .speego-policy-toggle,
.speego-policy-toggle {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.92);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 0;
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.2s ease;
}

.speego-header-topbar .speego-policy-toggle:hover,
.speego-policy-toggle:hover,
.speego-policy-menu.is-open .speego-policy-toggle {
  color: #fff;
}

.speego-policy-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  min-width: 180px;
  width: max-content;
  max-width: min(280px, calc(100vw - 32px));
  border-radius: 8px;
  border: 1px solid #e7edf1;
  box-shadow: 0 12px 28px rgba(4, 36, 61, 0.16);
  padding: 6px;
  z-index: 1050;
  list-style: none;
  margin: 0;
}

.speego-policy-menu:hover .speego-policy-dropdown,
.speego-policy-menu:focus-within .speego-policy-dropdown,
.speego-policy-dropdown.is-open {
  display: block;
}

.speego-policy-dropdown li a {
  display: block;
  padding: 10px 12px;
  border-radius: 5px;
  color: #04243d !important;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  white-space: normal;
  transition: background 0.15s ease, color 0.15s ease;
}

.speego-policy-dropdown li a:hover,
.speego-policy-dropdown li a:focus-visible {
  background: #f2f6f8;
  color: #ff6a00 !important;
}

/* Main Site Header: Sticky at top: 0 with z-index 1000 */
.site-header.speego-site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 4px 20px rgba(4, 36, 61, 0.06);
  transition: var(--transition);
}

.speego-header-navbar {
  height: 76px;
  width: 100%;
  display: flex;
  align-items: center;
}

.speego-header-navbar-inner {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 3.5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.speego-branding .speego-logo-img {
  height: 38px;
  max-height: 42px;
  width: auto;
  display: block;
}

.speego-main-navigation {
  display: flex;
  align-items: center;
}

.speego-nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.speego-nav-item {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.speego-nav-has-sub > .speego-nav-link {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 4px !important;
  white-space: nowrap;
}

.speego-nav-has-sub > .speego-nav-link > [data-i18n],
.speego-nav-has-sub > .speego-nav-link > span:not(.speego-nav-caret) {
  display: inline-block;
  line-height: 1.15;
}

.speego-nav-caret {
  display: block !important;
  flex: 0 0 auto;
  width: 10px;
  height: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  position: static !important;
  top: auto !important;
  left: auto !important;
  opacity: 0.9;
  overflow: visible;
  transition: transform 0.18s ease;
  transform-origin: 50% 50%;
  transform: none;
}

.speego-nav-caret::before {
  content: none !important;
  display: none !important;
}

.speego-nav-has-sub:hover > .speego-nav-link .speego-nav-caret,
.speego-nav-has-sub:focus-within > .speego-nav-link .speego-nav-caret {
  transform: rotate(180deg);
}

.speego-nav-dropdown {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 50% !important;
  right: auto !important;
  z-index: 1200 !important;
  display: block !important;
  min-width: 210px !important;
  width: max-content !important;
  margin: 0 !important;
  padding: 8px !important;
  list-style: none !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 36px rgba(4, 36, 61, 0.14) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translate(-50%, 8px) !important;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease !important;
}

.speego-nav-dropdown::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.speego-nav-has-sub:hover > .speego-nav-dropdown,
.speego-nav-has-sub:focus-within > .speego-nav-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translate(-50%, 0) !important;
}

.speego-nav-dropdown li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.speego-nav-dropdown-link {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  color: #04243D;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.speego-nav-dropdown-link:hover,
.speego-nav-dropdown-link.active {
  background: #FFF4ED;
  color: var(--orange-primary);
}

.speego-nav-link {
  font-family: var(--font-primary);
  font-size: 14.5px;
  font-weight: 700;
  color: #04243D;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 8px 0;
  display: inline-block;
  position: relative;
}

.speego-nav-item.active .speego-nav-link,
.speego-nav-link:hover {
  color: var(--orange-primary);
}

.speego-nav-item.active .speego-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange-primary);
  border-radius: 2px;
}

/* Header CTA Wrap (Language Selector, Quote Button, Mobile Menu) */
.speego-header-cta-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Language Selector Dropdown (3 Languages: VN / EN / ES with Flags) */
.speego-lang-selector {
  display: inline-flex;
  align-items: center;
  position: relative;
  vertical-align: middle;
  flex-shrink: 0;
}

.speego-lang-btn {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  color: #04243D;
  padding: 0 12px;
  height: 42px;
  border-radius: 999px;
  font-family: var(--font-primary);
  font-size: 13.5px;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
}

.speego-lang-btn:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.speego-lang-flag-current {
  display: inline-flex;
  align-items: center;
}

.speego-lang-flag {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  display: inline-block;
}

.speego-lang-chevron {
  stroke: currentColor;
  transition: transform 0.2s ease;
}

.speego-lang-btn[aria-expanded="true"] .speego-lang-chevron {
  transform: rotate(180deg);
}

.speego-lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #FFFFFF;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 12px 30px rgba(4, 36, 61, 0.12);
  padding: 6px;
  min-width: 120px;
  z-index: 1060;
}

.speego-lang-dropdown.active {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.speego-lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 700;
  color: #04243D;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.speego-lang-option:hover {
  background: #F1F5F9;
  color: var(--orange-primary);
}

.speego-lang-option.active {
  background: #FFF7ED;
  color: var(--orange-primary);
}

/* SpeeGo Header Quote Button */
.speego-header-quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: #04243D;
  color: #FFFFFF;
  font-family: var(--font-primary);
  font-size: 14.5px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(4, 36, 61, 0.2);
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
}

.speego-header-quote-btn:hover {
  background: var(--orange-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(240, 88, 40, 0.35);
}

.speego-header-quote-arrow {
  display: inline-block;
  stroke: currentColor;
  transition: transform 0.25s ease;
}

.speego-header-quote-btn:hover .speego-header-quote-arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   3b. RESPONSIVE MOBILE NAVIGATION (Exact Match with Master Homepage)
   -------------------------------------------------------------------------- */
.speego-menu-toggle {
  display: none;
}

@media (min-width: 992px) {
  .speego-nav-item.speego-nav-cta-item {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .speego-header-navbar-inner {
    position: relative;
    gap: 12px;
  }

  .speego-menu-toggle {
    width: 40px;
    height: 40px;
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    order: 3;
    padding: 0;
    border: 1px solid #dbe4eb;
    border-radius: 9px;
    background: #fff;
    color: var(--speego-primary);
    cursor: pointer;
  }

  .speego-menu-toggle:focus-visible {
    outline: 3px solid rgba(240, 88, 40, 0.45);
    outline-offset: 2px;
  }

  .speego-menu-toggle-icon,
  .speego-menu-toggle-icon::before,
  .speego-menu-toggle-icon::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .speego-menu-toggle-icon {
    position: relative;
  }

  .speego-menu-toggle-icon::before,
  .speego-menu-toggle-icon::after {
    position: absolute;
    left: 0;
    content: '';
  }

  .speego-menu-toggle-icon::before { top: -6px; }
  .speego-menu-toggle-icon::after { top: 6px; }

  .site-header.is-menu-open .speego-menu-toggle-icon { background: transparent; }
  .site-header.is-menu-open .speego-menu-toggle-icon::before { transform: translateY(6px) rotate(45deg); }
  .site-header.is-menu-open .speego-menu-toggle-icon::after { transform: translateY(-6px) rotate(-45deg); }

  .speego-main-navigation {
    position: absolute !important;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 1001;
    display: none !important;
    padding: 8px 16px calc(20px + env(safe-area-inset-bottom)) !important;
    max-height: calc(100dvh - 114px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    border-top: 1px solid #eef2f5;
    box-shadow: 0 16px 30px rgba(4, 36, 61, 0.12);
  }

  .site-header.is-menu-open .speego-main-navigation {
    display: block !important;
  }

  .speego-nav-menu {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0 !important;
  }

  .speego-nav-has-sub {
    border-bottom: 1px solid #eef2f5;
  }

  .speego-nav-dropdown {
    position: static !important;
    left: auto !important;
    top: auto !important;
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 0 8px !important;
    padding: 0 0 8px 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .speego-nav-dropdown::before {
    display: none;
  }

  .speego-nav-dropdown-link {
    padding: 10px 8px;
  }

  .speego-nav-caret {
    display: none;
  }

  .speego-nav-item {
    border-bottom: 1px solid #edf1f4;
  }

  .speego-nav-link {
    min-height: 44px;
    display: flex !important;
    align-items: center;
    padding: 12px 0 !important;
    font-size: 15px !important;
  }

  .speego-header-cta-wrap {
    margin-left: auto;
  }

  /* The quote CTA is available inside the open menu on mobile */
  .speego-header-cta-wrap > .speego-header-quote-btn {
    display: none !important;
  }

  .speego-nav-cta-item {
    display: block !important;
    margin-top: 12px !important;
    padding-top: 12px !important;
    border-top: 1px solid #edf1f4 !important;
    border-bottom: 0 !important;
  }

  .speego-nav-cta-item .speego-header-quote-btn {
    width: 100% !important;
    min-height: 48px !important;
    height: 48px !important;
    padding: 0 18px !important;
    color: #fff !important;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .speego-branding .speego-logo-img {
    height: 30px !important;
  }

  .speego-header-cta-wrap {
    gap: 8px !important;
  }

  .speego-lang-btn {
    height: 38px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    gap: 6px !important;
  }

  .speego-header-quote-btn {
    height: 38px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
  }
}

/* --------------------------------------------------------------------------
   4. DYNAMIC BREADCRUMB
   -------------------------------------------------------------------------- */
.breadcrumb-section {
  padding: 16px 0 8px 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.breadcrumb-link {
  color: var(--text-body);
}

.breadcrumb-link:hover {
  color: var(--orange-primary);
}

.breadcrumb-sep {
  color: #CBD5E1;
}

.breadcrumb-current {
  color: var(--text-navy);
  font-weight: 600;
}

/* WP prerender includes the header partial with an empty breadcrumb slot.
   Hide it until JS fills the list, so no phantom gap sits under the header
   (reference pages have no empty breadcrumb). */
#breadcrumbSection:has(#breadcrumbList:empty) {
  display: none;
}

/* The Vercel About page starts directly with its banner. */
body:has(.page-about) #breadcrumbSection {
  display: none;
}

/* --------------------------------------------------------------------------
   5. KNOWLEDGE HUB: HEADER INTRO & TOPIC CARDS GRID
   -------------------------------------------------------------------------- */
.knowledge-hero {
  padding: 30px 0 46px 0;
}

.knowledge-hero-title {
  font-family: var(--font-heading);
  font-size: 3.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 8px 0 20px 0;
}

.knowledge-hero-desc {
  font-size: 1.02rem;
  color: var(--text-body);
  max-width: 680px;
  line-height: 1.6;
}

.topic-grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 72px;
  width: 100%;
  align-items: stretch;
}

.topic-card {
  background: linear-gradient(165deg, #FFFFFF 0%, #F4F8FB 52%, #FFF6F1 100%);
  border: 1.5px solid #C5D4E0;
  border-bottom: 1px solid var(--speego-accent);
  border-left: 1px solid var(--speego-primary);
  border-radius: 12px;
  padding: 28px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  min-width: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  box-shadow: 0 6px 18px rgba(4, 36, 61, 0.07);
}

.topic-card:hover {
  border-color: #8FA8BC;
  border-left-color: var(--speego-primary);
  border-bottom-color: var(--speego-accent-hover);
  box-shadow: 0 12px 28px rgba(4, 36, 61, 0.12);
  transform: translateY(-3px);
  background: linear-gradient(165deg, #FFFFFF 0%, #EEF4F9 48%, #FFF0E8 100%);
}

.topic-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.topic-card-title {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--speego-primary);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.topic-card-badge {
  font-size: 0.72rem;
  color: #FFFFFF;
  background-color: var(--speego-primary);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  margin-top: 2px;
}

.topic-card-desc {
  font-size: 0.88rem;
  color: #3D5568;
  line-height: 1.55;
  margin-bottom: 20px;
  min-height: 4.8em;
  font-weight: 500;
}

/* Elementor-migrated card descriptions. Values mirror the EFFECTIVE sample
   rendering (subpage blanket rule computes desc paragraphs to 16px). Scoped
   with .elementor to beat atomic defaults regardless of stylesheet order. */
.elementor .speego-k-desc {
  font-family: var(--speego-font);
  font-size: 16px;
  font-weight: 500;
  color: #3D5568;
  line-height: 1.55;
  margin-top: 0;
  margin-bottom: 20px;
}

.topic-article-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  flex: 1 1 auto;
  min-height: 0;
}

.topic-article-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.bullet-icon-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  background-color: var(--speego-accent);
  border: none;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 3px;
}

.bullet-icon-orange::after {
  content: '';
  width: 5px;
  height: 5px;
  background-color: #FFFFFF;
  border-radius: 1px;
}

.bullet-icon-gray {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  background-color: #E8EEF3;
  border: 1px solid #C5D4E0;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 3px;
}

.bullet-icon-gray::after {
  content: '';
  width: 6px;
  height: 2px;
  background-color: #7A93A8;
  border-radius: 1px;
}

.topic-article-link {
  font-weight: 700;
  color: var(--speego-primary);
  transition: var(--transition);
}

.topic-article-link:hover {
  color: var(--speego-accent);
}

.topic-article-disabled {
  color: #7A93A8;
  cursor: default;
}

.topic-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #C5D4E0;
}

.topic-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--speego-accent);
}

.topic-more-link:hover {
  color: var(--orange-hover);
  transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   6. FAQ ACCORDION SECTION
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 68px 0 80px 0;
  background-color: var(--bg-light-gray);
  border-top: 1px solid var(--border-light);
}

.faq-header {
  margin-bottom: 34px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question-btn {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none !important;
  color: var(--text-navy);
  transition: var(--transition);
}

.faq-question-btn:hover {
  color: var(--orange-primary);
}

.faq-icon {
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--orange-primary);
  transition: transform 0.3s ease;
  line-height: 1;
  margin-left: 16px;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 26px;
  background-color: #FAFAFA;
}

.faq-item.active .faq-answer {
  max-height: 240px;
  padding-bottom: 22px;
}

.faq-answer-text {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.68;
}

/* --------------------------------------------------------------------------
   7. SHIPPING GUIDE (CATEGORY DETAIL) STYLES
   -------------------------------------------------------------------------- */
.subcat-grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.subcat-card {
  background-color: var(--bg-subtle-gray);
  border-radius: 10px;
  padding: 22px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.subcat-card:hover {
  transform: translateY(-2px);
  background-color: #EBF1F6;
}

.subcat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.subcat-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-navy);
}

.subcat-badge {
  font-size: 0.72rem;
  color: #64748B;
}

.subcat-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  flex-grow: 1;
}

.subcat-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  line-height: 1.45;
}

.featured-section {
  background-color: var(--bg-light-gray);
  padding: 64px 0 76px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.featured-header {
  margin-bottom: 30px;
}

.featured-grid-2col {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 32px;
  align-items: flex-start;
}

/* Featured Article Card - ALWAYS VERTICAL RECTANGULAR CARD */
.featured-article-card {
  background: var(--bg-white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 18px rgba(15, 39, 66, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.featured-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(10, 37, 64, 0.12);
  border-color: #CBD5E1;
}

.featured-img-wrap {
  position: relative;
  height: 190px;
  min-height: 190px;
  overflow: hidden;
  width: 100%;
  background: #0A2540;
}

.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.featured-article-card:hover .featured-img {
  transform: scale(1.06);
}

.featured-tag-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--navy-main);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}

.featured-content {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.featured-meta {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.featured-title {
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-navy);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.featured-desc {
  font-size: 13.5px;
  color: #64748B;
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.featured-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--orange-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.featured-link:hover {
  color: var(--orange-hover);
  text-decoration: underline;
}

/* Multi-card grid list (used in pages 02, 03, 05, 06, 07) */
.featured-cards-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* Single card in featured list stays vertical rectangular without stretching horizontally */
.featured-cards-list.single-card,
.featured-cards-single,
.featured-cards-list:has(> .featured-article-card:only-child) {
  display: grid;
  grid-template-columns: minmax(0, 360px);
}

/* Guard: If a card is placed directly in featured-grid-2col, cap width to vertical rectangle */
.featured-grid-2col > .featured-article-card {
  max-width: 360px;
}

@media (max-width: 768px) {
  .featured-cards-list,
  .featured-cards-list.single-card,
  .featured-cards-single,
  .featured-cards-list:has(> .featured-article-card:only-child) {
    grid-template-columns: 1fr;
  }
}

/* Sidebar Column */
.featured-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.core-docs-box {
  background: var(--bg-white);
  border-radius: 10px;
  border: 1px solid var(--border-light);
  padding: 20px;
}

.core-docs-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 8px;
}

.core-docs-link {
  font-size: 0.88rem;
  color: var(--text-navy);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.core-docs-link:hover {
  color: var(--orange-primary);
}

/* Other Categories Pills */
.categories-explore-section {
  padding: 64px 0 76px 0;
  background-color: var(--bg-white);
}

.pills-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid #CBD5E1;
  background-color: #FFFFFF;
  color: var(--text-navy);
}

.pill-btn:hover {
  border-color: var(--navy-main);
  background-color: var(--bg-light-gray);
}

.pill-btn.active {
  background-color: var(--navy-main);
  color: #FFFFFF;
  border-color: var(--navy-main);
}

.pill-count {
  opacity: 0.75;
  font-size: 0.82rem;
}

/* --------------------------------------------------------------------------
   8. CTA FORM COMPONENT (BAND & SIDEBAR VARIANTS)
   -------------------------------------------------------------------------- */
/* Variant: BAND (Full width navy — copy left, form right) */
.cta-form-band-section {
  background-color: var(--navy-main);
  padding: 80px 0 90px 0;
  color: var(--text-white);
}

.cta-form-band-section > .container.cta-form-band-grid,
.cta-form-band-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  width: 100%;
  max-width: 1320px;
}

.cta-band-copy,
.cta-band-left {
  flex: 0.95 1 0;
  min-width: 0;
  padding-top: 4px;
  padding-right: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start !important;
  text-align: left !important;
  order: 1;
}

.cta-band-copy > *,
.cta-band-left > * {
  align-self: flex-start !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

.cta-band-form,
.cta-band-right {
  flex: 1.1 1 0;
  min-width: 0;
  width: 100%;
  order: 2;
}

.cta-band-copy .section-tag,
.cta-band-left .section-tag {
  color: #94A3B8;
  margin-bottom: 18px;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  letter-spacing: 0.14em;
  font-weight: 700;
  animation: ctaTagPulse 3.2s ease-in-out infinite;
}

.cta-band-copy .section-title,
.cta-band-left .section-title {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.85rem, 5.5vw, 4.25rem);
  line-height: 1.05;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.03em;
}

.cta-band-desc {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  color: #A8B8C8;
  line-height: 1.65;
  margin: 22px 0 36px 0;
  max-width: 34ch;
}

.cta-hotline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: 0.01em;
  animation: ctaHotlineGlow 2.8s ease-in-out infinite;
  transition: color 0.25s ease, transform 0.25s ease;
}

.cta-hotline-link:hover {
  color: var(--orange-primary);
  transform: translateY(-2px);
}

@keyframes ctaCopyIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ctaTagPulse {
  0%, 100% {
    color: #94A3B8;
    letter-spacing: 0.14em;
  }
  50% {
    color: #F05828;
    letter-spacing: 0.18em;
  }
}

@keyframes ctaHotlineGlow {
  0%, 100% {
    text-shadow: 0 0 0 transparent;
  }
  50% {
    text-shadow: 0 0 18px rgba(240, 88, 40, 0.35);
  }
}

/* Scroll-triggered staggered entrance (JS adds data-cta-motion) */
.cta-form-band-section[data-cta-motion]:not(.is-inview) .cta-band-copy .section-tag,
.cta-form-band-section[data-cta-motion]:not(.is-inview) .cta-band-left .section-tag,
.cta-form-band-section[data-cta-motion]:not(.is-inview) .cta-band-copy .section-title,
.cta-form-band-section[data-cta-motion]:not(.is-inview) .cta-band-left .section-title,
.cta-form-band-section[data-cta-motion]:not(.is-inview) .cta-band-desc,
.cta-form-band-section[data-cta-motion]:not(.is-inview) .cta-hotline-link {
  opacity: 0;
  transform: translateY(24px);
  animation: none;
}

.cta-form-band-section[data-cta-motion].is-inview .cta-band-copy .section-tag,
.cta-form-band-section[data-cta-motion].is-inview .cta-band-left .section-tag {
  animation: ctaCopyIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards,
             ctaTagPulse 3.2s ease-in-out 0.9s infinite;
}

.cta-form-band-section[data-cta-motion].is-inview .cta-band-copy .section-title,
.cta-form-band-section[data-cta-motion].is-inview .cta-band-left .section-title {
  animation: ctaCopyIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.18s forwards;
}

.cta-form-band-section[data-cta-motion].is-inview .cta-band-desc {
  animation: ctaCopyIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.32s forwards;
}

.cta-form-band-section[data-cta-motion].is-inview .cta-hotline-link {
  animation: ctaCopyIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.46s forwards,
             ctaHotlineGlow 2.8s ease-in-out 1.2s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .cta-band-copy .section-tag,
  .cta-band-left .section-tag,
  .cta-band-copy .section-title,
  .cta-band-left .section-title,
  .cta-band-desc,
  .cta-hotline-link,
  .cta-form-band-section[data-cta-motion] .cta-band-copy .section-tag,
  .cta-form-band-section[data-cta-motion] .cta-band-left .section-tag,
  .cta-form-band-section[data-cta-motion] .cta-band-copy .section-title,
  .cta-form-band-section[data-cta-motion] .cta-band-left .section-title,
  .cta-form-band-section[data-cta-motion] .cta-band-desc,
  .cta-form-band-section[data-cta-motion] .cta-hotline-link {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    text-shadow: none;
  }
}

.consult-card-white {
  background-color: #FFFFFF;
  border-radius: 14px;
  padding: 32px 36px;
  box-shadow: 0 16px 40px rgba(4, 36, 61, 0.18);
  border: 1px solid #E2E8F0;
  width: 100%;
  display: block;
}

.page-shipping-routes .cta-form-band-section > .container.cta-form-band-grid {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

/* Variant: SIDEBAR (Compact dark navy card) */
.consult-card-sidebar {
  background-color: var(--navy-sidebar);
  border-radius: 14px;
  padding: 28px 24px;
  color: #FFFFFF;
  box-shadow: 0 14px 34px rgba(4, 36, 61, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.consult-card-sidebar .section-tag {
  color: var(--orange-primary);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 4px 0 8px 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.sidebar-desc {
  font-size: 13.5px;
  color: #CBD5E1;
  line-height: 1.5;
  margin-bottom: 14px;
}

.sidebar-hotline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.sidebar-hotline:hover {
  color: var(--orange-primary);
}

.consult-card-sidebar .form-label {
  color: #E2E8F0;
}

/* Common form inputs */
.consult-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--speego-primary);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.form-control {
  width: 100%;
  border: 1.5px solid #CBD5E1;
  border-radius: 9px;
  padding: 11px 14px;
  font-family: var(--font-base);
  font-size: 13.5px;
  color: #1E293B;
  background-color: #F8FAFC;
  transition: var(--transition);
  outline: none;
  height: 46px;
  box-sizing: border-box;
}

.consult-card-sidebar .form-control {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

.consult-card-sidebar .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-control::placeholder {
  color: #94A3B8;
  font-size: 13px;
}

.form-control:focus {
  border-color: var(--orange-primary);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(240, 88, 40, 0.15);
}

.consult-card-sidebar .form-control:focus {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--orange-primary);
  box-shadow: 0 0 0 3px rgba(240, 88, 40, 0.25);
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
  height: auto;
}

.btn-submit {
  width: 100%;
  height: 48px;
  padding: 12px 20px;
  background-color: var(--orange-primary);
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  font-family: var(--font-base);
  font-size: 14.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  margin-top: 4px;
}

.btn-submit:hover {
  background-color: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(240, 88, 40, 0.35);
}

.form-security-note {
  font-size: 11.5px;
  color: #94A3B8;
  margin-top: 10px;
  line-height: 1.45;
  text-align: center;
}

.consult-card-sidebar .form-security-note {
  color: rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------------------
   9. FOOTER (Synchronized with SpeeGo Global Web)
   -------------------------------------------------------------------------- */
.site-footer.speego-site-footer {
  background-color: #041a2d;
  color: #94a3b8;
  padding: 64px 24px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-primary);
}

.speego-footer-top {
  max-width: 1360px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr;
  gap: 48px;
}

.speego-footer-brand .speego-brand-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.speego-footer-brand .speego-logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.speego-footer-move {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .speego-footer-move {
    animation: none;
    color: #94A3B8;
    letter-spacing: 0.14em;
  }
}

.speego-footer-tagline {
  color: #94a3b8;
  font-size: 13.5px;
  line-height: 1.7;
  max-width: 380px;
  margin: 0;
}

.speego-footer-heading {
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 750;
  margin: 0 0 16px;
  font-family: var(--font-primary);
  letter-spacing: 0.02em;
}

.speego-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.speego-footer-links li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.15s ease, padding-left 0.15s ease;
  display: inline-block;
}

.speego-footer-links li a:hover {
  color: var(--orange-primary);
  padding-left: 4px;
}

/* 5 Global Offices Grid */
.speego-footer-offices {
  max-width: 1360px;
  margin: 0 auto 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.speego-footer-office-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px 24px;
}

.speego-footer-office {
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.6;
}

.speego-footer-office h5 {
  margin: 0 0 8px;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 750;
  font-family: var(--font-primary);
}

.speego-footer-office p {
  margin: 0 0 5px;
}

.speego-footer-office strong {
  color: #CBD5E1;
  font-weight: 650;
}

.speego-footer-office a {
  color: var(--orange-primary);
  text-decoration: none;
}

.speego-footer-office a:hover {
  text-decoration: underline;
}

.speego-footer-bottom {
  max-width: 1360px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  text-align: center;
  font-size: 12.5px;
  color: #64748b;
}

.speego-footer-bottom p {
  margin: 0;
}

@media (max-width: 1100px) {
  .speego-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .speego-footer-office-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .speego-footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .speego-footer-office-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* --------------------------------------------------------------------------
   10. TRACKING ENTRY, FLOATING BUTTON (FAB) & TRACKING MODALS
   -------------------------------------------------------------------------- */
.speego-track-fab {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 1080;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 62px;
  height: 62px;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  background: linear-gradient(135deg, #f26419, #ff8a3d);
  box-shadow: 0 8px 24px rgba(4, 36, 61, 0.25);
  color: #FFFFFF;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.speego-track-fab:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 28px rgba(240, 88, 40, 0.35);
}

.speego-track-fab::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 2px solid rgba(240, 88, 40, 0.6);
  border-radius: 50%;
  animation: speegoTrackFabPulse 2.3s ease-out infinite;
}

.speego-track-fab svg {
  width: 22px;
  height: 22px;
}

.speego-track-fab__label {
  font: 800 10px var(--font-primary);
  letter-spacing: 0.04em;
}

@keyframes speegoTrackFabPulse {
  0% { opacity: 0.9; transform: scale(0.88); }
  70%, 100% { opacity: 0; transform: scale(1.22); }
}

.speego-track-search-modal,
.speego-track-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: grid;
  place-items: center;
  padding: 16px;
}

.speego-track-search-modal[hidden],
.speego-track-modal[hidden] {
  display: none !important;
}

.speego-track-search-modal__backdrop,
.speego-track-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 36, 61, 0.78);
  backdrop-filter: blur(8px);
}

.speego-track-search-modal__dialog {
  position: relative;
  width: min(440px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 24px 70px rgba(4, 36, 61, 0.3);
  animation: speegoModalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.speego-track-modal__dialog {
  position: relative;
  width: min(680px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 24px 70px rgba(4, 36, 61, 0.3);
  animation: speegoModalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes speegoModalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.speego-track-search-modal__art {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 160px;
  padding: 12px 20px 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 110%, #244f73 0%, #0d3b66 47%, #04243d 100%);
}

.speego-track-search-modal__art img {
  display: block;
  width: min(100%, 300px);
  max-height: 150px;
  object-fit: contain;
}

.speego-track-search-modal__close,
.speego-track-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(4, 36, 61, 0.75);
  color: #FFFFFF;
  font: 24px/1 var(--font-primary);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.speego-track-search-modal__content {
  padding: 22px 24px;
}

.speego-track-search-modal__eyebrow {
  color: #ef6419;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.speego-track-search-modal__content h2 {
  margin: 5px 0 8px;
  color: #04243d;
  font: 800 22px/1.2 var(--font-primary);
}

.speego-track-search-modal__intro {
  margin: 0 0 16px;
  color: #53657a;
  font-size: 13px;
  line-height: 1.5;
}

.speego-track-search-modal__field-label {
  display: block;
  margin: 12px 0 6px;
  color: #30465c;
  font-size: 12px;
  font-weight: 750;
}

.speego-track-search-modal__carrier {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 6px 12px;
  border: 1px solid #dbe5ee;
  border-radius: 10px;
  background: #f7fafc;
  color: #04243d;
}

.speego-track-search-modal__carrier img {
  width: 28px;
  height: 32px;
  object-fit: contain;
}

.speego-track-search-modal__carrier strong {
  font-size: 15px;
}

.speego-track-search-modal__carrier-check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: auto;
  border-radius: 50%;
  background: #e7f8ef;
  color: #16884a;
  font-size: 11px;
  font-weight: bold;
}

.speego-track-search-modal__input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid #dbe5ee;
  border-radius: 10px;
  outline: none;
  background: #FFFFFF;
  color: #04243d;
  font: 600 14px var(--font-primary);
  box-sizing: border-box;
}

.speego-track-search-modal__input:focus {
  border-color: #f26419;
  box-shadow: 0 0 0 3px rgba(240, 88, 40, 0.14);
}

.speego-track-search-modal__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  margin-top: 14px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(110deg, #f26419, #ff7d2c);
  box-shadow: 0 8px 18px rgba(240, 88, 40, 0.2);
  color: #FFFFFF;
  font: 800 14px var(--font-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.speego-track-search-modal__submit:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.speego-track-search-modal__hint {
  margin: 10px 0 0;
  color: #6b7d90;
  font-size: 11.5px;
  line-height: 1.45;
  text-align: center;
}

/* Modal Journey Track */
.speego-track-modal__chrome {
  background: #04243d;
  color: #FFFFFF;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.speego-track-modal__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.speego-track-modal__logo {
  height: 28px;
  width: auto;
}

.speego-track-modal__title {
  margin: 0;
  font-size: 14px;
  font-weight: 750;
}

.speego-track-modal__code {
  margin: 2px 0 0;
  font-size: 12px;
  color: #94a3b8;
}

.speego-track-modal__body {
  padding: 24px;
}

.speego-track-summary {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.speego-track-summary__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFF7ED;
  color: #C2410C;
  font-size: 12px;
  font-weight: 750;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.speego-track-summary__bar {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 14px;
}

.speego-track-summary__bar span {
  display: block;
  height: 100%;
  background: #f26419;
}

.speego-track-summary__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  font-size: 12px;
}

.speego-track-summary__grid span {
  display: block;
  color: #64748b;
  margin-bottom: 2px;
}

.speego-track-summary__grid strong {
  color: #04243d;
  font-size: 13px;
}

.speego-track-timeline {
  list-style: none;
  padding: 0 0 0 16px;
  margin: 0;
  border-left: 2px solid #e2e8f0;
}

.speego-track-step {
  position: relative;
  padding-bottom: 18px;
  padding-left: 18px;
}

.speego-track-step::before {
  content: '';
  position: absolute;
  left: -23px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #94a3b8;
  border: 2px solid #FFFFFF;
}

.speego-track-step--current::before {
  background: #f26419;
  box-shadow: 0 0 0 3px rgba(240, 88, 40, 0.2);
}

.speego-track-step__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2px;
}

.speego-track-step__title {
  font-size: 13.5px;
  font-weight: 750;
  color: #04243d;
}

.speego-track-step__time {
  font-size: 11.5px;
  color: #64748b;
}

.speego-track-step__loc {
  font-size: 12px;
  color: #64748b;
}

.speego-track-modal__footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 10px 20px;
  text-align: center;
  font-size: 11px;
  color: #64748b;
}

.speego-track-search-modal__error {
  margin: 8px 0 0;
  color: #e53e3e;
  font-size: 12px;
}

.speego-track-search-modal__ups-link {
  display: inline-block;
  margin: 8px 0;
  color: #ff6a00;
  font-weight: 700;
  font-size: 13px;
  text-decoration: underline;
}

.speego-track-modal__meta {
  display: flex;
  flex-direction: column;
}

.speego-track-modal__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.speego-track-modal__ups-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

.speego-track-modal__ups-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.speego-track-modal__loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  gap: 12px;
  color: #64748b;
  font-size: 13px;
}

.speego-track-modal__spinner {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 3px solid rgba(240, 88, 40, 0.2);
  border-top-color: #f26419;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.speego-track-summary__demo-note {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  color: #ea580c;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.speego-track-summary__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.speego-track-summary__progress-label {
  font-size: 13px;
  font-weight: 800;
  color: #04243d;
}

.speego-track-route {
  margin-top: 20px;
}

.speego-track-route__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 750;
  color: #04243d;
  margin: 0 0 16px;
}

.speego-track-route__title svg {
  width: 16px;
  height: 16px;
  color: #f26419;
}

.speego-track-step {
  position: relative;
  padding-left: 36px;
  padding-bottom: 20px;
}

.speego-track-step:last-child {
  padding-bottom: 0;
}

.speego-track-step__rail {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.speego-track-step__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  display: grid;
  place-items: center;
  z-index: 1;
}

.speego-track-step__icon svg {
  width: 12px;
  height: 12px;
  color: #64748b;
}

.speego-track-step--current .speego-track-step__icon {
  background: #ffedd5;
  border-color: #f26419;
}

.speego-track-step--current .speego-track-step__icon svg {
  color: #ea580c;
}

.speego-track-step--done .speego-track-step__icon {
  background: #ecfdf5;
  border-color: #10b981;
}

.speego-track-step--done .speego-track-step__icon svg {
  color: #059669;
}

.speego-track-step__line {
  flex: 1;
  width: 2px;
  background: #e2e8f0;
  margin: 2px 0;
}

.speego-track-step__card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
}

.speego-track-step--current .speego-track-step__card {
  border-color: #fdba74;
  background: #fffaf5;
}

.speego-track-step__detail {
  margin: 4px 0 0;
  font-size: 12px;
  color: #475569;
  line-height: 1.4;
}

body.speego-track-modal-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   11. COOKIE CONSENT BANNER
   -------------------------------------------------------------------------- */
.speego-cookie-consent {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1100;
  width: min(400px, calc(100vw - 48px));
  padding: 20px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #04243d;
  box-shadow: 0 16px 36px rgba(4, 36, 61, 0.3);
  color: #fff;
  font-family: var(--font-primary);
}

.speego-cookie-consent[hidden] {
  display: none !important;
}

.speego-cookie-consent__title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.speego-cookie-consent__copy {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.5;
}

.speego-cookie-consent__actions {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 8px;
}

.speego-cookie-consent__button {
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #ff6a00;
  border-radius: 6px;
  background: #ff6a00;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
}

.speego-cookie-consent__button:hover,
.speego-cookie-consent__button:focus-visible {
  background: #e55a00;
  border-color: #e55a00;
}

.speego-cookie-consent__button--secondary {
  border-color: rgba(255, 255, 255, 0.24);
  background: transparent;
}

.speego-cookie-consent__button--secondary:hover,
.speego-cookie-consent__button--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
}

body:has(#speego-cookie-consent:not([hidden])) .speego-track-fab {
  bottom: 120px;
}

@media (max-width: 560px) {
  .speego-cookie-consent {
    right: 16px;
    bottom: 16px;
    width: calc(100vw - 32px);
  }

  .speego-cookie-consent__actions {
    grid-template-columns: 1fr;
  }
}


/* Toast popup */
.toast-popup {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--navy-main);
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border-left: 4px solid var(--orange-primary);
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast-popup.show {
  transform: translateY(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   10. SOURCING PAGE SPECIFIC CONTENT STYLES
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 32px 0 54px 0;
  background-color: var(--bg-white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-left {
  padding-right: 12px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 12px;
}

.hero-badge::before {
  content: '—';
  font-weight: 800;
  color: #94A3B8;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-navy);
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-phone-link {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-phone-link:hover {
  color: var(--orange-primary);
}

.hero-visual-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(11, 35, 59, 0.12);
  aspect-ratio: 4 / 3;
}

.hero-visual-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 35, 59, 0.75) 0%, rgba(11, 35, 59, 0.15) 35%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.hero-visual-wrap:hover .hero-img {
  transform: scale(1.02);
}

.hero-overlay-caption {
  position: absolute;
  bottom: 22px;
  left: 22px;
  max-width: calc(100% - 44px);
  z-index: 2;
  pointer-events: none;
}

.hero-overlay-tag {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange-primary);
  margin-bottom: 4px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.hero-overlay-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.anchor-bar {
  background-color: var(--bg-light-gray);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
}

.anchor-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.anchor-link, .anchor-link-right {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  text-align: center;
  transition: var(--transition);
}

.anchor-link:hover, .anchor-link-right:hover {
  color: var(--orange-primary);
}

.why-section {
  padding: 72px 0 84px 0;
  background-color: var(--bg-white);
}

.why-header {
  margin-bottom: 44px;
}

.cards-grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 30px 26px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.card-num {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--orange-primary);
  background-color: rgba(242, 102, 28, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 18px;
  width: fit-content;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-navy);
  line-height: 1.35;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}

.qc-section {
  background-color: var(--navy-main);
  padding: 76px 0 86px 0;
  color: var(--text-white);
}

.qc-header {
  margin-bottom: 50px;
}

.qc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.qc-col {
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
}

.qc-num {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--orange-primary);
  margin-bottom: 16px;
}

.qc-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.35;
  margin-bottom: 12px;
}

.qc-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.62;
}

.categories-section {
  padding: 76px 0 84px 0;
  background-color: var(--bg-white);
}

.categories-header {
  margin-bottom: 44px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.testimonial-section {
  background-color: var(--bg-ice-blue);
  padding: 72px 0 80px 0;
}

.testimonial-header {
  margin-bottom: 34px;
}

.testimonial-block {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.quote-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  fill: var(--orange-primary);
  margin-top: 4px;
}

.testimonial-content {
  flex: 1;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: 1.42rem;
  font-weight: 700;
  color: var(--text-navy);
  line-height: 1.45;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.author-info {
  margin-bottom: 16px;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 2px;
}

.author-role {
  font-size: 0.85rem;
  color: var(--text-body);
}

.case-study-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.case-study-link:hover {
  color: var(--orange-primary);
}

/* --------------------------------------------------------------------------
   11. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-title {
    font-size: 2.35rem;
  }
  .knowledge-hero-title {
    font-size: 2.4rem;
  }
  .topic-grid-3x2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .subcat-grid-4col {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-grid-2col {
    grid-template-columns: 1fr;
  }
  .cards-grid-3x2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .qc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
  .nav-menu {
    display: none;
  }
  .header-actions .btn-navy {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-title {
    font-size: 1.95rem;
  }
  .knowledge-hero-title {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.65rem;
  }
  .topic-grid-3x2 {
    grid-template-columns: 1fr;
  }
  .subcat-grid-4col {
    grid-template-columns: 1fr;
  }
  .cards-grid-3x2 {
    grid-template-columns: 1fr;
  }
  .qc-grid {
    grid-template-columns: 1fr;
  }
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .anchor-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .cta-form-band-section > .container.cta-form-band-grid,
  .cta-form-band-grid,
  .page-shipping-routes .cta-form-band-section > .container.cta-form-band-grid {
    flex-direction: column !important;
    align-items: stretch;
    gap: 32px;
  }

  .cta-band-copy,
  .cta-band-left,
  .cta-band-form,
  .cta-band-right {
    flex: 1 1 auto;
    width: 100%;
  }

  .cta-band-copy .section-title,
  .cta-band-left .section-title {
    max-width: none;
  }
  .form-row-2col {
    grid-template-columns: 1fr;
  }
  .quote-text {
    font-size: 1.18rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   12. EMPTY STATE & MULTI-CARD LIST STYLES
   -------------------------------------------------------------------------- */
.featured-lang-badge {
  display: inline-block;
  background-color: var(--navy-main);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 0.05em;
}

.empty-state-card {
  background: var(--bg-white);
  border: 2px dashed #CBD5E1;
  border-radius: 12px;
  padding: 56px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.empty-state-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 12px;
}

.empty-state-desc {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto 24px auto;
}

/* --------------------------------------------------------------------------
   13. POST ARTICLE DETAIL STYLES (Pages 08, 09, 10)
   -------------------------------------------------------------------------- */
.post-section {
  padding: 40px 0 84px 0;
  background-color: var(--bg-white);
}

.post-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: flex-start;
}

.post-main {
  display: flex;
  flex-direction: column;
}

.post-cat-tag {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-primary);
  margin-bottom: 12px;
  display: block;
}

.post-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--text-navy);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.post-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.post-share-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  color: #64748B;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.post-share-link {
  color: var(--text-navy);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.post-share-link:hover {
  color: var(--orange-primary);
}

.post-hero-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 34px;
  box-shadow: 0 10px 30px rgba(11, 35, 59, 0.08);
}

.post-hero-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.post-lead-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-navy);
  font-weight: 500;
  margin-bottom: 32px;
}

.post-content-block {
  margin-bottom: 30px;
}

.post-content-h2 {
  font-family: var(--font-heading);
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 12px;
  line-height: 1.35;
}

.post-content-p {
  font-size: 0.94rem;
  line-height: 1.72;
  color: var(--text-body);
  margin-bottom: 16px;
}

.post-author-bio {
  background-color: var(--bg-subtle-gray);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
}

.post-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--navy-main);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.post-author-name {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-navy);
  margin-bottom: 4px;
}

.post-author-role {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.45;
  margin-bottom: 8px;
}

.post-author-links {
  display: flex;
  gap: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange-primary);
}

.post-author-links a:hover {
  text-decoration: underline;
}

.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 320px;
  max-width: 100%;
}

.post-sidebar .consult-card-sidebar {
  padding: 22px 18px;
}

.topic-key-articles-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 24px 22px;
}

.topic-key-title {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-navy);
  margin-bottom: 14px;
}

.topic-key-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.topic-key-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.topic-key-item a {
  color: var(--text-navy);
  transition: var(--transition);
}

/* Knowledge pages follow the 3-column reference layout. */
.subcat-grid-4col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.subcat-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px 22px 20px;
}

.subcat-card:hover {
  background-color: var(--bg-white);
  border-color: #CBD5E1;
  box-shadow: var(--shadow-hover);
}

.subcat-item,
.topic-grid-3x2 .topic-article-item {
  min-width: 0;
}

.topic-grid-3x2 .topic-article-link,
.subcat-item .topic-article-link {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-container[data-nav="knowledge"] .topic-grid-3x2 {
  margin-bottom: 56px;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .page-container[data-nav="knowledge"] .topic-grid-3x2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .page-container[data-nav="knowledge"] .topic-grid-3x2 {
    grid-template-columns: minmax(0, 1fr);
  }
}
body.speego-seo-page #app-main {
  padding-top: 112px;
}

.post-breadcrumb-slot {
  margin: 0;
}

.post-breadcrumb-slot .breadcrumb-section {
  padding: 16px 0 8px;
}

.post-share-row {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 16px;
}

.post-share-link[data-share-platform] {
  width: 38px;
  height: 38px;
  justify-content: center;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  background: var(--bg-white);
}

.post-share-link[data-share-platform] svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.post-share-link[data-copy-link] {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  appearance: none;
  background: var(--bg-white);
  font: inherit;
  cursor: pointer;
}

.post-toc {
  margin: 0 0 28px;
  padding: 18px 22px;
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--orange-primary);
  border-radius: 8px;
  background: var(--bg-light-gray);
}

.post-toc-title {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.post-toc-list {
  margin: 0;
  padding-left: 20px;
}

.post-toc-list li + li {
  margin-top: 4px;
}

.post-toc-list a {
  color: var(--text-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-author-social-disabled {
  opacity: 0.38;
  cursor: default;
}

.post-author-links {
  gap: 8px;
}

.post-author-links a,
.post-author-links .post-author-social-disabled {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  background: var(--bg-white);
  color: var(--text-navy);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 1024px) {
  .subcat-grid-4col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body.speego-seo-page #app-main {
    padding-top: 92px;
  }
}

@media (max-width: 560px) {
  .subcat-grid-4col {
    grid-template-columns: 1fr;
  }

  .subcat-card {
    padding: 20px 18px;
  }

  .post-toc {
    padding: 16px 18px;
  }
}

.topic-key-item a:hover {
  color: var(--orange-primary);
}

@media (max-width: 1024px) {
  .post-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .post-sidebar {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .post-title {
    font-size: 1.85rem;
  }
  .empty-state-card {
    padding: 40px 20px;
  }
}

/* ==========================================================================
   FULFILLMENT PAGE & SPECIALIZED SUB-PAGE COMPONENTS
   ========================================================================== */

/* Clean Hero for generic landing pages (Tuyến vận chuyển, Xuất nhập khẩu) */
.page-hero-clean {
  padding: 56px 0 40px;
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
}

.page-hero-content {
  max-width: 820px;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  color: var(--text-navy);
  line-height: 1.2;
  margin: 12px 0 16px;
  letter-spacing: -0.02em;
}

.page-hero-desc {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* 1. Fulfillment Hero Section (Dark Logistics Network with Subtle Scrim) */
.ff-hero-dark-section {
  position: relative;
  background-color: #041527;
  /* Reduced scrim darkness: image shows clearly through, text protected by subtle gradient and text-shadow */
  background-image: 
    linear-gradient(180deg, rgba(4, 21, 39, 0.44) 0%, rgba(4, 21, 39, 0.52) 50%, rgba(4, 21, 39, 0.66) 100%),
    url('../assets/photos/speego-houston-warehouse.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 68px 0 52px;
  color: #FFFFFF;
  text-align: center;
}

.ff-hero-dark-header {
  max-width: 820px;
  margin: 0 auto 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ff-hero-brand-title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.2vw, 50px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
}

.ff-brand-orange {
  color: var(--orange-primary);
}

.ff-brand-white {
  color: #FFFFFF;
}

.ff-hero-tagline {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.ff-hero-summary {
  font-size: clamp(13.5px, 1.4vw, 15px);
  color: #E2E8F0;
  max-width: 680px;
  line-height: 1.65;
  margin: 0 auto;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

/* 4 Stats Bar Columns with Vertical Orange Bars */
.ff-stats-bars-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto 40px;
  text-align: left;
}

.ff-stat-bar-item {
  border-left: 3.5px solid var(--orange-primary);
  padding-left: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ff-stat-bar-title {
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 750;
  color: #FFFFFF;
  line-height: 1.35;
  margin-bottom: 4px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
}

.ff-stat-bar-desc {
  font-size: 13px;
  color: #CBD5E1;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Floating Dark Glassmorphic Hub Bar */
.ff-dark-hub-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  background: rgba(11, 30, 50, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 18px 28px;
  text-align: left;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.ff-dark-hub-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ff-dark-hub-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-primary);
}

.ff-dark-hub-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #FFFFFF;
}

.ff-dark-hub-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  text-align: right;
}

.ff-dark-hub-address {
  font-size: 13px;
  color: #94A3B8;
}

.ff-dark-hub-hotline {
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ff-hotline-lbl {
  color: var(--orange-primary);
  font-weight: 700;
}

.ff-hotline-val {
  color: #FFFFFF;
  font-weight: 750;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ff-hotline-val:hover {
  color: var(--orange-primary);
  text-decoration: underline;
}

/* Ribbon Ticker: Vibrant SpeeGo Orange */
.ff-ticker-orange-wrap {
  background: var(--orange-primary);
  color: #FFFFFF;
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
  line-height: 1.4;
  box-shadow: 0 4px 14px rgba(240, 88, 40, 0.25);
}

.ff-ticker-orange-inner {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: ffTickerOrange 35s linear infinite;
  width: max-content;
}

.ff-ticker-symbol {
  margin: 0 16px;
  font-size: 11px;
  opacity: 0.85;
}

@keyframes ffTickerOrange {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 4 Quicklinks */
.ff-quicklinks-section {
  padding: 36px 0;
  background: #FFFFFF;
  border-bottom: 1px solid #F1F5F9;
}

.ff-quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ff-quicklink-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.ff-quicklink-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: #04243D;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.48s cubic-bezier(0.2, 0.72, 0.2, 1);
}

.ff-quicklink-card > * {
  position: relative;
  z-index: 1;
  transition: color 0.25s ease;
}

.ff-quicklink-card:hover,
.ff-quicklink-card:focus-visible {
  border-color: #04243D;
  outline: 0;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(4, 36, 61, 0.14);
}

.ff-quicklink-card:hover::before,
.ff-quicklink-card:focus-visible::before {
  transform: scaleX(1);
}

.ff-quicklink-title {
  font-size: 15px;
  font-weight: 750;
  color: var(--speego-primary);
  line-height: 1.35;
  transition: color 0.25s ease;
}

.ff-quicklink-sub {
  font-size: 13px;
  color: #64748B;
  margin-top: 6px;
  line-height: 1.45;
  transition: color 0.25s ease;
}

.ff-quicklink-btn {
  font-size: 13.5px;
  font-weight: 750;
  color: var(--speego-accent);
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.25s ease;
}

.ff-quicklink-card:hover .ff-quicklink-title,
.ff-quicklink-card:focus-visible .ff-quicklink-title {
  color: #FFFFFF;
}

.ff-quicklink-card:hover .ff-quicklink-sub,
.ff-quicklink-card:focus-visible .ff-quicklink-sub {
  color: #D7E2E9;
}

.ff-quicklink-card:hover .ff-quicklink-btn,
.ff-quicklink-card:focus-visible .ff-quicklink-btn {
  color: var(--orange-primary);
}

.ff-quicklink-card--hub {
  border-color: var(--orange-primary);
  background: #FFF7F1;
}

.ff-quicklink-card--hub .ff-quicklink-title {
  color: #D95B0D;
}

.ff-quicklink-card--hub:hover,
.ff-quicklink-card--hub:focus-visible {
  border-color: #04243D;
}

.ff-quicklink-card--hub:hover .ff-quicklink-title,
.ff-quicklink-card--hub:focus-visible .ff-quicklink-title {
  color: #FFFFFF;
}

.ff-quicklink-icon {
  display: none;
}

.ff-quicklink-compact-label {
  display: none;
}

/* Sticky quicklinks: duotone icons with a floating label on hover/focus. */
.ff-quicklinks-section.is-compact {
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: visible;
  background: transparent;
}

.ff-quicklinks-section.is-compact > .container {
  max-width: none;
  padding: 0;
  margin: 0;
}

.ff-quicklinks-section.is-compact .ff-quicklinks-grid {
  --dock-size: 64px;
  position: fixed;
  z-index: 960;
  right: max(18px, env(safe-area-inset-right));
  left: auto;
  top: 50%;
  width: auto;
  max-width: none;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  padding: 0;
}

.ff-quicklinks-section.is-compact .ff-quicklink-card {
  position: relative;
  flex: 0 0 var(--dock-size);
  width: var(--dock-size);
  min-width: var(--dock-size);
  height: var(--dock-size);
  min-height: var(--dock-size);
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 20px;
  overflow: visible;
  background: linear-gradient(145deg, #164463, var(--navy-main) 78%);
  box-shadow: 0 6px 18px rgba(4, 36, 61, .18), inset 0 1px 0 rgba(255, 255, 255, .1);
  transform: none;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  animation: ff-dock-enter .5s cubic-bezier(.16, 1, .3, 1) backwards;
}

.ff-quicklinks-section.is-compact .ff-quicklink-card:nth-child(2) { animation-delay: .06s; }
.ff-quicklinks-section.is-compact .ff-quicklink-card:nth-child(3) { animation-delay: .12s; }
.ff-quicklinks-section.is-compact .ff-quicklink-card:nth-child(4) { animation-delay: .18s; }
.ff-quicklinks-section.is-compact .ff-quicklink-card:nth-child(5) { animation-delay: .24s; }

.ff-quicklinks-section.is-compact .ff-quicklink-card::before {
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 70% 25%, rgba(240, 88, 40, .24), transparent 75%);
  transform: none;
  opacity: 0;
  transition: opacity .3s ease;
}

.ff-quicklinks-section.is-compact .ff-quicklink-icon {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  color: #FFFFFF;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}

.ff-quicklinks-section.is-compact .ff-quicklink-icon svg {
  width: 30px;
  height: 30px;
  overflow: visible;
}

.ff-quicklink-icon .ff-icon-accent {
  stroke: #FF9A6C;
}

.ff-quicklink-icon .ff-icon-wheel {
  fill: var(--navy-main);
}

.ff-quicklinks-section.is-compact .ff-quicklink-title,
.ff-quicklinks-section.is-compact .ff-quicklink-sub,
.ff-quicklinks-section.is-compact .ff-quicklink-btn {
  display: none;
}

.ff-quicklinks-section.is-compact .ff-quicklink-compact-label {
  position: absolute;
  display: block;
  right: calc(100% + 14px);
  top: 50%;
  width: max-content;
  max-width: min(280px, calc(100vw - var(--dock-size) - 56px));
  padding: 12px 16px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: var(--navy-main);
  box-shadow: 0 8px 24px rgba(4, 36, 61, .16);
  color: #FFFFFF;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 650;
  letter-spacing: 0;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity .2s ease, transform .25s ease, visibility .2s;
}

.ff-quicklinks-section.is-compact .ff-quicklink-compact-label::after {
  content: '';
  position: absolute;
  right: -4px;
  top: calc(50% - 4px);
  width: 8px;
  height: 8px;
  background: var(--navy-main);
  transform: rotate(45deg);
}

.ff-quicklinks-section.is-compact .ff-quicklink-card:is(:hover, :focus-visible) {
  transform: translateX(-4px);
  border-color: rgba(255, 154, 108, .65);
  box-shadow: 0 10px 24px rgba(4, 36, 61, .25);
}

.ff-quicklinks-section.is-compact .ff-quicklink-card:focus-visible {
  outline: 2px solid var(--orange-primary);
  outline-offset: 4px;
}

.ff-quicklinks-section.is-compact .ff-quicklink-card:is(:hover, :focus-visible)::before {
  opacity: 1;
}

.ff-quicklinks-section.is-compact .ff-quicklink-card:is(:hover, :focus-visible) .ff-quicklink-compact-label {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

.ff-quicklinks-section.is-compact .ff-quicklink-card:is(:hover, :focus-visible) .ff-quicklink-icon {
  transform: translateY(-1px) scale(1.08);
}

.ff-quicklinks-section.is-compact .ff-quicklink-card:active {
  transform: translateX(-2px) scale(.95);
}

.ff-quicklinks-section.is-compact .ff-quicklink-card--hub {
  background: linear-gradient(145deg, #FA7847, var(--orange-primary) 75%);
  border-color: rgba(255, 255, 255, .3);
  box-shadow: 0 6px 18px rgba(240, 88, 40, .23), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.ff-quicklink-card--hub .ff-icon-accent {
  stroke: #FFFFFF;
  fill: rgba(255, 255, 255, .22);
}

.ff-quicklinks-section.is-compact .ff-quicklink-card:is(:hover, :focus-visible) .ff-icon-draw {
  animation: ff-icon-draw .65s ease both;
}

.ff-quicklinks-section.is-compact .ff-quicklink-card:is(:hover, :focus-visible) .ff-icon-truck {
  animation: ff-icon-drive .65s ease both;
}

.ff-quicklinks-section.is-compact .ff-quicklink-card:is(:hover, :focus-visible) .ff-icon-road {
  animation: ff-icon-road .65s ease both;
}

.ff-quicklinks-section.is-compact .ff-quicklink-card:is(:hover, :focus-visible) .ff-icon-keys {
  animation: ff-icon-tap .55s ease both;
}

.ff-quicklinks-section.is-compact .ff-quicklink-card:is(:hover, :focus-visible) .ff-icon-tile {
  animation: ff-icon-tile .5s ease both;
}

.ff-quicklink-icon .ff-icon-tile:nth-child(2) { animation-delay: .05s; }
.ff-quicklink-icon .ff-icon-tile:nth-child(3) { animation-delay: .1s; }
.ff-quicklink-icon .ff-icon-tile:nth-child(4) { animation-delay: .15s; }

@keyframes ff-dock-enter {
  from { opacity: 0; transform: translateX(20px) scale(.92); }
  to { opacity: 1; transform: none; }
}
@keyframes ff-icon-draw {
  from { stroke-dasharray: 1; stroke-dashoffset: 1; }
  to { stroke-dasharray: 1; stroke-dashoffset: 0; }
}
@keyframes ff-icon-drive {
  35% { transform: translateX(1.5px); }
  65% { transform: translate(1px, -.6px); }
  100% { transform: none; }
}
@keyframes ff-icon-road {
  40% { opacity: .2; transform: translateX(-2px); }
  100% { opacity: 1; transform: none; }
}
@keyframes ff-icon-tap {
  40% { opacity: .35; transform: translateY(.8px); }
  100% { opacity: 1; transform: none; }
}
@keyframes ff-icon-tile {
  45% { transform: translateY(-1.5px); }
  100% { transform: none; }
}

@media (max-width: 768px), (max-height: 600px) {
  .ff-quicklinks-section.is-compact .ff-quicklinks-grid {
    --dock-size: 48px;
    right: max(10px, env(safe-area-inset-right));
    gap: 8px;
  }
  .ff-quicklinks-section.is-compact .ff-quicklink-card { border-radius: 15px; }
  .ff-quicklinks-section.is-compact .ff-quicklink-icon svg { width: 25px; height: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  .ff-quicklinks-section.is-compact .ff-quicklink-card,
  .ff-quicklinks-section.is-compact .ff-quicklink-card *,
  .ff-quicklinks-section.is-compact .ff-quicklink-card::before {
    animation: none !important;
    transition: none !important;
  }
}

/* 2. 5-Step Process Section (Dark Navy) */
.ff-process-section {
  background: #041A2D;
  padding: 72px 0 80px;
  color: #FFFFFF;
}

.ff-section-header {
  margin-bottom: 40px;
}

.ff-tag-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 8px;
}

.ff-tag-light {
  color: #94A3B8;
}

.ff-section-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 800;
  color: var(--speego-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-top: 6px;
}

.ff-title-white {
  color: #FFFFFF;
}

.ff-section-sub {
  font-size: 0.95rem;
  color: #64748B;
  margin-top: 8px;
  line-height: 1.6;
  max-width: 720px;
}

.ff-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.ff-step-item {
  border-top: 1.5px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}

.ff-step-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--speego-accent);
  line-height: 1;
  margin-bottom: 12px;
}

.ff-step-name {
  font-size: 16px;
  font-weight: 750;
  color: #FFFFFF;
  margin-bottom: 10px;
  line-height: 1.35;
}

.ff-step-text {
  font-size: 13px;
  color: #94A3B8;
  line-height: 1.6;
}

.ff-process-cta {
  margin-top: 48px;
  text-align: left;
}

/* 3. Rate Card / Pricing Section — demo catalog layout */
.ff-pricing-section {
  padding: 72px 0;
  background: #F8FAFC;
}

.ff-pricing-catalog {
  padding: 88px 0 100px;
  background: linear-gradient(180deg, #fff 0%, #f7f6f3 100%);
}

.ff-pricing-catalog .ff-section-title {
  margin-bottom: 12px;
}

.ff-pricing-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

/* Jump nav between the two rate sheets */
.ff-pricing-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 34px;
}

.ff-pricing-jump a {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid #e4ded6;
  background: #fff;
  color: var(--speego-primary);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 7px 18px rgba(4, 36, 61, 0.04);
  transition: transform 0.2s, border-color 0.2s, background 0.2s, color 0.2s;
}

.ff-pricing-jump a:hover {
  background: #fff3eb;
  border-color: var(--orange-primary);
  color: var(--orange-hover);
  transform: translateY(-2px);
}

.ff-pricing-sheet {
  border: 1px solid #dce2e6;
  border-radius: 17px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 45px rgba(4, 36, 61, 0.05);
  margin-top: 28px;
  scroll-margin-top: 96px;
}

.ff-sheet-heading {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 25px 28px;
  background: linear-gradient(110deg, #0c2b45, #132238);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ff-sheet-heading::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -35% -10%;
  background-image:
    radial-gradient(circle, #fff 0 1px, transparent 1.8px),
    radial-gradient(circle, #ffb36f 0 1.15px, transparent 2px),
    radial-gradient(circle, #dbeaff 0 0.8px, transparent 1.7px);
  background-position: 12px 10px, 64px 34px, 118px 22px;
  background-size: 83px 59px, 137px 79px, 197px 109px;
  opacity: 0.15;
  animation: ff-starfield-drift 8s linear infinite;
  pointer-events: none;
}

.ff-sheet-heading > * {
  position: relative;
  z-index: 1;
}

.ff-sheet-heading small {
  display: block;
  color: var(--orange-primary);
  font-family: var(--speego-font);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}

.ff-sheet-heading h3 {
  font-family: var(--speego-font);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  color: #fff;
}

.ff-sheet-heading > span {
  font-family: var(--speego-font);
  color: #b9c6d1;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.ff-plan-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #dce2e6;
  border-bottom: 1px solid #dce2e6;
}

.ff-plan-strip article {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 22px;
  padding: 22px 28px;
  background: #fff7f1;
}

.ff-plan-strip article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--orange-primary);
}

.ff-plan-strip small {
  grid-column: 1;
  color: #b34d09;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.ff-plan-strip b {
  grid-column: 1;
  color: var(--speego-primary);
  font-size: 15px;
  line-height: 1.5;
}

.ff-plan-strip strong {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  color: var(--orange-primary);
  font-size: 30px;
  line-height: 1;
  white-space: nowrap;
}

.ff-plan-strip strong em {
  font-size: 13px;
  color: #6f7a85;
  font-style: normal;
  margin-left: 3px;
}

.ff-pricing-disclaimer {
  margin-top: 22px;
  font-size: 13px;
  color: #64748B;
  line-height: 1.75;
}

/* Nested details accordion — same open/close behavior as reference site */
.ff-price-group {
  border: 0;
  border-bottom: 1px solid #DCE2E6;
  background: #FFFFFF;
  transition: box-shadow 0.22s ease, border-color 0.22s ease;
}

.ff-price-group:last-child {
  border-bottom: 0;
}

.ff-price-group summary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 27px;
  background: #132238;
  color: #FFFFFF;
  cursor: pointer;
  user-select: none;
  transition: background 0.22s ease, color 0.22s ease;
}

.ff-price-group summary::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -45% -12%;
  background-image:
    radial-gradient(circle, #fff 0 1px, transparent 1.7px),
    radial-gradient(circle, #ffb36f 0 1.2px, transparent 2px),
    radial-gradient(ellipse at center, #dbeaff 0 1px, transparent 2px),
    radial-gradient(circle, #fff 0 0.7px, transparent 1.4px);
  background-position: 11px 8px, 58px 33px, 105px 18px, 147px 48px;
  background-size: 73px 53px, 119px 71px, 163px 91px, 211px 113px;
  opacity: 0.2;
  animation: ff-starfield-drift 7s linear infinite;
  pointer-events: none;
}

.ff-price-group summary::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -70% -18%;
  background: repeating-linear-gradient(
    112deg,
    transparent 0 33px,
    rgba(255, 255, 255, 0.44) 34px,
    rgba(255, 255, 255, 0.07) 35px,
    transparent 39px 83px
  );
  background-size: 190px 140px;
  opacity: 0.055;
  filter: blur(0.35px);
  animation: ff-star-streaks 4.5s linear infinite;
  pointer-events: none;
}

.ff-price-group summary > * {
  position: relative;
  z-index: 1;
}

.ff-price-group summary::-webkit-details-marker {
  display: none;
}

.ff-price-group summary > span {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ff-price-group summary > span i {
  position: relative;
  width: 14px;
  height: 14px;
  margin-right: 12px;
  flex-shrink: 0;
}

.ff-price-group summary > span i::before,
.ff-price-group summary > span i::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 6px;
  width: 10px;
  height: 2px;
  background: var(--speego-accent);
  border-radius: 2px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.ff-price-group summary > span i::after {
  transform: rotate(90deg);
}

.ff-price-group[open] summary > span i::after {
  transform: rotate(0);
}

.ff-price-group summary > small {
  color: #B9C6D1;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.ff-price-group[open] {
  position: relative;
  z-index: 1;
  border-bottom-color: var(--speego-accent);
  box-shadow: 0 12px 28px rgba(242, 100, 25, 0.15);
}

.ff-price-group[open] summary {
  background: var(--speego-accent);
}

.ff-price-group[open] summary > span i::before,
.ff-price-group[open] summary > span i::after {
  background: #FFFFFF;
}

.ff-price-group[open] summary > small {
  color: #FFF4ED;
}

.ff-price-body {
  background: #FFFFFF;
}

.ff-price-subhead {
  padding: 14px 24px;
  border-bottom: 1px solid #EDF0F2;
  color: var(--speego-primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ff-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 24px;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid #EDF0F2;
}

.ff-price-row:last-child {
  border-bottom: 0;
}

.ff-price-row b {
  display: block;
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--speego-primary);
  line-height: 1.35;
}

.ff-price-row b span {
  font-weight: 600;
  color: #64748B;
}

.ff-price-row small {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: #64748B;
  line-height: 1.45;
}

.ff-price-row > strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--speego-primary);
  text-align: right;
  white-space: nowrap;
}

.ff-price-row > strong em {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 650;
  color: #6F7A85;
  margin-left: 3px;
}

.ff-price-row > strong.ff-free-price,
.ff-free-price {
  color: var(--orange-primary);
  background: #fff0e7;
  border: 1px solid #ffd0b5;
  border-radius: 999px;
  padding: 6px 12px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.ff-price-note,
.ff-price-footnote {
  padding: 12px 24px;
  border-bottom: 1px solid #f3e9cc;
  background: #fff9e9;
  color: #aa571d;
  font-size: 12px;
  font-style: italic;
  line-height: 1.65;
}

.ff-price-note::before,
.ff-price-footnote::before {
  content: "▲";
  color: var(--orange-primary);
  font-size: 9px;
  margin-right: 8px;
}

.ff-packaging-showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 34px;
  background: #132238;
  color: #fff;
}

.ff-packaging-showcase::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -35% -10%;
  background-image:
    radial-gradient(circle, #fff 0 1px, transparent 1.8px),
    radial-gradient(circle, #ffb36f 0 1.15px, transparent 2px),
    radial-gradient(circle, #dbeaff 0 0.8px, transparent 1.7px);
  background-position: 12px 10px, 64px 34px, 118px 22px;
  background-size: 83px 59px, 137px 79px, 197px 109px;
  opacity: 0.15;
  animation: ff-starfield-drift 8s linear infinite;
  pointer-events: none;
}

.ff-packaging-showcase > * {
  position: relative;
  z-index: 1;
}

.ff-packaging-intro {
  max-width: 650px;
  margin-bottom: 24px;
}

.ff-packaging-intro small {
  color: var(--orange-primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.ff-packaging-intro h4 {
  margin: 8px 0 10px;
  color: #fff;
  font-size: 22px;
  line-height: 1.3;
}

.ff-packaging-intro p {
  margin: 0;
  color: #b9c6d1;
  font-size: 14px;
  line-height: 1.7;
}

.ff-packaging-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.ff-packaging-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.ff-packaging-card h5 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 15px;
}

.ff-packaging-card strong {
  display: block;
  color: var(--orange-primary);
  font-size: 20px;
  line-height: 1.2;
}

.ff-packaging-card strong em {
  font-style: normal;
  font-size: 12px;
  color: #b9c6d1;
  margin-left: 3px;
}

.ff-package-badge {
  display: inline-block !important;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff0e7;
  color: var(--orange-primary) !important;
  font-size: 11px !important;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ff-packaging-card p {
  margin: 10px 0 0;
  color: #aebdca;
  font-size: 12px;
  line-height: 1.55;
}

.ff-packaging-card dl {
  margin: 0;
  display: grid;
  gap: 6px;
}

.ff-packaging-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #d8e2e9;
  font-size: 12px;
}

.ff-packaging-card dt {
  margin: 0;
  color: #b9c6d1;
}

.ff-packaging-card dd {
  margin: 0;
  font-weight: 800;
  color: #fff;
}

.ff-usps-body {
  padding: 0;
}

.ff-usps-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  width: 100%;
}

.ff-usps-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.ff-usps-table th,
.ff-usps-table td {
  padding: 14px 10px;
  border-bottom: 1px solid #edf0f2;
  font-family: var(--speego-font);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  color: var(--speego-primary);
}

.ff-usps-table thead th {
  background: var(--speego-primary);
  font-family: var(--speego-font);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  border-bottom: 2px solid var(--speego-accent);
}

.ff-usps-table tbody th {
  text-align: left;
  font-weight: 800;
  color: var(--speego-accent);
  white-space: nowrap;
}

.ff-usps-table tbody tr:nth-child(even) {
  background: #F8FAFC;
}

@media (max-width: 850px) {
  .ff-plan-strip {
    grid-template-columns: 1fr;
  }

  .ff-sheet-heading {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .ff-pricing-catalog {
    padding: 58px 0 70px;
  }

  .ff-sheet-heading h3 {
    font-size: 20px;
  }

  .ff-plan-strip article {
    grid-template-columns: 1fr;
  }

  .ff-plan-strip strong {
    grid-column: 1;
    grid-row: auto;
    margin-top: 8px;
  }

  .ff-packaging-showcase {
    padding: 22px 16px;
  }
}

.ff-price-promo {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 24px;
  background: #FFF7F1;
  border-bottom: 1px solid #FFE0CC;
}

.ff-price-promo b {
  display: block;
  font-size: 0.9rem;
  font-weight: 750;
  color: var(--speego-primary);
}

.ff-price-promo small {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: #64748B;
  line-height: 1.45;
}

.ff-price-promo > span {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--speego-accent);
}

.ff-pricing-group {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(4, 36, 61, 0.03);
}

.ff-pricing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  cursor: pointer;
  user-select: none;
  background: #FFFFFF;
  transition: background 0.2s ease;
}

.ff-pricing-header:hover {
  background: #F8FAFC;
}

.ff-pricing-header-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ff-pricing-badge {
  font-size: 14px;
  font-weight: 800;
  color: var(--speego-accent);
}

.ff-pricing-group-title {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--speego-primary);
}

.ff-pricing-group-sub {
  font-size: 13px;
  color: #64748B;
  margin-top: 2px;
}

.ff-pricing-toggle-icon {
  font-size: 16px;
  font-weight: 750;
  color: #94A3B8;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #F1F5F9;
}

.ff-pricing-body {
  display: none;
  padding: 0 28px 28px;
}

.ff-pricing-group.active .ff-pricing-body {
  display: block;
}

.ff-pricing-group.active .ff-pricing-toggle-icon {
  background: var(--orange-light);
  color: var(--orange-primary);
}

/* All-in-one cards */
.ff-pricing-sheet .ff-allinone-grid {
  padding: 20px 24px 8px;
  margin: 0;
}

.ff-allinone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 10px;
  margin-bottom: 28px;
}

.ff-allinone-card {
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FFFFFF;
}

.ff-aio-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--speego-primary);
}

.ff-aio-desc {
  font-size: 13px;
  color: #64748B;
  margin-top: 4px;
}

.ff-aio-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--speego-primary);
  white-space: nowrap;
}

/* Tables in pricing */
.ff-table-block {
  margin-top: 24px;
}

.ff-table-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--speego-primary);
  margin-bottom: 12px;
}

.ff-table-wrap {
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  overflow: hidden;
}

.ff-rate-table {
  width: 100%;
  border-collapse: collapse;
}

.ff-rate-table tr {
  border-bottom: 1px solid #F1F5F9;
}

.ff-rate-table tr:last-child {
  border-bottom: none;
}

.ff-rate-table td {
  padding: 12px 18px;
  font-size: 13.5px;
  color: #1E293B;
}

.ff-td-col1 {
  font-weight: 700;
  width: 28%;
}

.ff-td-col2 {
  color: #64748B;
  width: 32%;
}

.ff-td-col3 {
  text-align: right;
  width: 40%;
}

.ff-text-bold {
  font-weight: 750;
  color: var(--speego-primary);
}

.ff-price-text {
  font-weight: 800;
  color: var(--speego-primary);
}

.ff-price-text .ff-unit {
  font-weight: 400;
  font-size: 12px;
  color: #64748B;
}

.ff-table-note {
  font-size: 12px;
  color: #94A3B8;
  margin-top: 10px;
  line-height: 1.5;
}

.ff-td-pack-name {
  width: 70%;
}

.ff-pack-title {
  font-weight: 750;
  color: var(--speego-primary);
}

.ff-pack-sub {
  font-size: 12.5px;
  color: #64748B;
  margin-top: 3px;
}

.ff-td-pack-price {
  width: 30%;
  text-align: right;
}

/* 4. Calculator Section — reference 2-column estimator */
.ff-calc-section {
  padding: 64px 0;
  background: #FFFFFF;
  font-family: var(--speego-font);
}

.ff-estimator {
  margin-top: 0;
  border: 1px solid #d5dee8;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(4, 36, 61, 0.08);
  background: #f5f8fa;
  font-family: var(--speego-font);
  color: var(--speego-primary);
}

.ff-estimator-heading {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 30px;
  background: var(--speego-primary);
  color: #fff;
  font-family: var(--speego-font);
}

.ff-estimator-heading::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -35% -10%;
  background-image:
    radial-gradient(circle, #fff 0 1px, transparent 1.8px),
    radial-gradient(circle, #ffb36f 0 1.15px, transparent 2px),
    radial-gradient(circle, #dbeaff 0 0.8px, transparent 1.7px);
  background-position: 12px 10px, 64px 34px, 118px 22px;
  background-size: 83px 59px, 137px 79px, 197px 109px;
  opacity: 0.15;
  animation: ff-starfield-drift 8s linear infinite;
  pointer-events: none;
}

.ff-estimator-heading > * {
  position: relative;
  z-index: 1;
}

.ff-estimator-heading small {
  display: block;
  color: var(--orange-primary);
  font-family: var(--speego-font);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.ff-estimator-heading p {
  margin: 6px 0 0;
  color: #c5d4e3;
  font-family: var(--speego-font);
  font-size: 15px;
  font-weight: 500;
}

.ff-estimator-heading > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--orange-primary);
  border-radius: 13px;
  background: #fff7f1;
  color: var(--orange-primary);
  font-size: 25px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.11);
  flex: 0 0 auto;
}

.ff-estimator-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.95fr);
  gap: 24px;
  padding: 26px;
  background: #eef3f8;
}

.ff-estimator-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  gap: 18px;
  padding: 25px;
  border: 1px solid #d5dee8;
  border-radius: 20px;
  background: #ffffff;
  font-family: var(--speego-font);
}

.ff-estimate-guide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 2px;
  padding-bottom: 18px;
  border-bottom: 1px solid #d5dee8;
}

.ff-estimate-guide > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--speego-primary);
  color: #fff;
  font-family: var(--speego-font);
  font-size: 13px;
  font-weight: 800;
  flex: 0 0 auto;
}

.ff-estimate-guide strong,
.ff-estimate-guide small {
  display: block;
  font-family: var(--speego-font);
}

.ff-estimate-guide strong {
  color: var(--speego-primary);
  font-size: 17px;
  font-weight: 800;
}

.ff-estimate-guide small {
  margin-top: 3px;
  color: var(--text-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.ff-estimate-field {
  display: grid;
  gap: 9px;
  color: var(--speego-primary);
  font-family: var(--speego-font);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ff-estimate-field input[type="number"],
.ff-estimate-field select {
  width: 100%;
  height: 58px;
  box-sizing: border-box;
  padding: 0 17px;
  border: 1px solid #d5dee8;
  border-radius: 14px;
  background: #f8fafc;
  color: var(--speego-primary);
  font-family: var(--speego-font);
  font-size: 16px;
  font-weight: 700;
  outline: 0;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.ff-estimate-field input[type="number"]:hover,
.ff-estimate-field select:hover {
  background: #fff;
  border-color: #a8bdd0;
}

.ff-estimate-field input[type="number"]:focus,
.ff-estimate-field select:focus {
  border-color: var(--orange-primary);
  box-shadow: 0 0 0 4px rgba(240, 88, 40, 0.12);
  background: #fff;
}

.ff-estimate-field select:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  background: #e8edf0 !important;
}

.ff-shipping-choice,
.ff-package-choice {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  border: 0;
}

.ff-shipping-choice legend,
.ff-package-choice legend {
  margin-bottom: 10px;
  color: var(--speego-primary);
  font-family: var(--speego-font);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ff-shipping-choice > p {
  margin: 7px 2px 0;
  color: var(--text-body);
  font-family: var(--speego-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.ff-package-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ff-package-option {
  position: relative;
  display: block;
  cursor: pointer;
  font-family: var(--speego-font);
}

.ff-package-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ff-package-option span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  box-sizing: border-box;
  padding: 11px 14px 11px 42px;
  border: 1px solid #d5dee8;
  border-radius: 13px;
  background: #f8fafc;
  color: var(--speego-primary);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.ff-package-option span::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border: 2px solid #a8b5bf;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 3px #fff;
}

.ff-package-option b {
  font-family: var(--speego-font);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--speego-primary);
}

.ff-package-option small {
  color: #647587;
  font-family: var(--speego-font);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.ff-package-option:hover span {
  border-color: #a8bdd0;
  background: #fff;
}

.ff-package-option input:checked + span {
  border-color: var(--orange-primary);
  background: #fff8f2;
  box-shadow: 0 7px 18px rgba(240, 88, 40, 0.08);
}

.ff-package-option input:checked + span::before {
  border-color: var(--orange-primary);
  background: radial-gradient(circle, var(--orange-primary) 0 5px, #fffaf7 5.5px);
  box-shadow: none;
}

.ff-package-option input:checked + span small {
  color: var(--orange-primary);
}

.ff-package-option:nth-child(1) small,
.ff-package-option:nth-child(2) small {
  color: #13865c;
}

.ff-shipping-option span {
  min-height: 58px;
}

.ff-shipping-option span::before {
  top: 22px;
  transform: none;
}

.ff-package-options > .ff-package-option > span {
  height: 100%;
}

.ff-quantity-package > span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  column-gap: 10px;
}

.ff-quantity-package > span > b {
  grid-column: 1;
}

.ff-quantity-package > span > small {
  grid-column: 2;
  grid-row: 1;
  text-align: right;
}

.ff-quantity-editor {
  display: none;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid #d5dee8;
  font-style: normal;
}

.ff-quantity-editor em {
  color: var(--text-body);
  font-family: var(--speego-font);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.ff-package-quantity {
  width: 88px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #d5dee8;
  border-radius: 9px;
  background: #fff;
  color: var(--speego-primary);
  font-family: var(--speego-font);
  font-size: 14px;
  font-weight: 800;
  outline: 0;
}

.ff-package-quantity:focus {
  border-color: var(--orange-primary);
  box-shadow: 0 0 0 3px rgba(240, 88, 40, 0.12);
}

.ff-quantity-package > input:checked + span .ff-quantity-editor {
  display: flex;
}

.ff-quantity-package > input:checked + span {
  min-height: 104px;
}

.ff-quantity-package > input:checked + span::before {
  top: 20px;
  transform: none;
}

.ff-estimate-result {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 27px;
  border: 1px solid #d5dee8;
  border-radius: 20px;
  background: #ffffff;
  font-family: var(--speego-font);
}

.ff-estimate-result::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--speego-primary) 0%, var(--orange-primary) 100%);
}

.ff-estimate-result > small {
  display: block;
  color: var(--speego-primary);
  font-family: var(--speego-font);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.ff-estimate-result > strong {
  display: block;
  margin: 9px 0 21px;
  color: var(--speego-primary);
  font-family: var(--speego-font);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.ff-estimate-result dl {
  margin: 0;
}

.ff-estimate-result dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  color: var(--text-body);
  font-family: var(--speego-font);
  font-size: 15px;
  font-weight: 500;
}

.ff-estimate-result dt {
  min-width: 0;
}

.ff-estimate-result dd {
  margin: 0;
  color: var(--speego-primary);
  font-weight: 800;
  text-align: right;
}

.ff-estimate-total {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 17px;
  padding-top: 21px;
  border-top: 1px solid #d5dee8;
  color: var(--speego-primary);
  font-family: var(--speego-font);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ff-estimate-total b {
  color: var(--orange-primary);
  font-family: var(--speego-font);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.ff-estimate-result > p {
  margin: 18px 0 0;
  padding: 13px 14px;
  border-left: 3px solid var(--speego-primary);
  border-radius: 0 10px 10px 0;
  background: #eef3f8;
  color: var(--text-body);
  font-family: var(--speego-font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}

.ff-estimate-brand {
  display: grid;
  flex: 1;
  min-height: 120px;
  place-items: center;
  padding: 28px 18px 8px;
}

.ff-estimate-brand img {
  display: block;
  width: min(78%, 280px);
  height: auto;
  opacity: 0.28;
}

@media (max-width: 850px) {
  .ff-estimator-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .ff-estimator-form,
  .ff-package-options {
    grid-template-columns: 1fr;
  }

  .ff-estimator-heading {
    padding: 18px;
  }

  .ff-estimator-heading p {
    font-size: 12px;
  }

  .ff-estimator-body {
    padding: 14px;
    gap: 14px;
  }

  .ff-estimator-form,
  .ff-estimate-result {
    padding: 20px;
  }

  .ff-estimate-total b {
    font-size: 30px;
  }
}

/* Legacy helpers kept for any remaining inputs */
.ff-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.ff-form-group {
  display: flex;
  flex-direction: column;
}

.ff-label {
  font-family: var(--speego-font);
  font-size: 14px;
  font-weight: 800;
  color: var(--orange-primary);
  margin-bottom: 8px;
}

.ff-input,
.ff-select {
  height: 48px;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  padding: 0 14px;
  font-family: var(--speego-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--speego-primary);
  background: #FFFFFF;
  outline: none;
  width: 100%;
}

/* 5. Warehouse Tour Section — full-width cards, swipe on small screens */
.ff-warehouse-section {
  padding: 64px 0;
  background: #F8FAFC;
}

.ff-warehouse-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}

.ff-gallery-nav {
  display: none;
}

.ff-warehouse-cards-grid {
  display: flex;
  gap: 16px;
  width: 100%;
  overflow-x: visible;
  overflow-y: hidden;
  padding: 2px 0 4px;
  margin: 0;
}

.ff-warehouse-cards-grid::-webkit-scrollbar {
  display: none;
}

.ff-warehouse-cards-grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.ff-warehouse-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  background: #0B1E32;
  box-shadow: 0 8px 22px rgba(4, 36, 61, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ff-warehouse-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(4, 36, 61, 0.14);
}

.ff-warehouse-card-img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
  pointer-events: none;
  user-select: none;
}

.ff-warehouse-card:hover .ff-warehouse-card-img {
  transform: scale(1.04);
}

.ff-warehouse-card-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 16px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 36, 61, 0.88) 70%);
  color: #FFFFFF;
}

.ff-warehouse-card-title {
  margin: 0 0 4px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.ff-warehouse-card-text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #E2E8F0;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ff-warehouse-footnote {
  display: none;
}

@media (max-width: 1100px) {
  .ff-warehouse-cards-grid {
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    cursor: grab;
    padding-bottom: 8px;
  }

  .ff-warehouse-card {
    flex: 0 0 min(280px, 48vw);
    width: min(280px, 48vw);
    height: 200px;
    scroll-snap-align: start;
  }
}

@media (max-width: 640px) {
  .ff-warehouse-card {
    flex-basis: min(260px, 82vw);
    width: min(260px, 82vw);
    height: 180px;
  }

  .ff-warehouse-card-caption {
    padding: 12px 12px 10px;
  }
}

/* Legacy slider styles kept for safety if old markup remains */
.ff-gallery-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: #04243D;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ff-gallery-arrow:hover {
  border-color: var(--orange-primary);
  color: var(--orange-primary);
}

.ff-warehouse-slider-frame {
  display: none;
}

.ff-warehouse-slide {
  display: none;
}

.ff-warehouse-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ff-slide-caption-card {
  display: none;
}

.ff-caption-tag {
  font-family: var(--font-heading);
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  display: block;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.ff-caption-text {
  font-size: clamp(14px, 1.3vw, 15.5px);
  color: #F8FAFC;
  line-height: 1.55;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
  font-weight: 500;
}

.ff-slider-dots {
  display: none;
}

.ff-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CBD5E1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ff-dot.active {
  background: var(--speego-accent);
  width: 26px;
  border-radius: 5px;
}

/* 6. Policy Section — matches demo #policy / Chính sách Fulfillment */
.ff-policy-section {
  padding: 88px 0 96px;
  background: linear-gradient(145deg, #fff 0%, #fff7f1 52%, #ffeadb 100%);
}

.ff-policy-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 34px;
}

.ff-policy-heading .ff-tag-eyebrow {
  margin-bottom: 12px;
}

.ff-policy-heading .ff-section-title {
  margin: 0;
}

.ff-policy-heading > p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.75;
}

.ff-policy-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
  margin: 0 0 22px;
}

.ff-policy-item {
  border: 1px solid #26445d;
  border-radius: 15px;
  background: linear-gradient(135deg, #173a57, #0d2941);
  box-shadow: 0 12px 28px rgba(4, 36, 61, 0.12);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.22s, background 0.22s, box-shadow 0.22s;
}

.ff-policy-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 14px 18px;
  list-style: none;
  cursor: pointer;
  transition: background 0.22s;
}

.ff-policy-header::-webkit-details-marker {
  display: none;
}

.ff-policy-header::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -45% -12%;
  background-image:
    radial-gradient(circle, #fff 0 1px, transparent 1.7px),
    radial-gradient(circle, #ffb36f 0 1.2px, transparent 2px),
    radial-gradient(ellipse at center, #dbeaff 0 1px, transparent 2px),
    radial-gradient(circle, #fff 0 0.7px, transparent 1.4px);
  background-position: 11px 8px, 58px 33px, 105px 18px, 147px 48px;
  background-size: 73px 53px, 119px 71px, 163px 91px, 211px 113px;
  opacity: 0.18;
  transform: translate3d(-4%, 0, 0) scale(1.06);
  animation: ff-starfield-drift 8s linear infinite reverse;
  pointer-events: none;
}

.ff-policy-header::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -70% -18%;
  background: repeating-linear-gradient(
    112deg,
    transparent 0 33px,
    rgba(255, 255, 255, 0.44) 34px,
    rgba(255, 255, 255, 0.07) 35px,
    transparent 39px 83px
  );
  background-size: 190px 140px;
  opacity: 0.055;
  filter: blur(0.35px);
  transform: translate3d(-7%, 0, 0);
  animation: ff-star-streaks 5s linear infinite reverse;
  pointer-events: none;
}

.ff-policy-item:nth-child(even) .ff-policy-header::before,
.ff-policy-item:nth-child(even) .ff-policy-header::after {
  animation-delay: -8s;
  animation-direction: normal;
}

.ff-policy-header > * {
  position: relative;
  z-index: 1;
}

.ff-policy-num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  color: #ff9a55;
  font-size: 12px;
  font-weight: 900;
  margin-right: 0;
}

.ff-policy-title {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.ff-policy-icon {
  color: var(--orange-primary);
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  transition: transform 0.2s, color 0.2s;
}

.ff-policy-content {
  display: none;
  padding: 4px 22px 20px 72px;
  background: #fff;
}

details.ff-policy-item[open] > .ff-policy-content {
  display: block;
}

.ff-policy-content p {
  margin: 12px 0 0;
  color: #526779;
  font-size: 13px;
  line-height: 1.75;
}

.ff-policy-content b {
  color: #17364e;
}

.ff-policy-exclusion {
  padding: 11px 13px;
  border-left: 3px solid var(--orange-primary);
  background: #fff5ee;
  color: #874619;
}

.ff-policy-item.active,
.ff-policy-item[open] {
  border-color: var(--orange-primary);
  background: #fff;
  box-shadow: 0 16px 34px rgba(240, 88, 40, 0.14);
}

.ff-policy-item.active .ff-policy-header,
.ff-policy-item[open] .ff-policy-header {
  background: var(--orange-primary);
  border-bottom: 1px solid var(--orange-hover);
}

.ff-policy-item.active .ff-policy-header::before,
.ff-policy-item.active .ff-policy-header::after,
.ff-policy-item[open] .ff-policy-header::before,
.ff-policy-item[open] .ff-policy-header::after {
  opacity: 0.12;
}

.ff-policy-item.active .ff-policy-num,
.ff-policy-item[open] .ff-policy-num {
  background: #fff;
  color: var(--orange-primary);
  box-shadow: 0 5px 14px rgba(158, 60, 18, 0.15);
}

.ff-policy-item.active .ff-policy-title,
.ff-policy-item[open] .ff-policy-title {
  color: #fff;
}

.ff-policy-item.active .ff-policy-icon,
.ff-policy-item[open] .ff-policy-icon {
  color: #fff;
  transform: rotate(45deg);
}

.ff-policy-item.active .ff-policy-content,
.ff-policy-item[open] .ff-policy-content {
  display: block;
}

.ff-claim-policy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.75fr 1.35fr 0.9fr;
  gap: 28px;
  align-items: center;
  margin-top: 22px;
  padding: 28px;
  border-radius: 18px;
  background: #102b43;
  color: #fff;
  box-shadow: 0 20px 44px rgba(4, 36, 61, 0.12);
}

.ff-claim-policy::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -35% -10%;
  background-image:
    radial-gradient(circle, #fff 0 1px, transparent 1.8px),
    radial-gradient(circle, #ffb36f 0 1.15px, transparent 2px),
    radial-gradient(circle, #dbeaff 0 0.8px, transparent 1.7px);
  background-position: 12px 10px, 64px 34px, 118px 22px;
  background-size: 83px 59px, 137px 79px, 197px 109px;
  opacity: 0.15;
  animation: ff-starfield-drift 8s linear infinite;
  pointer-events: none;
}

.ff-claim-policy::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -60% -14%;
  background: repeating-linear-gradient(
    112deg,
    transparent 0 39px,
    rgba(255, 255, 255, 0.3) 40px,
    rgba(255, 255, 255, 0.05) 41px,
    transparent 45px 97px
  );
  background-size: 220px 150px;
  opacity: 0.045;
  animation: ff-star-streaks 5s linear infinite;
  pointer-events: none;
}

.ff-claim-policy > * {
  position: relative;
  z-index: 1;
}

.ff-claim-policy small {
  display: block;
  color: #f7a46c;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.ff-claim-policy h3 {
  margin: 7px 0 0;
  font-size: 23px;
  line-height: 1.25;
  color: #fff;
}

.ff-claim-policy ul {
  margin: 0;
  padding-left: 20px;
  color: #d8e2e9;
  font-size: 13px;
  line-height: 1.75;
}

.ff-claim-policy li + li {
  margin-top: 7px;
}

.ff-claim-policy li b {
  color: #fff;
}

.ff-claim-time {
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.ff-claim-time strong {
  display: block;
  margin: 5px 0;
  color: #fff;
  font-size: 23px;
}

.ff-claim-time span {
  display: block;
  color: #aebdca;
  font-size: 11px;
  line-height: 1.6;
}

@keyframes ff-starfield-drift {
  from { transform: translate3d(-5%, 0, 0) scale(1.03); }
  to { transform: translate3d(5%, 0, 0) scale(1.14); }
}

@keyframes ff-star-streaks {
  from { transform: translate3d(-8%, -2%, 0); }
  to { transform: translate3d(8%, 2%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .ff-policy-header::before,
  .ff-policy-header::after,
  .ff-claim-policy::before,
  .ff-claim-policy::after {
    animation: none;
  }
}

@media (max-width: 850px) {
  .ff-policy-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ff-policy-list {
    grid-template-columns: 1fr;
  }

  .ff-claim-policy {
    grid-template-columns: 1fr 1fr;
  }

  .ff-claim-time {
    grid-column: 1 / -1;
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 600px) {
  .ff-policy-section {
    padding: 58px 0 66px;
  }

  .ff-policy-heading > p {
    font-size: 13px;
  }

  .ff-policy-header {
    grid-template-columns: 38px minmax(0, 1fr) 20px;
    padding: 12px 14px;
  }

  .ff-policy-num {
    width: 38px;
    height: 38px;
  }

  .ff-policy-title {
    font-size: 14px;
  }

  .ff-policy-content {
    padding: 2px 16px 18px;
  }

  .ff-claim-policy {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .ff-claim-time {
    grid-column: auto;
  }

  .ff-claim-policy h3 {
    font-size: 21px;
  }
}

/* Legacy claim cards (unused after demo sync) */
.ff-claim-info-grid {
  display: none;
}

/* 7. FAQs Section (Clean white background, border-bottom dividers, aligned directly under title) */
.ff-faq-section {
  padding: 72px 0 84px;
  background: #FFFFFF;
}

.ff-faq-list {
  width: 100%;
  max-width: 1100px;
  margin: 32px 0 0 0;
  display: flex;
  flex-direction: column;
}

.ff-faq-item {
  border-bottom: 1px solid #E2E8F0;
  background: transparent;
  transition: border-color 0.2s ease;
}

.ff-faq-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none !important;
  color: var(--speego-primary);
  cursor: pointer;
  transition: color 0.2s ease;
  outline: none;
}

.ff-faq-btn span {
  text-transform: none !important;
  letter-spacing: normal;
}

.ff-faq-btn:hover {
  color: var(--speego-accent);
}

.ff-faq-plus {
  font-size: 20px;
  font-weight: 700;
  color: var(--orange-primary);
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.ff-faq-item.active .ff-faq-btn {
  color: var(--speego-accent);
}

.ff-faq-item.active .ff-faq-plus {
  transform: rotate(45deg);
}

.ff-faq-answer {
  display: none;
  padding: 0 0 22px 0;
  font-size: 14.5px;
  color: #64748B;
  line-height: 1.7;
  background: transparent;
  border: none;
  border-radius: 0;
}

.ff-faq-item.active .ff-faq-answer {
  display: block;
  max-height: none;
  overflow: visible;
  padding-bottom: 22px;
}

/* 8. Testimonial Section (Light gray background for subtle separation, slight left indent) */
.ff-testimonial-section {
  padding: 80px 0 92px;
  background: #F8FAFC;
  border-top: 1px solid #F1F5F9;
}

/* --------------------------------------------------------------------------
   20. SUBPAGE BODY TYPE & FULFILLMENT RHYTHM
   -------------------------------------------------------------------------- */
.page-container :is(p, li, [class*="description"], [class$="-desc"]) {
  font-size: 16px;
}

/* Fulfillment + rate sheets use homepage Inter typography (not theme system UI fonts). */
.page-fulfillment,
.page-fulfillment :is(
  h1, h2, h3, h4, h5, h6,
  p, li, a, button, input, select, textarea, label,
  th, td, span, small, strong, b, em, summary, div
) {
  font-family: var(--speego-font) !important;
}

.page-fulfillment .ff-pricing-section,
.page-fulfillment .ff-pricing-catalog,
.page-fulfillment #shipping-rates,
.page-fulfillment #fulfillment-cost {
  font-family: var(--speego-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page-fulfillment .ff-section-title,
.page-fulfillment .ff-sheet-heading h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-fulfillment .ff-tag-eyebrow,
.page-fulfillment .ff-sheet-heading small {
  font-weight: 700;
}

/* Rate-card accordion copy is intentionally a little denser than page body copy. */
.page-fulfillment .ff-pricing-section .ff-pricing-group-sub,
.page-fulfillment .ff-pricing-section .ff-pricing-body :is(td, .ff-aio-desc, .ff-pack-sub, .ff-table-note, .ff-unit) {
  font-size: 14px;
}

/* Keep the complete fulfillment banner compact enough for a desktop first screen. */
.page-fulfillment .ff-hero-dark-section {
  display: flex;
  align-items: stretch;
  min-height: calc(100vh - 114px);
  min-height: calc(100svh - 114px);
  padding: clamp(72px, 17vh, 140px) 0 24px;
}

body:has(.page-fulfillment) #breadcrumbSection {
  display: none;
}

.page-fulfillment .ff-hero-dark-section > .container {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
}

.page-fulfillment .ff-hero-summary {
  max-width: 760px;
}

.page-fulfillment .ff-hero-tagline {
  font-size: clamp(18px, 2vw, 30px);
}

.page-fulfillment .ff-hero-dark-header {
  margin-bottom: clamp(32px, 8vh, 68px);
}

.page-fulfillment .ff-hero-brand-title,
.page-fulfillment .ff-hero-tagline {
  margin-bottom: 8px;
}

.page-fulfillment .ff-stats-bars-row {
  gap: 20px;
  max-width: 1280px;
  margin-bottom: clamp(24px, 5vh, 42px);
}

.page-fulfillment .ff-quicklinks-section {
  padding: 56px 0 64px;
}

.page-fulfillment .ff-quicklinks-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.page-fulfillment .ff-quicklink-card {
  min-height: 200px;
  padding: 28px 22px;
  border-radius: 14px;
}

.page-fulfillment .ff-quicklink-title {
  font-size: 1rem; /* 16px */
  line-height: 1.4;
}

.page-fulfillment .ff-quicklink-sub {
  font-size: 0.875rem;
  margin-top: 8px;
  line-height: 1.55;
}

.page-fulfillment .ff-quicklink-btn {
  font-size: 1rem; /* 16px */
  margin-top: 22px;
}

.page-fulfillment .ff-dark-hub-card {
  max-width: 1040px;
  padding: 18px 30px;
}

.page-fulfillment .ff-stat-bar-title {
  font-size: clamp(16px, 1.35vw, 20px);
}

.page-fulfillment > section:not(.ff-hero-dark-section) {
  padding-top: 56px;
  padding-bottom: 64px;
}

/* From SpeeGo Fulfillment rate card downward — full-bleed width */
.page-fulfillment #bang-gia-fulfillment > .container,
.page-fulfillment #bang-gia-fulfillment ~ section > .container,
.page-fulfillment #bang-gia-fulfillment ~ .cta-form-band-section > .container,
.page-fulfillment #bang-gia-fulfillment ~ #contact-form > .container {
  max-width: none;
  width: 100%;
  padding-left: clamp(16px, 3.5vw, 48px);
  padding-right: clamp(16px, 3.5vw, 48px);
}

.page-fulfillment #bang-gia-fulfillment.ff-pricing-catalog {
  padding-left: 0;
  padding-right: 0;
}

/* 01 + 02 rate sheets stacked vertically */
.page-fulfillment #bang-gia-fulfillment > .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 28px;
  align-items: start;
}

.page-fulfillment #bang-gia-fulfillment .ff-section-header,
.page-fulfillment #bang-gia-fulfillment .ff-pricing-jump,
.page-fulfillment #bang-gia-fulfillment #shipping-rates,
.page-fulfillment #bang-gia-fulfillment .ff-pricing-disclaimer {
  grid-column: 1 / -1;
}

.page-fulfillment #bang-gia-fulfillment .ff-pricing-sheet {
  margin-top: 0;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* Match closed accordion navy so equal-height stretch has no white gap */
  background: #132238;
}

.page-fulfillment #bang-gia-fulfillment .ff-pricing-sheet > .ff-price-group {
  background: #132238;
}

.page-fulfillment #bang-gia-fulfillment .ff-pricing-sheet > .ff-price-group:last-child {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  border-bottom: 0;
}

.page-fulfillment #bang-gia-fulfillment .ff-pricing-sheet > .ff-price-group:last-child > summary {
  flex: 1 1 auto;
}

.page-fulfillment #bang-gia-fulfillment .ff-pricing-sheet,
.page-fulfillment #bang-gia-fulfillment .ff-plan-strip,
.page-fulfillment #bang-gia-fulfillment .ff-usps-scroll,
.page-fulfillment #bang-gia-fulfillment ~ section .ff-estimator,
.page-fulfillment #bang-gia-fulfillment ~ section .ff-policy-list,
.page-fulfillment #bang-gia-fulfillment ~ section .ff-faq-list,
.page-fulfillment #bang-gia-fulfillment ~ section .testimonials-2col-grid {
  width: 100%;
  max-width: none;
}

.page-fulfillment #bang-gia-fulfillment #fulfillment-cost .ff-plan-strip {
  grid-template-columns: 1fr;
}

.page-fulfillment #bang-gia-fulfillment #fulfillment-cost .ff-packaging-grid {
  grid-template-columns: 1fr;
}

.page-fulfillment #bang-gia-fulfillment .ff-tag-eyebrow {
  font-size: 14px;
}

.page-fulfillment #bang-gia-fulfillment .ff-section-title {
  font-size: clamp(2.1rem, 3.8vw, 3rem);
}

.page-fulfillment #bang-gia-fulfillment .ff-section-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.page-fulfillment #bang-gia-fulfillment .ff-pricing-jump a {
  font-size: 14px;
  padding: 14px 20px;
}

.page-fulfillment #bang-gia-fulfillment .ff-sheet-heading {
  padding: 24px 26px;
  gap: 14px;
}

.page-fulfillment #bang-gia-fulfillment .ff-sheet-heading small {
  font-size: 13px;
  letter-spacing: 0.12em;
}

.page-fulfillment #bang-gia-fulfillment .ff-sheet-heading h3 {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
}

.page-fulfillment #bang-gia-fulfillment .ff-sheet-heading > span {
  font-size: 14px;
}

.page-fulfillment #bang-gia-fulfillment .ff-plan-strip article {
  padding: 24px 26px;
}

.page-fulfillment #bang-gia-fulfillment .ff-plan-strip small {
  font-size: 13px;
}

.page-fulfillment #bang-gia-fulfillment .ff-plan-strip b {
  font-size: 17px;
}

.page-fulfillment #bang-gia-fulfillment .ff-plan-strip strong {
  font-size: clamp(2rem, 2.8vw, 2.4rem);
}

.page-fulfillment #bang-gia-fulfillment .ff-plan-strip strong em {
  font-size: 15px;
}

.page-fulfillment #bang-gia-fulfillment .ff-price-group summary {
  padding: 22px 26px;
}

.page-fulfillment #bang-gia-fulfillment .ff-price-group summary > span {
  font-size: 1rem;
}

.page-fulfillment #bang-gia-fulfillment .ff-price-group summary > small {
  font-size: 14px;
}

.page-fulfillment #bang-gia-fulfillment .ff-price-subhead {
  font-size: 14px;
}

.page-fulfillment #bang-gia-fulfillment .ff-price-row {
  padding-top: 16px;
  padding-bottom: 16px;
}

.page-fulfillment #bang-gia-fulfillment .ff-price-row b {
  font-size: 16px;
}

.page-fulfillment #bang-gia-fulfillment .ff-price-row small {
  font-size: 13px;
}

.page-fulfillment #bang-gia-fulfillment .ff-price-row > strong {
  font-size: 18px;
}

.page-fulfillment #bang-gia-fulfillment .ff-price-row > strong em,
.page-fulfillment #bang-gia-fulfillment .ff-price-row > strong small {
  font-size: 13px;
}

.page-fulfillment #bang-gia-fulfillment .ff-price-note,
.page-fulfillment #bang-gia-fulfillment .ff-price-footnote,
.page-fulfillment #bang-gia-fulfillment .ff-pricing-disclaimer {
  font-size: 14px;
}

.page-fulfillment #bang-gia-fulfillment .ff-packaging-intro h4 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
}

.page-fulfillment #bang-gia-fulfillment .ff-packaging-intro p,
.page-fulfillment #bang-gia-fulfillment .ff-packaging-card p {
  font-size: 15px;
}

.page-fulfillment #bang-gia-fulfillment .ff-packaging-card h5 {
  font-size: 17px;
}

.page-fulfillment #bang-gia-fulfillment .ff-packaging-card strong {
  font-size: 22px;
}

.page-fulfillment #bang-gia-fulfillment .ff-usps-table {
  font-size: 15px;
}

@media (max-width: 980px) {
  .page-fulfillment #bang-gia-fulfillment > .container {
    grid-template-columns: 1fr;
  }
}

.page-fulfillment .ff-section-header {
  margin-bottom: 28px;
}

.page-fulfillment .ff-steps-grid {
  gap: 20px;
  margin-top: 28px;
}

.page-fulfillment .ff-pricing-accordion {
  gap: 12px;
  margin-top: 24px;
}

.page-fulfillment .ff-pricing-header {
  padding: 18px 24px;
}

.page-fulfillment .ff-pricing-body {
  padding: 0 24px 24px;
}

.page-fulfillment .ff-faq-list {
  margin-top: 24px;
}

.page-fulfillment .ff-faq-btn {
  padding: 18px 0;
}

.page-fulfillment .ff-warehouse-cards-grid {
  display: flex;
  gap: 16px;
  width: 100%;
}

.page-fulfillment .ff-warehouse-card {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  min-height: 0;
  height: 220px;
}

.page-fulfillment .ff-warehouse-card-img {
  min-height: 0;
  height: 100%;
}

@media (max-width: 1100px) {
  .page-fulfillment .ff-warehouse-cards-grid {
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    cursor: grab;
  }

  .page-fulfillment .ff-warehouse-card {
    flex: 0 0 min(280px, 48vw);
    width: min(280px, 48vw);
    height: 200px;
  }
}

.page-fulfillment .ff-warehouse-slider-frame {
  display: none;
}

.page-fulfillment .ff-warehouse-slide {
  display: none;
}

.page-fulfillment .ff-warehouse-img {
  display: none;
}

.page-fulfillment .ff-slide-caption-card {
  right: auto;
  bottom: 32px;
  left: 36px;
  width: min(620px, calc(100% - 72px));
  max-width: 620px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.page-fulfillment .ff-slider-dots {
  display: flex;
}

.page-fulfillment .ff-testimonial-section .ff-section-header {
  margin-bottom: 28px;
}

.page-fulfillment .ff-testimonial-section .testimonials-2col-grid {
  margin-top: 0;
}

@media (max-width: 768px) {
  .page-fulfillment .ff-quicklinks-section {
    padding: 44px 0;
  }

  .page-fulfillment .ff-quicklinks-grid {
    grid-template-columns: 1fr;
  }

  .page-fulfillment .ff-quicklink-card {
    min-height: 0;
  }

  .page-fulfillment .ff-hero-dark-section {
    min-height: 0;
    padding: 36px 0 28px;
  }

  .page-fulfillment .ff-hero-dark-section > .container {
    gap: 28px;
  }

  .page-fulfillment .ff-hero-dark-header {
    margin-bottom: 0;
  }

  .page-fulfillment .ff-stats-bars-row {
    margin-bottom: 0;
  }

  .page-fulfillment .ff-dark-hub-card {
    padding: 18px 20px;
  }

  .page-fulfillment .ff-warehouse-cards-grid {
    display: flex;
    overflow-x: auto;
  }

  .page-fulfillment .ff-warehouse-card {
    flex: 0 0 min(260px, 82vw);
    width: min(260px, 82vw);
    height: 180px;
  }

  .page-fulfillment .ff-warehouse-slider-frame,
  .page-fulfillment .ff-warehouse-slide,
  .page-fulfillment .ff-slide-caption-card,
  .page-fulfillment .ff-slider-dots {
    display: none;
  }

  .page-fulfillment > section:not(.ff-hero-dark-section) {
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .page-fulfillment .ff-pricing-header {
    padding: 16px;
  }

  .page-fulfillment .ff-pricing-body {
    padding: 0 16px 18px;
  }
}

.ff-testimonial-block,
.ff-testimonial-card {
  max-width: 960px;
  margin: 36px 0 0 16px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  box-shadow: none;
}

.ff-quote-bars-mark,
.ff-quote-mark {
  position: relative;
  display: block;
  width: 42px;
  height: 34px;
  flex-shrink: 0;
  margin: 0 0 14px;
  color: var(--orange-primary);
  line-height: 1;
}

.ff-quote-bars-mark::before,
.ff-quote-mark::before {
  content: "“";
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 0.7;
  letter-spacing: -0.06em;
  color: inherit;
  opacity: 0.92;
}

.ff-quote-bars-mark span,
.ff-quote-mark span {
  display: none;
}

.ff-quote-body {
  flex: 1;
}

.ff-quote-text {
  font-family: var(--font-heading);
  font-size: clamp(19px, 2.1vw, 23px);
  font-weight: 700;
  color: var(--speego-primary);
  line-height: 1.48;
  letter-spacing: -0.015em;
  margin: 0 0 22px 0;
}

.ff-author-name {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--speego-primary);
}

.ff-author-title {
  font-size: 13.5px;
  color: #64748B;
  margin-top: 3px;
}

.ff-author-ref {
  margin-top: 10px;
}

.ff-ref-link {
  font-size: 13px;
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ff-ref-link:hover {
  color: var(--speego-accent);
}

/* Responsive adjustments for Fulfillment */
@media (max-width: 1024px) {
  .ff-stats-bars-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  .ff-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .ff-estimator-body {
    grid-template-columns: 1fr;
  }
  .ff-quicklinks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-fulfillment .ff-quicklinks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ff-hero-dark-section {
    padding: 48px 0 36px;
  }
  .ff-stats-bars-row {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 30px;
  }
  .ff-dark-hub-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
  }
  .ff-dark-hub-right {
    align-items: flex-start;
    text-align: left;
  }
  .ff-warehouse-cards-grid {
    display: flex;
  }
  .ff-warehouse-card {
    height: 168px;
  }
  .ff-warehouse-slider-frame {
    display: none;
  }
  .ff-slide-caption-card {
    display: none;
  }
  .ff-quicklinks-grid {
    grid-template-columns: 1fr;
  }
  .ff-steps-grid {
    grid-template-columns: 1fr;
  }
  .ff-allinone-grid {
    grid-template-columns: 1fr;
  }
  .ff-claim-info-grid {
    grid-template-columns: 1fr;
  }
  .ff-testimonial-card {
    padding: 24px 20px;
    gap: 16px;
  }
}

/* ==========================================================================
   MODULE: IMPORT & EXPORT (06-import-export.png)
   ========================================================================== */
.page-hero-2col {
  padding: 56px 0 48px;
  background: #FFFFFF;
}

.hero-2col-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: clamp(36px, 4vw, 56px);
  align-items: center;
}

.hero-tag-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 16px;
}

.hero-tag-bar::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2.5px;
  background-color: var(--speego-accent);
  border-radius: 2px;
}

.hero-h1-clean {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  color: var(--speego-primary);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.hero-h1-clean .text-orange {
  color: var(--speego-accent);
}

.hero-desc-clean {
  font-size: 1.02rem;
  color: #5B6472;
  line-height: 1.68;
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-actions-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-phone-label {
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--speego-primary);
  text-decoration: none;
}

.hero-phone-label:hover {
  color: var(--speego-accent);
}

.hero-img-card-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(4, 36, 61, 0.12);
  background: #0B233B;
}

.hero-img-card-wrap img {
  width: 100%;
  height: clamp(460px, 44vw, 580px);
  object-fit: cover;
  display: block;
}

.hero-img-caption-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(180deg, rgba(3, 18, 36, 0) 0%, rgba(3, 18, 36, 0.92) 80%);
  color: #FFFFFF;
}

.hero-caption-brand {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--speego-accent);
  margin-bottom: 4px;
}

.hero-caption-sub {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
}

/* Core Services: compact balanced cards */
.ie-services-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0;
  background: #F4F8FC;
}

.ie-services-section::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 420px;
  content: "";
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 24%, rgba(255, 255, 255, 0.28) 52%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 55%, #F4F8FC 100%),
    url("../assets/port_sunset_hero.jpg");
  background-position: center, center, 52% top;
  background-size: auto, auto, cover;
  background-repeat: no-repeat;
  pointer-events: none;
}

.ie-services-section > .container {
  position: relative;
  z-index: 1;
  max-width: 1480px;
  padding-right: 16px;
  padding-left: 16px;
}

.ie-services-section .section-header {
  max-width: 840px;
  margin: 0 0 28px;
  text-align: left;
}

.ie-services-section .section-header > .section-tag {
  display: inline-block !important;
}

.ie-services-section .section-tag {
  position: relative;
  margin: 0 0 12px;
  padding-bottom: 0;
  color: #647B98;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.ie-services-section .section-tag::after {
  display: none;
}

.ie-services-section .section-title {
  max-width: 790px;
  margin: 0 0 12px;
  color: #09223F;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.ie-services-lead {
  max-width: 680px;
  margin: 0;
  color: #647B98;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.5;
}

.ie-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.ie-service-card-new {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 18px 14px 12px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(32, 73, 111, 0.08);
  text-align: left;
}

.ie-service-card-top {
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.ie-service-card-new .ie-service-index {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange-primary);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ie-service-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  margin-top: 0;
  border-radius: 50%;
  background: #FFF0E9;
  color: #09223F;
}

.ie-service-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.ie-service-card-new .ie-service-title {
  min-height: 0;
  margin: 0 0 8px;
  color: #09223F;
  font-size: clamp(16px, 1.15vw, 18px);
  font-weight: 800;
  line-height: 1.25;
}

.ie-service-card-new .ie-service-title::after {
  display: block;
  width: 36px;
  height: 3px;
  margin: 8px 0 0;
  border-radius: 99px;
  background: var(--orange-primary);
  content: "";
}

.ie-service-card-new .ie-service-description {
  min-height: 0;
  flex: 1 1 auto;
  margin: 0 0 14px;
  color: #617692;
  font-size: 0.9rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ie-service-card-image {
  display: block;
  width: 100%;
  height: 148px;
  margin-top: auto;
  border-radius: 12px;
  object-fit: cover;
}

@media (max-width: 1100px) {
  .ie-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .ie-service-card-new .ie-service-title {
    font-size: 17px;
  }

  .ie-service-card-image {
    height: 140px;
  }
}

@media (max-width: 600px) {
  .ie-services-section {
    padding: 56px 0;
  }

  .ie-services-section::before {
    height: 320px;
    background-position: center, center, 48% top;
    background-size: auto, auto, cover;
  }

  .ie-services-section .section-tag {
    margin-bottom: 10px;
  }

  .ie-services-section .section-header {
    margin-bottom: 20px;
  }

  .ie-service-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .ie-service-grid::-webkit-scrollbar {
    display: none;
  }

  .ie-service-card-new {
    flex: 0 0 min(260px, 78vw);
    width: min(260px, 78vw);
    padding: 16px 12px 10px;
    scroll-snap-align: start;
  }

  .ie-service-card-top {
    min-height: 0;
  }

  .ie-service-card-new .ie-service-description,
  .ie-service-card-new .ie-service-title {
    min-height: 0;
  }

  .ie-service-card-image {
    height: 120px;
  }
}

.ie-service-rail {
  list-style: none;
  margin: 40px 0 0;
  padding: 12px 0;
  background:
    linear-gradient(145deg, rgba(13, 59, 102, 0.55) 0%, transparent 42%),
    linear-gradient(180deg, #04243D 0%, #061B2E 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(4, 36, 61, 0.18);
}

.ie-service-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 8px 28px;
  align-items: start;
  margin: 0;
  padding: 26px 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.25s ease;
}

.ie-service-row:last-child {
  border-bottom: 0;
}

.ie-service-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.ie-service-index {
  display: block;
  color: var(--orange-primary);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.ie-service-copy {
  min-width: 0;
  padding-top: 2px;
}

.ie-service-title {
  margin: 0 0 8px;
  color: #FFFFFF;
  font-size: 1.2rem;
  font-weight: 750;
  line-height: 1.35;
}

.ie-service-description {
  margin: 0;
  max-width: 54ch;
  color: #94A3B8;
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Why Choose SpeeGo cards (kept as card grid for contrast) */
.ie-cards-3col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.ie-service-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 28px 26px;
  box-shadow: 0 2px 8px rgba(4, 36, 61, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ie-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(4, 36, 61, 0.07);
}

.ie-badge-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #FFF4ED;
  color: var(--speego-accent);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.page-shipping-routes .ie-badge-box {
  width: 56px;
  height: 56px;
  font-size: 20px;
  border-radius: 14px;
}

.ie-card-h3 {
  font-size: 1.12rem;
  font-weight: 750;
  color: var(--speego-primary);
  line-height: 1.35;
  margin-bottom: 10px;
}

.ie-card-body {
  font-size: 0.92rem;
  color: #64748B;
  line-height: 1.62;
}

/* Why Choose SpeeGo Section (Light Gray Background) */
.ie-why-section {
  padding: 72px 0;
  background: #F8FAFC;
}

.ie-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

/* ==========================================================================
   MODULE: SHIPPING ROUTES (07-china-shipping.png & 08-vietnam-shipping.png)
   ========================================================================== */
.route-tabs-container {
  padding: 0 0 28px;
}

.route-tab-pills {
  display: inline-flex;
  gap: 12px;
  align-items: center;
}

.route-tab-btn {
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: var(--speego-primary);
  text-decoration: none;
}

.route-tab-btn:hover {
  border-color: var(--speego-primary);
}

.route-tab-btn.active {
  background: var(--speego-primary);
  color: #FFFFFF;
  border-color: var(--speego-primary);
}

/* Destination Cards (US, CA, AU, GLOBAL with orange bottom border) */
.route-dest-section {
  padding: 48px 0 64px;
  background: #FFFFFF;
}

.dest-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.dest-card-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-bottom: 4px solid var(--speego-accent);
  border-radius: 10px;
  padding: 32px 28px;
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dest-card-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(4, 36, 61, 0.06);
}

.dest-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--speego-accent);
  margin-bottom: 18px;
  line-height: 1;
}

.dest-card-header .dest-arrow {
  color: #64748B;
  font-size: 1.25rem;
}

.dest-card-title {
  font-size: 1.2rem;
  font-weight: 750;
  color: var(--speego-primary);
  line-height: 1.35;
}

/* 8-Step Process Section (Dark Navy #04243D) */
.process-8steps-section {
  padding: 80px 0;
  background: #04243D;
  color: #FFFFFF;
}

.process-8steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 28px;
  margin-top: 48px;
}

.step-8-item {
  border-top: 1.5px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
}

.step-8-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--speego-accent);
  margin-bottom: 10px;
  line-height: 1;
}

.step-8-title {
  font-size: 1.02rem;
  font-weight: 750;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1.35;
}

.step-8-desc {
  font-size: 0.88rem;
  color: #94A3B8;
  line-height: 1.6;
}

/* Shipping Methods (3 columns) */
.shipping-methods-section {
  padding: 72px 0;
  background: #FFFFFF;
}

.methods-3col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 36px;
}

.method-col-item {
  border-top: 2px solid #E2E8F0;
  padding-top: 20px;
}

.method-col-num {
  font-size: 13px;
  font-weight: 700;
  color: #94A3B8;
  margin-bottom: 8px;
}

.method-col-title {
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--speego-primary);
}

/* Logistics page: show freight modes as image-led cards before the workflow. */
.page-shipping-routes .shipping-methods-section {
  padding: 72px 0;
  background: #FFFFFF;
}

.page-shipping-routes .shipping-methods-section .methods-3col-grid {
  gap: 28px;
  margin-top: 32px;
}

.page-shipping-routes .shipping-methods-section .method-col-item {
  overflow: hidden;
  padding: 0 0 26px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(4, 36, 61, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.page-shipping-routes .shipping-methods-section[data-methods-motion]:not(.is-inview) .method-col-item {
  opacity: 0;
  transform: translateY(28px);
}

.page-shipping-routes .shipping-methods-section.is-inview .method-col-item {
  animation: methodCardIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page-shipping-routes .shipping-methods-section.is-inview .method-col-item:nth-child(1) {
  animation-delay: 0.06s;
}

.page-shipping-routes .shipping-methods-section.is-inview .method-col-item:nth-child(2) {
  animation-delay: 0.18s;
}

.page-shipping-routes .shipping-methods-section.is-inview .method-col-item:nth-child(3) {
  animation-delay: 0.3s;
}

.page-shipping-routes .shipping-methods-section .method-col-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(4, 36, 61, 0.12);
}

.page-shipping-routes .method-col-visual {
  height: clamp(240px, 28vw, 360px);
  margin: 0 0 22px;
  overflow: hidden;
  background: #E2E8F0;
  border-radius: 16px 16px 0 0;
}

.page-shipping-routes .method-col-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  animation: methodImgDrift 12s ease-in-out infinite alternate;
}

.page-shipping-routes .method-col-item:nth-child(2) .method-col-visual img {
  animation-delay: -4s;
}

.page-shipping-routes .method-col-item:nth-child(3) .method-col-visual img {
  animation-delay: -8s;
}

.page-shipping-routes .method-col-item:hover .method-col-visual img {
  transform: scale(1.14);
  animation-play-state: paused;
}

.page-shipping-routes .method-col-num,
.page-shipping-routes .method-col-title {
  margin-left: 24px;
  margin-right: 24px;
}

.page-shipping-routes .method-col-num {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #94A3B8;
}

.page-shipping-routes .method-col-title {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.35;
}

@keyframes methodCardIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes methodImgDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-shipping-routes .shipping-methods-section .method-col-item,
  .page-shipping-routes .shipping-methods-section.is-inview .method-col-item,
  .page-shipping-routes .method-col-visual img {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.page-shipping-routes .route-tabs-container {
  padding-bottom: 40px;
}

.page-shipping-routes .route-tab-pills {
  flex-wrap: wrap;
}

.page-shipping-routes .route-tab-btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.page-shipping-routes .route-rate-section {
  padding: 56px 0 60px;
  background: #FFFFFF;
}

.page-shipping-routes .ff-testimonial-section .testimonials-2col-grid {
  margin-top: 30px;
}

.page-shipping-routes .ff-testimonial-section .testimonial-card-sourcing {
  height: 100%;
}

@media (max-width: 768px) {
  .page-shipping-routes .shipping-methods-section,
  .page-shipping-routes .route-rate-section {
    padding: 42px 0 48px;
  }

  .page-shipping-routes .shipping-methods-section .methods-3col-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .page-shipping-routes .method-col-visual {
    height: clamp(220px, 58vw, 280px);
  }
}

/* Rate Transparency Table */
.route-rate-section {
  padding: 64px 0 72px;
  background: #FFFFFF;
}

.rate-table-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(4, 36, 61, 0.04);
  margin-top: 32px;
}

.rate-table-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid #F1F5F9;
  transition: background 0.15s ease;
}

.rate-table-row:last-child {
  border-bottom: none;
}

.rate-table-row:hover {
  background: #F8FAFC;
}

.rate-col-name {
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--speego-primary);
  min-width: 220px;
}

.rate-col-desc {
  font-size: 0.92rem;
  color: #64748B;
  flex: 1;
  padding: 0 20px;
}

.rate-col-action {
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--speego-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rate-col-action:hover {
  color: var(--speego-accent-hover);
}

.rate-table-footnote {
  font-size: 0.88rem;
  color: #64748B;
  margin-top: 14px;
}

/* Media Queries for New Modules */
@media (max-width: 1024px) {
  .hero-2col-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .dest-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-8steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ie-cards-3col-grid,
  .ie-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .methods-3col-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .dest-cards-grid {
    grid-template-columns: 1fr;
  }
  .process-8steps-grid {
    grid-template-columns: 1fr;
  }
  .ie-cards-3col-grid,
  .ie-why-grid {
    grid-template-columns: 1fr;
  }
  .ie-service-row {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 6px 16px;
    padding: 22px 20px;
  }
  .ie-service-index {
    font-size: 1.35rem;
  }
  .ie-service-title {
    font-size: 1.08rem;
  }
  .rate-table-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 20px;
  }
  .rate-col-desc {
    padding: 0;
  }
  .rate-col-action {
    margin-top: 4px;
  }
}

/* ==========================================================================
   MODULE: SOURCING & QUALITY CONTROL (vi-sourcing.png & en-sourcing.png)
   ========================================================================== */
/* Scroll margin for in-page anchors (header sticky only) */
#nganh-hang,
#mo-hinh-san-xuat,
#vi-sao-speego,
#kiem-soat-chat-luong,
#industries,
#manufacturing-models,
#why-speego,
#quality-control,
#contact-form {
  scroll-margin-top: 96px;
}

/* Equal vertical rhythm across sourcing content sections */
.page-sourcing .industries-section,
.page-sourcing .models-section,
.page-sourcing .qc-stages-section,
.page-sourcing .prod-floor-section,
.page-sourcing .sourcing-process-section,
.page-sourcing .testimonials-section {
  padding: 72px 0;
}

/* 1. Industry Categories Grid (5 Cards: 3 on row 1, 2 on row 2) */
.industries-section {
  padding: 72px 0;
  background: #FFFFFF;
}

.industries-section .industries-section-header,
.industries-section .section-header {
  text-align: left;
  margin-bottom: 0;
}

.industries-section .section-title {
  text-align: left;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #04243D;
  margin: 0;
}

.industries-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.industry-card-item {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.industry-card-item:hover {
  transform: translateY(-2px);
  border-color: #F0D5C4;
  box-shadow: 0 10px 24px rgba(4, 36, 61, 0.06);
}

.industry-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #FFF4ED;
  color: var(--speego-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.industry-icon-box svg {
  width: 22px;
  height: 22px;
  stroke: var(--speego-accent);
  fill: none;
}

.industry-card-title {
  font-size: 1.15rem;
  font-weight: 750;
  color: #0F172A;
  margin-bottom: 10px;
  line-height: 1.35;
}

.industry-card-desc {
  font-size: 0.92rem;
  color: #64748B;
  line-height: 1.62;
}

.industry-action-btn-row {
  margin-top: 32px;
  text-align: left;
}

.industry-cta-btn {
  color: #04243D;
  box-shadow: none;
}

.industry-cta-btn:hover {
  color: #04243D;
}

/* 2. Manufacturing Models (3 Dark Image Cards) */
.models-section {
  padding: 72px 0;
  background: #FFFFFF;
}

.models-3col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.model-img-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 420px;
  background: #04243D;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 24px;
  box-shadow: 0 10px 28px rgba(4, 36, 61, 0.12);
}

.model-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.5s ease;
}

.model-img-card:hover .model-bg-img {
  transform: scale(1.06);
}

.model-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(4, 36, 61, 0.15) 0%, rgba(4, 36, 61, 0.72) 42%, rgba(4, 36, 61, 0.97) 100%);
  z-index: 2;
}

.model-card-content {
  position: relative;
  z-index: 3;
  color: #FFFFFF;
  text-align: left;
}

.model-title-h3 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
  line-height: 1.2;
  text-align: left;
}

.model-sub-badge {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--speego-accent);
  margin-bottom: 14px;
}

.model-body-text {
  font-size: 0.88rem;
  color: #E2E8F0;
  line-height: 1.58;
  margin-bottom: 20px;
}

.model-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.model-pill-tag {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 650;
  color: #FFFFFF;
}

/* 3. QC Stages Section (Navy Dark #04243D) */
.qc-stages-section {
  padding: 72px 0;
  background: #04243D;
  color: #FFFFFF;
}

.qc-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
}

.qc-header-sub {
  font-size: 0.95rem;
  color: #94A3B8;
  max-width: 400px;
  line-height: 1.6;
}

.qc-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

.qc-stage-item {
  position: relative;
}

.qc-stage-node {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #04243D;
  border: 2.5px solid var(--speego-accent);
  color: var(--speego-accent);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.qc-stage-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94A3B8;
  margin-bottom: 8px;
}

.qc-stage-title {
  font-size: 1.05rem;
  font-weight: 750;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1.35;
}

.qc-stage-desc {
  font-size: 0.88rem;
  color: #94A3B8;
  line-height: 1.6;
}

/* 4. Production Floor (Photos & Video Carousel) */
.prod-floor-section {
  padding: 72px 0;
  background: #FFFFFF;
}

.prod-floor-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

.prod-arrows-nav {
  display: flex;
  gap: 10px;
}

.prod-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: #04243D;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.prod-arrow-btn:hover {
  border-color: var(--speego-accent);
  color: var(--speego-accent);
}

.prod-slider-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
  border-radius: 12px;
}

.prod-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.prod-slide-page {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
}

.prod-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.prod-card-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(4, 36, 61, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.prod-card-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(4, 36, 61, 0.08);
}

.prod-card-media {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #0B233B;
}

.prod-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prod-media-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.prod-badge-video {
  background: var(--speego-accent);
}

.prod-badge-photo {
  background: var(--speego-accent);
}

.prod-card-body {
  padding: 22px 20px 24px;
}

.prod-card-title {
  font-size: 1.08rem;
  font-weight: 750;
  color: var(--speego-primary);
  margin-bottom: 8px;
  line-height: 1.35;
}

.prod-card-desc {
  font-size: 0.9rem;
  color: #64748B;
  line-height: 1.58;
}

/* 5. Testimonials 2-Column Grid */
.testimonials-2col-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.testimonial-card-sourcing {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(4, 36, 61, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card-sourcing .ff-quote-text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--speego-primary);
  line-height: 1.55;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}

@media (max-width: 1024px) {
  .models-3col-grid {
    grid-template-columns: 1fr;
  }
  .model-img-card {
    height: 360px;
  }
  .industries-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .qc-flow-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .qc-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .prod-cards-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-2col-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .industries-cards-grid {
    grid-template-columns: 1fr;
  }
  .qc-flow-grid {
    grid-template-columns: 1fr;
  }
}





/* Sourcing page refinements: focused hero, compact capability overlay, and fulfillment-style QC workflow. */
body:has(.page-sourcing) #breadcrumbSection,
body:has(.page-fulfillment) #breadcrumbSection,
body:has(.page-shipping-routes) #breadcrumbSection,
body:has(.page-import-export) #breadcrumbSection,
body:has(.page-sourcing) .breadcrumb-section,
body:has(.page-fulfillment) .breadcrumb-section,
body:has(.page-shipping-routes) .breadcrumb-section,
body:has(.page-import-export) .breadcrumb-section {
  display: none !important;
}

/* Hero page titles: fixed 60px across service pages */
.page-sourcing .hero-h1-clean,
.page-import-export .hero-h1-clean {
  font-size: 60px;
  line-height: 1.12;
  margin-bottom: 28px;
}

.page-shipping-routes .hero-h1-clean {
  font-size: clamp(38px, 3.9vw, 58px);
  line-height: 1.08;
  margin-bottom: 28px;
  letter-spacing: -0.03em;
}

.page-fulfillment .ff-hero-brand-title {
  font-size: 60px;
  line-height: 1.12;
}

/* Hero spacing: same left edge as body sections (1320 / 24) */
.page-sourcing .sourcing-hero-section,
.page-shipping-routes .page-hero-2col,
.page-import-export .page-hero-2col,
.page-about .page-hero-2col {
  padding: 80px 0 88px;
  overflow: hidden;
}

.page-sourcing .sourcing-hero-section > .container,
.page-shipping-routes .page-hero-2col > .container,
.page-import-export .page-hero-2col > .container,
.page-about .page-hero-2col > .container,
.page-fulfillment .ff-hero-dark-section > .container {
  max-width: 1320px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

/* Shared 2-col hero: image size + gap match Sourcing reference */
.page-shipping-routes .page-hero-2col > .container,
.page-import-export .page-hero-2col > .container {
  max-width: 1480px !important;
}

.page-sourcing .sourcing-hero-section .hero-2col-grid,
.page-shipping-routes .hero-2col-grid,
.page-import-export .hero-2col-grid,
.page-about .hero-2col-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: clamp(36px, 4vw, 56px);
  align-items: center;
}

.page-sourcing .sourcing-hero-section .hero-2col-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 3vw, 40px);
}

.page-shipping-routes .hero-2col-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: clamp(48px, 6vw, 88px);
}

.page-import-export .hero-2col-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 3.5vw, 48px);
}

.page-sourcing .sourcing-hero-section .hero-2col-left,
.page-shipping-routes .hero-2col-left,
.page-import-export .hero-2col-left,
.page-about .hero-2col-left {
  padding-block: 8px;
  padding-right: clamp(16px, 2.5vw, 36px);
  min-width: 0;
  position: relative;
  z-index: 1;
}

.page-sourcing .hero-h1-clean {
  font-size: clamp(40px, 3.4vw, 56px);
  white-space: normal;
}

.page-sourcing .hero-h1-clean .hero-h1-line,
.page-sourcing .hero-h1-clean .text-orange {
  display: inline;
  white-space: normal;
}

.page-sourcing .hero-h1-clean {
  overflow-wrap: anywhere;
}

.page-shipping-routes .hero-h1-clean {
  max-width: none;
}

.page-shipping-routes .hero-h1-clean .hero-h1-line,
.page-shipping-routes .hero-h1-clean .text-orange {
  display: inline-block;
  white-space: nowrap;
}

.page-sourcing .hero-tag-bar,
.page-shipping-routes .hero-tag-bar,
.page-import-export .hero-tag-bar,
.page-about .hero-tag-bar {
  margin-bottom: 28px;
}

.page-sourcing .hero-desc-clean,
.page-shipping-routes .hero-desc-clean,
.page-import-export .hero-desc-clean,
.page-about .hero-desc-clean {
  margin-bottom: 40px;
  max-width: 520px;
}

.page-sourcing .sourcing-hero-section .hero-2col-right,
.page-shipping-routes .hero-2col-right,
.page-import-export .hero-2col-right,
.page-about .hero-2col-right {
  justify-self: end;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  min-width: 0;
  position: relative;
  z-index: 0;
}

.page-sourcing .sourcing-hero-section .hero-img-card-wrap,
.page-shipping-routes .hero-img-card-wrap,
.page-import-export .hero-img-card-wrap,
.page-about .hero-img-card-wrap {
  border-radius: 14px;
  height: 100%;
  width: 100%;
}

.page-sourcing .sourcing-hero-section .hero-img-card-wrap img,
.page-shipping-routes .hero-img-card-wrap img,
.page-import-export .hero-img-card-wrap img,
.page-about .hero-img-card-wrap img {
  width: 100%;
  height: clamp(460px, 44vw, 580px);
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Sourcing QC workflow: same dark band + numbered top-ruled steps as Fulfillment */
.page-sourcing .sourcing-process-section {
  padding: 72px 0;
}

.page-sourcing .sourcing-process-sub {
  color: #94A3B8;
  max-width: 720px;
  margin-top: 10px;
}

.page-sourcing .sourcing-qc-steps-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.page-sourcing .sourcing-process-section .ff-step-name {
  font-size: 1rem;
}

.page-sourcing .sourcing-process-section .ff-step-text {
  font-size: 0.875rem;
}

/* All section titles left-aligned on sourcing (+ shared service pages) */
.page-sourcing .section-header,
.page-sourcing .ff-section-header,
.page-sourcing .qc-header-row,
.page-sourcing .section-title,
.page-sourcing .ff-section-title,
.page-sourcing .hero-h1-clean,
.page-sourcing .model-card-content,
.page-shipping-routes .section-header,
.page-shipping-routes .ff-section-header,
.page-shipping-routes .section-title,
.page-shipping-routes .ff-section-title,
.page-shipping-routes .hero-h1-clean,
.page-shipping-routes .section-tag,
.page-shipping-routes .ff-tag-eyebrow,
.page-shipping-routes .ff-section-sub,
.page-shipping-routes .faq-header,
.page-import-export .section-header,
.page-import-export .ff-section-header,
.page-import-export .section-title,
.page-import-export .ff-section-title,
.page-import-export .hero-h1-clean {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.page-shipping-routes .section-header,
.page-shipping-routes .ff-section-header,
.page-shipping-routes .faq-header {
  display: block;
  width: 100%;
  max-width: none;
  align-items: flex-start;
  justify-content: flex-start;
}

.page-sourcing .models-section .section-header,
.page-sourcing .models-section .section-title {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-sourcing .qc-header-row {
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
}

.page-sourcing .ff-process-cta {
  text-align: left;
  justify-content: flex-start;
}

@media (max-width: 1024px) {
  .page-sourcing .sourcing-qc-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-sourcing .sourcing-qc-steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1280px) {
  .page-shipping-routes .hero-h1-clean {
    font-size: clamp(34px, 3.4vw, 48px);
  }
}

@media (max-width: 1024px) {
  .page-sourcing .sourcing-hero-section > .container,
  .page-shipping-routes .page-hero-2col > .container,
  .page-import-export .page-hero-2col > .container,
  .page-about .page-hero-2col > .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .page-sourcing .sourcing-hero-section .hero-2col-grid,
  .page-shipping-routes .hero-2col-grid,
  .page-import-export .hero-2col-grid,
  .page-about .hero-2col-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-sourcing .sourcing-hero-section .hero-2col-right,
  .page-shipping-routes .hero-2col-right,
  .page-import-export .hero-2col-right,
  .page-about .hero-2col-right {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
    justify-self: stretch;
  }

  .page-sourcing .hero-h1-clean {
    white-space: normal;
  }

  .page-shipping-routes .hero-h1-clean .hero-h1-line,
  .page-shipping-routes .hero-h1-clean .text-orange {
    white-space: normal;
    display: inline;
  }

  .page-shipping-routes .hero-h1-clean {
    font-size: clamp(32px, 7vw, 44px);
  }

  .page-sourcing .sourcing-hero-section .hero-img-card-wrap img,
  .page-shipping-routes .hero-img-card-wrap img,
  .page-import-export .hero-img-card-wrap img,
  .page-about .hero-img-card-wrap img {
    height: clamp(360px, 58vw, 480px);
  }
}

@media (max-width: 768px) {
  .page-sourcing .sourcing-hero-section,
  .page-shipping-routes .page-hero-2col,
  .page-import-export .page-hero-2col,
  .page-about .page-hero-2col {
    padding: 52px 0 56px;
  }

  .page-sourcing .hero-h1-clean,
  .page-shipping-routes .hero-h1-clean,
  .page-import-export .hero-h1-clean,
  .page-about .hero-h1-clean,
  .page-fulfillment .ff-hero-brand-title {
    font-size: clamp(36px, 9vw, 60px);
  }

  .page-sourcing .hero-tag-bar,
  .page-shipping-routes .hero-tag-bar,
  .page-import-export .hero-tag-bar,
  .page-about .hero-tag-bar {
    margin-bottom: 20px;
  }

  .page-sourcing .hero-h1-clean,
  .page-shipping-routes .hero-h1-clean,
  .page-import-export .hero-h1-clean,
  .page-about .hero-h1-clean {
    margin-bottom: 20px;
  }

  .page-sourcing .hero-desc-clean,
  .page-shipping-routes .hero-desc-clean,
  .page-import-export .hero-desc-clean,
  .page-about .hero-desc-clean {
    margin-bottom: 28px;
  }

  .page-sourcing .sourcing-hero-section .hero-img-card-wrap img,
  .page-shipping-routes .hero-img-card-wrap img,
  .page-import-export .hero-img-card-wrap img,
  .page-about .hero-img-card-wrap img {
    height: 320px;
  }
}

/* ==========================================================================
   SUBPAGE CONTENT SHELL — one margin for every service page
   Body sections and heroes: 1320 / 24px (same as .container)
   ========================================================================== */
.page-sourcing > section:not(.sourcing-hero-section) > .container,
.page-shipping-routes > section:not(.page-hero-2col) > .container,
.page-import-export > section:not(.page-hero-2col) > .container,
.page-fulfillment > section:not(.ff-hero-dark-section) > .container,
.page-container[data-nav="knowledge"] > section > .container,
.page-container[data-nav="sourcing"] > section:not(.sourcing-hero-section) > .container,
.page-container[data-nav="shipping-routes"] > section:not(.page-hero-2col) > .container,
.page-container[data-nav="import-export"] > section:not(.page-hero-2col) > .container,
.page-container[data-nav="fulfillment"] > section:not(.ff-hero-dark-section) > .container,
body.speego-seo-page:has(.page-sourcing) #app-main > .breadcrumb-section .container,
body.speego-seo-page:has(.page-shipping-routes) #app-main > .breadcrumb-section .container,
body.speego-seo-page:has(.page-import-export) #app-main > .breadcrumb-section .container,
body.speego-seo-page:has(.page-fulfillment) #app-main > .breadcrumb-section .container,
body.speego-seo-page:has([data-nav="knowledge"]) #app-main > .breadcrumb-section .container,
body.speego-seo-page:has(.page-sourcing) .page-sourcing > section:not(.sourcing-hero-section) > .container,
body.speego-seo-page:has(.page-shipping-routes) .page-shipping-routes > section:not(.page-hero-2col) > .container,
body.speego-seo-page:has(.page-import-export) .page-import-export > section:not(.page-hero-2col) > .container,
body.speego-seo-page:has([data-nav="knowledge"]) .page-container[data-nav="knowledge"] > section > .container,
body:has(.page-sourcing) #app-main > .breadcrumb-section .container,
body:has(.page-shipping-routes) #app-main > .breadcrumb-section .container,
body:has(.page-import-export) #app-main > .breadcrumb-section .container,
body:has([data-nav="knowledge"]) #app-main > .breadcrumb-section .container,
.page-sourcing .cta-form-band-section > .container.cta-form-band-grid,
.page-shipping-routes .cta-form-band-section > .container.cta-form-band-grid,
.page-import-export .cta-form-band-section > .container.cta-form-band-grid,
.page-container[data-nav="knowledge"] ~ .cta-form-band-section > .container.cta-form-band-grid,
body.speego-seo-page:has(.page-sourcing) .cta-form-band-section > .container.cta-form-band-grid,
body.speego-seo-page:has(.page-shipping-routes) .cta-form-band-section > .container.cta-form-band-grid,
body.speego-seo-page:has(.page-import-export) .cta-form-band-section > .container.cta-form-band-grid,
body.speego-seo-page:has([data-nav="knowledge"]) .cta-form-band-section > .container.cta-form-band-grid {
  width: 100% !important;
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

/* Keep fulfillment rate-card full-bleed exception (after #bang-gia-fulfillment) */
.page-fulfillment #bang-gia-fulfillment > .container,
.page-fulfillment #bang-gia-fulfillment ~ section > .container,
.page-fulfillment #bang-gia-fulfillment ~ .cta-form-band-section > .container,
.page-fulfillment #bang-gia-fulfillment ~ #contact-form > .container {
  max-width: none !important;
  width: 100% !important;
  padding-left: clamp(16px, 3.5vw, 48px) !important;
  padding-right: clamp(16px, 3.5vw, 48px) !important;
}

/* Knowledge hub text left-align (margins handled by shell above) */
body.speego-seo-page:has([data-nav="knowledge"]) #app-main > .breadcrumb-section .container,
body.speego-seo-page:has([data-nav="knowledge"]) .page-container[data-nav="knowledge"] .container,
.page-container[data-nav="knowledge"] .container,
body:has([data-nav="knowledge"]) #app-main > .breadcrumb-section .container {
  width: 100% !important;
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

body.speego-seo-page:has([data-nav="shipping-routes"]) .page-shipping-routes .section-header,
body.speego-seo-page:has([data-nav="shipping-routes"]) .page-shipping-routes .section-title,
body.speego-seo-page:has([data-nav="shipping-routes"]) .page-shipping-routes .section-tag,
body.speego-seo-page:has([data-nav="shipping-routes"]) .page-shipping-routes .ff-section-header,
body.speego-seo-page:has([data-nav="shipping-routes"]) .page-shipping-routes .ff-section-title,
body.speego-seo-page:has([data-nav="shipping-routes"]) .page-shipping-routes .ff-section-sub,
body.speego-seo-page:has([data-nav="shipping-routes"]) .page-shipping-routes .faq-header {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (min-width: 768px) {
  body.speego-seo-page:has([data-nav="knowledge"]) #app-main > .breadcrumb-section .container,
  body.speego-seo-page:has([data-nav="knowledge"]) .page-container[data-nav="knowledge"] .container,
  .page-container[data-nav="knowledge"] .container,
  body:has([data-nav="knowledge"]) #app-main > .breadcrumb-section .container {
    width: 100% !important;
  }
}

body.speego-seo-page:has([data-nav="knowledge"]) #app-main,
body:has([data-nav="knowledge"]) #app-main {
  padding-left: 0;
  padding-right: 0;
}

body:has([data-nav="knowledge"]) #app-main > .breadcrumb-section,
.page-container[data-nav="knowledge"] .knowledge-hero,
.page-container[data-nav="knowledge"] .topic-grid-section,
.page-container[data-nav="knowledge"] .faq-section,
.page-container[data-nav="knowledge"] .post-section,
.page-container[data-nav="knowledge"] .category-list-section {
  text-align: left;
}

.page-container[data-nav="knowledge"] .knowledge-hero-title,
.page-container[data-nav="knowledge"] .knowledge-hero-desc,
.page-container[data-nav="knowledge"] .faq-header,
.page-container[data-nav="knowledge"] .faq-header .section-title,
.page-container[data-nav="knowledge"] .section-tag,
.page-container[data-nav="knowledge"] .post-title,
.page-container[data-nav="knowledge"] .post-main,
.page-container[data-nav="knowledge"] .category-intro {
  text-align: left !important;
  margin-left: 0 !important;
}

.page-container[data-nav="knowledge"] .knowledge-hero {
  padding: 24px 0 40px;
}

.page-container[data-nav="knowledge"] .section-title {
  text-align: center;
}

.page-container[data-nav="knowledge"] .knowledge-hero-title {
  max-width: 18ch;
}

.page-container[data-nav="knowledge"] .knowledge-hero-desc {
  max-width: 52ch;
}

.page-container[data-nav="knowledge"] .post-grid {
  margin-left: 0;
  justify-content: start;
}

.page-container[data-nav="knowledge"] .cta-band-left,
.page-container[data-nav="knowledge"] .cta-band-copy {
  align-items: flex-start !important;
  text-align: left !important;
}

.page-container[data-nav="knowledge"] .cta-band-left > *,
.page-container[data-nav="knowledge"] .cta-band-copy > * {
  align-self: flex-start !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

body.speego-seo-page:has([data-nav="knowledge"]) .cta-form-band-section > .container.cta-form-band-grid,
.page-container[data-nav="knowledge"] ~ .cta-form-band-section > .container,
.page-container[data-nav="knowledge"] .cta-form-band-grid {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1320px !important;
  width: 100% !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

@media (max-width: 768px) {
  .page-sourcing > section > .container,
  .page-shipping-routes > section > .container,
  .page-import-export > section > .container,
  .page-container[data-nav="knowledge"] > section > .container,
  .page-container[data-nav="knowledge"] .container,
  body.speego-seo-page:has([data-nav="knowledge"]) #app-main > .breadcrumb-section .container,
  body.speego-seo-page:has(.page-shipping-routes) #app-main > .breadcrumb-section .container,
  body:has([data-nav="knowledge"]) #app-main > .breadcrumb-section .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* Keep section labels close to their headings on every service page. Hero labels use separate styles. */
.page-container .section-tag + .section-title,
.page-container .ff-tag-eyebrow + .ff-section-title {
  margin-top: 0 !important;
}

.page-container .section-header > .section-tag,
.page-container .prod-floor-header .section-tag,
.page-container .ff-section-header > .ff-tag-eyebrow,
.page-container .cta-band-left > .section-tag,
.page-container .cta-band-copy > .section-tag {
  margin-bottom: 8px;
}

.page-container .prod-floor-header .section-tag {
  display: block;
}

.page-container > section:not(.page-hero-2col):not(.ff-hero-dark-section) {
  padding-top: clamp(48px, 5vw, 72px) !important;
  padding-bottom: clamp(48px, 5vw, 72px) !important;
}

/* Logistics: one even gap between blocks. Light sections keep bottom padding only
   so the next heading does not add a second gap. */
.page-container.page-shipping-routes > section:not(.page-hero-2col) {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}

.page-container.page-shipping-routes > section:not(.page-hero-2col):not(.process-8steps-section):not(.cta-form-band-section)
  + section:not(.process-8steps-section):not(.cta-form-band-section) {
  padding-top: 0 !important;
}

.page-container > section:first-of-type.page-hero-2col,
.page-container > section:first-of-type.ff-hero-dark-section {
}

/* ==========================================================================
   ABOUT US — native page (homepage fonts/colors + motion)
   ========================================================================== */
.page-about {
  background: #fff;
  color: var(--speego-primary);
  font-family: var(--speego-font);
}

.page-about .text-orange {
  color: var(--speego-accent);
}

.page-about .about-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748B;
}

.page-about .about-title,
.page-about .about-section-title,
.page-about .about-vision-title {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--speego-primary);
  line-height: 1.15;
}

.page-about .about-title,
.page-about .about-section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  margin: 0 0 18px;
}

.page-about .about-desc,
.page-about .about-desc p {
  color: #5B6472;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}

.page-about .about-desc p {
  margin: 0 0 14px;
}

.page-about .about-desc p:last-child {
  margin-bottom: 0;
}

.page-about .about-history .about-section-title,
.page-about .about-position .about-section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: #04243D;
  line-height: 1.15;
}

.page-about .about-history .about-section-title::after,
.page-about .about-position .about-section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 14px;
  border-radius: 2px;
  background: var(--speego-accent);
}

.page-about .about-history .about-eyebrow,
.page-about .about-position .about-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--speego-accent);
}

.page-about .about-history .about-desc,
.page-about .about-history .about-desc p,
.page-about .about-position .about-desc,
.page-about .about-position .about-desc p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #5B6472;
}

.page-about .about-banner {
  width: 100%;
  overflow: hidden;
  background: #0B1E32;
}

.page-about .about-banner-img {
  width: 100%;
  max-height: min(56vh, 520px);
  object-fit: cover;
  display: block;
}

.page-about .about-intro,
.page-about .about-history,
.page-about .about-position {
  padding: 72px 0;
}

.page-about .about-intro .container,
.page-about .about-history .container,
.page-about .about-position .container,
.page-about .about-vision .container {
  padding-left: clamp(28px, 5vw, 80px);
  padding-right: clamp(28px, 5vw, 80px);
}

.page-about .about-intro-grid,
.page-about .about-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 88px);
  align-items: center;
}

.page-about .about-intro-grid {
  gap: clamp(80px, 10vw, 160px);
}

.page-about .about-intro .about-reveal {
  opacity: 1;
  transform: none;
}

.page-about .about-intro-photo {
  width: 100%;
  height: auto;
  display: block;
}

.page-about .about-intro-frame {
  position: relative;
  width: min(100%, 520px);
  max-width: 100%;
  margin-inline: auto;
}

.page-about .about-intro-frame::before,
.page-about .about-intro-frame::after {
  content: "";
  position: absolute;
  inset: 6% 4%;
  background: var(--speego-accent);
  border-radius: 10px;
  z-index: 0;
}

.page-about .about-intro-frame::before {
  transform: rotate(-9deg) translate(-10px, 4px);
}

.page-about .about-intro-frame::after {
  transform: rotate(7deg) translate(10px, -2px);
}

.page-about .about-intro-slides {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(4, 36, 61, 0.2);
  background: #0B1E32;
}

.page-about .about-intro-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.95s ease, transform 6.5s ease;
  pointer-events: none;
}

.page-about .about-intro-slides img.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.page-about .about-intro-frame.is-clickable {
  cursor: pointer;
}

.page-about .about-intro-frame.is-clickable .about-intro-slides::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top, rgba(4, 36, 61, 0.28) 0%, transparent 35%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.page-about .about-intro-frame.is-clickable:hover .about-intro-slides::after {
  opacity: 1;
}

.page-about .about-intro-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(4, 36, 61, 0.35);
  backdrop-filter: blur(4px);
}

.page-about .about-intro-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.page-about .about-intro-dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

.page-about .about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
  margin-top: 36px;
}

.page-about .about-stat-num {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--speego-accent);
  line-height: 1;
  margin-bottom: 8px;
  white-space: nowrap;
}

.page-about .about-stat-suffix {
  font-size: 1em;
  font-weight: 800;
  margin-left: 1px;
}

.page-about .about-stat-label {
  margin: 0;
  max-width: 16em;
  font-size: 15px;
  line-height: 1.45;
  color: #64748B;
  font-weight: 500;
}

.page-about .about-vision {
  position: relative;
  padding: 64px 0;
  background-color: var(--speego-primary);
  background-image: var(--about-vision-bg);
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  color: #fff;
  overflow: hidden;
}

.page-about .about-vision::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(4, 36, 61, 0.92), rgba(13, 59, 102, 0.78));
  z-index: 0;
}

.page-about .about-vision-watermark-bg {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: min(360px, 35vw);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

/* Ensure bootstrap clearfix pseudo-elements never break the grid */
.page-about .about-vision-inner::before,
.page-about .about-vision-inner::after,
.page-about .about-vision-grid::before,
.page-about .about-vision-grid::after {
  display: none !important;
  content: none !important;
}

.page-about .about-vision-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(80px, 10vw, 160px);
  align-items: center;
}

.page-about .about-vision-brand-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: clamp(8px, 1vw, 12px) 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  box-shadow: none;
}

.page-about .about-vision-brand-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff6b35;
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid rgba(255, 107, 53, 0.25);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 22px;
}

.page-about .about-vision-brand-logo {
  width: 100%;
  max-width: 250px;
  height: auto;
  display: block;
  margin-bottom: 22px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.page-about .about-vision-brand-line {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, transparent);
  border-radius: 2px;
  margin-bottom: 18px;
}

.page-about .about-vision-brand-slogan {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  margin: 0;
}

.page-about .about-vision-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.page-about .about-vision-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 8px 0;
  box-shadow: none;
  position: relative;
}

.page-about .about-vision-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.page-about .about-vision-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 107, 53, 0.15);
  border: 1px solid rgba(255, 107, 53, 0.3);
  color: #ff6b35;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.page-about .about-vision-title {
  color: #fff;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.page-about .about-vision-card p,
.page-about .about-vision-desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
}

.page-about .about-split-media img,
.page-about .about-eco-figure img {
  width: 100%;
  display: block;
  border-radius: 14px;
}

.page-about .about-ecosystem {
  position: relative;
  padding: 72px 0 64px;
  background: #F8FAFC;
  overflow: hidden;
}

.page-about .about-ecosystem-deco {
  position: absolute;
  top: 28%;
  left: 4%;
  width: min(180px, 22vw);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.page-about .about-eco-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
}

.page-about .about-accent-name {
  color: var(--speego-accent);
}

.page-about .about-gallery {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
  padding: 18px;
  border-radius: 28px;
  background: #fff;
  box-shadow: inset 0 8px 16px rgba(4, 36, 61, 0.06);
}

.page-about .about-gallery-item {
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  display: block;
}

.page-about .about-gallery-item img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.page-about .about-gallery-item:hover img {
  transform: scale(1.05);
}

.page-about .about-eco-cta {
  position: relative;
  z-index: 1;
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.page-about .about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-about .about-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.page-about .about-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.page-about .about-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 36, 61, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.page-about .about-lightbox[hidden] {
  display: none !important;
}

.page-about .about-lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.page-about .about-lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--speego-primary);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}

@media (min-width: 1025px) {
  .page-about .about-intro-media {
    display: flex;
    justify-content: flex-end;
  }

  .page-about .about-intro-frame {
    margin-left: auto;
    margin-right: 0;
  }

  /* Fixed PC intro artwork with a balanced gap to the copy */
  .page-about .about-intro-grid {
    grid-template-columns: 685px minmax(0, 1fr);
    gap: clamp(40px, 4vw, 64px);
  }

  .page-about .about-intro-photo {
    width: 685px;
    height: 465px;
    object-fit: cover;
  }
}

@media (max-width: 1024px) {
  .page-about .about-intro-grid,
  .page-about .about-vision-grid,
  .page-about .about-split,
  .page-about .about-eco-top,
  .page-about .about-vision-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .page-about .about-vision-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Fulfillment: looped warehouse carousel, always presenting three clean photos. */
.page-fulfillment .ff-warehouse-cards-grid {
  --ff-warehouse-gap: 18px;
  display: flex;
  gap: var(--ff-warehouse-gap);
  width: 100%;
  overflow: hidden;
  padding: 3px 0 10px;
  cursor: default;
  touch-action: pan-y;
}

body:not(.home).is-header-scrolled .site-header .speego-header-topbar {
  margin-top: -38px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.page-fulfillment .ff-warehouse-track {
  display: flex;
  gap: var(--ff-warehouse-gap);
  width: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.page-fulfillment .ff-warehouse-track.is-jump {
  transition: none;
}

.page-fulfillment .ff-warehouse-card {
  flex: 0 0 calc((100% - (var(--ff-warehouse-gap) * 2)) / 3);
  width: calc((100% - (var(--ff-warehouse-gap) * 2)) / 3);
  min-width: 0;
  height: clamp(190px, 21vw, 286px);
  border-radius: 16px;
  margin: 0;
}

.page-fulfillment .ff-warehouse-card-caption,
.page-fulfillment .ff-warehouse-card-title,
.page-fulfillment .ff-warehouse-card-text {
  display: none;
}

.page-fulfillment .ff-warehouse-cards-grid:focus-visible {
  outline: 3px solid rgba(255, 91, 31, 0.55);
  outline-offset: 5px;
}

@media (max-width: 768px) {
  .page-fulfillment .ff-warehouse-cards-grid {
    --ff-warehouse-gap: 8px;
    overflow: hidden;
  }

  .page-fulfillment .ff-warehouse-card {
    flex-basis: calc((100% - (var(--ff-warehouse-gap) * 2)) / 3);
    width: calc((100% - (var(--ff-warehouse-gap) * 2)) / 3);
    height: clamp(118px, 31vw, 168px);
    border-radius: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-fulfillment .ff-warehouse-track {
    transition-duration: 1ms;
  }
}

/* Logistics: use one predictable vertical rhythm, matching Fulfillment. */
.page-container.page-shipping-routes {
  --logistics-section-space: clamp(52px, 4.5vw, 68px);
  --logistics-section-edge: calc(var(--logistics-section-space) / 2);
}

.page-container.page-shipping-routes > section:not(.page-hero-2col) {
  padding-top: var(--logistics-section-edge) !important;
  padding-bottom: var(--logistics-section-edge) !important;
}

/* The ticker needs one full leading gap. Adjacent sections contribute half
   from each side, producing the same total gap at every boundary. */
.page-container.page-shipping-routes > .route-dest-section {
  padding-top: var(--logistics-section-space) !important;
}

.page-container.page-shipping-routes > section:last-of-type {
  padding-bottom: var(--logistics-section-space) !important;
}

.page-shipping-routes .dest-cards-grid,
.page-shipping-routes .models-3col-grid,
.page-shipping-routes .process-8steps-grid,
.page-shipping-routes .ie-why-grid,
.page-shipping-routes .ff-faq-list,
.page-shipping-routes .testimonials-2col-grid {
  margin-top: 32px;
}

.page-shipping-routes .hero-h1-clean .hero-h1-line {
  display: block;
  white-space: nowrap;
}

.page-shipping-routes .hero-h1-clean {
  max-width: 100%;
  font-size: clamp(34px, 3.1vw, 48px);
}

/* Enlarge only the Logistics hero artwork while preserving the shared
   1320px container and its 24px side gutters used by every section below. */
@media (min-width: 1025px) {
  .page-shipping-routes .hero-2col-grid {
    grid-template-columns: minmax(0, 1fr) clamp(390px, 36vw, 500px);
    gap: clamp(48px, 4.5vw, 68px);
  }

  .page-shipping-routes .hero-2col-left {
    padding-right: 0;
  }

  .page-shipping-routes .hero-2col-right {
    width: 100%;
    max-width: 500px;
  }

  .page-shipping-routes .hero-img-card-wrap img {
    width: 100%;
    height: clamp(430px, 42vw, 560px);
    object-position: center;
  }
}

@media (max-width: 1024px) {
  .page-shipping-routes .hero-2col-grid {
    row-gap: clamp(32px, 5vw, 40px);
  }
}

@media (max-width: 768px) {
  .page-about .about-intro,
  .page-about .about-history,
  .page-about .about-position,
  .page-about .about-ecosystem {
    padding: 48px 0;
  }

  .page-about .about-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 12px;
    border-radius: 20px;
  }

  .page-about .about-stats {
    gap: 20px 16px;
  }

  .page-about .about-stat-num {
    font-size: 28px;
  }

  .page-about .about-stat-label {
    font-size: 14px;
  }

  .page-container.page-shipping-routes {
    --logistics-section-space: 48px;
    --logistics-section-edge: 24px;
  }

  .page-shipping-routes .dest-cards-grid,
  .page-shipping-routes .models-3col-grid,
  .page-shipping-routes .process-8steps-grid,
  .page-shipping-routes .ie-why-grid,
  .page-shipping-routes .ff-faq-list,
  .page-shipping-routes .testimonials-2col-grid {
    margin-top: 24px;
  }

  .page-shipping-routes .hero-h1-clean .hero-h1-line {
    white-space: normal;
  }
}

/* One vertical spacing scale for every Sourcing section, including the hero. */
.page-container.page-sourcing > section.sourcing-hero-section,
.page-container.page-sourcing > section#why-speego,
.page-container.page-sourcing > section:not(.sourcing-hero-section) {
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}

@media (max-width: 768px) {
  .page-container.page-sourcing > section.sourcing-hero-section,
  .page-container.page-sourcing > section#why-speego,
  .page-container.page-sourcing > section:not(.sourcing-hero-section) {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
}

/* Keep the Logistics hero gutter identical on the SPA and SEO production
   routes.  A later main-branch rule widens this container to 1480px; this
   scoped final override preserves the shared 1320px content edge. */
.page-shipping-routes .page-hero-2col > .container {
  width: 100% !important;
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  .page-shipping-routes .page-hero-2col > .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

.page-fulfillment #bang-gia-fulfillment,
.page-fulfillment #fulfillment-cost,
.page-fulfillment #shipping-rates,
.page-fulfillment #uoc-tinh-chi-phi,
.page-fulfillment #chinh-sach-fulfillment {
  scroll-margin-top: 120px;
}

@media (min-width: 1025px) and (max-width: 1360px) {
  body.speego-seo-page .speego-header-navbar-inner {
    gap: 12px !important;
    padding-inline: 24px !important;
  }
  body.speego-seo-page .speego-branding .speego-logo-img { height: 34px !important; }
  body.speego-seo-page .speego-nav-menu { gap: 12px !important; }
  body.speego-seo-page .speego-nav-link {
    font-size: 13px !important;
    white-space: nowrap !important;
  }
}

@media (min-width: 1025px) and (max-width: 1100px) {
  body.speego-seo-page .speego-nav-menu { gap: 8px !important; }
  body.speego-seo-page .speego-nav-link { font-size: 12px !important; }
  body.speego-seo-page .speego-header-cta-wrap > .speego-header-quote-btn {
    font-size: 12px !important;
    padding-inline: 12px !important;
  }
}
