@font-face {
  font-family: 'Industry';
  src: url('assets/fonts/Industry-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Industry';
  src: url('assets/fonts/Industry-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Industry';
  src: url('assets/fonts/Industry-Book.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

:root {
  --orange:      #FD5202;
  --black:       #000F0A;
  --white:       #FFFFFF;
  --gray-light:  #F3EFED;
  --gray-mid:    #BEC4CC;
  --gray-dark:   #6C737B;

  --font-primary:   'Industry', 'Arial Narrow', sans-serif;
  --font-secondary: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; }

/* Lenis recommended styles */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}
body { min-width: 300px; overflow-x: hidden; font-family: var(--font-secondary); background: var(--white); color: var(--black); }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* NAVBAR */
@keyframes navbarFadeIn {
  0% { opacity: 0; transform: translate(-50%, -20px); }
  100% { opacity: 1; transform: translate(-50%, 0); }
}

.navbar {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 1000;
  width: 88%;
  min-width: 280px;
  border-radius: 20px;
  border: 0.5px solid rgba(0,15,10,0.12);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 28px;
  display: flex; align-items: center; justify-content: flex-start; gap: 24px;
  transition: box-shadow 0.3s ease, width 0.3s ease;
  opacity: 0;
  animation: navbarFadeIn 0.8s ease-out 1.4s forwards;
}

.navbar.scrolled {
  box-shadow: 0 8px 32px rgba(0,15,10,0.10);
}

.nav-logo {
  height: 272px; width: auto;
  margin: -121px 0 -117px -70px;
  transform: scaleX(1.2);
  transform-origin: left center;
}

.nav-logo-link {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px;
  overflow: hidden;
  border-radius: 20px;
}

.desktop-nav {
  display: flex; align-items: center; gap: 8px;
}

.nav-link {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-primary); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--black); padding: 8px 14px; border-radius: 8px; transition: color 0.2s, background 0.2s;
  min-height: 44px;
}

.nav-link:hover {
  color: var(--orange); background: rgba(253,82,2,0.06);
}

.nav-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 12px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  min-height: 44px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: filter 0.2s;
}

.nav-cta:hover { filter: brightness(0.9); }

.hamburger {
  display: none;
  flex-direction: column; gap: 5px; padding: 4px;
  min-height: 44px; min-width: 44px; justify-content: center; align-items: center;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE PANEL */
.mobile-overlay {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(0,15,10,0.35);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-overlay.is-open { opacity: 1; pointer-events: all; }

.mobile-panel {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: var(--white);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  overflow: hidden;
}
.mobile-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-view {
  display: none;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 88px 0 32px;
}
.mobile-view.is-active { display: block; }
.mobile-view-sub { background: #f7f7f7; }

.mobile-nav { list-style: none; }

.mobile-nav-primary a,
.mobile-nav-primary .mobile-drill-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 24px;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--black);
  min-height: 56px;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s;
}
.mobile-nav-primary a:hover,
.mobile-nav-primary .mobile-drill-trigger:hover { color: var(--orange); }

.mobile-chevron-right {
  color: var(--gray-mid);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 400;
}

.mobile-nav-divider {
  height: 1px;
  background: #e6e6e6;
  margin: 4px 24px 8px;
}

.mobile-nav-secondary a {
  display: block;
  padding: 14px 24px;
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--gray-dark);
  min-height: 48px;
  transition: color 0.2s;
}
.mobile-nav-secondary a:hover { color: var(--orange); }

.mobile-back-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 1rem;
  color: var(--black);
  text-align: left;
  min-height: 52px;
  -webkit-tap-highlight-color: transparent;
}
.mobile-back-arrow { font-size: 1.125rem; line-height: 1; }

.mobile-explore-link {
  display: block;
  padding: 20px 24px 16px;
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 1rem;
  color: var(--orange);
  transition: opacity 0.2s;
}
.mobile-explore-link:hover { opacity: 0.85; }

.mobile-nav-accordions .mobile-accordion {
  border-bottom: 1px solid #e8e8e8;
}
.mobile-nav-accordions .mobile-accordion:last-child { border-bottom: none; }

.mobile-nav-accordions .mobile-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 24px;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--black);
  min-height: 56px;
  text-align: left;
  cursor: pointer;
  background: transparent;
  transition: background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav-accordions .mobile-accordion.is-open > .mobile-accordion-trigger {
  background: #FFEDE3;
}

.accordion-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 0.8rem;
  color: var(--gray-dark);
}
.mobile-accordion.is-open > .mobile-accordion-trigger .accordion-arrow { transform: rotate(180deg); }

.mobile-accordion-content {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: var(--white);
}
.mobile-accordion.is-open > .mobile-accordion-content { max-height: 900px; }

.mobile-accordion-content .mobile-browse-link {
  display: block;
  padding: 16px 24px;
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--orange);
  border-bottom: 1px solid #eee;
  min-height: 48px;
}
.mobile-accordion-content a:not(.mobile-browse-link) {
  display: block;
  padding: 14px 24px;
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--gray-dark);
  min-height: 48px;
  transition: color 0.2s;
}
.mobile-accordion-content a:not(.mobile-browse-link):hover { color: var(--orange); }

/* DESKTOP MEGA MENU */
.nav-item.has-mega-menu { position: static; }

.mega-menu {
  position: fixed;
  top: calc(16px + 68px + 2px);
  left: 50%;
  width: 88%;
  min-width: 280px;
  background-color: var(--white);
  border: 0.5px solid rgba(0,15,10,0.10);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,15,10,0.12);
  padding: 32px 40px;
  opacity: 0; pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  cursor: default;
  z-index: 999;
}

.mega-menu::before {
  content: ''; position: absolute; top: -30px; left: 0; right: 0; height: 30px;
}

.has-mega-menu:hover > .mega-menu,
.has-mega-menu:focus-within > .mega-menu {
  opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0);
}

.mega-menu-inner {
  display: flex; gap: 32px;
}

