/* ==========================================================================
   SPEEGO LOGISTICS - GLOBAL STYLES & INTERACTIVE COMPONENTS
   ========================================================================== */

:root {
  --speego-primary: #04243d;
  --speego-primary-light: #0d3b66;
  --speego-accent: #f26419;
  --speego-accent-hover: #d8520e;
  --speego-teal: #00a8b5;
  --speego-dark: #0a1118;
  --speego-gray-bg: #f5f8fa;
  --speego-border: rgba(255, 255, 255, 0.15);
  --speego-card-shadow: 0 16px 40px rgba(4, 36, 61, 0.08);
  --speego-card-shadow-hover: 0 24px 50px rgba(4, 36, 61, 0.16);
  --speego-radius: 12px;
  --speego-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --speego-font: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Global typography: Inter sitewide (hero "TÃ¡Â»Â« TÃÂ¬m NguÃ¡Â»Ân HÃÂ ng" + all pages) */
html,
body,
.site,
.site-content,
button,
input,
select,
textarea,
.nav-menu,
.entry-meta,
label,
.page-links,
.navigation,
.site-info,
.filters,
.button,
.more-link,
.top-bar,
h1, h2, h3, h4, h5, h6,
.entry-title,
.site-title,
.tab-titles {
  font-family: var(--speego-font) !important;
}

/* ==========================================
   HEADER BRANDING & LANGUAGE SWITCHER
   ========================================== */
.speego-brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  line-height: 1;
}

.speego-brand-logo img,
.speego-logo-img {
  height: 42px;
  max-height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.speego-brand-logo:hover img,
.speego-brand-logo:hover .speego-logo-img {
  transform: scale(1.03);
  opacity: 0.95;
}

.speego-brand-logo .brand-dot {
  color: var(--speego-accent);
}

.speego-brand-logo .brand-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  background: var(--speego-accent);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  text-transform: uppercase;
  vertical-align: middle;
}

.site-title img {
  max-height: 42px !important;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

/* Header navigation bar layout matching Image 2 Specification (80px height, light style) */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
}

.site-header .header-wrap {
  width: 100%;
}

.site-header .header-wrap-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding: 0 32px !important;
  height: 80px !important;
  flex-wrap: nowrap !important;
  gap: 20px !important;
}

.site-header .site-branding {
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  /* Optical balance: logo artwork sits slightly high in the PNG */
  padding-top: 6px !important;
  transform: translateY(3px);
}

.site-header .site-branding img,
.speego-logo-img {
  height: 40px !important;
  max-height: 44px !important;
  width: auto !important;
  display: block !important;
}

.site-header .site-navigation {
  flex-shrink: 1 !important;
  min-width: 0 !important;
}

.site-header .menu-wrap {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 20px !important;
  justify-content: flex-end !important;
}

.site-header .nav-menu ul#menu-main-menu {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 24px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-header .nav-menu a {
  font-family: 'Inter', sans-serif !important;
  color: var(--speego-primary) !important; /* Logo navy */
  font-size: 16px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  transition: color 0.2s ease !important;
  text-decoration: none !important;
  position: relative;
  padding: 8px 0;
}

.site-header .nav-menu a:hover {
  color: var(--speego-accent) !important; /* Logo orange */
}

.nav-menu li.current-menu-item > a {
  color: var(--speego-accent) !important;
  font-weight: 600 !important;
}

/* Header Quote Button: 48px height, 12px radius, Inter Semibold 16px, #FF6A00 */
.speego-header-btn-quote {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 48px !important;
  padding: 0 24px !important;
  border-radius: 12px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  background: #FF6A00 !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  border: none !important;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
  box-shadow: 0 4px 14px rgba(255, 106, 0, 0.25) !important;
}

.speego-header-btn-quote:hover {
  background: #E55A00 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(255, 106, 0, 0.35) !important;
  color: #FFFFFF !important;
}

/* Language Switcher Dropdown in Nav */
.speego-lang-selector {
  display: inline-flex;
  align-items: center;
  position: relative;
  vertical-align: middle;
  flex-shrink: 0 !important;
}

.speego-lang-btn {
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  color: var(--speego-primary);
  padding: 0 14px;
  height: 40px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  white-space: nowrap !important;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.speego-lang-btn:hover {
  background: #E5E7EB;
  border-color: #D1D5DB;
  color: var(--speego-accent);
}

.speego-lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  min-width: 140px;
  padding: 6px 0;
  display: none;
  z-index: 1000;
  overflow: hidden;
}

.speego-lang-dropdown.active {
  display: block;
  animation: speegoFadeIn 0.25s ease;
}

.speego-lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #333333;
  text-decoration: none;
  cursor: pointer;
  transition: var(--speego-transition);
}

.speego-lang-option:hover,
.speego-lang-option.active {
  background: #f0f6fa;
  color: var(--speego-accent);
}

/* ==========================================================================
   HERO BANNER & HEADER - MODERN LOGISTICS DESIGN (SPEC FROM IMAGE 2)
   ========================================================================== */

/* Modern White Nav Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.site-header .header-wrap-inner {
  height: 80px;
  padding: 0 48px !important;
  max-width: 1520px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-header .nav-menu ul {
  display: flex;
  align-items: center;
  gap: 26px !important;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header .nav-menu a {
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: var(--speego-primary) !important; /* Logo navy #04243d */
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.site-header .nav-menu a:hover,
.site-header .nav-menu li.current-menu-item > a {
  color: var(--speego-accent) !important; /* Logo orange #f26419 */
}

.site-header .speego-header-btn-quote {
  height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 600;
  background: #FF6A00;
  color: #FFFFFF !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(255, 106, 0, 0.25);
  white-space: nowrap;
}

.site-header .speego-header-btn-quote:hover {
  background: #E55F00;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 106, 0, 0.35);
}

.site-header .speego-lang-btn {
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--speego-primary);
  border: 1px solid #E5E7EB;
  background: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.site-header .speego-lang-btn:hover {
  border-color: #D1D5DB;
  background: #F9FAFB;
  color: var(--speego-accent);
}

/* ==========================================================================
   HERO SECTION - IMAGE BACKGROUND & GRADIENT OVERLAY
   ========================================================================== */
.speego-hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding-top: 80px; /* Header offset */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background-color: #F8FAFC;
}

/* Background Image */
.speego-hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/hero-bg-speego.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Linear Gradient Overlay from Image 2 Spec */
.speego-hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 38%, rgba(255, 255, 255, 0.5) 55%, rgba(255, 255, 255, 0) 100%);
  z-index: 2;
  pointer-events: none;
}

.speego-hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 60px 48px 40px 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-grow: 1;
}

/* Left Content Column */
.speego-hero-content-col {
  margin-left: 72px; /* Content margin-left desktop */
  max-width: 600px;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1400px) {
  .speego-hero-content-col {
    margin-left: 120px; /* Exact 120px on wide desktop */
  }
}

/* Sub-heading */
.speego-hero-subheading {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.speego-subheading-line {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: #FF6A00;
  border-radius: 2px;
}

.speego-about-section {
  background: #FFFFFF;
  padding: 68px 24px;
  position: relative;
  overflow: hidden;
}

.speego-about-container {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 60px;
  align-items: center;
}

.speego-about-visual {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Guideline Nested-Chevron Motif (Mũi tên mở lồng SpeeGo) */
.speego-about-chevron-decor {
  position: absolute;
  top: -14px;
  right: -12px;
  z-index: 5;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 8px 18px rgba(0, 102, 204, 0.28));
  animation: speegoAboutArrowDrift 4s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes speegoAboutArrowDrift {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.88;
  }
  50% {
    transform: translate(6px, -4px);
    opacity: 1;
  }
}

.speego-about-team-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 16px 36px rgba(4, 36, 61, 0.12));
  transition: transform 0.4s ease;
}

.speego-about-text {
  max-width: 540px;
}

/* 3 Orange decorative stripes above heading */
.speego-about-accent {
  display: block;
  width: 44px;
  height: 14px;
  margin-bottom: 16px;
  background: repeating-linear-gradient(
    -30deg,
    #FF6A00 0 3px,
    transparent 3px 8px
  );
}

.speego-about-heading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(38px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #04243D;
  margin: 0 0 20px 0;
  line-height: 1.12;
}

.speego-about-desc {
  font-family: 'Inter', sans-serif;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.7;
  color: #334155;
  margin: 0 0 32px 0;
}

.speego-about-desc .speego-brand-name {
  font-weight: 800;
  color: #04243D;
}

.speego-about-desc .speego-brand-logistics {
  font-weight: 800;
  color: #FF6A00;
}

/* CTA: Pill rounded button with arrow slide */
.speego-about-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1.5px solid #FF6A00;
  background: #FFFFFF;
  color: #FF6A00 !important;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.12);
}

.speego-about-cta .speego-about-cta-arrow,
.speego-about-cta svg,
.speego-about-cta i {
  display: inline-block;
  width: 18px;
  height: 18px;
  stroke: currentColor;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.speego-about-cta:hover {
  background: #FF6A00;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 106, 0, 0.28);
}

.speego-about-cta:hover svg,
.speego-about-cta:hover i {
  transform: translateX(5px);
}

/* Responsive Rules for About */
@media (max-width: 991px) {
  .speego-about-section {
    padding: 56px 20px;
  }
  .speego-about-container {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: left;
  }
  .speego-about-visual {
    max-width: 520px;
  }
  .speego-about-text {
    max-width: 100%;
  }
  .speego-about-chevron-decor {
    top: -10px;
    right: -6px;
    transform: scale(0.85);
  }
}

@media (max-width: 576px) {
  .speego-about-section {
    padding: 44px 16px;
  }
  .speego-about-heading {
    font-size: 30px;
  }
  .speego-about-desc {
    font-size: 15px;
  }
  .speego-about-chevron-decor {
    top: -6px;
    right: 0;
    transform: scale(0.75);
  }
}

@media (prefers-reduced-motion: reduce) {
  .speego-about-chevron-decor {
    animation: none !important;
    transform: none !important;
  }
}

.speego-subheading-text {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6B7280;
}

/* H1 Heading */
.speego-hero-main-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 66px;
  font-weight: 800;
  line-height: 1.1;
  color: #0F172A;
  margin: 0 0 24px 0;
  letter-spacing: -1.5px;
}

@media (min-width: 1300px) {
  .speego-hero-main-title {
    font-size: 72px;
  }
}

.speego-highlight-orange {
  color: var(--speego-accent) !important;
  white-space: nowrap;
}

/* Paragraph */
.speego-hero-description {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #4B5563;
  max-width: 600px;
  margin: 0 0 36px 0;
}

/* Buttons Row */
.speego-hero-btn-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* Primary Button: Get a Quote */
.speego-btn-get-quote {
  height: 56px;
  padding: 0 32px;
  border-radius: 12px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 600;
  background: #FF6A00;
  color: #FFFFFF !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.28);
}

.speego-btn-get-quote:hover {
  background: #E55F00;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 106, 0, 0.38);
}

/* Secondary Button: (+84) 906 828 898 */
.speego-btn-phone {
  height: 56px;
  padding: 0 32px;
  border-radius: 12px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 600;
  background: #FFFFFF;
  color: #0F172A !important;
  border: 1px solid #E5E7EB;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.speego-btn-phone:hover {
  border-color: #FF6A00;
  color: #FF6A00 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

/* Stats / Key Metrics Row */
.speego-hero-stats-row {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: nowrap;
}

.speego-stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.speego-stat-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0F172A;
  flex-shrink: 0;
}

.speego-stat-info {
  display: flex;
  flex-direction: column;
}

.speego-stat-number {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  color: #0F172A;
}

.speego-stat-label {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #6B7280;
}

/* Floating Scroll to Explore (Right) */
.speego-scroll-explore {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  user-select: none;
}

.speego-scroll-explore:hover {
  opacity: 0.8;
}

.speego-mouse-icon {
  width: 22px;
  height: 36px;
  border: 2px solid #6B7280;
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
}

.speego-mouse-wheel {
  width: 3px;
  height: 8px;
  background-color: #6B7280;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  animation: speegoMouseScroll 1.8s ease-in-out infinite;
}

@keyframes speegoMouseScroll {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0.4;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.speego-scroll-text {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.2px;
  color: #6B7280;
  text-transform: uppercase;
}

/* Bottom Trust Bar */
.speego-hero-trust-bar {
  position: relative;
  z-index: 3;
  width: 100%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(229, 231, 235, 0.8);
  padding: 48px 0;
}

.speego-trust-inner {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.speego-trust-label {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #6B7280;
  white-space: nowrap;
}

.speego-trust-logos {
  display: flex;
  align-items: center;
  gap: 42px;
  flex-wrap: wrap;
}

.speego-trust-logo {
  height: 30px;
  max-height: 32px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all 0.25s ease;
}

.speego-trust-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

.speego-trust-more {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #6B7280;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.speego-trust-more:hover {
  color: #FF6A00;
}

/* Responsiveness for Hero */
@media (max-width: 1024px) {
  .site-header {
    height: 70px;
  }
  .site-header .header-wrap-inner {
    height: 70px;
    padding: 0 20px !important;
  }
  .speego-hero-section {
    padding-top: 70px;
  }
  .speego-hero-inner {
    padding: 40px 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .speego-hero-content-col {
    margin-left: 0;
    max-width: 100%;
  }
  .speego-hero-main-title {
    font-size: 48px;
  }
  .speego-scroll-explore {
    display: none;
  }
  .speego-hero-gradient-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 60%, rgba(255, 255, 255, 0.65) 100%);
  }
  .speego-trust-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 24px;
    gap: 20px;
  }
  .speego-trust-logos {
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .speego-hero-main-title {
    font-size: 36px;
  }
  .speego-hero-description {
    font-size: 16px;
  }
  .speego-hero-btn-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .speego-btn-get-quote, .speego-btn-phone {
    justify-content: center;
    width: 100%;
  }
  .speego-hero-stats-row {
    gap: 24px;
  }
}

.speego-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none !important;
  transition: var(--speego-transition);
  cursor: pointer;
}

.speego-btn-primary {
  background: var(--speego-accent);
  color: #ffffff !important;
  border: 2px solid var(--speego-accent);
  box-shadow: 0 10px 25px rgba(242, 100, 25, 0.35);
}

.speego-btn-primary:hover {
  background: var(--speego-accent-hover);
  border-color: var(--speego-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(242, 100, 25, 0.5);
}

.speego-btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.speego-btn-outline:hover {
  background: #ffffff;
  color: var(--speego-primary) !important;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.speego-btn-quote {
  background: #ffffff;
  color: var(--speego-primary) !important;
  border: 2px solid #ffffff;
  font-weight: 800;
}

.speego-btn-quote:hover {
  background: transparent;
  color: #ffffff !important;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================
   HERO RIGHT COLUMN Ã¢ÂÂ Intro / Form / Tracking
   ========================================== */
.speego-hero-right {
  flex: 0 1 520px;
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.speego-intro-pane {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.speego-intro-media {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid #E2E8F0;
  box-shadow: 0 8px 20px rgba(4, 36, 61, 0.08);
}

.speego-intro-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 190px;
  object-fit: cover;
  object-position: center 18%;
}

.speego-intro-lead {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: #334155;
  margin: 0;
}

.speego-intro-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  color: #475569;
  font-size: 13.5px;
  line-height: 1.45;
}

.speego-intro-list li {
  margin: 0;
  padding: 0 0 0 18px;
  position: relative;
}

.speego-intro-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF6A00;
}

.speego-intro-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #FF6A00 !important;
  text-decoration: none !important;
  transition: transform 0.2s ease;
}

.speego-intro-link:hover {
  transform: translateX(3px);
}

.speego-hero-console {
  flex: 0 1 auto;
  width: 100%;
  max-width: 100%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
  padding: 0;
  overflow: hidden;
  backdrop-filter: none;
}

.speego-console-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #E2E8F0;
  padding: 0;
  background: #F8FAFC;
}

.speego-console-tab {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 10px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: #64748B;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0;
  transition: var(--speego-transition);
  white-space: nowrap;
}

.speego-console-tab:hover {
  color: #0F172A;
  background: rgba(255, 255, 255, 0.6);
}

.speego-console-tab.active {
  color: #FF6A00;
  background: #FFFFFF;
  border-bottom-color: #FF6A00;
}

.speego-console-body {
  padding: 18px 18px 18px;
  max-height: min(520px, 62vh);
  overflow-y: auto;
}

.speego-console-pane {
  display: none;
}

.speego-console-pane.active {
  display: block;
  animation: speegoFadeIn 0.3s ease;
}

/* Hero consultation form grid */
.speego-hero-consult-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  align-items: start;
}

.speego-hero-consult-grid .speego-input-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.speego-hero-consult-grid .speego-input-full {
  grid-column: 1 / -1;
}