/* MEGA MENU LEFT SIDEBAR (MINI DASHBOARD) */
.mega-menu-sidebar {
  flex: 0 0 248px;
  display: flex; flex-direction: column; gap: 4px;
  padding: 24px 16px;
  margin: -32px 16px -32px -40px;
  background: linear-gradient(165deg, #FFEDE3 0%, #FFE0CF 100%);
  border: 1px solid rgba(253,82,2,0.18);
  border-radius: 16px;
}

.mega-menu-sidebar-title {
  font-family: var(--font-primary); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: #b34400;
  padding: 0 14px 12px; margin-bottom: 4px;
}

.mega-menu-sidebar-link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; text-align: left;
  border: none; background: transparent; cursor: pointer;
  padding: 10px 10px 10px 14px; border-radius: 10px;
  font-family: var(--font-secondary); font-weight: 600; font-size: 0.9rem;
  color: var(--black); white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.mega-menu-sidebar-label {
  flex: 1; min-width: 0;
}

.mega-menu-sidebar-go {
  flex: 0 0 26px; width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 5px;
  border: 1px solid rgba(253,82,2,0.28);
  background: rgba(255,255,255,0.72);
  color: var(--orange);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mega-menu-sidebar-go:hover {
  background: #fff;
  border-color: var(--orange);
  color: var(--orange);
  transform: translate(1px, -1px);
}

.mega-menu-sidebar-link:hover {
  background: rgba(253,82,2,0.12); color: var(--orange);
}

.mega-menu-sidebar-link.active {
  background: var(--orange); color: #fff;
  box-shadow: 0 6px 16px rgba(253,82,2,0.32);
}

.mega-menu-sidebar-link.active .mega-menu-sidebar-go {
  background: #fff;
  border-color: rgba(255,255,255,0.85);
  color: var(--orange);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* MEGA MENU DYNAMIC CONTENT PANELS */
.mega-menu-content { flex: 0 1 auto; min-width: 0; min-height: 300px; }

/* MEGA MENU DECORATIVE PATTERN (right side) */
.mega-menu-bricks {
  flex: 1 1 auto;
  align-self: stretch;
  min-width: 80px;
  margin: -32px -40px -32px 0;
  border-radius: 0 16px 16px 0;
  overflow: hidden;
  background: url("assets/navbar.svg") no-repeat right center / cover;
  pointer-events: none;
}

.mega-menu-panel { display: none; }
.mega-menu-panel.active {
  display: block;
  animation: megaPanelFade 0.25s ease;
}

@keyframes megaPanelFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 2px 28px;
  justify-content: start;
}

.mega-menu-service {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 9px 12px; border-radius: 9px;
  transition: background-color 0.2s ease;
}

.mega-menu-service:hover { background-color: var(--gray-light); }

.mega-menu-service-icon {
  flex-shrink: 0; margin-top: 1px; color: var(--orange);
  display: flex; align-items: center; justify-content: center;
}

.mega-menu-service-text {
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
}

.mega-menu-service-title {
  font-family: var(--font-secondary); font-weight: 600; font-size: 0.9rem;
  color: var(--black); transition: color 0.2s ease;
}

.mega-menu-service:hover .mega-menu-service-title { color: var(--orange); }

.mega-menu-service-desc {
  font-family: var(--font-secondary); font-size: 0.78rem; color: var(--gray-dark);
}

.mega-menu-col {
  flex: 1;
  display: flex; flex-direction: column; gap: 8px;
}

.mega-menu-title {
  font-family: var(--font-primary); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-dark);
  border-bottom: 1px solid var(--gray-light); padding-bottom: 8px; margin-bottom: 8px;
}

.mega-menu-link {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 12px; border-radius: 8px; transition: background 0.2s;
}

.mega-menu-icon {
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

.mega-menu-text {
  display: flex; flex-direction: column; gap: 4px;
}

.mega-menu-link:hover {
  background: var(--gray-light);
}

.mega-menu-link-title {
  font-family: var(--font-secondary); font-weight: 600; font-size: 0.95rem; color: var(--black); transition: color 0.2s;
}

.mega-menu-link:hover .mega-menu-link-title { color: var(--orange); }

.mega-menu-link-desc {
  font-family: var(--font-secondary); font-size: 0.8rem; color: var(--gray-dark);
}

.highlight-col {
  background: #fafafa; padding: 32px 40px; border-radius: 0 16px 16px 0; margin: -32px -40px -32px 0;
  display: flex; flex-direction: column;
}

.mega-menu-card {
  display: flex; flex-direction: column; gap: 12px;
}

.mega-menu-card p {
  font-family: var(--font-secondary); font-size: 0.95rem; color: var(--black); line-height: 1.4;
}

.mega-menu-card p strong { font-weight: 600; }

.mega-menu-link-inline {
  font-family: var(--font-secondary); font-weight: 600; font-size: 0.85rem; color: var(--orange); margin-top: auto;
}
.mega-menu-link-inline:hover { text-decoration: underline; }

/* ABOUT US MEGA MENU (compact variant) */
.mega-menu--about .mega-menu-content { min-height: 0; }
.mega-menu--about .mega-menu-grid { grid-template-columns: repeat(2, max-content); gap: 2px 28px; }
.mega-menu-sidebar-desc {
  font-family: var(--font-secondary); font-size: 0.82rem; line-height: 1.45;
  color: #8a4a20; padding: 0 14px;
}

.mobile-nav-about-links a {
  display: block;
  padding: 14px 24px 14px 32px;
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--gray-dark);
  min-height: 48px;
  transition: color 0.2s;
}
.mobile-nav-about-links a:hover { color: var(--orange); }

/* DEPRECATED SIMPLE DROPDOWN (KEEP FOR REFERENCE) */
.nav-item { position: relative; }

.dropdown {
  position: absolute; top: calc(100% + 2px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 200px;
  background: var(--white);
  border: 0.5px solid rgba(0,15,10,0.10);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,15,10,0.10);
  padding: 6px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
/* Invisible bridge to keep hover state active when moving mouse to dropdown */
.dropdown::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown {
  opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  border-radius: 8px;
  font-family: var(--font-primary); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--black);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  min-height: 44px;
}
.dropdown-item:hover { background: var(--gray-light); color: var(--orange); }

/* Sub-dropdown */
.has-subdropdown { position: relative; }
.subdropdown {
  position: absolute; top: 0; left: calc(100% + 12px);
  min-width: 140px;
  background: var(--white);
  border: 0.5px solid rgba(0,15,10,0.10);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,15,10,0.10);
  padding: 6px;
  opacity: 0; pointer-events: none;
  transform: translateX(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
/* Invisible bridge to keep hover state active when moving mouse to subdropdown */
.subdropdown::before {
  content: '';
  position: absolute;
  top: 0;
  left: -20px;
  bottom: 0;
  width: 20px;
}
.has-subdropdown:hover > .subdropdown,
.has-subdropdown:focus-within > .subdropdown {
  opacity: 1; pointer-events: all; transform: translateX(0);
}

/* HERO SECTION */
.hero {
  min-height: 70vh;
  padding-top: 100px; /* clears fixed navbar */
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0;
  overflow: hidden;
  /* TEMP: full-hero background instead of canvas reveal */
  background: url('assets/full-hero.png') center / cover no-repeat;
}

.hero-mobile-image {
  display: none;
}

.hero-text {
  padding: clamp(40px, 6vw, 100px) clamp(20px, 4vw, 60px) clamp(40px, 6vw, 100px) clamp(40px, 6vw, 100px);
}

.hero-eyebrow {
  font-family: var(--font-primary); font-weight: 400; /* Industry Book */
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px;
}

.hero-headline {
  font-family: var(--font-primary); font-weight: 700; /* Industry Bold */
  font-size: clamp(3rem, 4.5vw, 6rem); line-height: 1.05; color: var(--black);
}

.hero .hero-headline {
  color: var(--white);
}

.hero-subheadline {
  font-family: var(--font-secondary);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--white);
  margin-top: 24px;
  max-width: 520px;
}

/* Hero Headline Animation */
.word {
  display: inline-block;
  white-space: nowrap;
}
.char-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  /* Padding extends the mask below the baseline to prevent cropping descenders (j, g, q, p, y) */
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
  padding-top: 0.1em;
  margin-top: -0.1em;
}
.char {
  display: inline-block;
  transform: translateY(150%);
}
.hero-text.is-visible .char,
.fade-up.is-visible .char,
.fade-up.is-visible .word-anim,
.ab-reveal.is-visible .char,
.ab-reveal.is-visible .word-anim,
.au-reveal.is-visible .char,
.au-reveal.is-visible .word-anim {
  animation: charUp 1.0s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes charUp {
  0% { transform: translateY(150%); }
  100% { transform: translateY(0); }
}

/* Word Reveal Animation */
.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
  padding-top: 0.1em;
  margin-top: -0.1em;
}
.word-anim {
  display: inline-block;
  transform: translateY(150%);
}

.hero-buttons {
  margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
  padding: 18px 36px;
  min-height: 56px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: none;
  border-radius: 10px;
  opacity: 1;
  animation: none;
}

.hero-buttons .btn-secondary {
  color: var(--white);
  border-color: var(--white);
}

.hero-buttons .btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
}

@keyframes btnFadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.btn-primary {
  display: inline-block;
  background: var(--orange); color: var(--white); padding: 14px 28px; border-radius: 8px; font-family: var(--font-primary); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; transition: filter 0.2s;
  min-height: 44px; /* Touch target size */
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  animation: btnFadeUp 0.6s ease-out 1.4s forwards;
}
.btn-primary:hover { filter: brightness(0.9); }

.btn-secondary {
  display: inline-block;
  background: transparent; border: 1.5px solid var(--black); color: var(--black); padding: 14px 28px; border-radius: 8px; font-family: var(--font-primary); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; transition: border-color 0.2s, color 0.2s;
  min-height: 44px; /* Touch target size */
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  animation: btnFadeUp 0.6s ease-out 1.6s forwards;
}
.btn-secondary:hover { border-color: var(--orange); color: var(--orange); }

.hero-image-wrap {
  /* TEMP: hidden while using full-hero background */
  display: none;
  height: 85vh;
  max-height: 800px;
  position: relative;
  overflow: hidden;
  border-radius: 32px 0 0 32px; /* rounded on left side only */
  align-items: center;
  justify-content: center;
}
.hero-image-wrap img,
.hero-image-wrap canvas {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 24px;
}

/* GRADIENT TRANSITION */
.gradient-transition {
  height: 100px;
  background: var(--gray-light);
}

/* OUR VISION SECTION */
.vision {
  background: var(--gray-light);
  padding: clamp(20px, 4vw, 60px) clamp(24px, 8vw, 120px) clamp(80px, 10vw, 140px);
  position: relative;
  overflow: hidden;
}
.vision-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative; z-index: 1;
  text-align: center;
}

.vision-label {
  font-family: var(--font-primary); font-weight: 400; /* Industry Book */
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px;
}

.vision-heading {
  font-family: var(--font-primary); font-weight: 700; /* Industry Bold */
  font-size: clamp(2.2rem, 5vw, 4rem); color: var(--black); line-height: 1.1;
}

.vision-main-paragraph {
  font-family: var(--font-secondary); font-weight: 600; /* Inter SemiBold */
  font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--black); line-height: 1.6; margin-top: 28px;
}

.vision-divider {
  width: 64px; height: 2px; background: var(--orange); margin: 32px 0; border-radius: 2px;
}

.vision-secondary-paragraph {
  font-family: var(--font-secondary); font-weight: 400; /* Inter Regular */
  font-size: clamp(0.95rem, 1.5vw, 1.1rem); color: var(--gray-dark); line-height: 1.8;
}

.vision-bg-letter {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-primary); font-weight: 900;
  font-size: clamp(220px, 28vw, 420px);
  color: rgba(253, 82, 2, 0.045);
  line-height: 1;
  pointer-events: none; user-select: none;
  z-index: 0;
}

/* BRICKS MARQUEE SECTION */
.marquee-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0px; /* Space between rows */
  padding: 40px 0;
  background-color: #F3EFED; /* Gray color from the image */
  
  /* --- FOG EFFECT SETUP --- */
  position: relative; /* Required to place the fog overlays */
}

/* Common styles for both fog sides */
.marquee-section::before,
.marquee-section::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 15%; /* Width of the fog on each side */
  z-index: 2; /* Sits on top of the bricks */
  pointer-events: none; /* Allows scrolling 'through' the fog */
}

/* Left Fog: Fades from gray (edge) to transparent (middle) */
.marquee-section::before {
  left: 0;
  background: linear-gradient(to right, rgba(243,239,237,1) 0%, rgba(243,239,237,0) 100%);
}

/* Right Fog: Fades from transparent (middle) to gray (edge) */
.marquee-section::after {
  right: 0;
  background: linear-gradient(to left, rgba(243,239,237,1) 0%, rgba(243,239,237,0) 100%);
}

/* Individual Row Wrapper */
.marquee-row {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  margin-top: -16px; /* Pull rows closer together vertically */
}

/* The moving track containing the rectangles */
.marquee-track {
  display: flex;
  gap: -18px; /* Space between rectangles */
  width: max-content;
}

/* Solid Black Bricks with exact 2:1 Ratio */
.rect {
  width: 180px;  
  height: 90px;  
  background-image: url('assets/brick.png');
  background-size: 150%;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 3px; 
  flex-shrink: 0;
  margin-right: -18px; /* Pull bricks closer horizontally */
  opacity: 0.1;
}

/* --- THE ANIMATIONS --- */
.marquee-row.left.speed-1 .marquee-track { animation: scroll-left 45s linear infinite; }
.marquee-row.left.speed-2 .marquee-track { animation: scroll-left 65s linear infinite; }
.marquee-row.left.speed-3 .marquee-track { animation: scroll-left 55s linear infinite; }