.speego-hero-console .speego-input-group label {
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  min-height: 1.2em;
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.speego-hero-console .speego-input,
.speego-hero-console .speego-select,
.speego-hero-console .speego-track-input {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #0F172A;
}

.speego-hero-console .speego-input:focus,
.speego-hero-console .speego-select:focus,
.speego-hero-console .speego-track-input:focus {
  border-color: #FF6A00;
  background: #FFFFFF;
}

.speego-hero-console .speego-select option {
  background: #FFFFFF;
  color: #0F172A;
}

.speego-hero-textarea {
  resize: vertical;
  min-height: 72px;
  font-family: 'Inter', sans-serif;
}

.speego-hero-consult-submit {
  width: 100%;
  justify-content: center;
}

.speego-hero-console .speego-track-wrapper {
  max-width: 100%;
  flex-direction: column;
  align-items: stretch;
}

.speego-hero-console .speego-track-result {
  color: #334155;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 12px;
  margin-top: 12px;
  font-size: 13px;
  display: none;
}

/* Form controls (shared) */
.speego-quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) auto;
  gap: 14px;
  align-items: flex-end;
}

.speego-input-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.speego-input,
.speego-select {
  width: 100%;
  padding: 12px 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  color: #0F172A;
  font-size: 14px;
  outline: none;
  transition: var(--speego-transition);
  box-sizing: border-box;
}

.speego-input:focus,
.speego-select:focus {
  border-color: #FF6A00;
  background: #FFFFFF;
}

.speego-select option {
  background: #FFFFFF;
  color: #0F172A;
}

.speego-track-wrapper {
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: 760px;
}

.speego-track-input {
  flex: 1;
  padding: 14px 18px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  color: #0F172A;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
}

.speego-track-result {
  margin-top: 18px;
  padding: 16px 20px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  display: none;
  font-size: 14px;
  color: #334155;
}

/* ==========================================================================
   UPS TRACKING MODAL Ã¢ÂÂ SpeeGo logo chrome (navy + orange)
   ========================================================================== */
body.speego-track-modal-open {
  overflow: hidden;
}

.speego-track-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
}

.speego-track-modal[hidden] {
  display: none !important;
}

.speego-track-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(242, 100, 25, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(13, 59, 102, 0.55) 0%, transparent 50%),
    rgba(4, 36, 61, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.speego-track-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  overflow: hidden;
  background: #ffffff;
  box-shadow: none;
  animation: speegoTrackModalIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes speegoTrackModalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.speego-track-modal__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  padding: 16px 20px;
  background:
    linear-gradient(135deg, #04243d 0%, #0d3b66 58%, #071a2f 100%);
  border-bottom: 3px solid var(--speego-accent);
}

.speego-track-modal__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.speego-track-modal__logo {
  height: 40px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.speego-track-modal__meta {
  min-width: 0;
}

.speego-track-modal__title {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

.speego-track-modal__code {
  margin: 4px 0 0;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.speego-track-modal__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.speego-track-modal__ups-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--speego-accent);
  color: #fff !important;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.speego-track-modal__ups-btn:hover {
  background: var(--speego-accent-hover);
  transform: translateY(-1px);
  color: #fff !important;
}

.speego-track-modal__close {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.2s ease;
}

.speego-track-modal__close:hover {
  background: rgba(242, 100, 25, 0.9);
  border-color: transparent;
}

.speego-track-modal__body {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: auto;
  background:
    linear-gradient(180deg, #f7fafc 0%, #eef3f8 100%);
}

.speego-track-modal__loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background:
    linear-gradient(160deg, rgba(4, 36, 61, 0.94) 0%, rgba(13, 59, 102, 0.92) 100%);
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 500;
  pointer-events: none;
}

.speego-track-modal__loader[hidden] {
  display: none !important;
}

.speego-track-modal__spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--speego-accent);
  border-radius: 50%;
  animation: speegoTrackSpin 0.8s linear infinite;
}

@keyframes speegoTrackSpin {
  to { transform: rotate(360deg); }
}

.speego-track-journey {
  padding: 22px 24px 28px;
}

.speego-track-journey[hidden] {
  display: none !important;
}

.speego-track-summary {
  padding: 18px 18px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #04243d 0%, #0d3b66 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(4, 36, 61, 0.18);
  margin-bottom: 22px;
}

.speego-track-summary__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.speego-track-summary__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.speego-track-summary__badge i {
  color: var(--speego-accent);
}

.speego-track-summary__progress-label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.speego-track-summary__bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
  margin-bottom: 16px;
}

.speego-track-summary__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f26419, #ff8a3d);
}

.speego-track-summary__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}

.speego-track-summary__grid span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}

.speego-track-summary__grid strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

.speego-track-route__title {
  margin: 0 0 16px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--speego-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.speego-track-route__title i {
  color: var(--speego-accent);
}

.speego-track-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.speego-track-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  min-height: 0;
}

.speego-track-step__rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.speego-track-step__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  z-index: 1;
  border: 2px solid #d5dee8;
  background: #fff;
  color: #94a3b8;
  box-shadow: 0 4px 12px rgba(4, 36, 61, 0.08);
}

.speego-track-step__line {
  flex: 1;
  width: 3px;
  min-height: 28px;
  margin: 6px 0;
  border-radius: 999px;
  background: #d5dee8;
}

.speego-track-step__card {
  padding: 12px 14px 16px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e6edf4;
  box-shadow: 0 6px 16px rgba(4, 36, 61, 0.04);
}

.speego-track-step__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.speego-track-step__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--speego-primary);
  line-height: 1.3;
}

.speego-track-step__time {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}

.speego-track-step__loc {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.speego-track-step__loc i {
  color: var(--speego-accent);
  margin-right: 4px;
}

.speego-track-step__detail {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}

/* Done milestones */
.speego-track-step--done .speego-track-step__icon {
  background: var(--speego-primary);
  border-color: var(--speego-primary);
  color: #fff;
}

.speego-track-step--done .speego-track-step__line {
  background: linear-gradient(180deg, var(--speego-accent), #0d3b66);
}

/* Current milestone */
.speego-track-step--current .speego-track-step__icon {
  background: var(--speego-accent);
  border-color: var(--speego-accent);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(242, 100, 25, 0.18);
  animation: speegoTrackPulse 1.8s ease-in-out infinite;
}

.speego-track-step--current .speego-track-step__card {
  border-color: rgba(242, 100, 25, 0.35);
  box-shadow: 0 10px 24px rgba(242, 100, 25, 0.12);
}

.speego-track-step--current .speego-track-step__title {
  color: var(--speego-accent);
}

.speego-track-step--current .speego-track-step__line {
  background: repeating-linear-gradient(
    180deg,
    #f26419 0 6px,
    transparent 6px 12px
  );
}

@keyframes speegoTrackPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(242, 100, 25, 0.16); }
  50% { box-shadow: 0 0 0 8px rgba(242, 100, 25, 0.08); }
}

/* Upcoming */
.speego-track-step--upcoming .speego-track-step__card {
  opacity: 0.72;
  background: #f8fafc;
}

.speego-track-step--upcoming .speego-track-step__time {
  color: #94a3b8;
}

.speego-track-modal__footer {
  flex-shrink: 0;
  padding: 10px 20px;
  background: #04243d;
  border-top: 1px solid rgba(242, 100, 25, 0.35);
  text-align: center;
}

.speego-track-modal__powered {
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 768px) {
  .speego-track-modal {
    padding: 0;
  }

  .speego-track-modal__dialog {
    width: 100%;
    height: 100%;
    height: 100dvh;
    border-radius: 0;
  }

  .speego-track-modal__chrome {
    flex-wrap: wrap;
    padding: 14px;
  }

  .speego-track-modal__logo {
    height: 32px;
  }

  .speego-track-modal__ups-btn span {
    display: none;
  }

  .speego-track-journey {
    padding: 16px;
  }

  .speego-track-summary__grid {
    grid-template-columns: 1fr;
  }

  .speego-track-step {
    grid-template-columns: 40px 1fr;
    gap: 10px;
  }

  .speego-track-step__icon {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .speego-track-step__head {
    flex-direction: column;
    gap: 4px;
  }
}

.speego-knowledge-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.speego-chip {
  padding: 8px 16px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 30px;
  font-size: 13px;
  color: #334155;
  text-decoration: none;
  transition: var(--speego-transition);
  cursor: pointer;
}

.speego-chip:hover {
  background: #FF6A00;
  border-color: #FF6A00;
  color: #ffffff;
}

/* ==========================================
   ABOUT SPEEGO SECTION
   ========================================== */
.speego-section {
  padding: 100px 20px;
  background: #ffffff;
}

.speego-section-alt {
  padding: 100px 20px;
  background: #f8fafc;
}

.speego-section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.speego-section-tag {
  display: inline-block;
  color: var(--speego-accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.speego-section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(36px, 5.2vw, 64px);
  font-weight: 800;
  color: var(--speego-primary);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.speego-section-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: #64748b;
}

.speego-about-section {
  background: #FFFFFF;
  padding: 100px 24px;
}

.speego-about-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.speego-about-visual {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.speego-about-orange-shape {
  display: none;
}

.speego-about-team-img {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 18px 32px rgba(11, 39, 66, 0.14));
}

.speego-about-text {
  max-width: 520px;
}

.speego-about-accent {
  display: block;
  width: 52px;
  height: 18px;
  margin-bottom: 18px;
  background: repeating-linear-gradient(
    -28deg,
    #FF6A00 0 3px,
    transparent 3px 8px
  );
}

.speego-about-heading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(44px, 6vw, 68px);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #002855;
  margin: 0 0 26px 0;
  line-height: 1.08;
}

.speego-about-desc {
  font-family: 'Inter', sans-serif;
  font-size: clamp(18px, 1.4vw, 21px);
  font-weight: 600;
  line-height: 1.7;
  color: #1e293b;
  margin: 0 0 36px 0;
}

.speego-about-desc .speego-brand-name {
  font-weight: 900;
  color: #002855;
}

.speego-about-desc .speego-brand-logistics {
  font-weight: 900;
  color: #FF6A00;
}

.speego-about-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1.5px solid #FF6A00;
  background: #FFFFFF;
  color: #FF6A00 !important;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.speego-about-cta:hover {
  background: #FF6A00;
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

/* legacy badge (unused in new layout) */
.speego-about-badge {
  display: none;
}

/* ==========================================
   SPEEGO CORE SERVICES — MODERN COMPACT LAYOUT
   ========================================== */
.speego-services-section {
  position: relative;
  background: #FFFFFF;
  padding: 60px 24px 72px;
  overflow: hidden;
}

.speego-services-bg-map,
.speego-services-slogan {
  display: none !important;
}

.speego-services-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #FF6A00;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.speego-services-tag::before,
.speego-services-tag::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background: #FF6A00;
  border-radius: 1px;
}

.speego-services-inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
}

.speego-services-header {
  text-align: center;
  margin-bottom: 40px;
}

.speego-services-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.25;
  color: #0F2744;
  margin: 0 0 12px 0;
  letter-spacing: -0.015em;
}

.speego-services-title .speego-accent-num {
  color: #FF6A00;
  font-weight: 800;
}

.speego-services-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #64748B;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.speego-services-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.speego-service-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 39, 66, 0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.speego-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(10, 37, 64, 0.12);
  border-color: #CBD5E1;
}

/* Card Visual Top Banner with Real Photo */
.speego-service-visual {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: #0A2540;
}

.speego-service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.speego-service-card:hover .speego-service-img {
  transform: scale(1.08);
}

.speego-service-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 37, 64, 0.4) 0%, rgba(10, 37, 64, 0.05) 50%, rgba(10, 37, 64, 0.25) 100%);
  pointer-events: none;
}

/* Number Badge on Visual Photo (01, 02, 03, 04) */
.speego-service-badge-num {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 2;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  color: #FFFFFF;
  background: rgba(15, 39, 68, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Floating Icon Badge overlapping banner and body */
.speego-service-icon-box {
  width: 44px;
  height: 44px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(10, 37, 64, 0.08);
  margin-top: -22px;
  margin-bottom: 14px;
  position: relative;
  z-index: 3;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.speego-service-card:hover .speego-service-icon-box {
  transform: translateY(-2px);
  border-color: #0056B3;
  box-shadow: 0 8px 20px rgba(0, 86, 179, 0.16);
}

/* Card Body */
.speego-service-body {
  padding: 0 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
}

.speego-service-title {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0F2744;
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.speego-service-text {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  line-height: 1.6;
  color: #475569;
  flex: 1;
  margin: 0 0 20px 0;
}

.speego-service-link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #0052CC !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
  margin-top: auto;
}

.speego-service-link-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.speego-service-link:hover {
  color: #FF6A00 !important;
}

.speego-service-link:hover .speego-service-link-arrow {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .speego-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .speego-services-section {
    padding: 48px 20px 56px;
  }
}

@media (max-width: 640px) {
  .speego-services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .speego-services-section {
    padding: 40px 16px 48px;
  }
  .speego-services-subtitle {
    font-size: 14px;
  }
}

/* ==========================================
   TRUST COMMITMENTS — COMPACT UNIFIED PANEL
   ========================================== */
.speego-trust-section {
  position: relative;
  padding: 52px 24px 60px;
  background: #F8FAFC;
}

.speego-trust-section__inner {
  max-width: 1320px;
  margin: 0 auto;
}

.speego-trust-section__header {
  text-align: center;
  margin-bottom: 40px;
}

.speego-trust-section__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.25;
  color: #0F2744;
  margin: 0 0 12px 0;
  letter-spacing: -0.015em;
}

.speego-trust-section__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #64748B;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.speego-trust-bar {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: center;
  padding: 28px 20px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-top: 3.5px solid #FF6A00;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(15, 39, 68, 0.05);
  box-sizing: border-box;
}

.speego-trust-bar::before {
  display: none;
}

.speego-trust-bar__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 8px 24px;
  box-sizing: border-box;
  transition: transform 0.25s ease;
}

.speego-trust-bar__item:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 56px;
  background: #E8EEF5;
  pointer-events: none;
}