.marquee-row.right.speed-1 .marquee-track { animation: scroll-right 50s linear infinite; }
.marquee-row.right.speed-2 .marquee-track { animation: scroll-right 70s linear infinite; }
.marquee-row.right.speed-3 .marquee-track { animation: scroll-right 40s linear infinite; }

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

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

/* SCROLL ANIMATIONS */
.marquee-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px; /* Space between rows */
  padding: 40px 0;
  background-color: #F3EFED; /* Gray color from the image */
  
  /* --- FOG EFFECT SETUP --- */
  position: relative; /* Required to place the fog overlays */
}

/* Common styles for both fog sides */
.marquee-section::before,
.marquee-section::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 15%; /* Width of the fog on each side */
  z-index: 2; /* Sits on top of the bricks */
  pointer-events: none; /* Allows scrolling 'through' the fog */
}

/* Left Fog: Fades from gray (edge) to transparent (middle) */
.marquee-section::before {
  left: 0;
  background: linear-gradient(to right, rgba(243,239,237,1) 0%, rgba(243,239,237,0) 100%);
}

/* Right Fog: Fades from transparent (middle) to gray (edge) */
.marquee-section::after {
  right: 0;
  background: linear-gradient(to left, rgba(243,239,237,1) 0%, rgba(243,239,237,0) 100%);
}

/* Individual Row Wrapper */
.marquee-row {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  margin-top: -16px; /* Pull rows closer together vertically */
}

/* The moving track containing the rectangles */
.marquee-track {
  display: flex;
  gap: -18px; /* Space between rectangles */
  width: max-content;
}

/* Solid Black Bricks with exact 2:1 Ratio */
.rect {
  width: 180px;  
  height: 90px;  
  background-image: url('assets/brick.png');
  background-size: 150%;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 3px; 
  flex-shrink: 0;
  margin-right: -18px; /* Pull bricks closer horizontally */
  opacity: 0.1;
}

/* --- THE ANIMATIONS --- */
.marquee-row.left.speed-1 .marquee-track { animation: scroll-left 45s linear infinite; }
.marquee-row.left.speed-2 .marquee-track { animation: scroll-left 65s linear infinite; }
.marquee-row.left.speed-3 .marquee-track { animation: scroll-left 55s linear infinite; }

.marquee-row.right.speed-1 .marquee-track { animation: scroll-right 50s linear infinite; }
.marquee-row.right.speed-2 .marquee-track { animation: scroll-right 70s linear infinite; }
.marquee-row.right.speed-3 .marquee-track { animation: scroll-right 40s linear infinite; }

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

@keyframes scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* CARDS SHOWCASE */
/* SERVICES GRID */
.services-grid {
  background: #f0eeea;
  padding: clamp(64px, 8vw, 100px) 0 4px;
}

.services-grid-header {
  text-align: center;
  padding: 0 clamp(24px, 5vw, 60px);
  margin-bottom: clamp(40px, 5vw, 64px);
}

.services-grid-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.services-grid-card {
  position: relative;
  min-height: clamp(260px, 42vw, 520px);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding: clamp(28px, 4vw, 52px) 24px;
  transition: filter 0.3s ease;
}

.services-grid-card:hover {
  filter: brightness(1.03);
}

.services-grid-card--truckload { background-image: url('assets/truckload.png'); }
.services-grid-card--ltl       { background-image: url('assets/ltl.png'); }
.services-grid-card--air       { background-image: url('assets/air.png'); }
.services-grid-card--ocean     { background-image: url('assets/ocean.png'); }

.services-grid-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(255, 255, 255, 0.45) 28%,
    rgba(255, 255, 255, 0.08) 55%,
    transparent 75%
  );
  pointer-events: none;
}

.services-grid-content {
  position: relative;
  z-index: 1;
}

.services-grid-title {
  font-family: var(--font-primary);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.1;
}

.services-grid-link {
  font-family: var(--font-secondary);
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  font-weight: 500;
  color: #1a6fb5;
  transition: color 0.2s ease;
}

.services-grid-card:hover .services-grid-link {
  color: #125494;
}

@media (max-width: 768px) {
  .services-grid-inner {
    grid-template-columns: 1fr;
  }

  .services-grid-card {
    min-height: clamp(220px, 55vw, 360px);
  }
}

.cards-showcase {
  background: #f0eeea;
  padding: 80px 40px;
  display: flex;
  justify-content: center;
}

.cards-showcase-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  max-width: 1400px;
  width: 100%;
}

.cards-showcase-header {
  text-align: center;
  width: 100%;
  max-width: 900px;
  padding: 0 20px;
}

.cards-showcase-headline {
  font-size: clamp(2.25rem, 3.5vw, 4.5rem);
}

.cards-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1400px;
  width: 100%;
  padding: 0 5%;
}

.cards-iframe {
  border: none;
  display: block;
  flex-shrink: 0;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
}

.cards-iframe--charts { width: clamp(180px, 90vw, 400px); aspect-ratio: 400 / 440; }
.cards-iframe--route  { width: clamp(180px, 90vw, 400px); aspect-ratio: 400 / 440; }
.cards-iframe--globe  { width: clamp(180px, 90vw, 380px); aspect-ratio: 380 / 440; border-radius: 24px; }

@media (max-width: 600px) {
  .cards-row {
    padding: 0;
    gap: 16px;
  }

  .cards-iframe--charts,
  .cards-iframe--route,
  .cards-iframe--globe {
    width: min(100%, 400px);
  }
}

/* FOOTER */
.site-footer {
  padding: 0 24px 24px;
  background: var(--gray-light);
}

.footer-inner {
  background: var(--black);
  color: var(--white);
  border-radius: 20px;
  padding: clamp(40px, 5vw, 64px) clamp(28px, 4vw, 56px) clamp(28px, 3vw, 40px);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-logo-link {
  display: block;
  flex-shrink: 0;
  line-height: 0;
  padding-top: 0.05rem;
}

.footer-logo {
  height: 72px;
  width: auto;
  display: block;
}

.footer-tagline {
  margin-top: 24px;
  max-width: 320px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray-mid);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-links {
  display: flex;
  gap: clamp(32px, 5vw, 72px);
  flex-wrap: wrap;
  padding-top: 0.05rem;
}

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

.footer-col-title {
  font-family: var(--font-primary);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4px;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--gray-mid);
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--white);
}

.footer-contact-item {
  font-size: 0.9rem;
  color: var(--gray-mid);
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--gray-dark);
}