.speego-trust-bar__icon {
  flex-shrink: 0;
  width: 104px;
  height: 104px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #FFFFFF 0%, #FFF5ED 100%);
  border: 1.5px solid rgba(255, 122, 0, 0.18);
  box-shadow:
    0 12px 28px -4px rgba(232, 90, 0, 0.14),
    0 4px 10px rgba(0, 0, 0, 0.03),
    inset 0 2px 0 rgba(255, 255, 255, 0.95),
    inset 0 -2px 0 rgba(255, 122, 0, 0.08);
  animation: speegoTrustIconFloat 3.8s ease-in-out infinite;
  transition:
    background 300ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 300ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.speego-trust-bar__icon svg,
.speego-trust-bar__icon .speego-3d-icon {
  width: 64px;
  height: 64px;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(217, 65, 0, 0.16));
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.speego-trust-bar__item:nth-child(2) .speego-trust-bar__icon {
  animation-delay: 0.35s;
}
.speego-trust-bar__item:nth-child(3) .speego-trust-bar__icon {
  animation-delay: 0.7s;
}
.speego-trust-bar__item:nth-child(4) .speego-trust-bar__icon {
  animation-delay: 1.05s;
}

.speego-trust-bar__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.speego-trust-bar__title {
  display: block;
  margin: 0;
  font-family: 'Inter', 'Manrope', ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: #102A43;
  transition: color 250ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.speego-trust-bar__desc {
  display: block;
  margin: 0;
  font-family: 'Inter', 'Manrope', ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: #6B7C8F;
}

.speego-trust-bar.is-in .speego-trust-bar__item:hover {
  transform: translate3d(0, -4px, 0) scale(1);
}

.speego-trust-bar__item:hover .speego-trust-bar__icon {
  background: linear-gradient(145deg, #FFFFFF 0%, #FFEFE2 100%);
  border-color: rgba(255, 106, 0, 0.45);
  transform: translateY(-6px) scale(1.06);
  box-shadow:
    0 18px 36px rgba(232, 90, 0, 0.22),
    0 0 0 6px rgba(255, 106, 0, 0.12),
    inset 0 2px 0 rgba(255, 255, 255, 1);
  animation: none;
}

.speego-trust-bar__item:hover .speego-trust-bar__icon svg {
  transform: scale(1.08) rotate(-2deg);
}

.speego-trust-bar__item:hover .speego-trust-bar__title {
  color: #E85A00;
}

@keyframes speegoTrustIconFloat {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 10px 24px rgba(232, 90, 0, 0.16);
  }
  50% {
    transform: translateY(-7px);
    box-shadow: 0 18px 32px rgba(232, 90, 0, 0.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  .speego-trust-bar__item {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .speego-trust-bar__icon {
    animation: none;
  }
}

/* legacy aliases (if referenced elsewhere) */
.speego-services-features {
  display: contents;
}
.speego-services-feature {
  display: contents;
}

/* ==========================================
   8-STEP PROCESS - INTERACTIVE TABBED SYSTEM
   ========================================== */
.speego-process-wrapper {
  max-width: 1240px;
  margin: 0 auto;
}

.speego-process-tabs {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  margin-bottom: 30px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.speego-step-tab {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 8px;
  text-align: center;
  cursor: pointer;
  transition: var(--speego-transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.speego-step-tab:hover {
  border-color: var(--speego-accent);
  background: #fffbf9;
}

.speego-step-tab.active {
  background: var(--speego-primary);
  border-color: var(--speego-primary);
  box-shadow: 0 8px 20px rgba(4, 36, 61, 0.2);
}

.speego-step-tab .step-index {
  font-size: 12px;
  font-weight: 800;
  color: var(--speego-accent);
  letter-spacing: 1px;
}

.speego-step-tab.active .step-index {
  color: #ff9357;
}

.speego-step-tab .step-name {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  line-height: 1.25;
}

.speego-step-tab.active .step-name {
  color: #ffffff;
}

.speego-step-content-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--speego-card-shadow);
  border: 1px solid #e2e8f0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.speego-step-detail-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(242, 100, 25, 0.1);
  color: var(--speego-accent);
  font-size: 12px;
  font-weight: 800;
  border-radius: 4px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.speego-step-title {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--speego-primary);
  margin-bottom: 16px;
}

.speego-step-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #556980;
  margin-bottom: 24px;
}

.speego-step-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.speego-step-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #334155;
  margin-bottom: 10px;
}

.speego-step-features li i {
  color: var(--speego-teal);
  font-size: 14px;
}

.speego-step-media {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  height: 320px;
}

.speego-step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================
   WHY CHOOSE SPEEGO â áº£nh nguyÃªn thá», chá»¯ logo
   ========================================== */
.speego-why-section {
  position: relative;
  padding: 80px 0 90px;
  width: 100%;
  box-sizing: border-box;
  overflow: clip;
  background:
    radial-gradient(ellipse 70% 60% at 72% 55%, rgba(160, 205, 245, 0.45) 0%, transparent 68%),
    radial-gradient(ellipse 55% 50% at 22% 45%, rgba(190, 220, 245, 0.4) 0%, transparent 62%),
    linear-gradient(180deg, #eef5fb 0%, #e4eef8 42%, #f4f8fc 100%);
}

.speego-why-inner {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.speego-why-header {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 48px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.speego-why-accent {
  display: block;
  width: 64px;
  height: 6px;
  margin: 0 auto 20px;
  background: var(--speego-accent);
  border-radius: 3px;
}

.speego-why-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--speego-primary, #0F2744);
  margin: 0 0 12px 0;
  line-height: 1.25;
}

.speego-why-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.5;
  color: #64748B;
  font-weight: 500;
  max-width: 900px;
  margin: 0 auto;
}

.speego-why-container {
  display: grid;
  grid-template-columns: minmax(380px, 480px) 1fr;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  border-left: none !important;
  border-right: none !important;
  border-radius: 0 !important;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 39, 68, 0.05);
}

/* Left Column: Visual Banner / Image Placeholder (Phần xanh để trống để ảnh) */
.speego-why-banner {
  position: relative;
  background: #004CB8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 520px;
}

.speego-why-banner-video {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.speego-why-banner-img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.speego-why-container:hover .speego-why-banner-video {
  transform: scale(1.03);
}

/* Right Column: 2x3 Feature Matrix */
.speego-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: #E2E8F0;
  gap: 1px; /* Creates clean 1px divider lines between all cells */
  border-left: 1px solid #E2E8F0;
}

.speego-why-cell {
  background: #FFFFFF;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: background-color 0.2s ease;
}

.speego-why-cell:hover {
  background-color: #F8FAFC;
}

.speego-why-cell-icon {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.speego-why-cell-icon svg {
  display: block;
  width: 24px;
  height: 14px;
  color: #0071CE;
}

.speego-why-cell-title {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #0F2744;
  margin: 0 0 10px 0;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.speego-why-cell-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

/* Responsive */
@media screen and (max-width: 1024px) {
  .speego-why-container {
    grid-template-columns: 300px 1fr;
  }
  .speego-why-cell {
    padding: 28px 22px;
  }
  .speego-why-cell-title {
    font-size: 16px;
  }
}

@media screen and (max-width: 900px) {
  .speego-why-container {
    grid-template-columns: 1fr;
  }
  .speego-why-banner {
    min-height: 260px;
  }
  .speego-why-grid {
    border-left: none;
    border-top: 1px solid #E2E8F0;
  }
}

@media screen and (max-width: 640px) {
  .speego-why-grid {
    grid-template-columns: 1fr;
  }
  .speego-why-cell {
    padding: 24px 18px;
  }
}

/* Legacy feature grid (kept for other pages if referenced) */
.speego-features-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.speego-feature-card {
  background: #ffffff;
  padding: 32px 28px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--speego-card-shadow);
  transition: var(--speego-transition);
  position: relative;
}

.speego-feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--speego-teal);
  box-shadow: var(--speego-card-shadow-hover);
}

.speego-feature-icon {
  width: 56px;
  height: 56px;
  background: #f0fbfb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--speego-teal);
  margin-bottom: 20px;
}

.speego-feature-title {
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: var(--speego-primary);
  margin-bottom: 12px;
}

.speego-feature-text {
  font-size: 14px;
  line-height: 1.65;
  color: #556980;
}

/* ==========================================
   CONSULTATION â FULL-BLEED VIDEO + COMPACT INVITE FORM
   ========================================== */
.speego-consult-section {
  padding: 72px 0 0 !important;
  overflow: visible;
  background: #041a2d;
}

.speego-consult-section > .speego-section-header {
  max-width: 1240px;
  margin: 0 auto 24px;
  padding: 0 24px;
  box-sizing: border-box;
  overflow: visible;
}

.speego-consult-section .speego-section-tag {
  color: #ff8a3d;
}

.speego-consult-section .speego-section-title,
.speego-consult-section .speego-section-subtitle {
  color: #ffffff;
}

.speego-consult-section .speego-section-title .speego-title-char {
  color: #ffffff;
}

.speego-consult-section .speego-section-subtitle {
  color: rgba(255, 255, 255, 0.72);
}

.speego-consult-stage {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.speego-consult-video-frame {
  position: relative;
  width: 100%;
  min-height: min(78vh, 820px);
  height: min(78vh, 820px);
  border-radius: 0;
  overflow: hidden;
  background: #04243d;
  border: 0;
  box-shadow: none;
}

.speego-consult-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 0;
  /* Keep pixels sharp: GPU layer, no soft scaling */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  filter: contrast(1.06) saturate(1.08);
}

.speego-consult-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.06) saturate(1.08);
}

/* Consultation reference layout: blue video backdrop, copy at left and form at right. */
.speego-consult-section {
  padding: 0 !important;
  background: #004cb8;
}

.speego-consult-section > .speego-section-header {
  display: none;
}

.speego-consult-video-shade {
  background: linear-gradient(90deg, rgba(2, 24, 71, .78) 0%, rgba(0, 57, 150, .54) 47%, rgba(0, 64, 192, .28) 100%) !important;
}

.speego-consult-copy {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: max(28px, calc((100vw - 1400px) / 2));
  width: min(460px, calc(52% - 48px));
  transform: translateY(-50%);
  color: #fff;
}

.speego-consult-copy > span {
  color: #35ccff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
}

.speego-consult-copy h2 {
  margin: 18px 0;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 3.6vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.speego-consult-copy p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 16px;
  line-height: 1.6;
}

.speego-consult-copy a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 14px 22px;
  border-radius: 999px;
  background: #fff;
  color: #07345e;
  font-size: 16px;
  font-weight: 800;
}

.speego-form-container--overlay {
  width: min(520px, calc(100% - 56px));
}

.speego-form-invite { display: none; }
.speego-form-heading { margin: 4px 0 18px; }
.speego-form-heading h3 { margin: 0 0 5px; color: #0f2744; font-size: 22px; font-weight: 800; }
.speego-form-heading p { margin: 0; color: #74839a; font-size: 13px; }
.speego-form-group:has(#speego-form-company),
.speego-form-group:has(#speego-form-route) { display: none; }

/* Larger desktop form while preserving the compact three-line consultation heading. */
@media (min-width: 1024px) {
  .speego-form-container--overlay {
    width: min(720px, calc(58% - 56px));
    padding: 28px 26px 24px;
  }

  .speego-consult-copy h2 {
    font-size: clamp(34px, 3.05vw, 48px);
    max-width: 460px;
  }
}

@media (max-width: 767px) {
  .speego-consult-video-frame { min-height: 760px; height: auto; }
  .speego-consult-copy { top: 48px; left: 24px; width: calc(100% - 48px); transform: none; }
  .speego-consult-copy h2 { font-size: 34px; }
  .speego-form-container--overlay { top: auto; right: 20px; bottom: 24px; width: calc(100% - 40px); max-height: 54%; transform: none; }
  .speego-form-container--overlay:focus-within { transform: none; }
}

/* The consultation panel remains wide on tablet and mobile as well. */
@media (max-width: 1023px) {
  .speego-form-container--overlay {
    right: 16px;
    width: min(680px, calc(100% - 32px));
  }
}

/* Consultation: two clear desktop columns, with the form as its own surface. */
@media (min-width: 1024px) {
  .speego-consult-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(520px, 1fr);
  }

  .speego-consult-video-frame {
    min-height: min(78vh, 820px);
    height: auto;
  }

  .speego-form-container--overlay {
    position: static;
    width: auto !important;
    min-height: min(78vh, 820px);
    margin: 0;
    padding: 48px;
    transform: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .speego-form-container--overlay:focus-within {
    transform: none;
    box-shadow: none;
  }

  .speego-form-container--featured::before {
    display: none;
  }
}

/* Reference layout: motion visual at left, six concise benefits at right. */
#why-speego .speego-why-pairs {
  display: none !important;
}

#why-speego .speego-why-container {
  max-width: 100% !important;
  width: 100% !important;
}

/* Keep the complete video-and-benefits block optically centred on desktop. */
@media screen and (min-width: 1025px) {
  #why-speego .speego-why-container {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: auto;
    margin-right: auto;
  }

  #why-speego .speego-why-grid {
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

#why-speego .speego-why-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(0, 63, 178, .38), rgba(0, 178, 255, .16));
}

#why-speego .speego-why-cell {
  min-height: 172px;
}

.speego-consult-video-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(4, 26, 45, 0.18) 0%,
      transparent 40%,
      rgba(4, 26, 45, 0.28) 100%
    ),
    linear-gradient(
      180deg,
      rgba(4, 26, 45, 0.1) 0%,
      transparent 35%,
      rgba(4, 26, 45, 0.38) 100%
    );
}

.speego-form-container {
  max-width: none;
  margin: 0;
  background: #ffffff;
  border-radius: 16px;
  padding: 36px 34px;
  box-shadow: 0 20px 50px rgba(4, 36, 61, 0.1);
  border: 1px solid #e2e8f0;
}

.speego-form-container--featured {
  position: relative;
  border: 1px solid rgba(242, 100, 25, 0.35);
}

.speego-form-container--overlay {
  position: absolute;
  right: max(28px, calc((100vw - 1400px) / 2 - 28px));
  top: 50%;
  bottom: auto;
  z-index: 3;
  width: min(390px, calc(100% - 40px));
  max-height: calc(100% - 24px);
  overflow: auto;
  padding: 18px 16px 16px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 18px;
  border-bottom: 1px solid rgba(242, 100, 25, 0.35);
  animation: none;
  transform: translateY(-50%);
}

.speego-form-container--overlay:focus-within {
  animation: none;
  transform: translateY(-50%);
  box-shadow:
    0 0 0 1px rgba(242, 100, 25, 0.35),
    0 0 0 10px rgba(242, 100, 25, 0.1),
    0 28px 56px rgba(4, 36, 61, 0.32);
}

.speego-form-container--overlay:focus-within .speego-form-invite,
.speego-form-container--overlay:focus-within .speego-form-submit-btn {
  animation: none;
}

.speego-form-invite {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(242, 100, 25, 0.1);
  color: #d8520e;
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  animation: speegoInvitePulse 1.8s ease-in-out infinite;
}

.speego-form-invite__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f26419;
  box-shadow: 0 0 0 0 rgba(242, 100, 25, 0.55);
  animation: speegoInviteDot 1.6s ease-out infinite;
}

.speego-form-container--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, #f26419 0%, #ff8a3d 55%, #04243d 100%);
  pointer-events: none;
}

@keyframes speegoFormInvite {
  0%, 100% {
    transform: translateY(0);
    box-shadow:
      0 0 0 1px rgba(242, 100, 25, 0.16),
      0 0 0 8px rgba(242, 100, 25, 0.05),
      0 18px 40px rgba(4, 36, 61, 0.28);
  }
  50% {
    /* Glow only â keep form glued to bottom so logo stays covered */
    transform: translateY(0);
    box-shadow:
      0 0 0 1px rgba(242, 100, 25, 0.35),
      0 0 0 12px rgba(242, 100, 25, 0.1),
      0 22px 48px rgba(4, 36, 61, 0.34);
  }
}

@keyframes speegoInvitePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@keyframes speegoInviteDot {
  0% { box-shadow: 0 0 0 0 rgba(242, 100, 25, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(242, 100, 25, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 100, 25, 0); }
}

.speego-form-secure-note {
  font-size: 10px;
  color: #94a3b8;
  text-align: center;
  margin-top: 8px;
  line-height: 1.4;
}

.speego-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.speego-form-full {
  grid-column: span 2;
}

.speego-form-group label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--speego-primary);
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.speego-form-input,
.speego-form-select,
.speego-form-textarea {
  width: 100%;
  padding: 9px 11px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 12.5px;
  color: #1e293b;
  outline: none;
  transition: var(--speego-transition);
  box-sizing: border-box;
}

.speego-form-input:focus,
.speego-form-select:focus,
.speego-form-textarea:focus {
  border-color: var(--speego-accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(242, 100, 25, 0.15);
}

.speego-form-textarea {
  min-height: 58px;
  resize: vertical;
}

.speego-form-submit-btn {
  width: 100%;
  padding: 12px;
  background: var(--speego-accent);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--speego-transition);
  animation: speegoCtaPulse 2.4s ease-in-out infinite;
}

.speego-form-submit-btn:hover {
  background: var(--speego-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(242, 100, 25, 0.35);
  animation: none;
}

@keyframes speegoCtaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 100, 25, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(242, 100, 25, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .speego-form-container--overlay,
  .speego-form-invite,
  .speego-form-invite__dot,
  .speego-form-submit-btn {
    animation: none !important;
  }
}

.speego-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #0f172a;
  color: #ffffff;
  padding: 16px 24px;
  border-radius: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 99999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.speego-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.speego-toast.success {
  border-left: 5px solid #10b981;
}

.speego-toast.error {
  border-left: 5px solid #ef4444;
}

/* ==========================================
   PARTNER NETWORK - RUNNING LOGO MARQUEE + MAP BACKDROP
   ========================================== */
.speego-partners-section {
  padding: 72px 24px 64px !important;
  background: #F7FAFC !important;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.speego-partners-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(247, 250, 252, 0.4) 0%,
      rgba(247, 250, 252, 0.68) 48%,
      rgba(247, 250, 252, 0.94) 100%
    ),
    url('../images/map-world.png') center 10% / min(1240px, 98%) no-repeat;
}

.speego-partners-map::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(247, 250, 252, 0.2) 0%, rgba(247, 250, 252, 0.75) 70%);
  pointer-events: none;
}

.speego-partners-header,
.speego-partners-section .speego-marquee-wrapper {
  position: relative;
  z-index: 1;
}

.speego-partners-header {
  max-width: 100% !important;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
  margin-bottom: 28px;
  overflow: hidden;
}

.speego-partners-header .speego-section-tag,
.speego-partners-header .speego-section-subtitle {
  padding: 0 20px;
  box-sizing: border-box;
}

.speego-partners-title {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(36px, 6.5vw, 80px) !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.05 !important;
  color: var(--speego-primary) !important; /* cÃ¹ng mÃ u Why titles / logo navy */
  margin: 12px 0 20px;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.speego-partners-marquee {
  display: block;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.speego-partners-marquee__track {
  display: inline-flex;
  align-items: center;
  gap: clamp(48px, 8vw, 96px);
  width: max-content;
  animation: speegoPartnersTitleMarquee 32s linear infinite;
  will-change: transform;
}

.speego-partners-marquee__item {
  display: inline-block;
  flex-shrink: 0;
  white-space: nowrap;
  color: var(--speego-primary); /* cÃ¹ng mÃ u Why titles / logo navy */
  font: inherit;
}

@keyframes speegoPartnersTitleMarquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.speego-partners-header .speego-section-subtitle {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .speego-partners-title {
    font-size: clamp(26px, 7.5vw, 40px) !important;
  }
  .speego-partners-marquee__track {
    animation-duration: 24s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .speego-partners-marquee__track {
    animation: none;
    transform: none;
  }
  .speego-partners-marquee {
    -webkit-mask-image: none;
    mask-image: none;
    overflow: visible;
    text-align: center;
  }
  .speego-partners-marquee__track {
    display: block;
    width: 100%;
  }
  .speego-partners-marquee__item {
    white-space: normal;
    display: block;
  }
  .speego-partners-marquee__item[aria-hidden="true"] {
    display: none;
  }
}

.speego-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 24px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 1) 6%, rgba(0, 0, 0, 1) 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 1) 6%, rgba(0, 0, 0, 1) 94%, transparent 100%);
}