.footer-cta {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  transition: opacity 0.2s;
}

.footer-cta:hover {
  opacity: 0.8;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .navbar { width: 80%; }
  .mega-menu { width: 80%; }
}

@media (min-width: 1024px) {
  .hero {
    min-height: 95vh;
    position: relative;
  }

  .hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(60px, 9vh, 120px);
    background: linear-gradient(to bottom, rgba(243, 239, 237, 0) 0%, rgba(243, 239, 237, 0.6) 50%, var(--gray-light) 100%);
    pointer-events: none;
    z-index: 1;
  }

  .hero-text {
    padding-top: clamp(95px, 13vw, 230px);
    position: relative;
    z-index: 2;
  }

  .hero-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 1023px) {
  .desktop-nav { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .navbar { z-index: 1001; }
  .mobile-overlay { display: none; }

  body.mobile-menu-open .navbar { pointer-events: none; }
  body.mobile-menu-open .hamburger { pointer-events: auto; }
  
  .hero {
    grid-template-columns: 1fr;
    padding-top: 0;
    min-height: auto;
    align-content: start;
    background: none;
    display: flex;
    flex-direction: column;
  }

  .hero-mobile-image {
    display: block;
    width: 100%;
    line-height: 0;
    margin-bottom: clamp(24px, 5vw, 40px);
  }

  .hero-mobile-image img {
    display: block;
    width: 100%;
    height: auto;
  }

  .hero .hero-headline {
    color: var(--black);
  }

  .hero-subheadline {
    color: var(--gray-dark);
  }

  .hero-buttons .btn-secondary {
    color: var(--black);
    border-color: var(--black);
  }

  .hero-buttons .btn-secondary:hover {
    border-color: var(--orange);
    color: var(--orange);
  }
  .hero-image-wrap {
    height: auto; 
    min-height: auto; 
    max-height: none;
    aspect-ratio: 1380 / 930;
    border-radius: 16px;
    margin: 0 20px;
    order: -1; /* image above text */
  }
  .hero-text {
    padding: 4px 20px clamp(28px, 5vw, 60px);
    text-align: center;
  }
  .hero-text .hero-headline {
    font-size: clamp(2.1rem, 8vw, 3rem);
  }
  .hero-subheadline {
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    font-size: 0.9rem;
  }

  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .navbar { width: calc(100% - 32px); }
  .site-footer { padding: 0 16px 16px; }
  .footer-top { flex-direction: column; gap: 36px; }
  .footer-links { gap: 28px 40px; }
  .hero-headline { text-align: center; }
}

@media (max-width: 480px) {
  .hero-image-wrap { margin: 0 16px; border-radius: 12px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons a, .hero-buttons button { width: 100%; text-align: center; }
  .cards-showcase { padding: 48px 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* SCROLL REVEAL TEXT */
.scroll-reveal-container {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  pointer-events: none; /* let clicks pass through to bricks if needed */
}

.scroll-reveal-text {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  text-align: center;
  max-width: 800px;
  line-height: 1.2;
  margin: 0;
  padding: 0 20px;
}

.scroll-reveal-text .char {
  display: inline;
  transition: color 0.15s ease-out, font-weight 0.15s ease-out;
  color: transparent; /* Unfilled text color */
}

.scroll-reveal-text .char.filled {
  color: var(--black); /* Filled text color */
  font-weight: 900;
}

.scroll-reveal-logo {
  height: clamp(32px, 8vw, 72px);
  width: auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.6s ease, transform 1.6s ease;
}

.scroll-reveal-logo.show {
  opacity: 1;
  transform: translateY(0);
}

/* WHY US SECTION */
.why-us-section {
  background: var(--gray-light);
  padding: clamp(80px, 10vw, 140px) clamp(24px, 5vw, 60px);
}

.why-us-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.why-us-header {
  text-align: center;
  margin-bottom: 64px;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.why-us-card {
  background: var(--white);
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.why-us-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.why-us-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(253, 82, 2, 0.1);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.why-us-card-title {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}

.why-us-card-text {
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: var(--gray-dark);
  line-height: 1.6;
}

/* STATS SECTION */
.stats-section {
  background: var(--black);
  padding: clamp(80px, 10vw, 140px) 24px;
  position: relative;
  color: var(--white);
}

.stats-bg-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.stats-bg-left {
  left: -80px;
  bottom: -60px;
  transform: scale(1.5);
}

.stats-bg-right {
  right: -40px;
  top: -60px;
  transform: scale(1.8);
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  gap: clamp(40px, 8vw, 120px);
}

.stats-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.stats-number {
  font-family: var(--font-primary);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
}

.stats-number span {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
}

.stats-title {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 600;
}

.stats-desc {
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  color: var(--gray-mid);
  line-height: 1.5;
  max-width: 300px;
}

.stats-divider {
  width: 1px;
  height: 120px;
  background: rgba(253, 82, 2, 0.3); /* Orange divider */
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .stats-inner {
    flex-direction: column;
    align-items: center;
    gap: 48px;
  }
  .stats-divider {
    width: 100%;
    height: 1px;
  }
  .stats-bg-left {
    transform: scale(0.6);
    left: -40px;
  }
  .stats-bg-right {
    transform: scale(0.8);
    right: -20px;
  }
}

/* Gallery Section */
.gallery-section {
  padding: 120px 5%;
  background-color: var(--gray-light);
}

.gallery-header {
  text-align: center;
  margin-bottom: 64px;
}

.gallery-header h2 {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 16px;
}

.gallery-header p {
  font-size: 1.25rem;
  color: var(--gray-dark);
}

.gallery-container {
  display: flex;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  height: 600px;
  gap: 16px;
}

.gallery-panel {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  border-radius: 24px;
  color: var(--white);
  cursor: pointer;
  flex: 1;
  position: relative;
  transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s;
  overflow: hidden;
  filter: grayscale(40%);
}

.gallery-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,15,10,0.9) 0%, rgba(0,15,10,0.2) 50%, rgba(0,15,10,0) 100%);
  opacity: 0.8;
  transition: opacity 0.4s;
}

.gallery-panel.active,
.gallery-panel:hover {
  flex: 4;
  filter: grayscale(0%);
}

.gallery-panel.active::before,
.gallery-panel:hover::before {
  opacity: 0.95;
}

.panel-content {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s;
  transition-delay: 0s;
}

.gallery-panel.active .panel-content,
.gallery-panel:hover .panel-content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.panel-content h3 {
  font-family: var(--font-primary);
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 8px;
  white-space: nowrap;
}

.panel-content p {
  font-size: 1.1rem;
  color: var(--gray-light);
  white-space: nowrap;
}

@media (max-width: 992px) {
  .gallery-container {
    flex-direction: column;
    height: 800px;
  }
  .panel-content {
    left: 20px;
    bottom: 20px;
  }
}

.cta-section {
  background: var(--gray-light);
  padding: clamp(80px, 10vw, 120px) 20px;
  text-align: center;
}

.cta-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-heading {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.1;
}

.cta-paragraph {
  font-family: var(--font-secondary);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray-dark);
  line-height: 1.6;
}

.cta-buttons {
  margin-top: 16px;
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-section {
  padding: 120px 24px;
  background-color: #f0eeea;
}

.faq-inner {
  max-width: 900px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 64px;
}

.faq-heading {
  margin-bottom: 16px;
}

.faq-desc {
  font-family: var(--font-secondary);
  font-size: 1.15rem;
  color: var(--gray-dark);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid rgba(0, 15, 10, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--white);
}

.faq-item.is-open {
  border-color: var(--orange);
  box-shadow: 0 12px 32px rgba(253, 82, 2, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 600;
  text-align: left;
  color: var(--black);
  background: transparent;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--orange);
}

.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-question:hover .faq-icon {
  background: rgba(253, 82, 2, 0.1);
  color: var(--orange);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--orange);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-answer-inner {
  padding: 0 32px 32px;
  font-family: var(--font-secondary);
  font-size: 1.05rem;
  color: var(--gray-dark);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .faq-question {
    padding: 20px;
    font-size: 1.15rem;
  }
  .faq-answer-inner {
    padding: 0 20px 24px;
  }
}

/* =========================================
   OUR TEAM SECTION
   ========================================= */
/* ============================================================
   LOGOS INFINITE MARQUEE SECTION
   ============================================================ */
.logos-section {
  padding: 80px 0 90px;
  background: #f0eeea;
  overflow: hidden;
}
.logos-eyebrow {
  text-align: center;
  font-family: var(--font-primary);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-dark);
  margin-bottom: 48px;
  padding: 0 24px;
}

/* Viewport with soft fade on both edges */
.logos-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}

.logos-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 72px;
  animation: scroll-left 38s linear infinite;
}
.logos-viewport:hover .logos-track {
  animation-play-state: paused;
}

.logo-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--gray-mid);
  transition: color 0.3s ease;
}
.logo-item svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.logo-item:hover {
  color: var(--orange);
}

@media (prefers-reduced-motion: reduce) {
  .logos-track { animation: none; }
}

@media (max-width: 768px) {
  .logos-track { gap: 48px; }
  .logo-item { font-size: 1.25rem; }
  .logo-item svg { width: 24px; height: 24px; }
}

/* ============================================================
   LIVE TRACKING FEATURE SPLIT SECTION
   ============================================================ */
.feature-split {
  position: relative;
  padding: 130px 24px;
  background: var(--white);
}

.feature-inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* ---------- LEFT: simple branded orbit animation ---------- */
.feature-visual { position: relative; }

.value-orbit {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

/* concentric rings, each carrying one orbiting dot */
.value-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1.5px solid rgba(253, 82, 2, 0.18);
  transform: translate(-50%, -50%);
}
.value-ring::after {
  content: "";
  position: absolute;
  top: -6px; left: 50%;
  width: 12px; height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(253, 82, 2, 0.12);
}
.value-ring-1 {
  width: 100%; height: 100%;
  animation: orbitSpin 22s linear infinite;
}
.value-ring-2 {
  width: 70%; height: 70%;
  border-color: rgba(253, 82, 2, 0.28);
  animation: orbitSpin 16s linear infinite reverse;
}
.value-ring-2::after {
  width: 9px; height: 9px; margin-left: -4.5px; top: -4.5px;
  background: var(--black);
  box-shadow: 0 0 0 4px rgba(0, 15, 10, 0.08);
}
.value-ring-3 {
  width: 42%; height: 42%;
  border-style: dashed;
  border-color: rgba(0, 15, 10, 0.14);
  animation: orbitSpin 12s linear infinite;
}
.value-ring-3::after {
  width: 7px; height: 7px; margin-left: -3.5px; top: -3.5px;
  box-shadow: 0 0 0 3px rgba(253, 82, 2, 0.12);
}
@keyframes orbitSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* central branded core */
.value-core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 26%;
  height: 26%;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 16px 36px rgba(253, 82, 2, 0.35);
  animation: corePulse 3s ease-in-out infinite;
}
.value-core svg { width: 42%; height: 42%; }
@keyframes corePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 16px 36px rgba(253, 82, 2, 0.35); }
  50% { transform: scale(1.06); box-shadow: 0 20px 46px rgba(253, 82, 2, 0.45); }
}

/* ---------- RIGHT: copy + actions ---------- */
.feature-content { max-width: 480px; }
.feature-content .vision-heading { margin-top: 14px; }
.feature-lead {
  font-family: var(--font-secondary);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--gray-dark);
  line-height: 1.7;
  margin: 24px 0 36px;
}

/* Action buttons */
.feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.feature-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 10px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.feature-btn svg { width: 17px; height: 17px; transition: transform 0.3s ease; }
.feature-btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(253, 82, 2, 0.32);
}
.feature-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(253, 82, 2, 0.42);
}
.feature-btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(0, 15, 10, 0.18);
  color: var(--black);
}
.feature-btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-3px);
}
.feature-btn-ghost:hover svg { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .value-ring, .value-core {
    animation: none !important;
  }
}

@media (max-width: 900px) {
  .feature-split { padding: 90px 20px; }
  .feature-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .feature-content { max-width: 560px; margin: 0 auto; }
  .feature-visual { max-width: 520px; margin: 0 auto; width: 100%; }
}

.team-section {
  position: relative;
  padding: 140px 24px;
  background-color: var(--gray-light);
  background-image:
    radial-gradient(120% 90% at 50% -10%, rgba(253, 82, 2, 0.06) 0%, rgba(243, 239, 237, 0) 55%),
    linear-gradient(180deg, #f6f3f1 0%, var(--gray-light) 100%);
  overflow: hidden;
}

/* Giant ghost word in the background */
.team-bg-word {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(8rem, 26vw, 24rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--white);
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
}

/* Soft floating orbs */
.team-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}
.team-orb-1 {
  width: 420px; height: 420px;
  top: -80px; right: -120px;
  background: radial-gradient(circle, rgba(253, 82, 2, 0.22), rgba(253, 82, 2, 0) 70%);
  animation: teamOrbFloat 14s ease-in-out infinite;
}
.team-orb-2 {
  width: 380px; height: 380px;
  bottom: -120px; left: -100px;
  background: radial-gradient(circle, rgba(0, 15, 10, 0.10), rgba(0, 15, 10, 0) 70%);
  animation: teamOrbFloat 18s ease-in-out infinite reverse;
}
@keyframes teamOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(1.08); }
}