.speego-marquee-row {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 60px;
  width: 100%;
  margin-bottom: 40px;
  align-items: center;
}

.speego-marquee-row:last-child {
  margin-bottom: 0;
}

.speego-marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 60px;
  align-items: center;
  justify-content: space-around;
  min-width: 100%;
}

.speego-marquee-left {
  animation: speegoMarqueeLeft 35s linear infinite;
  will-change: transform;
}

.speego-marquee-right {
  animation: speegoMarqueeRight 35s linear infinite;
  will-change: transform;
}

/* Pause running animation on hover for inspection */
.speego-marquee-wrapper:hover .speego-marquee-track {
  animation-play-state: paused;
}

@keyframes speegoMarqueeLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 60px));
  }
}

@keyframes speegoMarqueeRight {
  0% {
    transform: translateX(calc(-100% - 60px));
  }
  100% {
    transform: translateX(0);
  }
}

/* Direct Logo Presentation (HoÃÂ n toÃÂ n khÃÂ´ng cÃÂ³ khung, chÃ¡Â»Â lÃ¡ÂºÂ¥y thÃ¡ÂºÂ³ng logo) */
.speego-partner-card,
.speego-partner-item {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  height: 95px;
  min-width: auto;
  max-width: none;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.speego-partner-card:hover,
.speego-partner-item:hover {
  transform: scale(1.1);
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Logo Image - To, rÃÂµ nÃÂ©t, kÃÂ­ch thÃÂ°Ã¡Â»Âc lÃ¡Â»Ân, mÃÂ u sÃ¡ÂºÂ¯c trung thÃ¡Â»Â±c */
.speego-partner-logo-img {
  height: 75px;
  max-height: 85px;
  max-width: 320px;
  width: auto;
  object-fit: contain;
  filter: none !important;
  opacity: 0.94;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, filter 0.25s ease;
  display: block;
  margin: 0 auto;
}

.speego-partner-card:hover .speego-partner-logo-img,
.speego-partner-item:hover .speego-partner-logo-img {
  opacity: 1;
  transform: scale(1.06);
  filter: drop-shadow(0 6px 14px rgba(4, 36, 61, 0.12)) !important;
}

.speego-brand-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
}

@media (max-width: 768px) {
  .speego-partners-section {
    padding: 60px 0 70px 0 !important;
  }
  .speego-marquee-row,
  .speego-marquee-track {
    gap: 30px;
  }
  .speego-partner-card,
  .speego-partner-item {
    height: 60px;
    padding: 0 10px;
  }
  .speego-partner-logo-img {
    height: 48px;
    max-height: 52px;
    max-width: 170px;
  }
  .speego-brand-tagline {
    font-size: 18px;
  }
  .speego-marquee-left,
  .speego-marquee-right {
    animation-duration: 25s;
  }
  @keyframes speegoMarqueeLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% - 30px)); }
  }
  @keyframes speegoMarqueeRight {
    0% { transform: translateX(calc(-100% - 30px)); }
    100% { transform: translateX(0); }
  }
}

.speego-testimonial-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.speego-testimonial-card {
  background: #ffffff;
  padding: 32px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(15, 39, 68, 0.05);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.speego-testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(15, 39, 68, 0.09);
}

.speego-testi-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 14px 0;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #FF6A00;
}

.speego-testi-quote {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  line-height: 1.58;
  color: #475569;
  flex: 1;
  margin-bottom: 18px;
  font-style: italic;
}

.speego-testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.speego-testi-avatar {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--speego-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  overflow: hidden;
}

.speego-testi-name {
  font-weight: 800;
  color: var(--speego-primary);
  font-size: 15px;
}

.speego-testi-role {
  font-size: 13px;
  color: #94a3b8;
}

/* ==========================================
   KEYFRAME ANIMATIONS & RESPONSIVE BREAKPOINTS
   ========================================== */
@keyframes speegoFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 1024px) {
  .speego-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .speego-trust-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 24px 20px;
    margin-bottom: -24px;
    row-gap: 20px;
  }
  .speego-trust-bar__item:nth-child(3)::before,
  .speego-trust-bar__item:nth-child(odd)::before {
    display: none;
  }
  .speego-trust-bar__item:nth-child(even)::before {
    display: block;
  }
  .speego-services-slogan {
    display: none;
  }
  .speego-services-title {
    font-size: clamp(30px, 7vw, 40px);
  }
  .speego-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .speego-why-section {
    padding-top: 48px;
  }
  .speego-process-tabs {
    grid-template-columns: repeat(4, 1fr);
  }
  .speego-step-content-box {
    grid-template-columns: 1fr;
  }
  .speego-testimonial-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .speego-hero-wrapper {
    padding: 100px 15px 60px;
    min-height: auto;
  }
  .speego-why-story {
    --why-beats: 6;
  }
  .speego-services-grid {
    grid-template-columns: 1fr;
  }
  .speego-trust-bar {
    grid-template-columns: 1fr;
    padding: 22px 18px;
    margin: 0 auto;
    min-height: 0;
    row-gap: 16px;
  }
  .speego-trust-bar__icon {
    width: 84px;
    height: 84px;
    font-size: 40px;
    border-radius: 20px;
  }
  .speego-trust-bar__item {
    padding: 4px 8px;
  }
  .speego-trust-bar__item::before {
    display: none !important;
  }
  .speego-services-section {
    padding: 64px 16px 0;
  }
  .speego-services-title {
    font-size: 28px;
  }
  .speego-about-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .speego-about-visual {
    min-height: 0;
    max-width: 720px;
    margin: 0 auto;
  }
  .speego-about-text {
    max-width: 100%;
    text-align: left;
  }
  .speego-about-team-img {
    max-height: none;
    width: min(100%, 700px);
  }
  .speego-about-img-box img {
    height: 320px;
  }
  .speego-features-grid {
    grid-template-columns: 1fr;
  }
  .speego-process-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .speego-consult-section > .speego-section-header {
    padding: 0 16px 20px;
  }
  .speego-consult-stage {
    padding: 0;
  }
  .speego-consult-video-frame {
    min-height: 70vh;
    height: 70vh;
    max-height: none;
  }
  .speego-form-container--overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    max-height: 68%;
    padding: 14px 12px 14px;
    border-radius: 16px 16px 0 0;
    animation: speegoFormInvite 2.8s ease-in-out infinite;
  }
  .speego-form-container,
  .speego-form-container--featured {
    padding: 16px 14px 14px;
  }
  .speego-form-grid {
    grid-template-columns: 1fr;
  }
  .speego-form-full {
    grid-column: span 1;
  }
  .speego-quote-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   IMAGE 2 SPECIFICATION: SPEEGO HERO SECTION, STATS & TRUST BAR
   ========================================================================== */

/* Main Hero Section Container — luôn full màn hình khi mở */
.speego-hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: row;
  align-items: center;
  overflow: hidden;
  background: #FFFFFF;
  padding-top: 114px;
  box-sizing: border-box;
}

/* Background video — Ultra HD crisp rendering, full-bleed */
.speego-hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.speego-hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate3d(-50%, -50%, 0);
  object-fit: cover;
  object-position: center center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform-origin: center center;
  filter: contrast(104%) saturate(106%) brightness(98%);
  will-change: transform;
}

.speego-hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 1;
  pointer-events: none;
}

/* Subtle dark gradient at bottom for clean edge without blurring the video */
.speego-hero-video-bottom-mask {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22%;
  min-height: 100px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(4, 36, 61, 0.15) 45%,
    rgba(4, 36, 61, 0.55) 80%,
    rgba(4, 36, 61, 0.8) 100%
  );
}

/* Linear Gradient Overlay — keep left text readable while preserving ultra-crisp video on right */
.speego-hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.68) 42%, rgba(255, 255, 255, 0.15) 68%, rgba(255, 255, 255, 0) 100%);
}

/* Hero Content Wrapper Ã¢ÂÂ 2 columns: copy | console */
.speego-hero-container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 40px 60px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Left Content Column */
.speego-hero-left-content {
  max-width: 560px;
  margin-left: 80px;
  flex: 1 1 480px;
  min-width: 0;
}

/* Sub heading: Inter / Semibold 14px, letter-spacing 2px, #6B7280, Uppercase, with orange bar */
.speego-hero-subheading {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2px;
  color: #6B7280;
  text-transform: uppercase;
  margin-bottom: 22px;
  animation: speegoHeroItemIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.speego-hero-subheading::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 3px;
  background: #FF6A00;
  border-radius: 2px;
}

/* H1 - Heading: Inter / Bold — sized for 2-col hero with console */
.speego-hero-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 58px;
  line-height: 1.1;
  color: var(--speego-primary);
  margin: 0 0 20px 0;
  letter-spacing: -0.025em;
  animation: speegoHeroItemIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

/* "Đến" — logo blue */
.speego-highlight-navy {
  color: var(--speego-primary-light) !important;
}

/* Orange highlight — logo orange, keep on one line */
.speego-highlight-orange {
  color: var(--speego-accent) !important;
  white-space: nowrap;
}

/* Paragraph: Inter / Regular 18px, line-height 1.6, Logo navy, Max-width 600px */
.speego-hero-paragraph {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: var(--speego-primary);
  max-width: 600px;
  margin: 0 0 36px 0;
  animation: speegoHeroItemIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both;
}

/* Buttons Group */
.speego-hero-buttons-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: speegoHeroItemIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.48s both;
}

/* Primary Button: Height 56px, Padding 0 32px, Border-radius 12px, Font Inter / Semibold 18px, BG #FF6A00, Text #FFFFFF */
.speego-hero-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 32px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  background: #FF6A00;
  color: #FFFFFF !important;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 24px rgba(255, 106, 0, 0.28);
}

.speego-hero-btn-primary .speego-hero-btn-arrow,
.speego-hero-btn-primary i {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.speego-hero-btn-primary:hover {
  background: #E55A00;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 106, 0, 0.38);
  color: #FFFFFF !important;
}

.speego-hero-btn-primary:hover .speego-hero-btn-arrow,
.speego-hero-btn-primary:hover i {
  transform: translateX(5px);
}

/* Secondary Button: Height 56px, Padding 0 32px, Border-radius 12px, Border 1px solid #E5E7EB, BG #FFFFFF, Text #0F172A, Icon 18px */
.speego-hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 56px;
  padding: 0 32px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  background: #FFFFFF;
  color: #0F172A !important;
  border: 1px solid #E5E7EB;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.speego-hero-btn-secondary:hover {
  background: #F9FAFB;
  border-color: #D1D5DB;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  color: #FF6A00 !important;
}

.speego-hero-btn-secondary svg,
.speego-hero-btn-secondary i {
  font-size: 18px;
  color: #0F172A;
  transition: color 0.2s ease;
}

.speego-hero-btn-secondary:hover svg,
.speego-hero-btn-secondary:hover i {
  color: #FF6A00;
}

/* Stats Row: Gap between items: 48px — always one horizontal row */
.speego-hero-stats-row {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: nowrap;
}

/* Individual Stat Item with Staggered Fade In */
.speego-hero-stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.speego-hero-stats-row .speego-hero-stat-item:nth-child(1) {
  animation: speegoHeroItemIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.speego-hero-stats-row .speego-hero-stat-item:nth-child(2) {
  animation: speegoHeroItemIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.72s both;
}

.speego-hero-stats-row .speego-hero-stat-item:nth-child(3) {
  animation: speegoHeroItemIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.84s both;
}

/* Icon: 28px */
.speego-hero-stat-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.speego-hero-stat-icon svg {
  width: 28px;
  height: 28px;
  stroke: #0F172A;
  stroke-width: 1.8;
  fill: none;
}

/* Number: Inter / Bold 28px, Color #0F172A */
.speego-hero-stat-num {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.1;
  color: #0F172A;
  margin: 0 0 2px 0;
}

/* Label: Inter / Regular 16px, Color #6B7280 */
.speego-hero-stat-lbl {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  color: #6B7280;
  margin: 0;
}

/* Right Column: Key Visual Motion Wrapper & Console */
.speego-hero-right {
  position: relative;
  flex: 0 1 520px;
  width: 100%;
  max-width: 520px;
  min-width: 0;
  z-index: 6;
  animation: speegoHeroConsoleIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

/* Floating Console Motion Wrapper */
.speego-hero-console-wrap {
  position: relative;
  width: 100%;
  animation: speegoKeyVisualFloat 7s ease-in-out infinite 1.2s;
  will-change: transform;
}

/* Ambient Brand Glow Pulse Backdrop */
.speego-hero-console-glow {
  position: absolute;
  inset: -16px -16px -20px -16px;
  background: radial-gradient(circle at 65% 30%, rgba(242, 100, 25, 0.22) 0%, rgba(0, 102, 204, 0.18) 45%, rgba(4, 36, 61, 0) 72%);
  border-radius: 28px;
  filter: blur(24px);
  z-index: 0;
  pointer-events: none;
  animation: speegoConsoleGlowPulse 6s ease-in-out infinite alternate;
}

/* Guideline Chevron Arrow Badges */
.speego-hero-chevron-badge {
  position: absolute;
  z-index: 12;
  pointer-events: none;
  user-select: none;
  display: flex;
  align-items: center;
}

.speego-hero-chevron-badge--top {
  top: -20px;
  right: -20px;
  animation: speegoArrowFloatTop 5.5s ease-in-out infinite 0.5s;
  filter: drop-shadow(0 8px 18px rgba(0, 102, 204, 0.28));
}

.speego-hero-chevron-badge--bottom {
  bottom: -18px;
  left: -22px;
  animation: speegoArrowFloatBottom 6.2s ease-in-out infinite 1s;
  filter: drop-shadow(0 10px 22px rgba(4, 36, 61, 0.2));
}

.speego-hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 12px;
  background: linear-gradient(135deg, rgba(4, 36, 61, 0.95) 0%, rgba(13, 59, 102, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(4, 36, 61, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.speego-hero-pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.speego-hero-pill-text {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #FFFFFF;
  text-transform: uppercase;
}

/* Watermark Background Chevron Motif */
.speego-hero-arrow-decor--bg {
  position: absolute;
  right: 6%;
  top: 18%;
  width: 380px;
  height: 380px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 2;
  animation: speegoArrowWatermarkDrift 16s ease-in-out infinite alternate;
}

/* Keyframe Motion Graphic Animations */
@keyframes speegoHeroItemIn {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes speegoHeroConsoleIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes speegoKeyVisualFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(0.35deg);
  }
}

@keyframes speegoConsoleGlowPulse {
  0% {
    opacity: 0.5;
    transform: scale(0.96);
  }
  100% {
    opacity: 0.85;
    transform: scale(1.04);
  }
}

@keyframes speegoArrowFloatTop {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(8px, -5px);
  }
}

@keyframes speegoArrowFloatBottom {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-6px, 5px);
  }
}

@keyframes speegoArrowWatermarkDrift {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(16px, 12px) rotate(3deg);
  }
}

/* Responsive and Accessibility rules for Hero */
@media (max-width: 991px) {
  .speego-hero-chevron-badge--top {
    top: -12px;
    right: -10px;
    transform: scale(0.85);
  }
  .speego-hero-chevron-badge--bottom {
    bottom: -14px;
    left: -10px;
    transform: scale(0.85);
  }
  .speego-hero-arrow-decor--bg {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .speego-hero-left-content .speego-hero-subheading,
  .speego-hero-left-content .speego-hero-heading,
  .speego-hero-left-content .speego-hero-paragraph,
  .speego-hero-left-content .speego-hero-buttons-group,
  .speego-hero-stats-row .speego-hero-stat-item,
  .speego-hero-right,
  .speego-hero-console-wrap,
  .speego-hero-console-glow,
  .speego-hero-chevron-badge--top,
  .speego-hero-chevron-badge--bottom,
  .speego-hero-arrow-decor--bg,
  .speego-chevron-arrow {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* /* Persistent Fixed Scroll Indicator with Guideline Triple Chevrons (Available throughout scroll) */
.speego-hero-scroll-indicator {
  position: fixed;
  right: 32px;
  bottom: 28px;
  z-index: 990;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(4, 36, 61, 0.12);
  text-decoration: none !important;
  color: #04243D;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.speego-hero-scroll-indicator:hover {
  transform: translateY(3px);
  color: #FF6A00;
}

.speego-mouse-icon {
  width: 24px;
  height: 38px;
  border: 2px solid #0F172A;
  border-radius: 14px;
  position: relative;
  display: flex;
  justify-content: center;
}

.speego-mouse-wheel {
  width: 3px;
  height: 8px;
  background: #0F172A;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  animation: speegoScrollWheel 1.8s infinite ease-in-out;
}

@keyframes speegoScrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.3; }
  100% { transform: translateY(0); opacity: 1; }
}

.speego-scroll-text {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.5px;
  color: #6B7280;
  text-transform: uppercase;
}

/* ==========================================================================
   TRUSTED BY / PARTNER LOGO BAR (Full-Width & Big Scale)
   ========================================================================== */
.speego-trust-bar-section {
  width: 100%;
  background: #FFFFFF;
  border-top: 1px solid #EEF2F7;
  border-bottom: 1px solid #EEF2F7;
  padding: 42px 0;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.speego-trust-bar-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 16px 0 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: nowrap;
  box-sizing: border-box;
}

.speego-trust-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  width: 270px;
  max-width: 270px;
  padding-right: 28px;
  border-right: 2px solid #E2E8F0;
}

.speego-trust-label {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.12em;
  color: #1E293B;
  text-transform: uppercase;
  line-height: 1.4;
  white-space: normal;
  margin: 0;
}

.speego-trust-more-link {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: #64748B !important;
  text-decoration: none !important;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.speego-trust-more-link:hover {
  color: #FF6A00 !important;
  transform: none;
}

/* Framed logo strip - Full width span across the screen */
.speego-trust-logos-frame {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 18px 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 2px 6px rgba(0, 0, 0, 0.03);
}

.speego-trust-marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 2%, #000 98%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 2%, #000 98%, transparent 100%);
}

.speego-trust-marquee-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: speegoTrustMarquee 42s linear infinite;
  will-change: transform;
  padding: 0 20px;
}

.speego-trust-marquee:hover .speego-trust-marquee-track {
  animation-play-state: paused;
}

@keyframes speegoTrustMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.speego-trust-logo-item {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 0 10px;
}

.speego-trust-logo-img {
  height: 56px;
  max-height: 60px;
  max-width: 210px;
  width: auto;
  object-fit: contain;
  opacity: 0.94;
  transition: opacity 0.25s ease, transform 0.25s ease;
  display: block;
  filter: none;
}

.speego-trust-logo-img:hover {
  opacity: 1;
  transform: scale(1.08);
}

/* Interactive Console Section Container Ã¢Â€Â” removed from page; keep inert for safety */
.speego-quick-tools-section {
  display: none;
}

/* Responsive Rules for Hero & Trust Bar */
@media (max-width: 1280px) {
  .speego-hero-left-content {
    margin-left: 40px;
  }
  .speego-hero-heading {
    font-size: 56px;
  }
  .speego-hero-right {
    max-width: 460px;
  }
}

@media (max-width: 1024px) {
  .speego-hero-section {
    min-height: 100vh;
    min-height: 100svh;
    align-items: flex-start;
    overflow: auto;
  }
  .speego-hero-container {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 32px 24px 48px 24px;
  }
  .speego-hero-left-content {
    margin-left: 0;
    max-width: 100%;
  }
  .speego-hero-heading {
    font-size: 44px;
  }
  .speego-hero-right {
    flex: 1 1 auto;
    max-width: 100%;
  }
  .speego-hero-gradient-overlay {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.85) 60%, rgba(255, 255, 255, 0.6) 100%);
  }
  .speego-hero-stats-row {
    gap: 32px;
    flex-wrap: nowrap;
  }
  .speego-hero-scroll-indicator {
    display: none;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 70px;
  }
  .site-header .header-wrap-inner {
    height: 70px !important;
    padding: 0 16px !important;
  }
  .speego-hero-section {
    padding-top: 70px;
    min-height: 100svh;
  }
  .speego-hero-container {
    padding: 24px 16px 36px 16px;
  }
  .speego-hero-left-content {
    margin-left: 0;
    max-width: 100%;
  }
  .speego-hero-heading {
    font-size: 34px;
    line-height: 1.15;
  }
  .speego-hero-paragraph {
    font-size: 15px;
  }
  .speego-hero-buttons-group {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 28px;
  }
  .speego-hero-btn-primary,
  .speego-hero-btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .speego-hero-consult-grid {
    grid-template-columns: 1fr;
  }
  .speego-intro-media img {
    max-height: 160px;
  }
  .speego-intro-lead {
    font-size: 14px;
  }
  .speego-console-tab {
    font-size: 12px;
    padding: 12px 6px;
    gap: 4px;
  }
  .speego-console-body {
    max-height: none;
  }
  .speego-hero-stats-row {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 16px;
  }
  .speego-hero-stat-item {
    gap: 10px;
    flex: 1 1 0;
    min-width: 0;
  }
  .speego-hero-stat-icon {
    width: 24px;
    height: 24px;
  }
  .speego-hero-stat-icon svg {
    width: 22px;
    height: 22px;
  }
  .speego-hero-stat-num {
    font-size: 22px;
  }
  .speego-hero-stat-lbl {
    font-size: 12px;
  }
  .speego-trust-bar-section {
    padding: 24px 0;
  }
  .speego-trust-bar-container {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 0 16px;
  }
  .speego-trust-text {
    width: 100%;
    max-width: 100%;
    text-align: center;
    align-items: center;
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid #E8EEF4;
    padding-bottom: 12px;
  }
  .speego-trust-label {
    font-size: 11px;
  }
  .speego-trust-logos-frame {
    padding: 12px 8px;
    border-radius: 12px;
  }
  .speego-trust-logo-item {
    height: 42px;
    padding: 0 6px;
  }
  .speego-trust-marquee-track {
    gap: 32px;
    animation-duration: 28s;
  }
  .speego-trust-logo-img {
    height: 32px;
    max-height: 36px;
    max-width: 125px;
  }
}

/* ==========================================
   NEWS â€” View All CTA
   ========================================== */
.speego-news-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.speego-news-view-all {
  min-width: 168px;
  padding: 13px 28px;
  font-family: 'Inter', sans-serif;
}

/* ==========================================
   FOOTER â offices full detail
   ========================================== */
.speego-site-footer {
  background: #041a2d;
  color: #ffffff;
  padding: 72px 24px 28px;
}

.speego-footer-top {
  max-width: 1280px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.speego-footer-brand .speego-brand-logo {
  display: inline-block;
  margin-bottom: 18px;
}

.speego-footer-brand .speego-logo-img {
  height: 38px;
  width: auto;
}

.speego-footer-tagline {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.7;
  max-width: 360px;
  margin: 0;
}

.speego-footer-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.speego-footer-flag {
  --flag-i: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translate3d(0, 16px, 0) scale(0.85);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease;
  transition-delay: calc(var(--flag-i) * 120ms);
}

.speego-footer-flag:nth-child(1) { --flag-i: 0; }
.speego-footer-flag:nth-child(2) { --flag-i: 1; }
.speego-footer-flag:nth-child(3) { --flag-i: 2; }
.speego-footer-flag:nth-child(4) { --flag-i: 3; }
.speego-footer-flag:nth-child(5) { --flag-i: 4; }

.speego-footer-flags.is-in .speego-footer-flag {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.speego-footer-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.speego-footer-flag:hover {
  border-color: rgba(255, 106, 0, 0.9);
  transform: translate3d(0, -3px, 0) scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .speego-footer-flag {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.speego-footer-heading {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 18px;
  font-family: 'Inter', sans-serif;
}

.speego-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 2.15;
  color: #94a3b8;
}

.speego-footer-links a {
  color: inherit;
  text-decoration: none;
}

.speego-footer-links a:hover {
  color: #FF6A00;
}

.speego-footer-offices {
  max-width: 1280px;
  margin: 0 auto 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.speego-footer-office-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px 22px;
}

.speego-footer-office {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.65;
}

.speego-footer-office h5 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
}

.speego-footer-office p {
  margin: 0 0 6px;
}

.speego-footer-office strong {
  color: #e2e8f0;
  font-weight: 700;
}

.speego-footer-office a {
  color: #FF6A00;
  text-decoration: none;
}

.speego-footer-office a:hover {
  text-decoration: underline;
}

.speego-footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

.speego-footer-bottom p {
  margin: 0;
}

@media screen and (max-width: 1100px) {
  .speego-footer-office-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .speego-footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .speego-footer-office-grid {
    grid-template-columns: 1fr;
  }
  .speego-partners-section {
    padding: 56px 20px 48px !important;
  }
}

/* ==========================================
   SECTION TITLES â letter reveal (QI-style)
   ========================================== */
.speego-section-title,
.speego-services-title,
.speego-why-title,
.speego-about-heading,
.speego-about-title,
.speego-trust-section__title,
.speego-partners-title,
.speego-testimonial-title,
.speego-news-title,
.speego-consult-title,
.speego-consult-card-title,
.speego-hero-heading,
.process-tabs-title {
  overflow: visible;
  letter-spacing: -0.025em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.speego-title-char {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0.42em, 0.1em, 0);
  will-change: transform, opacity;
}

.speego-title-char.is-space {
  width: 0.3em;
}

.speego-title-word {
  display: inline-block;
  white-space: nowrap;
}

@keyframes speegoTitleCharIn {
  0% {
    opacity: 0;
    transform: translate3d(0.42em, 0.1em, 0) scale(0.96);
  }
  70% {
    opacity: 0.95;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.is-title-in .speego-title-char {
  animation: speegoTitleCharIn 0.48s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i, 0) * 22ms);
}

@media (prefers-reduced-motion: reduce) {
  .speego-title-char {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ============================================================================
   HOMEPAGE HEADER REFINEMENT
   Keep the existing header, language logic and scroll behavior; only refine
   its layout, hierarchy and responsive presentation.
   ============================================================================ */
body.home .site-header {
  height: 72px !important;
  max-height: none !important;
}

body.home .site-header .header-wrap,
body.home .site-header .header-wrap-inner {
  box-sizing: border-box;
}

body.home .site-header .header-wrap::before {
  pointer-events: none;
}

body.home .site-header .header-wrap {
  height: 100%;
}

body.home .site-header .header-wrap-inner {
  width: 100% !important;
  max-width: 1440px !important;
  height: 72px !important;
  margin: 0 auto !important;
  padding: 0 32px !important;
  gap: 32px !important;
  flex-wrap: nowrap !important;
  justify-content: initial !important;
}

body.home .site-header .site-branding {
  position: static !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  padding: 0 !important;
  transform: none !important;
  display: flex !important;
  align-items: center !important;
}

body.home .site-header .site-branding .speego-brand-logo {
  display: inline-flex !important;
  align-items: center !important;
}

body.home .site-header .site-branding img,
body.home .site-header .speego-logo-img {
  width: 156px !important;
  height: auto !important;
  max-width: 156px !important;
  max-height: 36px !important;
}

body.home .site-header .site-navigation {
  position: static !important;
  width: auto !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
}

body.home .site-header .menu-wrap {
  position: static !important;
  width: 100% !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  background: transparent !important;
}

body.home .site-header .nav-menu {
  min-width: 0 !important;
  flex: 0 1 auto !important;
  text-align: left !important;
}

body.home .site-header .nav-menu ul#menu-main-menu {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: clamp(16px, 1.35vw, 22px) !important;
  margin: 0 !important;
  padding: 0 !important;
  letter-spacing: 0 !important;
}

body.home .site-header .nav-menu ul#menu-main-menu > li {
  display: block !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.home .site-header .nav-menu ul#menu-main-menu > li.menu-item--secondary {
  display: none !important;
}

body.home .site-header .nav-menu a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 40px !important;
  padding: 8px 0 !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

body.home .speego-header-actions {
  display: flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  gap: 12px !important;
  margin-left: 12px !important;
  padding-left: 20px !important;
  border-left: 1px solid #e2e8f0 !important;
}

body.home .speego-lang-selector {
  flex: 0 0 auto !important;
}

body.home .site-header .speego-lang-btn {
  width: auto !important;
  min-width: 64px !important;
  height: 40px !important;
  padding: 0 10px !important;
  border-radius: 9px !important;
  gap: 5px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

body.home .site-header .speego-lang-chevron {
  margin-left: 0 !important;
  font-size: 10px !important;
}

body.home .speego-lang-dropdown {
  top: calc(100% + 10px) !important;
  min-width: 148px !important;
}

body.home .speego-lang-option {
  min-height: 44px !important;
  box-sizing: border-box;
  padding: 10px 14px !important;
}

body.home .site-header .speego-header-btn-quote {
  min-width: 136px !important;
  height: 44px !important;
  padding: 0 17px !important;
  border-radius: 10px !important;
  gap: 8px !important;
  font-size: 15px !important;
  line-height: 1 !important;
}

body.home .site-header .speego-header-btn-arrow {
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  flex: 0 0 auto;
  transition: transform 0.2s ease !important;
}

body.home .site-header .speego-header-btn-quote:hover .speego-header-btn-arrow,
body.home .site-header .speego-header-btn-quote:focus-visible .speego-header-btn-arrow {
  transform: translateX(3px);
}

body.home .site-header .menu-toggle {
  display: none;
}

@media (min-width: 992px) and (max-width: 1199px) {
  body.home .site-header .header-wrap-inner {
    padding: 0 24px !important;
    gap: 20px !important;
  }

  body.home .site-header .site-branding img,
  body.home .site-header .speego-logo-img {
    width: 144px !important;
    max-width: 144px !important;
  }

  body.home .site-header .nav-menu ul#menu-main-menu {
    gap: 14px !important;
  }

  body.home .site-header .nav-menu ul#menu-main-menu > li.menu-item--tablet-hidden {
    display: none !important;
  }

  body.home .site-header .nav-menu a {
    font-size: 13px !important;
  }

  body.home .speego-header-actions {
    gap: 8px !important;
    margin-left: 8px !important;
    padding-left: 14px !important;
  }

  body.home .site-header .speego-lang-btn {
    min-width: 60px !important;
    padding: 0 8px !important;
  }

  body.home .site-header .speego-header-btn-quote {
    min-width: 126px !important;
    padding: 0 13px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 991px) {
  body.home .site-header {
    height: 68px !important;
  }

  body.home .site-header .header-wrap-inner {
    height: 68px !important;
    padding: 0 24px !important;
    gap: 16px !important;
  }

  body.home .site-header .site-branding img,
  body.home .site-header .speego-logo-img {
    width: 136px !important;
    max-width: 136px !important;
    max-height: 32px !important;
  }

  body.home .site-header .site-navigation {
    position: static !important;
    flex: 0 0 40px !important;
    width: 40px !important;
    order: 3;
  }

  body.home .site-header .menu-toggle {
    position: relative;
    z-index: 4;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #dbe4eb;
    border-radius: 9px;
    background: #fff;
    color: var(--speego-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  body.home .site-header .menu-toggle .lines,
  body.home .site-header .menu-toggle .lines::before,
  body.home .site-header .menu-toggle .lines::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
    content: '';
  }

  body.home .site-header .menu-toggle .lines {
    position: relative;
  }

  body.home .site-header .menu-toggle .lines::before,
  body.home .site-header .menu-toggle .lines::after {
    position: absolute;
    left: 0;
  }

  body.home .site-header .menu-toggle .lines::before {
    top: -6px;
  }

  body.home .site-header .menu-toggle .lines::after {
    top: 6px;
  }

  body.home .site-header.is-active .menu-toggle .lines {
    background: transparent;
  }

  body.home .site-header.is-active .menu-toggle .lines::before {
    transform: translateY(6px) rotate(45deg);
  }

  body.home .site-header.is-active .menu-toggle .lines::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  body.home .site-header .menu-wrap {
    position: absolute !important;
    z-index: 3;
    top: 100%;
    left: 0;
    right: 0;
    width: 100% !important;
    box-sizing: border-box;
    justify-content: flex-start !important;
    padding: 8px 24px 20px;
    background: #fff !important;
    border-top: 1px solid #eef2f5;
    box-shadow: 0 16px 30px rgba(4, 36, 61, 0.12);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  body.home .site-header.is-active .menu-wrap {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.home .site-header .nav-menu {
    display: none !important;
    padding: 0 !important;
    text-align: left !important;
  }

  body.home .site-header.is-active .nav-menu {
    display: block !important;
  }

  body.home .site-header .nav-menu ul#menu-main-menu {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0 !important;
  }

  body.home .site-header .nav-menu ul#menu-main-menu > li {
    display: block !important;
    border-bottom: 1px solid #edf1f4 !important;
  }

  body.home .site-header .nav-menu ul#menu-main-menu > li.menu-item--secondary {
    display: none !important;
  }

  body.home .site-header .nav-menu a {
    display: flex !important;
    min-height: 44px !important;
    padding: 12px 0 !important;
    font-size: 15px !important;
  }

  body.home .speego-header-actions {
    order: 2;
    margin-left: auto !important;
    padding-left: 0 !important;
    border-left: 0 !important;
    gap: 8px !important;
  }

  body.home .site-header .speego-header-btn-quote {
    min-width: 110px !important;
    height: 40px !important;
    padding: 0 12px !important;
    border-radius: 9px !important;
    font-size: 13px !important;
    gap: 6px !important;
  }

  body.home .site-header .speego-lang-btn {
    height: 40px !important;
    min-width: 60px !important;
  }
}

/* Services only — compact blue route cards, based on the approved reference. */
#services-speego .speego-services-grid {
  gap: 12px;
}

/* ==========================================================================
   SPEEGO 4 CORE SERVICES — EXACT MATCH TO USER SAMPLE (CLEAR REAL PHOTOS)
   ========================================================================== */
#services-speego {
  position: relative;
  background: #FFFFFF;
  padding: 60px 24px 72px;
}