.team-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.team-header {
  text-align: center;
  margin-bottom: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-desc {
  font-family: var(--font-secondary);
  font-size: 1.15rem;
  color: var(--gray-dark);
  line-height: 1.6;
  max-width: 600px;
  margin-top: 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px;
}

.team-card {
  position: relative;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 15, 10, 0.06);
  border: 1px solid rgba(0, 15, 10, 0.04);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animated orange accent bar that draws across the top on hover */
.team-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--orange), #ff8a4d);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}

.team-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 36px 70px rgba(0, 15, 10, 0.16);
}
.team-card:hover::before {
  transform: scaleX(1);
}

/* Faint giant index number */
.team-index {
  position: absolute;
  top: 14px;
  right: 22px;
  z-index: 3;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--white);
  opacity: 0.85;
  text-shadow: 0 2px 18px rgba(0, 15, 10, 0.25);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-card:hover .team-index {
  opacity: 1;
  transform: translateY(-4px);
}

.team-img-wrap {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
}

/* Gradient scrim for legibility of socials/index */
.team-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 15, 10, 0.28) 0%, rgba(0, 15, 10, 0) 35%, rgba(0, 15, 10, 0) 55%, rgba(0, 15, 10, 0.45) 100%);
  z-index: 1;
  opacity: 0.7;
  transition: opacity 0.5s ease;
}
.team-card:hover .team-img-wrap::after {
  opacity: 1;
}

/* Clip-path mask used for the scroll reveal of the photo */
.team-img-mask {
  width: 100%;
  height: 100%;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-img-wrap img {
  transform: scale(1.04);
}

/* Social icons slide up from the bottom of the photo */
.team-socials {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  gap: 10px;
  padding: 20px;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
.team-card:hover .team-socials {
  transform: translateY(0);
  opacity: 1;
}

.team-social {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  color: var(--white);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.team-social svg { width: 18px; height: 18px; }
.team-social:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-3px);
}

.team-info {
  position: relative;
  padding: 30px 32px 36px;
}

.team-name {
  font-family: var(--font-primary);
  font-size: 1.55rem;
  color: var(--black);
  margin-bottom: 6px;
}

.team-role {
  display: inline-block;
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  padding-bottom: 14px;
  position: relative;
}
.team-role::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 32px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-card:hover .team-role::after {
  width: 64px;
}

.team-bio {
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: var(--gray-dark);
  line-height: 1.65;
}

/* ---- SCROLL REVEAL FOR TEAM CARDS ---- */
.team-reveal {
  opacity: 0;
  transform: translateY(60px) scale(0.97);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.team-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.team-reveal.is-visible .team-img-mask {
  clip-path: inset(0 0 0 0);
  transition-delay: calc(var(--reveal-delay, 0s) + 0.15s);
}

@media (prefers-reduced-motion: reduce) {
  .team-reveal,
  .team-img-mask,
  .team-orb {
    transition: none !important;
    animation: none !important;
  }
  .team-reveal { opacity: 1; transform: none; }
  .team-img-mask { clip-path: inset(0 0 0 0); }
}

@media (max-width: 768px) {
  .team-section { padding: 90px 20px; }
  .team-header { margin-bottom: 56px; }
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .team-bg-word { font-size: 26vw; top: 30px; }
}

/* PASSWORD OVERLAY */
body.locked {
  overflow: hidden;
}
body.locked *:not(.password-overlay):not(.password-modal):not(.password-modal *) {
  animation-play-state: paused !important;
}
.password-overlay {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.password-modal {
  background: var(--gray-light);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  max-width: 420px;
  width: 100%;
  text-align: center;
}
.password-logo {
  height: 288px;
  margin: -96px auto -64px;
}
.password-title {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}
.password-desc {
  font-family: var(--font-secondary);
  color: var(--gray-dark);
  font-size: 0.95rem;
  margin-bottom: 28px;
}
.password-input-group {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.password-input-group input {
  flex: 1;
  padding: 0 16px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 8px;
  font-family: var(--font-secondary);
  font-size: 1rem;
  outline: none;
  background: var(--white);
  transition: border-color 0.2s;
  min-width: 0;
}
.password-input-group input:focus {
  border-color: var(--orange);
}
.password-input-group button {
  padding: 12px 24px;
  min-height: 48px;
  margin: 0;
}
.password-error {
  color: #dc2626;
  font-size: 0.85rem;
  font-family: var(--font-secondary);
  display: none;
}
.password-error.show {
  display: block;
}

/* =========================================
   DIGITAL HIGHWAY SECTION
   ========================================= */
.digital-highway-section {
  position: relative;
  padding: 140px 24px;
  background-color: var(--black);
  color: var(--white);
  overflow: hidden;
  z-index: 1;
}

.dh-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

/* Moving Light Trails */
.dh-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0.4;
}

@keyframes shootRight {
  0% { transform: translateX(-100vw); }
  100% { transform: translateX(100vw); }
}
@keyframes shootLeft {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100vw); }
}

.dh-line-1 { top: 20%; width: 300px; animation: shootRight 4s linear infinite; }
.dh-line-2 { top: 45%; width: 500px; animation: shootLeft 6s linear infinite 1s; opacity: 0.6; height: 2px; }
.dh-line-3 { top: 60%; width: 200px; animation: shootRight 3s linear infinite 2s; }
.dh-line-4 { top: 80%; width: 400px; animation: shootLeft 5s linear infinite 0.5s; opacity: 0.3; }
.dh-line-5 { top: 30%; width: 600px; animation: shootRight 7s linear infinite 3s; height: 2px; opacity: 0.5; }

/* Floating Orbs */
.dh-orb {
  position: absolute;
  border-radius: 50%;
  background: var(--orange);
  filter: blur(80px);
  opacity: 0.15;
  animation: floatOrb 10s ease-in-out infinite alternate;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 50px) scale(1.5); }
}

.dh-orb-1 { width: 400px; height: 400px; top: -100px; left: -100px; }
.dh-orb-2 { width: 500px; height: 500px; bottom: -200px; right: -100px; animation-delay: -5s; }
.dh-orb-3 { width: 300px; height: 300px; top: 40%; left: 50%; animation-delay: -2s; opacity: 0.1; }