#services-speego .speego-services-inner {
  max-width: 1320px;
  margin: 0 auto;
}

#services-speego .speego-services-header {
  text-align: center;
  margin-bottom: 38px;
}

#services-speego .speego-services-tag {
  display: none !important;
}

#services-speego .speego-services-title {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(26px, 3.2vw, 36px) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  color: #0F2744 !important;
  margin: 0 0 10px 0 !important;
}

#services-speego .speego-services-subtitle {
  font-family: 'Inter', sans-serif !important;
  font-size: 14.5px !important;
  line-height: 1.5 !important;
  color: #64748B !important;
  max-width: 900px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

#services-speego .speego-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

#services-speego .speego-service-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 18px rgba(10, 45, 110, 0.06) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease !important;
}

#services-speego .speego-service-card:hover {
  transform: translateY(-5px) !important;
  border-color: #8EBAF8 !important;
  box-shadow: 0 16px 32px rgba(10, 45, 110, 0.12) !important;
}

/* Clear Real Photos without Blue Background Overlay */
#services-speego .speego-service-thumb {
  position: relative !important;
  width: 100% !important;
  height: 160px !important;
  min-height: 160px !important;
  max-height: 160px !important;
  overflow: hidden !important;
  background: #0F172A !important;
  margin: 0 !important;
}

#services-speego .speego-service-thumb img {
  width: 100% !important;
  height: 100% !important;
  min-height: 160px !important;
  max-height: 160px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  opacity: 1 !important;
  filter: none !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#services-speego .speego-service-card:hover .speego-service-thumb img {
  transform: scale(1.08) !important;
}

#services-speego .speego-service-overlay {
  display: none !important;
}

#services-speego .speego-service-chevrons { display: none !important; }

/* Squircle Icon Floating on boundary */
#services-speego .speego-service-icon-box {
  position: absolute;
  top: -21px;
  left: 18px;
  width: 42px;
  height: 42px;
  background: #FFFFFF;
  border: 1.5px solid #0052CC;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 82, 204, 0.2);
  z-index: 4;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

#services-speego .speego-service-icon-box svg {
  width: 20px;
  height: 20px;
  color: #0052CC;
  stroke: #0052CC;
  transition: stroke 0.25s ease;
}

#services-speego .speego-service-card:hover .speego-service-icon-box {
  transform: translateY(-2px);
  background: #0052CC;
  border-color: #0052CC;
}

#services-speego .speego-service-card:hover .speego-service-icon-box svg {
  stroke: #FFFFFF;
  color: #FFFFFF;
}

/* Card Body */
#services-speego .speego-service-body {
  position: relative !important;
  padding: 30px 20px 22px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  background: #FFFFFF !important;
}

#services-speego .speego-service-body::before {
  display: none !important;
}

#services-speego .speego-service-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 17.5px !important;
  font-weight: 750 !important;
  color: #0A1D37 !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.35 !important;
}

#services-speego .speego-service-text {
  font-family: 'Inter', sans-serif !important;
  font-size: 13.5px !important;
  line-height: 1.62 !important;
  color: #475569 !important;
  margin: 0 0 20px 0 !important;
  flex: 1 !important;
}

#services-speego .speego-service-link {
  font-family: 'Inter', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #0052CC !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: auto !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

#services-speego .speego-service-link:hover {
  color: #FF6A00 !important;
  transform: translateX(3px) !important;
}

#services-speego .speego-service-link .speego-service-link-arrow {
  display: inline-block;
  stroke: currentColor;
  transition: transform 0.2s ease;
}

#services-speego .speego-service-link:hover .speego-service-link-arrow {
  transform: translateX(3px);
}

@media (max-width: 1024px) {
  #services-speego .speego-services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 640px) {
  #services-speego .speego-services-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}

@media (max-width: 767px) {
  #services-speego .speego-service-thumb {
    height: 132px !important;
    min-height: 132px !important;
    max-height: 132px !important;
  }
}

@media (max-width: 767px) {
  body.home .site-header .header-wrap-inner {
    padding: 0 16px !important;
    gap: 8px !important;
  }

  body.home .site-header .site-branding img,
  body.home .site-header .speego-logo-img {
    width: 104px !important;
    max-width: 104px !important;
    max-height: 26px !important;
  }

  body.home .speego-header-actions {
    gap: 6px !important;
  }

  body.home .site-header .speego-lang-btn {
    min-width: 52px !important;
    padding: 0 7px !important;
    gap: 4px !important;
    font-size: 12px !important;
  }

  body.home .site-header .speego-header-btn-quote {
    min-width: 110px !important;
    padding: 0 8px !important;
    font-size: 11.5px !important;
    gap: 4px !important;
  }

  body.home .site-header .speego-header-btn-arrow {
    width: 13px !important;
    height: 13px !important;
  }

  body.home .site-header .menu-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 359px) {
  body.home .site-header .header-wrap-inner {
    padding: 0 12px !important;
    gap: 4px !important;
  }

  body.home .site-header .site-branding img,
  body.home .site-header .speego-logo-img {
    width: 88px !important;
    max-width: 88px !important;
  }

  body.home .site-header .speego-lang-btn {
    min-width: 40px !important;
    padding: 0 5px !important;
  }

  body.home .site-header .speego-lang-btn .fa-globe {
    display: none;
  }

  body.home .site-header .speego-header-btn-quote {
    min-width: 100px !important;
    padding: 0 6px !important;
    font-size: 10.5px !important;
  }
}

/* Final header scale and fixed-on-scroll behavior requested for the homepage. */
body.home .site-header {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  box-shadow: 0 3px 18px rgba(4, 36, 61, 0.08);
}

@media (min-width: 1200px) {
  body.home .site-header .site-branding img,
  body.home .site-header .speego-logo-img {
    width: 184px !important;
    max-width: 184px !important;
    max-height: 40px !important;
  }

  body.home .site-header .nav-menu ul#menu-main-menu {
    gap: clamp(16px, 1.2vw, 24px) !important;
  }

  body.home .site-header .nav-menu a {
    font-size: 15px !important;
  }

  body.home .site-header .speego-header-btn-quote {
    min-width: 166px !important;
    height: 46px !important;
    padding-right: 19px !important;
    padding-left: 19px !important;
    font-size: 15px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .site-header,
  body.home .site-header *,
  body.home .site-header *::before,
  body.home .site-header *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ============================================================================
   HOMEPAGE HERO VIDEO - FULL-BLEED / CRISPER PRESENTATION
   The source asset remains 1920x1080; these rules preserve its sharpest
   browser rendering and remove the unwanted page gutter/washed-out treatment.
   ============================================================================ */
body.home .speego-hero-section {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: 0 !important;
}

body.home .speego-hero-bg-media {
  width: 100% !important;
  max-width: none !important;
  inset: 0 !important;
}

body.home .speego-hero-bg-video {
  left: 0 !important;
  transform: translate3d(0, -50%, 0) !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  filter: contrast(112%) saturate(114%) brightness(96%) !important;
  image-rendering: auto;
}

body.home .speego-hero-gradient-overlay {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(255, 255, 255, 0.4) 38%,
    rgba(255, 255, 255, 0.08) 68%,
    rgba(255, 255, 255, 0) 100%
  ) !important;
}

body.home .speego-hero-video-bottom-mask {
  height: 16% !important;
  min-height: 80px !important;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(4, 36, 61, 0.08) 45%,
    rgba(4, 36, 61, 0.4) 82%,
    rgba(4, 36, 61, 0.62) 100%
  ) !important;
}

@media (prefers-reduced-motion: reduce) {
  body.home .site-header,
  body.home .site-header *,
  body.home .site-header *::before,
  body.home .site-header *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ============================================================================
   HOMEPAGE HEADER - TWO-TIER CLIENT LAYOUT & STICKY SCROLL BEHAVIOR
   When scrolling down, topbar hides smoothly and only main navbar remains sticky.
   ============================================================================ */
body.home .site-header {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  display: block !important;
  background: #fff !important;
  z-index: 1000 !important;
  box-shadow: 0 3px 18px rgba(4, 36, 61, 0.08);
  transition: box-shadow 0.25s ease;
}

body.home .site-header.clone {
  display: none !important;
}

body.home .site-header .speego-header-topbar {
  width: 100%;
  height: 32px;
  color: #fff;
  background: var(--speego-primary);
  transition: margin-top 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, visibility 0.2s ease;
  overflow: hidden;
}

body.home.is-header-scrolled .site-header .speego-header-topbar,
body.home .site-header.is-scrolled .speego-header-topbar {
  margin-top: -32px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.home.is-header-scrolled .site-header,
body.home .site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.1) !important;
}