/* Content */
.dh-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.dh-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.dh-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(253, 82, 2, 0.1);
  border: 1px solid rgba(253, 82, 2, 0.3);
  border-radius: 100px;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--orange);
  margin-bottom: 24px;
}

.dh-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--orange);
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { opacity: 1; box-shadow: 0 0 0 0 rgba(253, 82, 2, 0.7); }
  70% { opacity: 0.5; box-shadow: 0 0 0 10px rgba(253, 82, 2, 0); }
  100% { opacity: 1; box-shadow: 0 0 0 0 rgba(253, 82, 2, 0); }
}

.dh-title {
  background: linear-gradient(90deg, var(--white) 0%, #a0aab5 50%, var(--white) 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shineText 4s linear infinite;
  margin-bottom: 24px;
}

@keyframes shineText {
  to { background-position: 200% center; }
}

.dh-desc {
  font-size: 1.2rem;
  color: var(--gray-mid);
  line-height: 1.6;
}

/* Cards with Spinning Border */
.dh-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.dh-card {
  position: relative;
  border-radius: 20px;
  padding: 2px; /* Space for the animated border */
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.dh-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent, 
    transparent, 
    transparent, 
    var(--orange)
  );
  animation: spinBorder 4s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.dh-card:hover::before {
  opacity: 1;
}

@keyframes spinBorder {
  100% { transform: rotate(360deg); }
}

.dh-card-inner {
  position: relative;
  background: #05120e; /* Slightly lighter than black */
  border-radius: 18px;
  padding: 40px 32px;
  height: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.dh-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(253, 82, 2, 0.1);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.4s ease;
}

.dh-card:hover .dh-card-icon {
  background: var(--orange);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 20px rgba(253, 82, 2, 0.3);
}

.dh-card-inner h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--white);
}

.dh-card-inner p {
  color: var(--gray-mid);
  line-height: 1.6;
  font-size: 1.05rem;
}

.dh-card:hover {
  transform: translateY(-10px);
}

@media (max-width: 768px) {
  .dh-cards {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   STUNNING SERVICES SECTION
   ========================================= */
.stunning-services {
  position: relative;
  background-color: var(--black);
  color: var(--white);
  padding: 140px 24px;
  overflow: hidden;
}

.ss-bg-animations {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  overflow: hidden;
  perspective: 1000px;
}

.ss-grid {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background-image: 
    linear-gradient(rgba(253, 82, 2, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(253, 82, 2, 0.15) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: rotateX(60deg) translateY(0);
  animation: gridMove 10s linear infinite;
}

@keyframes gridMove {
  0% { transform: rotateX(60deg) translateY(0); }
  100% { transform: rotateX(60deg) translateY(60px); }
}

.ss-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: floatOrbs 20s infinite alternate ease-in-out;
}

.ss-orb-1 {
  width: 500px; height: 500px;
  background: #FD5202;
  top: -100px; left: -100px;
}

.ss-orb-2 {
  width: 600px; height: 600px;
  background: #8A2B00;
  bottom: -200px; right: -100px;
  animation-delay: -5s;
  animation-duration: 25s;
}

.ss-orb-3 {
  width: 400px; height: 400px;
  background: #FF884D;
  top: 30%; left: 40%;
  animation-delay: -10s;
  animation-duration: 18s;
  opacity: 0.3;
}

@keyframes floatOrbs {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, -80px) scale(1.1); }
  66% { transform: translate(-50px, 40px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

.ss-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.ss-header {
  text-align: center;
  margin-bottom: 80px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.ss-title {
  color: var(--white);
  margin-top: 16px;
  margin-bottom: 24px;
}

.ss-subtitle {
  font-size: 1.25rem;
  color: var(--gray-mid);
  line-height: 1.6;
}

.ss-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.ss-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.ss-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: skewX(-20deg);
  animation: shine 6s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

.ss-card-glow {
  position: absolute;
  width: 150px; height: 150px;
  background: rgba(253, 82, 2, 0.5);
  filter: blur(50px);
  border-radius: 50%;
  top: -50px; right: -50px;
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: pulseGlow 4s infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: scale(1); }
  100% { transform: scale(1.2); }
}

.ss-card:hover {
  transform: translateY(-10px);
  border-color: rgba(253, 82, 2, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(253, 82, 2, 0.1);
}

.ss-card:hover .ss-card-glow {
  opacity: 1;
}

.ss-icon-wrapper {
  width: 64px; height: 64px;
  background: rgba(253, 82, 2, 0.15);
  border: 1px solid rgba(253, 82, 2, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--orange);
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease, background 0.4s ease;
}

.ss-card:hover .ss-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  background: var(--orange);
  color: var(--white);
}

.ss-icon-wrapper svg {
  animation: floatIcon 3s infinite alternate ease-in-out;
}

@keyframes floatIcon {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.ss-card-title {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.ss-card-desc {
  color: var(--gray-mid);
  line-height: 1.6;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.ss-card:hover .ss-card-desc {
  color: var(--white);
}

/* ============================================================
   REVIEWS INFINITE SCROLL SECTION
   ============================================================ */
.reviews-scroll {
  background: #f0eeea;
  height: 780px;
  padding: 72px 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.reviews-scroll-headline {
  flex-shrink: 0;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(2.25rem, 4.2vw, 3.75rem);
  line-height: 1.08;
  text-align: center;
  color: var(--black);
  max-width: 920px;
  margin-bottom: 48px;
  padding: 0 12px;
}

.reviews-scroll-grid {
  flex: 1;
  width: 100%;
  max-width: 1120px;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  overflow: hidden;
}

.reviews-column {
  overflow: hidden;
  min-height: 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.reviews-column-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  will-change: transform;
  animation: reviews-scroll-up linear infinite;
}

.reviews-speed-1 { animation-duration: 58s; }
.reviews-speed-2 { animation-duration: 72s; }
.reviews-speed-3 { animation-duration: 48s; }

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

.review-card {
  flex-shrink: 0;
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.review-card--light {
  background: var(--white);
  color: var(--black);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.review-card--dark {
  background: #141a17;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.review-card-quote {
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 500;
}

.review-card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-card-name {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

@media (prefers-reduced-motion: reduce) {
  .reviews-column-track {
    animation: none;
  }
}

@media (max-width: 900px) {
  .reviews-scroll {
    height: 720px;
    padding-top: 56px;
  }

  .reviews-scroll-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .reviews-column:nth-child(2),
  .reviews-column:nth-child(3) {
    display: none;
  }
}

@media (max-width: 480px) {
  .reviews-scroll {
    height: 640px;
  }

  .reviews-scroll-headline {
    margin-bottom: 32px;
  }
}