body.home .site-header .speego-header-topbar-inner {
  width: 100%;
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

body.home .site-header .speego-header-contact,
body.home .site-header .speego-lang-selector {
  display: flex !important;
  align-items: center !important;
}

body.home .site-header .speego-header-contact {
  min-width: 0;
  gap: 20px;
}

body.home .site-header .speego-header-contact-item {
  min-width: 0;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  white-space: nowrap;
  text-decoration: none !important;
  transition: color 0.2s ease, opacity 0.2s ease;
}

body.home .site-header .speego-header-contact-item + .speego-header-contact-item {
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

body.home .site-header .speego-header-contact-item i,
body.home .site-header .speego-header-contact-item .speego-header-contact-icon {
  flex: 0 0 auto;
  color: #f26419;
  width: 13px;
  height: 13px;
  font-size: 12px;
  transition: color 0.2s ease, transform 0.2s ease;
}

body.home .site-header .speego-header-contact-label {
  display: none !important;
}

body.home .site-header .speego-header-contact-item:hover,
body.home .site-header .speego-header-contact-item:focus-visible {
  color: #fff !important;
}

body.home .site-header .speego-header-contact-item:hover i,
body.home .site-header .speego-header-contact-item:hover .speego-header-contact-icon {
  color: #fff;
  transform: scale(1.1);
}

body.home .site-header .speego-lang-selector {
  flex: 0 0 auto;
  gap: 8px;
}

body.home .site-header .speego-lang-label {
  color: rgba(255, 255, 255, 0.64);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.home .site-header .speego-lang-dropdown {
  position: static !important;
  top: auto !important;
  right: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  gap: 3px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

body.home .site-header .speego-lang-option {
  min-width: 30px;
  min-height: 24px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font: inherit;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

body.home .site-header .speego-lang-option:hover,
body.home .site-header .speego-lang-option:focus-visible {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
}

body.home .site-header .speego-lang-option.active {
  background: #fff !important;
  color: var(--speego-primary) !important;
}

body.home .site-header .header-wrap {
  height: 76px !important;
  background: #fff !important;
  border-bottom: 1px solid #e8eef2;
}

body.home .site-header .header-wrap-inner {
  width: 100% !important;
  max-width: 1440px !important;
  height: 76px !important;
  margin: 0 auto !important;
  padding: 0 32px !important;
  box-sizing: border-box;
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
  flex-wrap: nowrap !important;
  justify-content: initial !important;
  position: relative;
}

body.home .site-header .site-branding {
  position: static !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  padding: 0 !important;
  transform: none !important;
  display: flex !important;
  align-items: center !important;
}

body.home .site-header .site-branding .speego-brand-logo {
  display: inline-flex !important;
  align-items: center !important;
}

body.home .site-header .site-branding img,
body.home .site-header .speego-logo-img {
  width: 184px !important;
  height: auto !important;
  max-width: 184px !important;
  max-height: 43px !important;
}

body.home .site-header .site-navigation {
  position: static !important;
  width: auto !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.home .site-header .menu-wrap {
  position: static !important;
  width: 100% !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
}

body.home .site-header .nav-menu {
  min-width: 0;
  flex: 0 1 auto !important;
  text-align: left !important;
}

body.home .site-header .nav-menu ul#menu-main-menu {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: clamp(16px, 1.25vw, 24px) !important;
  margin: 0 !important;
  padding: 0 !important;
  letter-spacing: 0 !important;
}

body.home .site-header .nav-menu ul#menu-main-menu > li {
  display: block !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.home .site-header .nav-menu ul#menu-main-menu > li.menu-item--secondary {
  display: none !important;
}

body.home .site-header .nav-menu a {
  min-height: 46px !important;
  padding: 10px 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  color: var(--speego-primary) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

body.home .site-header .nav-menu a:hover,
body.home .site-header .nav-menu a:focus-visible,
body.home .site-header .nav-menu li.current-menu-item > a {
  color: #f26419 !important;
}

body.home .site-header .speego-header-btn-quote {
  flex: 0 0 auto !important;
  min-width: 156px !important;
  height: 48px !important;
  margin-left: auto !important;
  padding: 0 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--speego-primary) !important;
  color: #fff !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap;
  text-decoration: none !important;
  box-shadow: 0 6px 14px rgba(4, 36, 61, 0.14);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

body.home .site-header .speego-header-btn-quote:hover,
body.home .site-header .speego-header-btn-quote:focus-visible {
  background: var(--speego-primary-light) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(4, 36, 61, 0.2);
}

body.home .site-header .speego-header-btn-arrow {
  width: 14px !important;
  height: 14px !important;
  flex: 0 0 auto;
  display: block !important;
  transition: transform 0.2s ease;
}

body.home .site-header .speego-header-btn-quote:hover .speego-header-btn-arrow,
body.home .site-header .speego-header-btn-quote:focus-visible .speego-header-btn-arrow {
  transform: translateX(4px);
}

body.home .site-header .menu-toggle {
  display: none;
}

@media (min-width: 992px) and (max-width: 1199px) {
  body.home .site-header .speego-header-topbar-inner,
  body.home .site-header .header-wrap-inner {
    padding-right: 24px !important;
    padding-left: 24px !important;
  }

  body.home .site-header .header-wrap-inner {
    gap: 20px !important;
  }

  body.home .site-header .site-branding img,
  body.home .site-header .speego-logo-img {
    width: 144px !important;
    max-width: 144px !important;
  }

  body.home .site-header .nav-menu ul#menu-main-menu {
    gap: 14px !important;
  }

  body.home .site-header .nav-menu ul#menu-main-menu > li.menu-item--tablet-hidden {
    display: none !important;
  }

  body.home .site-header .nav-menu a {
    font-size: 13px !important;
  }

  body.home .site-header .speego-header-btn-quote {
    min-width: 136px !important;
    padding-right: 13px !important;
    padding-left: 13px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 991px) {
  body.home .site-header {
    height: auto !important;
  }

  body.home .site-header .speego-header-topbar {
    height: 24px;
  }

  body.home.is-header-scrolled .site-header .speego-header-topbar,
  body.home .site-header.is-scrolled .speego-header-topbar {
    margin-top: -24px !important;
  }

  body.home .site-header .speego-header-topbar-inner {
    padding-right: 24px;
    padding-left: 24px;
    gap: 12px;
  }

  body.home .site-header .speego-header-contact {
    gap: 0;
  }

  body.home .site-header .speego-header-contact-item {
    font-size: 10px !important;
  }

  body.home .site-header .speego-header-contact-item + .speego-header-contact-item {
    display: none !important;
  }

  body.home .site-header .speego-header-contact-label,
  body.home .site-header .speego-lang-label {
    font-size: 9px;
  }

  body.home .site-header .header-wrap {
    height: 56px !important;
  }

  body.home .site-header .header-wrap-inner {
    height: 56px !important;
    padding-right: 24px !important;
    padding-left: 24px !important;
    gap: 8px !important;
  }

  body.home .site-header .site-branding img,
  body.home .site-header .speego-logo-img {
    width: 136px !important;
    max-width: 136px !important;
    max-height: 30px !important;
  }

  body.home .site-header .site-navigation {
    width: 40px !important;
    flex: 0 0 40px !important;
    order: 2;
  }

  body.home .site-header .menu-toggle {
    position: relative;
    z-index: 4;
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe4eb;
    border-radius: 9px;
    background: #fff;
    color: var(--speego-primary);
    cursor: pointer;
  }

  body.home .site-header .menu-wrap {
    position: absolute !important;
    z-index: 3;
    top: 100%;
    left: 0;
    right: 0;
    width: 100% !important;
    box-sizing: border-box;
    justify-content: flex-start !important;
    padding: 8px 24px 20px;
    background: #fff !important;
    border-top: 1px solid #eef2f5;
    box-shadow: 0 16px 30px rgba(4, 36, 61, 0.12);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  body.home .site-header.is-active .menu-wrap {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.home .site-header .nav-menu {
    display: none !important;
    padding: 0 !important;
    text-align: left !important;
  }

  body.home .site-header.is-active .nav-menu {
    display: block !important;
  }

  body.home .site-header .nav-menu ul#menu-main-menu {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0 !important;
  }

  body.home .site-header .nav-menu ul#menu-main-menu > li {
    display: block !important;
    border-bottom: 1px solid #edf1f4 !important;
  }

  body.home .site-header .nav-menu a {
    min-height: 44px !important;
    padding: 12px 0 !important;
    display: flex !important;
    font-size: 15px !important;
  }

  body.home .site-header .speego-header-btn-quote {
    order: 3;
    min-width: 110px !important;
    height: 38px !important;
    padding-right: 10px !important;
    padding-left: 10px !important;
    font-size: 12px !important;
    gap: 6px !important;
  }

  body.home .site-header .speego-header-btn-arrow {
    width: 13px !important;
    height: 13px !important;
  }
}

@media (max-width: 767px) {
  body.home .site-header .speego-header-topbar-inner {
    padding-right: 16px;
    padding-left: 16px;
  }

  body.home .site-header .header-wrap-inner {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  body.home .site-header .site-branding img,
  body.home .site-header .speego-logo-img {
    width: 104px !important;
    max-width: 104px !important;
    max-height: 26px !important;
  }

  body.home .site-header .speego-lang-selector {
    gap: 4px;
  }

  body.home .site-header .speego-lang-option {
    min-width: 26px;
    min-height: 22px !important;
    padding-right: 6px !important;
    padding-left: 6px !important;
    font-size: 10px !important;
  }

  body.home .site-header .menu-wrap {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (max-width: 359px) {
  body.home .site-header .speego-header-topbar-inner {
    padding-right: 12px;
    padding-left: 12px;
  }

  body.home .site-header .header-wrap-inner {
    padding-right: 12px !important;
    padding-left: 12px !important;
    gap: 4px !important;
  }

  body.home .site-header .site-branding img,
  body.home .site-header .speego-logo-img {
    width: 88px !important;
    max-width: 88px !important;
  }

  body.home .site-header .speego-lang-label {
    display: none;
  }

  body.home .site-header .speego-header-btn-quote {
    min-width: 100px !important;
    padding-right: 7px !important;
    padding-left: 7px !important;
    font-size: 11px !important;
  }
}

/* Final scale overrides stay after all responsive header rules. */
@media (min-width: 1200px) {
  body.home .site-header .site-branding img,
  body.home .site-header .speego-logo-img {
    width: 184px !important;
    max-width: 184px !important;
    max-height: 40px !important;
  }

  body.home .site-header .nav-menu ul#menu-main-menu {
    gap: clamp(16px, 1.2vw, 24px) !important;
  }

  body.home .site-header .nav-menu a {
    font-size: 15px !important;
  }

  body.home .site-header .speego-header-btn-quote {
    min-width: 166px !important;
    height: 46px !important;
    padding-right: 19px !important;
    padding-left: 19px !important;
    font-size: 15px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .site-header,
  body.home .site-header *,
  body.home .site-header *::before,
  body.home .site-header *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Ensure the banner reaches both viewport edges, including the mobile gutter. */
body.home .speego-hero-section {
  margin-left: -8px !important;
}

body.home .speego-hero-bg-media {
  right: auto !important;
  width: 100vw !important;
}

body.home .speego-hero-bg-video {
  left: 0 !important;
  right: auto !important;
  width: calc(100% + 260px) !important;
  max-width: none !important;
  min-width: 0 !important;
  transform: translate3d(0, -50%, 0) !important;
}

@media (max-width: 767px) {
  body.home .speego-hero-bg-video {
    width: calc(100% + 120px) !important;
  }
}

/* Extend only the homepage hero past the theme's 8px page gutter. */
body.home .speego-hero-section {
  width: calc(100vw + 16px) !important;
  margin-left: -8px !important;
  margin-right: -8px !important;
}

body.home .speego-hero-bg-media {
  left: -8px !important;
  right: -8px !important;
  width: auto !important;
  max-width: none !important;
}

/* Keep the existing scroll control above section content and clickable. */
body.home .speego-hero-scroll-indicator {
  position: fixed !important;
  z-index: 1100 !important;
  pointer-events: auto !important;
  touch-action: manipulation;
}

body.home .speego-hero-scroll-indicator:focus-visible {
  outline: 3px solid rgba(242, 100, 25, 0.45);
  outline-offset: 3px;
}

/* Partner route directory: replaces the oversized marquee with a clear route split. */
body.home .speego-partners-section {
  padding: 80px 24px 72px !important;
  background: #f7faff !important;
  overflow: hidden;
}

/* The prior marquee header is retained in markup for compatibility but is not
   part of the route-directory presentation. */
body.home .speego-partners-section > .speego-partners-map,
body.home .speego-partners-section > .speego-section-header {
  display: none;
}

body.home .speego-partners-layout > .speego-partners-header,
body.home .speego-partners-layout > .speego-route-grid,
body.home .speego-partners-layout > .speego-route-logo-grid {
  display: none;
}

body.home .speego-partners-split {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(400px, .88fr);
  gap: 42px;
  align-items: stretch;
}

body.home .speego-partners-intro {
  min-height: 500px;
  padding: 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(2, 38, 72, .95), rgba(1, 80, 147, .83));
  box-shadow: 0 22px 48px rgba(4, 36, 61, .18);
}

body.home .speego-partners-kicker { color: #ff7a2a; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
body.home .speego-partners-intro h2 { margin: 18px 0; color: #fff; font-family: 'Inter', sans-serif; font-size: clamp(36px, 4vw, 62px); font-weight: 800; line-height: 1.06; letter-spacing: -.045em; }
body.home .speego-partners-intro p { max-width: 570px; margin: 0; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.65; }
body.home .speego-partners-intro__line { width: 56px; height: 3px; margin: 28px 0 16px; background: #ff6b1a; }
body.home .speego-partners-intro__note { color: rgba(255,255,255,.7); font-size: 13px; font-weight: 600; }

body.home .speego-partners-panels { display: grid; grid-template-rows: 1fr 1fr; gap: 22px; }
body.home .speego-partners-panel { min-width: 0; padding: 30px; border: 1px solid rgba(151, 189, 229, .72); border-radius: 20px; background: rgba(255,255,255,.9); box-shadow: 0 18px 36px rgba(4,36,61,.08); }
body.home .speego-partners-panel h3 { margin: 0 0 22px; color: var(--speego-primary); font-size: 20px; font-weight: 800; }

body.home .speego-partners-panel__logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
body.home .speego-partners-panel__logos img { width: 100%; height: 38px; padding: 5px; border: 1px solid #e5eef8; border-radius: 8px; object-fit: contain; background: #fff; }

body.home .speego-factory-grid { display: grid; gap: 14px; }
body.home .speego-factory-grid > div { padding: 14px 16px; border-left: 3px solid #f26419; border-radius: 0 10px 10px 0; background: #f6faff; }
body.home .speego-factory-grid strong, body.home .speego-factory-grid span { display: block; }
body.home .speego-factory-grid strong { margin-bottom: 4px; color: var(--speego-primary); font-size: 15px; }
body.home .speego-factory-grid span { color: #617591; font-size: 13px; line-height: 1.45; }

@media (max-width: 900px) {
  body.home .speego-partners-split { grid-template-columns: 1fr; gap: 20px; }
  body.home .speego-partners-intro { min-height: 330px; padding: 40px 30px; }
  body.home .speego-partners-panels { grid-template-rows: auto; }
}

@media (max-width: 520px) {
  body.home .speego-partners-intro { padding: 32px 24px; border-radius: 18px; }
  body.home .speego-partners-panel { padding: 22px 18px; border-radius: 16px; }
  body.home .speego-partners-panel__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Restore the preceding route-directory layout. */
body.home .speego-partners-split {
  display: none;
}

body.home .speego-partners-layout > .speego-partners-header {
  display: block;
}

body.home .speego-partners-layout > .speego-route-grid,
body.home .speego-partners-layout > .speego-route-logo-grid {
  display: grid;
}

body.home .speego-partners-layout {
  width: min(100%, 1280px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

body.home .speego-partners-header {
  max-width: 760px !important;
  margin: 0 auto 36px !important;
  overflow: visible;
  text-align: center;
}

body.home .speego-partners-header .speego-section-tag {
  margin-bottom: 10px;
}

body.home .speego-partners-title {
  margin: 0 !important;
  color: var(--speego-primary) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(32px, 3.1vw, 48px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.12 !important;
  white-space: normal !important;
  overflow: visible !important;
}

body.home .speego-partners-header .speego-section-subtitle {
  max-width: 700px;
  margin: 14px auto 0;
  padding: 0;
  color: #637895;
  font-size: 16px;
  line-height: 1.65;
}

body.home .speego-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

body.home .speego-route-card {
  min-width: 0;
  padding: 22px;
  background: #fff;
  border: 1px solid #dce9fa;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(4, 36, 61, 0.05);
}

body.home .speego-route-card__title {
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--speego-primary);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

body.home .speego-route-card__title svg {
  width: 24px;
  height: 12px;
  flex: 0 0 auto;
  color: #0878d1;
}

body.home .speego-route-list,
body.home .speego-route-logo-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.home .speego-route-list {
  display: grid;
  gap: 8px;
}

body.home .speego-route-row {
  min-width: 0;
  min-height: 42px;
  padding: 8px 12px;
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid #e6effa;
  border-radius: 8px;
  background: #f8fbff;
  color: #173555;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

body.home .speego-route-row__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0088d6;
}

body.home .speego-route-row__marker svg {
  width: 12px;
  height: 12px;
}

body.home .speego-route-row small {
  color: #7186a3;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

body.home .speego-route-logo-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

body.home .speego-route-logo-card {
  min-width: 0;
  min-height: 74px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dce9fa;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(4, 36, 61, 0.035);
}

body.home .speego-route-logo-card img {
  display: block;
  width: 100%;
  max-width: 142px;
  height: 38px;
  object-fit: contain;
}

@media (max-width: 960px) {
  body.home .speego-route-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.home .speego-partners-section {
    padding: 56px 16px !important;
  }

  body.home .speego-partners-header {
    margin-bottom: 28px !important;
  }

  body.home .speego-partners-title {
    font-size: clamp(28px, 8vw, 38px) !important;
  }

  body.home .speego-partners-header .speego-section-subtitle {
    font-size: 15px;
  }

  body.home .speego-route-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.home .speego-route-card {
    padding: 18px;
  }

  body.home .speego-route-row {
    padding: 8px 10px;
    font-size: 12.5px;
  }

  body.home .speego-route-row small {
    font-size: 9.5px;
  }

  body.home .speego-route-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
  }

  body.home .speego-route-logo-card {
    min-height: 66px;
    padding: 10px;
  }

body.home .speego-route-logo-card img {
  height: 32px;
}
}

/* Partner route directory — elevated "global network" visual treatment. */
body.home .speego-partners-section {
  isolation: isolate;
  padding: 96px 24px 84px !important;
  background:
    radial-gradient(circle at 12% 8%, rgba(9, 120, 209, 0.12), transparent 29rem),
    radial-gradient(circle at 91% 80%, rgba(242, 100, 25, 0.13), transparent 27rem),
    linear-gradient(135deg, #f4f8fe 0%, #fbfdff 48%, #f5f9ff 100%) !important;
}

body.home .speego-partners-section::before,
body.home .speego-partners-section::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

body.home .speego-partners-section::before {
  width: min(70vw, 920px);
  height: 460px;
  top: 108px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.48;
  background-image: radial-gradient(circle, rgba(7, 81, 144, 0.28) 1px, transparent 1.4px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
}

body.home .speego-partners-section::after {
  width: min(78vw, 1120px);
  height: 250px;
  top: 308px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px dashed rgba(8, 120, 209, 0.22);
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

body.home .speego-partners-header {
  position: relative;
  max-width: 820px !important;
  margin-bottom: 44px !important;
}

body.home .speego-partners-title {
  font-size: clamp(34px, 3.3vw, 52px) !important;
  text-shadow: 0 7px 24px rgba(4, 36, 61, 0.08);
}

body.home .speego-route-grid {
  position: relative;
  gap: 24px;
}

body.home .speego-route-card {
  position: relative;
  overflow: hidden;
  padding: 25px;
  border: 1px solid rgba(151, 189, 229, 0.62);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 44px rgba(5, 41, 73, 0.09);
  backdrop-filter: blur(12px);
}

body.home .speego-route-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #0878d1 0%, #13b5e4 72%, transparent 72%);
}

body.home .speego-route-card:nth-child(2)::before {
  background: linear-gradient(90deg, #f26419 0%, #ffad38 72%, transparent 72%);
}

body.home .speego-route-card__title {
  position: relative;
  margin-bottom: 18px;
  gap: 11px;
  font-size: 18px;
}

body.home .speego-route-card__title svg {
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 50%;
  background: #e6f4ff;
  color: #0878d1;
}

body.home .speego-route-card:nth-child(2) .speego-route-card__title svg {
  background: #fff0e8;
  color: #f26419;
}

body.home .speego-route-list {
  gap: 10px;
}

body.home .speego-route-row {
  min-height: 48px;
  padding: 10px 14px;
  border-color: #e5eef8;
  border-radius: 11px;
  background: linear-gradient(90deg, #f9fcff, #f4f9ff);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body.home .speego-route-row:hover {
  transform: translateX(4px);
  border-color: #a9d5f2;
  box-shadow: 0 8px 18px rgba(8, 120, 209, 0.08);
}

body.home .speego-route-card:nth-child(2) .speego-route-row:hover {
  border-color: #f8c09b;
  box-shadow: 0 8px 18px rgba(242, 100, 25, 0.08);
}

body.home .speego-route-row__marker {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e8f5ff;
}

body.home .speego-route-card:nth-child(2) .speego-route-row__marker {
  background: #fff1e9;
  color: #f26419;
}

body.home .speego-route-row small {
  padding: 4px 7px;
  border-radius: 999px;
  background: #edf5ff;
  color: #547399;
  font-size: 9px;
  letter-spacing: 0.02em;
}

body.home .speego-route-card:nth-child(2) .speego-route-row small {
  background: #fff4ed;
  color: #a96740;
}

body.home .speego-route-logo-grid {
  position: relative;
  margin-top: 28px;
  padding: 22px 0 0;
  gap: 14px;
  border-top: 1px solid rgba(151, 189, 229, 0.55);
}

body.home .speego-route-logo-grid::before {
  content: 'ĐỐI TÁC VẬN TẢI QUỐC TẾ';
  position: absolute;
  top: -9px;
  left: 50%;
  padding: 0 12px;
  transform: translateX(-50%);
  background: #f8fbff;
  color: #7286a1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

html[lang="en"] body.home .speego-route-logo-grid::before {
  content: 'INTERNATIONAL SHIPPING PARTNERS';
}

body.home .speego-route-logo-card {
  min-height: 78px;
  border-color: rgba(151, 189, 229, 0.58);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 22px rgba(4, 36, 61, 0.045);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

body.home .speego-route-logo-card:hover {
  transform: translateY(-4px);
  border-color: #a9d5f2;
  box-shadow: 0 16px 26px rgba(4, 36, 61, 0.1);
}

@media (max-width: 767px) {
  body.home .speego-partners-section {
    padding: 68px 16px 64px !important;
  }

  body.home .speego-partners-section::after {
    width: 130vw;
    top: 285px;
  }

  body.home .speego-partners-header {
    margin-bottom: 32px !important;
  }

  body.home .speego-route-grid {
    gap: 16px;
  }

  body.home .speego-route-card {
    padding: 19px 16px;
    border-radius: 16px;
  }

  body.home .speego-route-card__title {
    margin-bottom: 14px;
    font-size: 16px;
  }

  body.home .speego-route-row {
    grid-template-columns: 20px minmax(0, 1fr) auto;
    min-height: 46px;
    padding: 8px 10px;
  }

  body.home .speego-route-row small {
    padding: 3px 5px;
    font-size: 8.5px;
  }

  body.home .speego-route-logo-grid {
    margin-top: 24px;
    padding-top: 20px;
  }
}

/* ==========================================================================
   TESTIMONIALS SECTION — Compact Spacing & Typography
   ========================================================================== */
.speego-testimonial-section {
  position: relative;
  background: #FFFFFF;
  padding: 60px 24px 72px !important;
}

.speego-testimonial-header {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 36px !important;
}

.speego-testimonial-title {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(24px, 2.8vw, 34px) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.015em !important;
  color: #0F2744 !important;
  margin: 0 !important;
  text-transform: none !important;
}

.speego-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.speego-testimonial-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 12px rgba(15, 39, 68, 0.04);
}

.speego-testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 106, 0, 0.35);
  box-shadow: 0 12px 28px rgba(15, 39, 68, 0.08);
}

.speego-testi-stars {
  color: #FFB800;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 14px;
  line-height: 1;
}

.speego-testi-quote {
  font-family: 'Inter', sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: #334155 !important;
  margin: 0 0 20px 0 !important;
  padding: 0 !important;
  border: none !important;
  position: static !important;
  font-style: normal !important;
  flex-grow: 1;
}

.speego-testi-quote::before,
.speego-testi-quote::after,
.speego-testimonial-card blockquote::before,
.speego-testimonial-card blockquote::after,
.speego-testi-stars::before,
.speego-testi-stars::after,
.speego-testimonial-card::before,
.speego-testimonial-card::after {
  content: none !important;
  display: none !important;
  border: none !important;
  width: 0 !important;
  height: 0 !important;
}

.speego-testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #EDF2F7;
}

.speego-testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0052CC 0%, #002D72 100%);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.speego-testi-name {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #0F2744;
  line-height: 1.25;
  margin: 0;
}

.speego-testi-role {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: #64748B;
  line-height: 1.35;
  margin-top: 3px;
}

@media (max-width: 991px) {
  .speego-testimonial-section {
    padding: 48px 16px 56px !important;
  }
  .speego-testimonial-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .speego-testimonial-header {
    margin-bottom: 28px !important;
  }
}

/* ==========================================================================
   CONSULTATION FORM SECTION — Video Background + Two-Column Layout
   ========================================================================== */
.speego-consult-section {
  position: relative;
  overflow: hidden;
  padding: 88px 24px;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #04243D;
}

.speego-consult-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.speego-consult-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.speego-consult-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4, 36, 61, 0.88) 0%, rgba(13, 59, 102, 0.82) 50%, rgba(0, 82, 204, 0.78) 100%);
  z-index: 2;
}

.speego-consult-container {
  position: relative;
  z-index: 3;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Left Column */
.speego-consult-info {
  color: #FFFFFF;
}

.speego-consult-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.speego-consult-tag-arrows {
  display: block;
  flex-shrink: 0;
}

.speego-consult-tag-text {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #38BDF8;
}

.speego-consult-headline {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(28px, 3.2vw, 42px) !important;
  font-weight: 800 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.02em !important;
  color: #FFFFFF !important;
  margin: 0 0 18px 0 !important;
  text-transform: none !important;
}

.speego-consult-lead {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.88) !important;
  margin: 0 0 28px 0 !important;
  max-width: 480px;
}

.speego-consult-cta-wrap {
  display: flex;
  align-items: center;
}

.speego-consult-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 999px;
  background: #FFFFFF;
  color: #04243D !important;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.speego-consult-phone-btn:hover {
  transform: translateY(-2px);
  background: #F8FAFC;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.speego-consult-phone-icon {
  display: inline-block;
  flex-shrink: 0;
  stroke: #04243D;
}

/* Right Column — Card */
.speego-consult-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 34px 30px;
  box-shadow: 0 24px 60px rgba(4, 36, 61, 0.28);
  width: 100%;
  max-width: 540px;
  margin-left: auto;
  box-sizing: border-box;
}

.speego-consult-card-header {
  margin-bottom: 20px;
}

.speego-consult-card-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #04243D !important;
  margin: 0 0 5px 0 !important;
  line-height: 1.25 !important;
}

.speego-consult-card-sub {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  color: #64748B !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

.speego-consult-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

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

.speego-consult-field--full {
  grid-column: span 2;
}

.speego-consult-label {
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  color: #475569 !important;
  margin: 0 !important;
}

.speego-consult-input,
.speego-consult-select,
.speego-consult-textarea {
  font-family: 'Inter', sans-serif !important;
  font-size: 13.5px !important;
  color: #0F172A !important;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  width: 100% !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none !important;
  box-sizing: border-box !important;
}

.speego-consult-input:focus,
.speego-consult-select:focus,
.speego-consult-textarea:focus {
  border-color: #0052CC !important;
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.15) !important;
}

.speego-consult-input::placeholder,
.speego-consult-textarea::placeholder {
  color: #94A3B8 !important;
  font-size: 13px !important;
}

.speego-consult-select-wrap {
  position: relative;
  width: 100%;
}

.speego-consult-select-wrap

.speego-consult-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 32px !important;
  cursor: pointer;
}

.speego-consult-select-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.speego-consult-textarea {
  resize: vertical;
  min-height: 76px !important;
  line-height: 1.45 !important;
}

.speego-consult-btn-wrap {
  width: 100%;
}

.speego-consult-submit-btn {
  width: 100%;
  height: 48px;
  border-radius: 999px;
  background: #0052CC !important;
  color: #FFFFFF !important;
  border: none !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 18px rgba(0, 82, 204, 0.35);
}

.speego-consult-submit-btn:hover {
  background: #0040A8 !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 82, 204, 0.45);
}

.speego-consult-btn-arrow {
  transition: transform 0.2s ease;
}

.speego-consult-submit-btn:hover .speego-consult-btn-arrow {
  transform: translateX(4px);
}

.speego-consult-footnote {
  font-family: 'Inter', sans-serif !important;
  font-size: 11.5px !important;
  color: #94A3B8 !important;
  margin: 12px 0 0 0 !important;
  text-align: left;
  line-height: 1.4 !important;
}

@media (max-width: 991px) {
  .speego-consult-section {
    padding: 64px 20px !important;
  }
  .speego-consult-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .speego-consult-card {
    max-width: 100%;
    margin-left: 0;
    padding: 28px 20px;
  }
}

@media (max-width: 580px) {
  .speego-consult-grid {
    grid-template-columns: 1fr;
  }
  .speego-consult-field--full {
    grid-column: span 1;
  }
}


/* ==========================================================================
   NEWS & INSIGHTS SECTION — Uniform Image Heights & Button Arrow
   ========================================================================== */
.speego-news-section {
  position: relative;
  background: #F8FAFC;
  padding: 64px 24px 80px !important;
}

.speego-news-header {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 40px !important;
}

.speego-news-title {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(24px, 2.8vw, 36px) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  color: #0F2744 !important;
  margin: 0 !important;
  text-transform: none !important;
}

.speego-news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto 44px;
}

.speego-news-card {
  display: flex !important;
  flex-direction: column !important;
  background: #FFFFFF !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 14px rgba(15, 39, 68, 0.04) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
  height: 100% !important;
}

.speego-news-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(255, 106, 0, 0.35) !important;
  box-shadow: 0 12px 28px rgba(15, 39, 68, 0.09) !important;
}

.speego-news-thumb {
  width: 100% !important;
  height: 200px !important;
  min-height: 200px !important;
  max-height: 200px !important;
  overflow: hidden !important;
  position: relative !important;
  background: #04243D !important;
  margin: 0 !important;
}

.speego-news-thumb img {
  width: 100% !important;
  height: 100% !important;
  min-height: 200px !important;
  max-height: 200px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  transition: transform 0.35s ease !important;
}

.speego-news-card:hover .speego-news-thumb img {
  transform: scale(1.06) !important;
}

.speego-news-body {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  padding: 22px 20px !important;
}

.speego-news-cat {
  font-family: 'Inter', sans-serif !important;
  font-size: 11.5px !important;
  color: #FF6A00 !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin-bottom: 8px !important;
  display: block !important;
}

.speego-news-card-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 16.5px !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
  color: #0F2744 !important;
  margin: 0 0 10px 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.speego-news-card-desc {
  font-family: 'Inter', sans-serif !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  color: #475569 !important;
  margin: 0 0 16px 0 !important;
  flex-grow: 1 !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.speego-news-link {
  font-family: 'Inter', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #0052CC !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: auto !important;
  transition: color 0.2s ease !important;
}

.speego-news-link:hover {
  color: #FF6A00 !important;
}

.speego-news-arrow {
  display: inline-block;
  stroke: currentColor;
  transition: transform 0.2s ease;
}

.speego-news-link:hover .speego-news-arrow {
  transform: translateX(4px);
}

.speego-news-cta {
  text-align: center;
}

.speego-news-view-all-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  height: 48px !important;
  padding: 0 30px !important;
  border-radius: 999px !important;
  background: #FF6A00 !important;
  color: #FFFFFF !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(255, 106, 0, 0.28) !important;
  transition: all 0.25s ease !important;
}

.speego-news-view-all-btn:hover {
  background: #E05800 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(255, 106, 0, 0.38) !important;
}

.speego-news-view-all-arrow {
  display: inline-block;
  stroke: #FFFFFF;
  transition: transform 0.25s ease;
}

.speego-news-view-all-btn:hover .speego-news-view-all-arrow {
  transform: translateX(5px);
}

@media (max-width: 1024px) {
  .speego-news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .speego-news-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .speego-news-thumb {
    height: 180px !important;
    min-height: 180px !important;
    max-height: 180px !important;
  }
}


/* ==========================================================================
   HEADER SPECIFICATION (Top Bar + Main Navigation Bar)
   ========================================================================== */
.site-header.speego-site-header,
.site-header {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: auto !important;
  z-index: 1000 !important;
  background: transparent !important;
  border-bottom: none !important;
  padding: 0 !important;
  display: block !important;
}

/* Top Bar: #04243D */
.speego-header-topbar {
  background: #04243D !important;
  height: 38px !important;
  width: 100% !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  align-items: center !important;
}

.speego-header-topbar-inner {
  max-width: 1440px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 100% !important;
}

.speego-header-contact {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.speego-header-contact-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #FFFFFF !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  text-decoration: none !important;
  transition: opacity 0.2s ease !important;
}

.speego-header-contact-item:hover {
  opacity: 0.85 !important;
  color: #38BDF8 !important;
}

.speego-header-contact-lbl {
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  color: #38BDF8 !important;
  font-size: 11.5px !important;
}

.speego-header-contact-val {
  font-weight: 600 !important;
  color: #FFFFFF !important;
}

.speego-header-contact-sep {
  color: rgba(255, 255, 255, 0.25) !important;
  font-size: 13px !important;
}

.speego-header-langs {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.speego-lang-pill {
  background: transparent !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.75) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  padding: 4px 8px !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  line-height: 1 !important;
}

.speego-lang-pill:hover {
  color: #FFFFFF !important;
}

.speego-lang-pill.active {
  background: #FFFFFF !important;
  color: #04243D !important;
  font-weight: 800 !important;
}

/* Main Navbar */
.speego-header-navbar {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  height: 76px !important;
  width: 100% !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 4px 20px rgba(4, 36, 61, 0.06) !important;
  display: flex !important;
  align-items: center !important;
}

.speego-header-navbar-inner {
  max-width: 1440px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 100% !important;
}

.speego-branding .speego-logo-img {
  height: 38px !important;
  max-height: 42px !important;
  width: auto !important;
  display: block !important;
}

.speego-main-navigation {
  display: flex !important;
  align-items: center !important;
}

.speego-nav-menu {
  display: flex !important;
  align-items: center !important;
  gap: clamp(14px, 1.8vw, 28px) !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.speego-nav-item {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.speego-nav-link {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #04243D !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
  padding: 8px 0 !important;
  display: inline-block !important;
}

.speego-nav-item.active .speego-nav-link,
.speego-nav-link:hover {
  color: #FF6A00 !important;
}

.speego-header-quote-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 44px !important;
  padding: 0 24px !important;
  border-radius: 999px !important;
  background: #04243D !important;
  color: #FFFFFF !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 750 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(4, 36, 61, 0.2) !important;
  transition: all 0.25s ease !important;
}

.speego-header-quote-btn:hover {
  background: #FF6A00 !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(255, 106, 0, 0.35) !important;
}

.speego-header-quote-arrow {
  display: inline-block !important;
  stroke: currentColor !important;
  transition: transform 0.25s ease !important;
}

.speego-header-quote-btn:hover .speego-header-quote-arrow {
  transform: translateX(4px) !important;
}

@media (max-width: 991px) {
  .speego-header-topbar-inner,
  .speego-header-navbar-inner {
    padding: 0 16px !important;
  }
  .speego-nav-menu {
    gap: 12px !important;
  }
  .speego-nav-link {
    font-size: 13px !important;
  }
}

/* Final consultation-panel width override: kept last so responsive legacy rules
   cannot narrow the form headed "Đăng ký tư vấn miễn phí". */
@media (min-width: 1024px) {
  .speego-form-container--overlay {
    width: min(760px, calc(60% - 48px)) !important;
  }
}

@media (max-width: 1023px) {
  .speego-form-container--overlay {
    right: 16px !important;
    width: min(680px, calc(100% - 32px)) !important;
  }
}

/* The testimonial heading stands on its own without the small category label. */
.speego-testimonial-section .speego-section-tag {
  display: none;
}

.speego-news-header .speego-section-tag {
  display: none;
}

.speego-header-contact-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: #fff !important;
}

/* Tighten the headers after their small category labels were removed. */
.speego-testimonial-section {
  padding-top: 32px !important;
}

.speego-testimonial-section .speego-section-header,
#news-speego .speego-section-header {
  margin: 0 auto 28px !important;
}

@media (min-width: 1100px) {
  #news-speego .speego-section-header {
    max-width: 1400px;
  }

  #news-speego .speego-section-title {
    white-space: nowrap;
  }
}

#news-speego {
  padding-top: 40px !important;
}

/* Uniform image treatment for all four market-news cards. */
#news-speego .speego-service-card {
  display: flex;
  flex-direction: column;
}

#news-speego .speego-service-thumb {
  height: 220px;
  min-height: 220px;
  overflow: hidden;
}

#news-speego .speego-service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#news-speego .speego-service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

#news-speego .speego-service-link {
  margin-top: auto;
}

@media (max-width: 767px) {
  #news-speego .speego-service-thumb {
    height: 190px;
    min-height: 190px;
  }
}


/* ========================================================
   FORCE 100% EDGE-TO-EDGE FULL WIDTH FOR #why-speego
   ======================================================== */
#why-speego,
.speego-why-section {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 80px 0 90px !important;
  margin: 0 !important;
  overflow: clip !important;
  box-sizing: border-box !important;
}

#why-speego .speego-why-inner,
.speego-why-section .speego-why-inner {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

#why-speego .speego-why-container,
.speego-why-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(380px, 480px) 1fr !important;
  border-radius: 0 !important;
  border-left: none !important;
  border-right: none !important;
  border-top: 1px solid #E2E8F0 !important;
  border-bottom: 1px solid #E2E8F0 !important;
  box-shadow: 0 10px 30px rgba(15, 39, 68, 0.05) !important;
  background: #FFFFFF !important;
}

#why-speego .speego-why-grid,
.speego-why-grid {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  background-color: #E2E8F0 !important;
  gap: 1px !important;
  border-left: 1px solid #E2E8F0 !important;
}

#why-speego .speego-why-cell,
.speego-why-cell {
  background: #FFFFFF !important;
  padding: 40px 48px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  min-height: 180px !important;
}

@media screen and (max-width: 1024px) {
  #why-speego .speego-why-container,
  .speego-why-container {
    grid-template-columns: 320px 1fr !important;
  }
  #why-speego .speego-why-cell,
  .speego-why-cell {
    padding: 30px 24px !important;
  }
}

@media screen and (max-width: 900px) {
  #why-speego .speego-why-container,
  .speego-why-container {
    grid-template-columns: 1fr !important;
  }
}

@media screen and (max-width: 640px) {
  #why-speego .speego-why-grid,
  .speego-why-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Final consultation layout override. */
@media (min-width: 1024px) {
  .speego-consult-stage {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(520px, 1fr) !important;
  }

  .speego-consult-video-frame {
    min-height: min(78vh, 820px) !important;
    height: auto !important;
  }

  .speego-form-container--overlay {
    position: static !important;
    width: auto !important;
    min-height: min(78vh, 820px) !important;
    margin: 0 !important;
    padding: 48px !important;
    transform: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .speego-form-container--overlay:focus-within {
    transform: none !important;
    box-shadow: none !important;
  }

  .speego-form-container--featured::before {
    display: none !important;
  }
}

/* Route tables: square corners and no partner-caption badge. */
body.home .speego-route-logo-grid::before {
  display: none;
}

body.home .speego-route-logo-grid {
  display: none !important;
}

body.home .speego-route-card,
body.home .speego-route-row {
  border-radius: 0;
}

@media (min-width: 1100px) {
  html[lang="vi"] #news-speego .speego-section-header,
  html[lang="vi"] #news-speego .speego-section-title {
    max-width: 1200px;
  }

  html[lang="vi"] #news-speego .speego-section-title {
    white-space: normal;
    text-align: center;
    text-wrap: balance;
  }
}
