/* =============================================
   LC Warehouse Solutions — Relats-Style Complete
   Warm beige palette, smooth scrolling, premium feel
   ============================================= */

.object-top {
  object-position: top;
}

/* ---------- ACCESSIBILITY UTILITIES ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* Skip-to-content: visible only when focused by keyboard */
.skip-link:focus {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: var(--z-skip);
  width: auto;
  height: auto;
  padding: 12px 24px;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: nowrap;
  background: var(--text-dark);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Relats-style warm palette */
  --bg: #e8e4df;
  --bg-light: #f0ece8;
  --bg-dark: #1a1a1a;
  --accent: #0056a3;
  --accent-brand: #f28c38;
  --accent-cta: #ff5710;
  --text-dark: #1a1a1a;
  --text-mid: #555;
  --text-light: #999;
  --white: #ffffff;
  --border: rgba(0, 0, 0, 0.08);

  --font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Oswald", "Arial Black", sans-serif;
  --font-mono: "DM Mono", "Courier New", monospace;
  /* Headings font updated to Oswald */
  --font-heading: "Oswald", sans-serif;
  /* Roobert alternative */
  --radius: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Spacing scale — 4px base unit */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 60px;
  --space-11: 80px;
  --space-12: 100px;
  --space-13: 120px;

  /* Z-index scale — use these instead of raw numbers */
  --z-skip: 99999;
  /* skip-link:focus — must sit above everything */
  --z-loader: 10000;
  /* page loader */
  --z-modal: 9999;
  /* fullscreen overlays, navbar */
  --z-cookie: 9998;
  /* cookie consent banner */
  --z-nav: 1001;
  /* navbar logo, CTA, hamburger btn */
  --z-nav-bg: 1000;
  /* mobile menu backdrop */
  --z-sticky: 50;
  /* floating elements inside sections */
  --z-dropdown: 10;
  /* in-page dropdowns / bottom nav */
}

html {
  font-size: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg);
  background-color: #1c1c1c;
  /* Match footer to prevent white flash at bottom overscroll */
}

/* ---------- LENIS SMOOTH SCROLL BASE ---------- */
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-scrolling iframe {
  pointer-events: none;
}

body {
  font-family: var(--font);
  background: #1c1c1c;
  /* Match footer for bottom overscroll */
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  /* Oswald Semi-bold/Bold */
  letter-spacing: 0.01em;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

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

ul {
  list-style: none;
}

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

button {
  border: none;
  background: none;
  font-family: var(--font);
  cursor: pointer;
}

/* ---------- CREATIVE LOADER ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  background: linear-gradient(180deg, #e9eef1 0%, #e1e6ea 50%, #dce3e7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: auto;
  will-change: opacity, visibility;
}

.loader-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: clamp(280px, 40vw, 800px);
  /* Substantial size: 15-20% minimum of width */
  will-change: transform, scale;
}

.loader-logo-wrapper {
  position: relative;
  width: clamp(80px, 15vw, 150px);
  aspect-ratio: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo {
  width: 100%;
  height: auto;
  will-change: transform, opacity;
}

.loader-text-wrapper {
  overflow: hidden;
  /* For the slide-down reveal effect */
  display: flex;
  align-items: center;
}

.loader-text {
  font-family: var(--font-display);
  /* Made significantly smaller to be smaller than the logo */
  font-size: clamp(1.2rem, 2.5vw, 2.8rem);
  font-weight: 700;
  color: #000000;
  line-height: 1.1;
  text-transform: uppercase;
  will-change: transform, opacity;
}

/* ============================================
   BUTTONS — Pill style like relats
   ============================================ */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 60px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: var(--transition);
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-pill-white {
  background: var(--white);
  color: var(--text-dark);
  border-color: var(--white);
}

.btn-pill-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-pill-dark {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-pill-dark:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-pill-watch {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(15px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 24px 6px 6px;
}

.btn-pill-watch:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.watch-thumb {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.watch-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.watch-play-icon {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-pill-outline-dark {
  background: transparent;
  color: var(--text-dark);
  border-color: rgba(0, 0, 0, 0.2);
}

.btn-pill-outline-dark:hover {
  border-color: var(--text-dark);
  transform: translateY(-2px);
}

.btn-pill-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-pill-outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* ============================================
   NAVBAR — Relats-exact transparent
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: var(--z-nav);
  padding: 24px 0;
  padding-top: max(24px, calc(24px + env(safe-area-inset-top)));
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  transition:
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    padding 0.5s ease,
    background 0.5s ease;
}

.navbar.nav-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.navbar.scrolled {
  background: rgba(232, 228, 223, 0.9);
  backdrop-filter: blur(30px) saturate(180%);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

/* On hero (dark bg) — white text */
.navbar.on-dark .nav-links a,
.navbar.on-dark .logo-text-nav {
  color: var(--white);
  /* Much whiter, no opacity */
}

.navbar.on-dark .nav-icon-btn {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.navbar.on-dark .hamburger span {
  background: var(--white);
}

.navbar.on-dark .logo-img {
  filter: brightness(10);
}

/* On light bg — dark text */
.navbar:not(.on-dark) .nav-links a {
  color: var(--text-dark);
  /* Darker on light bg */
}

.navbar:not(.on-dark) .nav-icon-btn {
  color: var(--text-dark);
  border-color: rgba(0, 0, 0, 0.1);
}

.navbar:not(.on-dark) .logo-img {
  filter: none;
}

.navbar:not(.on-dark) .logo-text-nav {
  color: var(--text-dark);
}

.nav-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left-group {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: var(--z-nav);
}

.logo-img {
  height: 65px;
  width: auto;
  transition: var(--transition);
}

.logo-text-nav {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.2;
  color: var(--white);
  transition: color var(--transition);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links > .reveal-wrapper {
  overflow: visible;
}

.nav-links a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-dropdown-wrapper:hover .nav-dropdown-toggle {
  background: rgba(255, 255, 255, 0.15);
}

.navbar:not(.on-dark) .nav-links a:hover,
.navbar:not(.on-dark) .nav-dropdown-wrapper:hover .nav-dropdown-toggle {
  background: rgba(0, 0, 0, 0.05);
}

/* --- DESKTOP MEGA MENU --- */
.nav-dropdown-wrapper {
  position: static;
  /* Important: Changed from relative to static to allow mega menu to break out of parent width */
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 100%;
}

.nav-arrow {
  transition:
    transform var(--transition),
    opacity var(--transition);
  opacity: 0.6;
}

.nav-dropdown-wrapper:hover .nav-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-mega-menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  width: 95vw;
  max-width: 1400px;
  transform: translateX(-50%) translateY(40px);
  background: rgba(12, 12, 12, 0.65);
  backdrop-filter: blur(50px) saturate(200%);
  -webkit-backdrop-filter: blur(50px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 60px;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: var(--z-nav-bg);
  /* Set below navbar's 1001 to avoid covering logo/CTA */
}

.nav-container:has(.nav-dropdown-wrapper:hover) .nav-mega-menu,
.nav-mega-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.mega-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  border-radius: 24px;
  text-decoration: none;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
  border: 1px solid transparent;
}

.mega-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.mega-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(0, 86, 163, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.mega-item:hover .mega-icon {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 10px 30px rgba(0, 86, 163, 0.25);
}

.mega-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mega-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
  margin: 0;
}

.mega-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  font-weight: 300;
  margin: 0;
  max-width: 300px;
}

/* Adjust navbar stacking for mega menu */
/* Ensure parents don't clip the mega menu */
.nav-links {
  position: static;
}

.nav-container {
  position: relative;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  z-index: var(--z-nav);
}

@media (min-width: 769px) {
  .nav-right {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 60px;
    padding: 6px;
    gap: 0;
    transition:
      background 0.5s ease,
      border-color 0.5s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }

  .navbar:not(.on-dark) .nav-right {
    background: rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.1);
  }

  .nav-links {
    opacity: 1;
    pointer-events: auto;
    margin-right: 12px;
    transform-origin: right center;
  }

  .nav-links > * {
    flex-shrink: 0;
  }
}

.nav-cta {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 60px;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  margin: 0;
}

.nav-cta.reveal-inner {
  overflow: visible;
}

.nav-right > .reveal-wrapper:has(.nav-cta) {
  overflow: visible;
}

.navbar.on-dark .nav-cta {
  background: var(--white);
  color: var(--text-dark);
}

.navbar:not(.on-dark) .nav-cta {
  background: var(--text-dark);
  color: var(--white);
}

.navbar.on-dark .nav-cta:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 86, 163, 0.45);
}

.navbar:not(.on-dark) .nav-cta:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 86, 163, 0.35);
}

.nav-icon-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid;
  transition: var(--transition);
}

.nav-icon-btn:hover {
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  width: 32px;
  height: 20px;
  position: relative;
  z-index: var(--z-nav);
}

.hamburger span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--text-dark);
  /* Default color */
  transition: var(--transition);
}

.hamburger.active span {
  background: #ffffff !important;
  /* Always white on dark menu */
}

.hamburger span:first-child {
  top: 0;
}

.hamburger span:last-child {
  bottom: 0;
}

.hamburger.active span:first-child {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:last-child {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* ---------- MOBILE MENU (Relats Style) ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-nav-bg);
  /* Must be below navbar (1001) but above everything else */
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(20px) saturate(140%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Base link setup for GSAP animation */
.mobile-link {
  display: block;
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 500;
  color: #ffffff !important;
  padding: 10px 20px;
  font-family: var(--font-display);
  text-decoration: none;
  opacity: 0;
  transform: translateY(30px);
  transition: color 0.3s;
  will-change: transform, opacity;
}

.mobile-link:hover {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* --- MOBILE DROPDOWN --- */
.mobile-dropdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 8px 0;
}

.mobile-dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dropdown-arrow {
  transition: transform 0.4s ease;
}

.mobile-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.mobile-dropdown-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
  max-height: 0;
  transition:
    max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    margin-top 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-dropdown.open .mobile-dropdown-content {
  margin-top: 16px;
  opacity: 1;
  max-height: 300px;
}

/* Hide Navbar CTA when menu is open */
body.mobile-menu-open .nav-cta {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(-10px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.mobile-sublink {
  font-family: var(--font);
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-sublink:hover {
  color: #ffffff !important;
}

.mobile-link-sm {
  font-size: 1.1rem;
  font-family: var(--font);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7) !important;
  margin-top: 8px;
  letter-spacing: 0.05em;
}

.mobile-link-sm:hover {
  color: #ffffff !important;
}

.mobile-divider {
  width: 50px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 20px auto;
}

/* ============================================
   HERO — Full viewport, relats exact
   ============================================ */
.hero-pin-wrapper {
  width: 100%;
  height: 100vh;
  height: 100svh;
}

.hero {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: var(--bg);
}

.hero-scaler {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  clip-path: inset(15vh 10vw round 40px);
  overflow: hidden;
  will-change: transform, border-radius, clip-path;
}

.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-media-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.3) 75%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Hero content slider */
.hero-content-slider {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.hero-content-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
}

.hero-content-slide.active {
  opacity: 1;
  visibility: visible;
}

/* Hero content layer */
.hero-content {
  position: absolute;
  bottom: 120px;
  left: 48px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: 0.01em;
  pointer-events: auto;
}

/* Hide hero text by default — GSAP reveals it via inline styles during animation.
   Prevents the flash of visible text before JS loads. */
.hero-title .reveal-inner {
  transform: translateY(120%);
}

.reveal-wrapper {
  overflow: hidden;
  display: block;
}

.reveal-inner {
  will-change: transform;
}

.hero-subtitle {
  font-family: var(--font);
  font-size: clamp(0.85rem, 1.2vw, 1.05rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  max-width: 480px;
  line-height: 1.6;
  margin-top: 24px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: auto;
}

/* Hero CTAs — bottom right */
.hero-actions {
  position: absolute;
  bottom: 40px;
  right: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  pointer-events: auto;
}

/* Glassmorphism Service Card - Horizontal 'Liquid Glass' Version */
.glass-service-card {
  width: 480px;
  max-width: calc(100vw - 96px);
  background: rgba(15, 15, 15, 0.45);
  backdrop-filter: blur(40px) saturate(200%) brightness(0.8);
  -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  padding: 18px;
  display: flex;
  flex-direction: row;
  /* Horizontal layout */
  align-items: center;
  gap: 24px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
}

/* Liquid Shine Effect */
.glass-service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 45%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 55%
  );
  transition: transform 1.2s ease;
  pointer-events: none;
  z-index: 1;
}

.glass-service-card:hover::before {
  transform: translate(25%, 25%);
}

.glass-service-card:hover {
  transform: translateY(-8px) scale(1.01);
  background: rgba(20, 20, 20, 0.55);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.glass-card-img {
  width: 140px;
  height: 140px;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.glass-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-service-card:hover .glass-card-img img {
  transform: scale(1.12);
}

.glass-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 2;
  padding-right: 8px;
}

.glass-card-info h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.glass-card-info p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 4px 0 16px 0;
  font-weight: 300;
}

/* Updated Primary CTA Button - 'Sign Up' style from image */
.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  background: #ffffff;
  /* Primary solid white/dark based on context, image shows black but the contrast here wants white or brand primary */
  color: #000;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  width: fit-content;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-glass:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 86, 163, 0.3);
}

.btn-glass svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  transition: transform 0.4s ease;
}

.btn-glass:hover svg {
  transform: translateX(3px);
}

.hero-mobile-btns {
  display: none;
  pointer-events: auto;
}

/* Hero Bottom Nav */
.hero-bottom-nav {
  position: absolute;
  bottom: 40px;
  left: 48px;
  z-index: var(--z-dropdown);
  display: flex;
  gap: 32px;
  pointer-events: auto;
}

.hero-nav-btn {
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.5;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-bottom: 8px;
}

.hero-nav-btn::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-nav-btn:hover {
  opacity: 0.8;
}

.hero-nav-btn.active {
  opacity: 1;
}

.hero-nav-btn.active::after {
  width: 100%;
}

.hero-nav-btn span {
  font-family: var(--font-display);
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ============================================
   ANIMATED QUOTE SECTION
   ============================================ */
.quote-section {
  padding: 120px 0;
  background: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
}

.quote-container {
  max-width: 1400px;
  padding: 0 48px;
  text-align: center;
}

.animated-quote {
  font-family: "Oswald", sans-serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700;
  color: #000000;
  /* Text in black */
  line-height: 1.1;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
}

.quote-mark {
  color: var(--accent-cta);
  /* Quote marks in safety orange */
}

.quote-word-wrap {
  overflow: hidden;
  display: inline-block;
}

.quote-word {
  display: inline-block;
  will-change: transform;
}

/* ============================================
   ABOUT COMPANY — QDT.ai replica
   ============================================ */
.about-qdt {
  background: #f3f3f3;
  padding: 80px 0 140px;
  /* Reduced top padding from 140px to 80px to decrease the gap */
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-qdt-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 80px;
}

.about-qdt-text {
  flex: 1;
  text-align: left;
}

.about-qdt-tag-wrapper {
  margin-bottom: 32px;
}

.about-qdt-tag {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 50px;
  font-size: 1rem;
  font-family: var(--font);
  font-weight: 500;
  color: #000;
}

.about-qdt-title {
  font-family: var(--font);
  font-size: clamp(2.5rem, 6vw, 68px);
  /* Increased font size significantly */
  font-weight: 500;
  line-height: 1.1;
  color: #000;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.about-qdt-desc-wrapper {
  max-width: 100%;
  margin: 0;
}

.about-qdt-desc {
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.7;
  color: #333;
}

.about-qdt-desc + .about-qdt-desc {
  margin-top: 16px;
}

.about-qdt-link {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 2px solid var(--text-dark);
  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}

.about-qdt-link:hover {
  color: #0066cc;
  border-color: #0066cc;
}

.about-qdt-leader-cards {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  width: 400px;
}

.qdt-leader-float {
  width: 100%;
}

.qdt-leader-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 4/5;
  margin: 40px auto 0;
  border-radius: 32px;
}

/* Background/offset video layer */
.qdt-leader-bg-image {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  object-fit: cover;
  /* Ensures the video fills the offset box */
  opacity: 0.5;
  filter: blur(2px) grayscale(80%);
  z-index: 1;
  transition:
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.6s ease;
}

/* Main card */
.qdt-leader-card {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  overflow: hidden;
  background: #111;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.qdt-leader-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
  opacity: 0.8;
  transition: transform 0.8s ease;
}

/* Hover effects */
.qdt-leader-card-wrapper:hover .qdt-leader-bg-image {
  transform: translate(15px, -15px);
  opacity: 0.8;
  filter: blur(1px) grayscale(50%);
}

.qdt-leader-card-wrapper:hover .qdt-leader-card {
  transform: translate(-10px, 10px);
}

.qdt-leader-card-wrapper:hover .qdt-leader-img {
  transform: scale(1.05);
}

.qdt-leader-info {
  position: relative;
  z-index: 2;
  padding: 32px;
  text-align: left;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

.qdt-leader-name {
  font-family: var(--font);
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 4px;
}

.qdt-leader-title {
  font-family: var(--font);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   INDUSTRIES / KURSER — Relats exact styling
   ============================================ */
.industries {
  padding: 120px 0 180px;
  background: var(--bg);
}

.industries-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

.industries-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: #1c1c1c;
  margin-bottom: 48px;
  /* Removing the pill border to match the simple text label of relats */
}

.industry-list {
  display: flex;
  flex-direction: column;
}

.industry-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.industry-item:first-child {
  border-top: 1px solid var(--border);
}

.industry-item:hover {
  padding-left: 12px;
}

.industry-item:hover .industry-name {
  color: var(--accent);
}

.industry-name {
  font-family: var(--font-heading);
  font-size: clamp(44px, 5.5vw, 79px);
  /* Relats exact massive font sizing */
  font-weight: 500;
  letter-spacing: -2.2px;
  color: #1c1c1c;
  transition: color 0.3s;
  line-height: 1.1;
  text-transform: none;
}

.industry-count {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  /* Kept slightly lighter for hierarchy, but aligned font */
  text-transform: uppercase;
  flex-shrink: 0;
}

/* ============================================
   DETAILED COURSE CARDS (Utbildning som ger resultat)
   ============================================ */

/* Blue accent text (used for "resultat." in the heading) */
.text-accent {
  color: var(--accent);
}

.course-cards-section {
  padding: 140px 0;
  background: var(--bg);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.course-cards-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 48px;
}

.course-cards-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}

.course-cards-desc {
  font-size: 1.25rem;
  color: #000;
  /* User requested black text for the description */
  line-height: 1.7;
  margin-top: 24px;
  font-weight: 400;
  /* slightly heavier to be readable in black */
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.course-card {
  background: #faf8f6;
  border: 1px solid rgba(80, 60, 30, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  min-height: 600px;
}

.course-card:hover {
  transform: translateY(-12px);
  border-color: var(--accent);
  box-shadow:
    0 10px 40px rgba(80, 60, 30, 0.15),
    0 0 20px rgba(0, 86, 163, 0.1);
}

.course-card-img-wrap {
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
  border-bottom: 3px solid var(--accent);
}

.course-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.9);
}

.course-card:hover .course-card-img {
  transform: scale(1.05);
  filter: brightness(1);
}

.course-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 8px 16px;
  border-radius: 2px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.course-card-body {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-card-title {
  font-size: 1.8rem;
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text);
  transition: color 0.3s;
}

.course-card:hover .course-card-title {
  color: var(--text);
}

.course-card-text {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 32px;
  flex-grow: 1;
  font-weight: 400;
}

.course-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  border-top: 1px solid rgba(80, 60, 30, 0.1);
  padding-top: 24px;
}

.course-card-list li {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
}

.course-card-list li span {
  color: #777;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.course-btn {
  width: 100%;
  text-align: center;
  border: 1px solid rgba(80, 60, 30, 0.2);
  color: var(--text);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 500;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
  background: transparent;
  text-decoration: none;
  display: inline-block;
  margin-top: auto;
}

.course-card:hover .course-btn {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.course-cards-header h2 {
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 600;
  font-family: var(--font-heading);
  /* Oswald */
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.02em;
  padding: 0;
  margin: 0;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 1024px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .course-card {
    min-height: auto;
  }
}

/* ============================================
   ABOUT PANEL — Image + accent box (like relats)
   ============================================ */
.about-panel {
  padding: 120px 0 100px;
  background: var(--bg);
  overflow: hidden;
}

/* --- Big Statement Headline --- */
.about-statement {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  text-align: center;
}

.about-statement-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.8vw, 5.8rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-dark);
}

/* Word wrapper prevents mid-word line breaks */
.about-statement-heading .stmt-word {
  display: inline-block;
  white-space: nowrap;
}

/* Typing fade characters */
.about-statement-heading .stmt-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  will-change: opacity, transform, filter;
}

/* Orange highlight words (SÄKRARE, EFFEKTIVA) */
.about-highlight {
  color: var(--accent-brand);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Animated quote marks */
.about-quote-mark {
  display: inline-block;
  color: var(--accent-brand);
  font-weight: 300;
  opacity: 0;
  transform: scale(1.4);
  filter: blur(8px);
  will-change: opacity, transform, filter;
  transition: none;
}

/* Cursor for the typing effect */
.about-statement-heading .typing-cursor {
  display: inline-block;
  width: 3px;
  height: 0.75em;
  background: var(--accent-brand);
  margin-left: 3px;
  vertical-align: baseline;
  animation: cursorBlink 0.7s steps(1) infinite;
  opacity: 0;
}

/* ============================================
   PREMIUM STATS & WHY US SECTION
   ============================================ */
.premium-stats-section {
  position: relative;
  padding: 100px 0 120px;
  background: var(--bg-dark);
  color: var(--white);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.premium-stats-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.premium-stats-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    transparent 0%,
    var(--bg-dark) 80%
  );
  z-index: 2;
  pointer-events: none;
}

.stat-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: blobAnim 8s infinite alternate ease-in-out;
}

.stat-blob-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-brand);
  top: -100px;
  left: -100px;
}

.stat-blob-2 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  bottom: -50px;
  right: -50px;
  animation-delay: -2s;
  animation-direction: alternate-reverse;
}

.stat-blob-3 {
  width: 250px;
  height: 250px;
  background: #ffb703;
  /* Yellowish to give the flame look */
  top: 30%;
  left: 40%;
  animation-duration: 6s;
}

@keyframes blobAnim {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -40px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 30px) scale(0.9);
  }

  100% {
    transform: translate(40px, 0px) scale(1.2);
  }
}

.premium-stats-container {
  position: relative;
  z-index: 3;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.premium-stats-text-col {
  max-width: 800px;
}

.stats-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border: 1px solid rgba(242, 140, 56, 0.4);
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-brand);
  text-transform: capitalize;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

/* Shimmer on stats tag */
.stats-tag::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(242, 140, 56, 0.15),
    transparent
  );
  animation: tagShimmer 3s ease-in-out infinite;
}

.stats-main-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 30px;
  letter-spacing: -0.01em;
  padding-bottom: 4px;
}

.stats-highlight {
  color: var(--accent-brand);
  display: inline-block;
  padding-bottom: 0.05em;
}

.stats-desc {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-weight: 300;
  max-width: 650px;
}

.premium-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition:
    transform var(--transition),
    border-color var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.stat-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
}

.stat-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.stat-val-h3 {
  font-family: var(--font-display);
  display: block;
  text-align: center;
  margin: 0;
  line-height: 1;
}

.stat-val {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 600;
  color: var(--white);
  display: inline;
  vertical-align: baseline;
}

.stat-unit {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 600;
  color: var(--accent-brand);
  margin-left: 4px;
  display: inline;
  vertical-align: baseline;
}

.stat-desc-p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0;
}

/* ============================================
   CERTIFICATIONS & QUALITY MARKS
   ============================================ */
.certifications-section {
  padding: 60px 0;
  background: #111111;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.certifications-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

.cert-heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-brand);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 40px;
}

.cert-logos-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  font-weight: 500;
  transition:
    color var(--transition),
    transform var(--transition);
}

.cert-item:hover {
  color: #fff;
  transform: translateY(-3px);
}

.cert-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-brand);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-item:hover .cert-icon {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 1024px) {
  .premium-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   SERVICES SECTION (QDT.ai Unified Style)
   ============================================ */
.qdt-services-section {
  padding: 140px 0;
  background: #ffffff;
  color: var(--text-dark);
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.qdt-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 160px;
  /* Large gap between the two sub-sections */
}

/* --- QDT Technology Style (Varuautomater) --- */
/* =========================================================
   QDT New 3-Card Layout for Varuautomater
   ========================================================= */
.qdt-tech-wrapper {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
}

.qdt-tech-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.qdt-tech-titles {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 100%;
}

.qdt-tech-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border: 1px solid rgba(0, 86, 163, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  width: fit-content;
  text-transform: capitalize;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
  background: rgba(0, 86, 163, 0.06);
}

/* Shimmer sweep on tag */
.qdt-tech-tag::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 86, 163, 0.1),
    transparent
  );
  animation: tagShimmer 3s ease-in-out infinite;
}

@keyframes tagShimmer {
  0%,
  100% {
    left: -100%;
  }

  50% {
    left: 100%;
  }
}

.qdt-tech-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

/* Typing fade animation characters */
.qdt-tech-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  filter: blur(4px);
  will-change: opacity, transform, filter;
}

/* Whitespace character needs width */
.qdt-tech-title .char-space {
  width: 0.3em;
}

/* Cursor after last visible char — no blink, simply fades out via JS */
.qdt-tech-title .typing-cursor {
  display: inline-block;
  width: 2px;
  height: 0.85em;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: baseline;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.qdt-tech-desc {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.6;
  max-width: 450px;
  margin-top: 10px;
}

/* =========================================================
   BENTO GRID — Varuautomater (Desktop)
   ========================================================= */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

/* --- Row 1: Hero card (spans 2 cols) + Products (1 col) --- */
.bento-hero {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}

.bento-hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 64px rgba(40, 30, 15, 0.35);
}

.bento-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.bento-hero:hover .bento-hero-img {
  transform: scale(1.04);
}

.bento-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.3) 45%,
    rgba(0, 0, 0, 0.05) 100%
  );
  z-index: 2;
}

.bento-hero-content {
  position: relative;
  z-index: 3;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.bento-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 50px;
  width: fit-content;
}

.bento-hero-content h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 400;
  color: #fff;
  /* Still white — overlays image */
  line-height: 1.1;
  margin: 0;
}

.bento-hero-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  max-width: 460px;
  margin: 0;
}

.bento-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.bento-hero-tags span {
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.05);
  transition:
    border-color 0.3s ease,
    color 0.3s ease,
    background 0.3s ease;
}

.bento-hero:hover .bento-hero-tags span {
  border-color: rgba(0, 86, 163, 0.3);
  color: rgba(255, 255, 255, 0.9);
}

/* --- Products panel (right side, row 1) --- */
.bento-products {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
  background: var(--bg-light);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 4px 24px rgba(80, 60, 30, 0.06);
}

.bento-products-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bento-products-label {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-dark);
}

.bento-products-header p {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin: 0;
}

.bento-products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  flex: 1;
}

.bento-product-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  background: #faf8f6;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  text-align: center;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
  cursor: default;
}

.bento-product-item:hover {
  background: rgba(0, 86, 163, 0.06);
  border-color: rgba(0, 86, 163, 0.15);
  transform: translateY(-2px);
}

.bento-product-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0, 86, 163, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.bento-product-item:hover .bento-product-icon {
  transform: scale(1.12);
  background: rgba(0, 86, 163, 0.18);
}

.bento-product-icon svg {
  width: 22px;
  height: 22px;
  overflow: visible;
}

/* Icon path draw animation */
.bento-product-icon svg .icon-path,
.bento-product-icon svg .icon-steam {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}

@keyframes iconDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes steamRise {
  0% {
    stroke-dashoffset: 30;
    opacity: 0;
  }

  40% {
    opacity: 1;
  }

  100% {
    stroke-dashoffset: 0;
    opacity: 0.7;
  }
}

.bento-product-item span {
  font-size: 0.82rem;
  color: var(--text-mid);
  font-weight: 500;
  line-height: 1.3;
}

/* --- Row 2: Service card (full-width dark) --- */
.bento-service {
  grid-column: 1 / -1;
  background: #111;
  border-radius: 24px;
  padding: 48px 52px;
  display: flex;
  align-items: center;
  gap: 56px;
}

.bento-service-left {
  flex: 1;
  min-width: 0;
}

.bento-service-hook {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 14px;
  font-style: italic;
}

.bento-service-hook-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  margin: 0;
}

.bento-service-divider {
  width: 1px;
  height: 130px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.bento-service-right {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.bento-service-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  border-radius: 50px;
  width: fit-content;
}

.bento-service-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.bento-service-right > p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin: 0;
}

.bento-service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bento-service-chips span {
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.04);
  transition:
    border-color 0.3s ease,
    color 0.3s ease,
    background 0.3s ease;
}

.bento-service-chips span:hover {
  border-color: rgba(0, 86, 163, 0.45);
  color: #fff;
  background: rgba(0, 86, 163, 0.09);
}

/* --- Stat badge icon (replaces numeric stat) --- */
.bento-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0, 86, 163, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.bento-stat-icon svg {
  width: 22px;
  height: 22px;
}

/* --- Row 3: Process strip (full width) --- */
.bento-process {
  grid-column: 1 / -1;
  background: var(--bg-light);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.bento-process-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-dark);
  margin: 0;
}

.bento-process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.bento-step {
  flex: 1;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 0 24px;
}

.bento-step:first-child {
  padding-left: 0;
}

.bento-step:last-child {
  padding-right: 0;
}

.bento-step-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.7;
}

.bento-step-text h5 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-dark);
  margin: 0 0 6px;
}

.bento-step-text p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.5;
  margin: 0;
}

.bento-step-divider {
  width: 1px;
  min-height: 60px;
  align-self: stretch;
  background: rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.bento-process-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  width: fit-content;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  cursor: pointer;
}

/* Contact Form Success Overlay (Global Full-Screen) */
.form-success-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(232, 228, 223, 0.4);
  /* Matches beige theme */
  backdrop-filter: blur(50px) saturate(200%);
  -webkit-backdrop-filter: blur(50px) saturate(200%);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-success-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Klaviyo-inspired 'Liquid Glass' Success Modal */
.success-modal {
  position: relative;
  width: 700px;
  max-width: 95vw;
  height: 440px;
  background: rgba(255, 255, 255, 0.5);
  /* Semi-transparent base */
  backdrop-filter: blur(40px) saturate(200%) brightness(0.98);
  -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(0.98);
  display: flex;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.4);
  transform: translateY(40px);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-modal::before {
  content: "";
  position: absolute;
  inset: -100%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 60%
  );
  animation: successLiquidShine 8s infinite linear;
  pointer-events: none;
  z-index: 5;
  opacity: 0.6;
}

@keyframes successLiquidShine {
  0% {
    transform: translateX(-50%) translateY(-50%) rotate(0deg);
  }

  100% {
    transform: translateX(50%) translateY(50%) rotate(10deg);
  }
}

.form-success-overlay.active .success-modal {
  transform: translateY(0);
}

.success-img-box {
  flex: 1;
  height: 100%;
  position: relative;
}

/* Add a subtle inner shine to the image box matching the glass theme */
.success-img-box::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset -15px 0 30px -10px rgba(255, 255, 255, 0.3);
}

.success-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.success-text-box {
  flex: 1.2;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  background: transparent;
  /* Becomes transparent to show glass effect */
}

.success-checkmark {
  width: 48px;
  height: 48px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.success-checkmark svg {
  width: 24px;
  height: 24px;
}

.success-text-box h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #000;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.success-text-box p {
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.5;
  margin-bottom: 32px;
}

.success-btns {
  display: flex;
  align-items: center;
  gap: 20px;
}

.success-link {
  font-family: var(--font);
  font-size: 0.9rem;
  color: #000;
  text-decoration: underline;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.success-link:hover {
  opacity: 1;
}

.bento-process-cta:hover {
  background: #004a8f;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 86, 163, 0.3);
}

.bento-process-cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.bento-process-cta:hover svg {
  transform: translateX(4px);
}

/* --- Row 3: Highlights strip (stats + benefits) --- */
.bento-highlights {
  grid-column: 1 / -1;
  background: var(--bg-light);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 36px 44px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.bento-highlights-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bento-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  text-align: center;
}

.bento-stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.bento-stat-label {
  font-size: 0.85rem;
  color: var(--text-mid);
  font-weight: 500;
}

.bento-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.bento-highlights-benefits {
  display: block;
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  line-height: 2.4;
}

.bento-benefit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  margin: 4px;
  background: #faf8f6;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50px;
  color: var(--text-mid);
  font-size: 0.85rem;
  font-weight: 500;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
  white-space: nowrap;
}

.bento-benefit:hover {
  background: rgba(0, 86, 163, 0.06);
  border-color: rgba(0, 86, 163, 0.2);
  color: var(--text-dark);
}

.bento-benefit svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

/* --- Process strip in row 4 spans full width --- */
.bento-process-subtitle {
  font-size: 0.95rem;
  color: var(--text-mid);
  margin: 6px 0 0;
  line-height: 1.5;
}

/* Legacy nav arrows — kept for mobile JS but hidden on desktop */
.qdt-cards-nav {
  display: none;
}

.qdt-nav-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--text-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s ease,
    background 0.3s;
}

.qdt-nav-arrow:hover {
  transform: scale(1.05);
  background: var(--text-mid);
}

.qdt-nav-arrow svg {
  width: 18px;
  height: 18px;
}

/* Mobile responsive layout */
@media (max-width: 1024px) {
  .qdt-3card-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100vw;
    padding-bottom: 24px;
    gap: 40px;
  }

  .qdt-tech-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .qdt-tech-titles,
  .qdt-tech-desc {
    max-width: 100%;
  }

  .qdt-card-featured {
    width: 100%;
    min-height: 480px;
  }

  .qdt-cards-right {
    width: 100%;
    min-width: 0;
  }

  /* Showcase grid: single column on tablet */
  .qdt-showcase-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .qdt-showcase-img {
    height: 220px;
  }

  /* Bento grid: 2 columns on tablet */
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento-hero {
    grid-column: 1 / -1;
    min-height: 360px;
  }

  .bento-products {
    grid-column: 1 / -1;
  }

  .bento-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bento-service {
    flex-direction: column;
    gap: 32px;
    padding: 36px 32px;
  }

  .bento-service-divider {
    width: 100%;
    height: 1px;
  }

  .bento-service-hook {
    font-size: 1.4rem;
  }

  .bento-card--tall {
    grid-column: 1 / 2;
  }

  .bento-insight {
    grid-column: 2 / 3;
  }

  .bento-reasons {
    grid-column: 1 / -1;
  }

  .bento-trust {
    grid-column: 1 / 2;
  }

  .bento-process {
    grid-column: 1 / -1;
  }

  .bento-process-steps {
    flex-direction: column;
    gap: 20px;
  }

  .bento-step {
    padding: 0;
  }

  .bento-step-divider {
    width: 100%;
    min-height: 1px;
    height: 1px;
  }
}

/* Mobile carousel — hidden on desktop */
.qdt-mobile-unified-card {
  display: none;
}

/* --- QDT Enterprise Solutions Style (Coachingtjänster) --- */
.qdt-enterprise-wrapper {
  display: flex;
  flex-direction: column;
  gap: 64px;
  align-items: center;
}

.qdt-enterprise-header {
  text-align: center;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.qdt-enterprise-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.qdt-enterprise-desc {
  font-size: 1.15rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.qdt-enterprise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.qdt-enterprise-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.qdt-enterprise-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    rgba(0, 86, 163, 0.04),
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--transition);
}

.qdt-enterprise-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 86, 163, 0.15);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.qdt-enterprise-card:hover::before {
  opacity: 1;
}

.qdt-card-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.qdt-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 86, 163, 0.06);
  border: 1px solid rgba(0, 86, 163, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: var(--transition);
}

.qdt-enterprise-card:hover .qdt-card-icon {
  background: rgba(0, 86, 163, 0.1);
  transform: scale(1.1);
}

.qdt-card-icon svg {
  width: 24px;
  height: 24px;
}

.qdt-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.qdt-card-arrow {
  position: absolute;
  top: 0;
  right: 0;
  color: rgba(0, 0, 0, 0.2);
  transition:
    color var(--transition),
    transform var(--transition);
}

.qdt-card-arrow svg {
  width: 24px;
  height: 24px;
}

.qdt-enterprise-card:hover .qdt-card-arrow {
  color: var(--accent);
  transform: translate(4px, -4px);
}

.qdt-card-desc {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 2;
  transition: color var(--transition);
}

.qdt-enterprise-card:hover .qdt-card-desc {
  color: var(--text-dark);
}

/* Premium hover glow effect for coaching cards */
.qdt-enterprise-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.qdt-enterprise-card:hover::after {
  opacity: 1;
}

/* Subtle floating animation for icons on hover */
.qdt-enterprise-card:hover .qdt-card-icon {
  animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
  0%,
  100% {
    transform: scale(1.1) translateY(0);
  }

  50% {
    transform: scale(1.1) translateY(-4px);
  }
}

@media (max-width: 1200px) {
  .qdt-enterprise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .qdt-tech-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

/* ============================================
   HORIZONTAL SCROLL SLIDESHOW
   ============================================ */
.scroll-slider-section {
  position: relative;
  background: #e9e4df;
  /* Relats beige-ish background */
  color: var(--text-dark);
  padding-bottom: 80px;
  /* Added gap below the scrolling section */
}

.scroll-slider-sticky {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px;
}

.scroll-slider-left {
  width: 100%;
  padding: 0 48px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.scroll-slider-title {
  font-family: var(--font);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* ---- Arrow nav ---- */
.scroll-slider-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
}

.scroll-slider-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.18);
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.25s ease,
    box-shadow 0.3s ease;
  flex-shrink: 0;
}

.scroll-slider-arrow svg {
  width: 18px;
  height: 18px;
}

.scroll-slider-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 86, 163, 0.3);
}

.scroll-slider-arrow:active {
  transform: scale(0.96);
}

.scroll-slider-arrow:disabled {
  opacity: 0.3;
  pointer-events: none;
}

.scroll-slider-right {
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.scroll-slider-track {
  display: flex;
  gap: 40px;
  padding: 0 48px;
  height: 60vh;
  /* Reduced height to match relats closer */
  will-change: transform;
}

.scroll-card {
  flex: 0 0 24vw;
  /* Reduced width back to match relats */
  height: 100%;
  display: flex;
  flex-direction: column;
}

.scroll-card-media {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  position: relative;
}

.scroll-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Gradient reversed: darker at the bottom for text readability */
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.scroll-card-media video,
.scroll-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-card:hover .scroll-card-media img,
.scroll-card:hover .scroll-card-media video {
  opacity: 0.35;
  transform: scale(1.06);
}

.card-step-num {
  position: absolute;
  bottom: -0.18em;
  right: -0.08em;
  font-family: var(--font-display);
  font-size: clamp(12rem, 22vw, 20rem);
  font-weight: 700;
  line-height: 0.85;
  color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
  z-index: 1;
  letter-spacing: -0.08em;
  user-select: none;
  text-transform: uppercase;
  transition:
    color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    text-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-card:hover .card-step-num {
  color: rgba(255, 255, 255, 0.95);
  transform: scale(1.05) translate(-10px, -10px);
  text-shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
}

.scroll-card-content {
  position: absolute;
  bottom: 0;
  /* Moved to bottom */
  left: 0;
  width: 100%;
  padding: 0 32px 32px 32px;
  /* Adjusted padding for bottom placement */
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scroll-card-content h4 {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  font-family: var(--font);
}

.scroll-card-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  font-weight: 300;
}

/* ============================================
   FINAL CTA — Two cards like relats
   ============================================ */
.final-cta {
  padding: 0 48px 80px;
  background: var(--bg);
  max-width: 1500px;
  margin: 0 auto;
}

.final-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.final-cta-card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  padding: 56px;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.final-cta-dark {
  background: var(--bg-dark);
  color: var(--white);
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.final-cta-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  height: 100%;
}

.cta-heading {
  font-family: var(--font);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.final-cta-accent {
  background: var(--accent-cta);
  color: var(--text-dark);
}

.cta-arrow-icon {
  position: absolute;
  right: 0px;
  bottom: 16px;
  pointer-events: none;
}

.final-cta-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 2;
  align-items: flex-start;
}

/* ============================================
   FOOTER — Minimal like relats
   ============================================ */
.footer {
  background: #1c1c1c;
  padding: 0;
}

.footer-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 32px 48px;
  padding-bottom: max(32px, calc(32px + env(safe-area-inset-bottom)));
  padding-left: max(48px, calc(48px + env(safe-area-inset-left)));
  padding-right: max(48px, calc(48px + env(safe-area-inset-right)));
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-logo-col {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-img {
  height: 42px;
  width: auto;
  filter: brightness(10);
}

.footer-brand-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  display: none;
}

.footer-links-col {
  display: flex;
  gap: 48px;
}

.footer-links-col a,
.footer-contact-col a {
  font-size: 0.85rem;
  font-weight: 400;
  color: #757474;
  transition: color 0.3s;
}

.footer-links-col a:hover,
.footer-contact-col a:hover {
  color: var(--white);
}

.footer-contact-col {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.circle-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #333333;
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 600;
}

.footer-copy-col {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
}

.scroll-top-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cta);
  cursor: none;
  transition: var(--transition);
}

.scroll-top-btn:hover {
  transform: translateY(-4px);
}

.lang-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #333333;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 4px;
}

/* ---------- GSAP ---------- */
[data-animate] {
  will-change: transform, opacity;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .nav-container,
  .industries-container,
  .features-top,
  .about-panel-grid,
  .final-cta,
  .footer-inner {
    padding-left: 32px;
    padding-right: 32px;
  }

  .hero-content {
    left: 32px;
  }

  .hero-actions {
    right: 32px;
  }

  .hero-badge {
    right: 32px;
  }
}

/* ============================================
   CONTACT FORM — QDT.ai style
   ============================================ */
.contact-section {
  background: #000000;
  padding: clamp(40px, 8vw, 80px) 0 0;
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 700px;
}

.contact-left {
  padding: 20px 60px 80px 60px;
}

.contact-info-row {
  display: flex;
  gap: 60px;
  margin-bottom: 60px;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 50px;
  max-width: 650px;
  min-height: 2.5em;
  /* Reserves space for 2 lines to prevent layout jump */
}

#dynamic-typing-word {
  color: var(--accent-brand);
  position: relative;
  white-space: pre-wrap;
  /* Prevents collapsing leading/trailing spaces during typing */
}

#dynamic-typing-word::after {
  content: "|";
  position: relative;
  margin-left: 2px;
  animation: typingCursor 1s infinite;
  font-weight: 100;
  opacity: 1;
}

#dynamic-typing-word.no-cursor::after {
  display: none !important;
}

@keyframes typingCursor {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.contact-info-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-info-value {
  font-family: var(--font);
  font-size: 1.3rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.contact-info-value:hover {
  opacity: 0.7;
}

.contact-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.hand-drawn-underline {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.hand-drawn-underline::after {
  content: "";
  position: absolute;
  left: -5%;
  bottom: -10px;
  width: 110%;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg width='300' height='20' viewBox='0 0 300 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12C45 9 85 11 125 10C165 9 205 10 245 11C265 11.5 285 12.5 295 13' stroke='%23F28C38' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M10 15C50 13 90 14 130 14C170 14 210 13 250 14C270 14.5 290 15.5 295 16' stroke='%23F28C38' stroke-width='2' stroke-linecap='round' opacity='0.6'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: -1;
  transform: rotate(-1deg);
  pointer-events: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s cubic-bezier(0.65, 0, 0.35, 1);
}

.hand-drawn-underline.is-visible::after {
  clip-path: inset(0 0 0 0);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.form-group {
  margin-bottom: 0;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-family: var(--font);
  font-size: 1rem;
  padding: 22px 0;
  outline: none;
  transition: border-color 0.3s;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
}

/* Global Autofill Fix - High Priority Overrides */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active,
input:autofill,
input:autofill:hover,
input:autofill:focus,
input:autofill:active,
textarea:autofill,
textarea:autofill:hover,
textarea:autofill:focus,
textarea:autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #000000 inset !important;
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
  caret-color: #ffffff !important;
  transition:
    background-color 5000s ease-in-out 0s,
    color 5000s ease-in-out 0s !important;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

.form-group-full {
  margin-top: 10px;
}

.form-group textarea {
  min-height: 120px;
}

.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 14px 36px;
  background: #ffffff;
  color: #000000;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  align-self: flex-start;
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

.contact-right {
  position: relative;
  overflow: hidden;
  padding: 40px 40px 40px 0;
  display: flex;
  align-items: stretch;
}

.contact-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.contact-art-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

/* ============================================
   FOOTER — QDT.ai style 4-column
   ============================================ */
.footer-qdt {
  background: #000000;
  padding: 0 60px;
}

.footer-qdt-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding: 80px 0;
}

.footer-qdt-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-qdt-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-qdt-brand-name {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.footer-qdt-heading {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  font-weight: 400;
}

.footer-qdt-link {
  display: block;
  font-family: var(--font);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.3s;
}

.footer-qdt-link:hover {
  color: #ffffff;
}

.footer-qdt-address {
  font-family: var(--font);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* Social cards */
.footer-social-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 14px 18px;
  margin-top: 14px;
  transition:
    border-color 0.3s,
    background 0.3s;
  cursor: pointer;
}

.footer-social-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.03);
}

.footer-social-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-social-platform {
  font-family: var(--font);
  font-size: 0.9rem;
  color: #ffffff;
  font-weight: 500;
}

.footer-social-handle {
  font-family: var(--font);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-social-icon {
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

/* Divider */
.footer-qdt-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* Sub-footer: two-row structure */
.footer-sub-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  gap: 16px;
}

.footer-sub-utility {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-sub-identity {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-sub-legal {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-qdt-copy {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.08em;
}

.footer-qdt-bottom-link {
  font-family: var(--font);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-qdt-bottom-link:hover {
  color: #ffffff;
}

.footer-qdt-top-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: opacity 0.25s ease;
  white-space: nowrap;
}

.footer-qdt-top-btn:hover {
  opacity: 0.6;
}

.footer-falkstack {
  font-family: "DM Mono", "Courier New", monospace;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.28);
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-falkstack:hover {
  color: rgba(255, 255, 255, 0.6);
}

.animated-section-divider {
  width: 100%;
  height: 1px;
  background: #000000;
  position: relative;
  overflow: hidden;
}

.animated-section-divider::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transform: translateX(-50%);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.animated-section-divider.is-visible::after {
  width: 80%;
}

.faq-section {
  background: #000000;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.faq-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.faq-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: #ffffff;
  letter-spacing: -0.02em;
}

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

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 34px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: opacity 0.3s ease;
}

.faq-question:hover {
  opacity: 0.7;
}

.faq-number {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.25);
  min-width: 42px;
  letter-spacing: 0.05em;
}

.faq-q-text {
  flex: 1;
  font-family: var(--font);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.5;
}

/* The animated + / − icon */
.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.faq-icon-bar {
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 1px;
  transition:
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.3s ease;
}

.faq-bar-h {
  width: 100%;
  height: 1.5px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq-bar-v {
  width: 1.5px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

/* When open: rotate the vertical bar to become horizontal (creating −) */
.faq-item.is-open .faq-bar-v {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-item.is-open .faq-q-text {
  color: #ffffff;
}

.faq-item.is-open .faq-number {
  color: var(--accent-brand);
}

/* The sliding answer panel */
.faq-answer {
  overflow: hidden;
  height: 0;
  /* Animated by GSAP */
}

.faq-answer-inner {
  padding: 0 0 32px 66px;
  /* Left padding aligns with the question text (past the number) */
}

.faq-answer-inner p {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  max-width: 700px;
}

@media (max-width: 1024px) {
  .features-top {
    grid-template-columns: 1fr;
  }

  .features-big-img {
    height: 400px;
  }

  .about-panel-grid {
    grid-template-columns: 1fr;
  }

  .about-panel-image {
    height: 350px;
  }

  .final-cta-grid {
    grid-template-columns: 1fr;
  }

  .stats-row-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-block:not(:last-child)::after {
    display: none;
  }
}

/* ========== SERVICE AREA MAP SECTION ========== */
.service-area {
  background: var(--bg);
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.service-area-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-text-col {
  max-width: 480px;
}

.service-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 8px;
}

.service-subheading {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 24px;
  font-weight: 500;
}

.service-desc {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.8;
}

.service-map-col {
  display: flex;
  justify-content: center;
  position: relative;
}

.map-wrapper {
  width: 100%;
  max-width: 250px;
  position: relative;
}

.sweden-map-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.05));
  stroke: var(--bg);
  stroke-width: 1px;
  stroke-linejoin: round;
  stroke-linecap: round;
  overflow: visible;
  transition: filter 1.2s ease;
}

.sweden-map-svg.is-drawing {
  filter: drop-shadow(0 0 18px rgba(242, 140, 56, 0.35))
    drop-shadow(0 10px 20px rgba(0, 0, 0, 0.05));
}

.sweden-map-svg path {
  fill: var(--bg-light);
  transition:
    fill 0.25s ease,
    filter 0.25s ease;
  cursor: pointer;
}

.sweden-map-svg path:hover {
  fill: #4a90d9;
  filter: drop-shadow(0 0 6px rgba(74, 144, 217, 0.5));
}

.pulse-ring {
  transform-origin: center;
  transform: scale(1);
  opacity: 0.3;
}

.sweden-map-svg text {
  fill: #000;
}

@media (max-width: 900px) {
  .service-area-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-text-col {
    max-width: 100%;
    margin: 0 auto;
  }

  .service-map-col {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  /* ---- Hero section (mobile) ---- */
  .hero-content-slide {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-bottom: 180px;
  }

  .hero-content {
    position: relative;
    display: block;
    /* Override desktop flex — ensures h1/p are full-width blocks */
    bottom: auto;
    left: auto;
    right: auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
    order: 1;
    margin: 0;
  }

  .hero-title {
    display: block;
    width: 100%;
    font-size: clamp(2.1rem, 10vw, 2.7rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
    text-align: left;
    margin-bottom: 0;
    padding: 0;
  }

  .hero-subtitle {
    display: block;
    width: 100%;
    margin-top: 20px;
    font-size: 1rem;
    max-width: 80%;
    line-height: 1.55;
    text-align: left;
    color: rgba(255, 255, 255, 0.82);
  }

  .hero-actions {
    position: relative;
    bottom: auto;
    right: auto;
    left: auto;
    padding: 0 24px;
    margin: 32px 0 0 0;
    order: 2;
    z-index: var(--z-sticky);
    justify-content: flex-start;
    display: flex;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-actions .glass-service-card {
    display: none !important;
  }

  .hero-mobile-btns {
    display: flex !important;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .btn-pill-dark {
    /* Remove backdrop-filter on mobile — animating blur+opacity causes double-blur artifact */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(0, 0, 0, 0.65);
    margin-left: 0;
  }

  /* ---- Course cards (mobile) ---- */
  .course-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .course-cards-container {
    padding: 0 20px;
  }

  .course-cards-section {
    padding: 80px 0;
  }

  .course-cards-header {
    margin: 0 auto 48px;
  }

  .course-card-body {
    padding: 28px 24px;
  }

  .course-card-title {
    font-size: 1.4rem;
    margin-bottom: 14px;
  }

  .course-card-text {
    font-size: 0.95rem;
  }

  .course-cards-desc {
    font-size: 1.05rem;
  }

  /* ---- Success modal (mobile) ---- */
  .success-modal {
    flex-direction: column;
    height: auto;
    width: 100%;
  }

  .success-img-box {
    height: 160px;
  }

  .success-text-box {
    padding: 30px 24px;
    align-items: center;
    text-align: center;
  }

  .success-checkmark {
    margin-bottom: 16px;
  }

  .success-btns {
    flex-direction: column;
    width: 100%;
  }

  .success-btns .btn-pill {
    width: 100%;
    justify-content: center;
  }

  /* ---- QDT layouts + mobile carousel ---- */
  /* Hide desktop layouts on mobile */
  .qdt-3card-layout,
  .qdt-showcase-grid {
    display: none !important;
  }

  .bento-grid {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Header row: tag + title + arrows inline */
  .qdt-tech-header-row {
    position: relative;
  }

  .qdt-tech-title {
    font-size: clamp(1.4rem, 6vw, 2.4rem) !important;
    word-break: break-word;
    hyphens: auto;
  }

  /* Hide the mobile carousel section to prefer bento grids */
  .qdt-mobile-unified-card {
    display: none !important;
  }

  /* --- Mobile Carousel Header (arrows + counter) --- */
  .qdt-mob-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 4px;
  }

  .qdt-mob-counter {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
  }

  .qdt-mob-counter .qdt-mob-counter-current {
    color: var(--text-dark);
    font-weight: 600;
  }

  .qdt-mob-arrows {
    display: flex;
    gap: 10px;
  }

  .qdt-mob-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
      background 0.3s ease,
      border-color 0.3s ease,
      color 0.3s ease,
      transform 0.3s ease;
    padding: 0;
  }

  .qdt-mob-arrow:active {
    background: rgba(0, 86, 163, 0.1);
    border-color: rgba(0, 86, 163, 0.3);
    color: var(--accent);
    transform: scale(0.92);
  }

  .qdt-mob-arrow svg {
    width: 18px;
    height: 18px;
  }

  /* --- Image Card Track (scroll-snap) --- */
  .qdt-mob-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding-left: 0;
    padding: 0 0 8px 0;
    scrollbar-width: none;
  }

  .qdt-mob-track::-webkit-scrollbar {
    display: none;
  }

  /* --- Individual Long Image Card --- */
  .qdt-mob-card {
    flex: 0 0 85vw;
    scroll-snap-align: start;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px -4px rgba(0, 0, 0, 0.12);
  }

  .qdt-mob-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .qdt-mob-card:hover img {
    transform: scale(1.03);
  }

  /* Gradient overlay — subtle bottom fade for depth */
  .qdt-mob-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.55) 0%,
      transparent 100%
    );
    pointer-events: none;
  }

  /* Card number badge */
  .qdt-mob-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--white);
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.08em;
  }

  /* Service name pill at bottom of card */
  .qdt-mob-card-title {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 2;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  }

  /* --- Text Block Below Cards --- */
  .qdt-mob-text-block {
    padding: 24px 4px 0;
    min-height: 100px;
    position: relative;
  }

  .qdt-mob-text-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 0 10px 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
  }

  .qdt-mob-text-desc {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.65;
    margin: 0;
    font-weight: 300;
  }

  /* Dot progress indicators */
  .qdt-mob-dots {
    display: flex;
    gap: 8px;
    margin-top: 24px;
  }

  .qdt-mob-dot {
    height: 3px;
    flex: 1;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.1);
    transition: background 0.4s ease;
  }

  .qdt-mob-dot.active {
    background: var(--accent);
    box-shadow: 0 0 8px rgba(0, 86, 163, 0.3);
  }

  /* --- Mobile Card Entrance Animations --- */
  .qdt-mob-card {
    will-change: transform, opacity;
  }

  .qdt-mob-card img {
    will-change: transform;
  }

  /* Active card subtle glow */
  .qdt-mob-card.qdt-mob-card--active {
    box-shadow:
      0 8px 32px -4px rgba(0, 0, 0, 0.15),
      0 0 0 1px rgba(0, 86, 163, 0.15);
  }

  /* Text block accent line */
  .qdt-mob-text-block::before {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: var(--accent);
    margin-bottom: 18px;
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .qdt-mob-text-block:hover::before {
    width: 80px;
  }

  /* ---- QDT vending mobile cards ---- */
  .qdt-container {
    gap: 100px;
  }

  .qdt-enterprise-grid {
    grid-template-columns: 1fr;
  }

  /* Simplify shape for mobile */
  .qdt-shape-bg-layer {
    clip-path: none;
    border-radius: 20px;
  }

  .qdt-shape-tl {
    position: relative;
    width: 100%;
    height: auto;
    padding: 24px;
  }

  .qdt-shape-bl {
    position: relative;
    width: 100%;
    height: auto;
    clip-path: none;
    border-radius: 0 0 20px 20px;
    padding: 32px;
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(10px);
  }

  .qdt-tech-right {
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .qdt-shape-master {
    position: relative;
    display: flex;
    flex-direction: column;
  }

  /* --- Varuautomater Mobile Premium Cards --- */
  .qdt-tech-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .qdt-tech-selector {
    display: none;
  }

  .qdt-tech-right {
    display: none !important;
  }

  .qdt-tech-left {
    gap: 20px;
  }

  .qdt-tech-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .qdt-tech-desc {
    font-size: 1rem;
    max-width: 100%;
  }

  /* Mobile cards wrapper */
  .qdt-mobile-cards-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 12px;
    width: 100%;
  }

  /* Scroll-snap track */
  .qdt-mobile-cards-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding-left: 20px;
    padding: 20px 20px 40px 20px;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .qdt-mobile-cards-track::-webkit-scrollbar {
    display: none;
  }

  /* Premium card */
  .qdt-mobile-card {
    flex: 0 0 82vw;
    scroll-snap-align: center;
    min-height: 340px;
    border-radius: 24px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(
      168deg,
      rgba(30, 30, 32, 0.95) 0%,
      rgba(16, 16, 18, 0.98) 50%,
      rgba(10, 10, 12, 1) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
      0 20px 60px -12px rgba(0, 0, 0, 0.8),
      0 8px 24px -8px rgba(0, 0, 0, 0.6),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  /* Top-edge orange accent line */
  .qdt-mobile-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(242, 140, 56, 0.4) 30%,
      rgba(242, 140, 56, 0.6) 50%,
      rgba(242, 140, 56, 0.4) 70%,
      transparent 100%
    );
  }

  /* Corner radial glow */
  .qdt-mobile-card::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(
      circle,
      rgba(242, 140, 56, 0.06) 0%,
      transparent 70%
    );
    pointer-events: none;
  }

  /* Card index badge */
  .qdt-mobile-card-index {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: rgba(242, 140, 56, 0.6);
    letter-spacing: 0.1em;
  }

  /* Card icon */
  .qdt-mobile-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-brand);
  }

  .qdt-mobile-card-icon svg {
    width: 26px;
    height: 26px;
  }

  /* Card title */
  .qdt-mobile-card h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--white);
    margin: 0;
  }

  /* Card description */
  .qdt-mobile-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    font-weight: 300;
    margin: 0;
    flex-grow: 1;
  }

  /* Dot indicators */
  .qdt-mobile-cards-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 4px 0;
  }

  .qdt-mobile-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition:
      width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
      border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1),
      background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
      box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .qdt-mobile-dot.active {
    width: 28px;
    border-radius: 4px;
    background: var(--accent-brand);
    box-shadow: 0 0 12px rgba(242, 140, 56, 0.4);
  }

  /* ---- General mobile overrides ---- */

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  body {
    cursor: auto;
  }

  a,
  button {
    cursor: pointer;
  }

  .nav-links {
    display: none;
  }

  .nav-icon-btn {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .nav-container {
    padding: 0 20px;
  }

  .loader-content {
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 16px;
  }

  .loader-text {
    font-size: 2rem;
  }

  .navbar {
    padding: 18px 0;
  }

  .navbar.scrolled {
    padding: 12px 0;
  }

  .logo-img {
    height: 45px;
  }

  .nav-cta {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  /* Hero mobile */
  .hero {
    min-height: 100svh;
  }

  .hero-badge {
    top: 80px;
    right: 20px;
    padding: 10px 16px;
    border-radius: 14px;
  }

  .hero-badge-img {
    width: 36px;
    height: 36px;
  }

  .hero-badge-text > span:first-child {
    font-size: 0.75rem;
  }

  /* Removed duplicate mobile overrides to clean up vertical rhythm */

  .hero-bottom-nav {
    bottom: 30px;
    left: 24px;
    right: auto;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
    /* Prevent overlap if too many */
  }

  .hero-nav-btn {
    font-size: 0.7rem;
    flex-direction: row;
    /* Horizontal labels on the left look better stacked vertically as a list */
    gap: 8px;
    letter-spacing: 0.05em;
    text-align: left;
    padding: 4px 0;
    opacity: 0.4;
  }

  .hero-nav-btn span {
    font-size: 0.8rem;
  }

  /* Interstitial */
  .inter-line {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .interstitial {
    min-height: 60vh;
  }

  /* Industries */
  .industries {
    padding: 80px 0;
  }

  .industries-container {
    padding: 0 20px;
  }

  .industry-name {
    font-size: clamp(1.4rem, 6vw, 2.2rem);
  }

  .industry-item {
    padding: 24px 0;
  }

  /* Features */
  .features-top {
    padding: 0 20px;
  }

  .features-big-img {
    height: 280px;
    border-radius: var(--radius);
  }

  .features-cards {
    grid-template-columns: 1fr 1fr;
  }

  /* Horizontal Scroll Cards — Mobile Native */
  .scroll-slider-section {
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
  }

  .scroll-slider-sticky {
    height: auto;
    padding-top: 60px;
    display: block;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
  }

  .scroll-slider-left {
    padding: 0 20px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .scroll-slider-title {
    max-width: 100%;
    font-size: clamp(2.2rem, 8vw, 3rem);
    line-height: 1.1;
  }

  .scroll-slider-nav {
    margin-bottom: 0;
  }

  .scroll-slider-right {
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
  }

  .scroll-slider-track {
    height: auto;
    padding: 0 20px 40px;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    will-change: auto;
    display: flex;
    width: 100%;
    box-sizing: border-box;
  }

  .scroll-slider-track::-webkit-scrollbar {
    display: none;
  }

  .scroll-card {
    flex: 0 0 82vw;
    height: 62vh;
    scroll-snap-align: center;
  }

  .scroll-card-content {
    padding: 0 20px 24px 20px;
  }

  .scroll-card-content h4 {
    font-size: 1.4rem;
  }

  .scroll-card-content p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .card-step-num {
    font-size: clamp(10rem, 35vw, 15rem);
    bottom: -0.15em;
    right: -0.05em;
  }

  /* About QDT — Mobile */
  .about-qdt {
    padding: 60px 0 80px;
  }

  .about-qdt-container {
    padding: 0 20px;
    flex-direction: column;
  }

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

  .about-qdt-leader-cards {
    width: 100%;
  }

  .about-qdt-title {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
    line-height: 1.15;
    margin-bottom: 20px;
  }

  .about-qdt-desc-wrapper {
    margin: 0 auto 40px;
  }

  .about-qdt-desc {
    font-size: 16px;
    line-height: 1.65;
  }

  /* About — Statement Headline */
  .about-statement {
    padding: 0 10px;
  }

  .about-statement-heading {
    font-size: clamp(2.4rem, 11vw, 3.8rem);
    text-align: center;
    line-height: 1.25;
    letter-spacing: -0.04em;
  }

  .about-statement-heading .stmt-word,
  .about-quote-mark {
    vertical-align: baseline;
  }

  .about-quote-mark {
    margin: 0 1px;
  }

  .about-panel-grid {
    padding: 0 20px;
  }

  .about-panel-text {
    padding: 36px 28px;
  }

  /* Stats Section Mobile Fixes */
  .premium-stats-container {
    padding: 0 20px;
    gap: 48px;
  }

  .premium-stats-text-col {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .stats-main-heading {
    margin-left: auto;
    margin-right: auto;
  }

  .stats-desc {
    margin: 0 auto 30px;
  }

  .premium-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-card {
    padding: 24px 12px;
  }

  .stat-val {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .stat-unit {
    font-size: clamp(1rem, 5vw, 1.5rem);
  }

  .stat-desc-p {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }

  /* Stats */
  .stats-row-inner {
    padding: 0 20px;
  }

  /* CTA */
  .final-cta {
    padding: 0 20px 60px;
  }

  .final-cta-card {
    min-height: 300px;
    padding: 32px;
  }

  /* Contact section mobile */
  .contact-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact-left {
    padding: 20px 20px 40px;
  }

  .contact-hero-heading {
    font-size: 1.6rem;
    margin-bottom: 36px;
  }

  .contact-info-row {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-right {
    padding: 0 20px 40px 20px;
    min-height: 300px;
  }

  .contact-art-video,
  .contact-art-img {
    border-radius: 20px;
  }

  /* FAQ mobile */
  .faq-section {
    padding: 60px 0 20px;
  }

  .faq-container {
    padding: 0 20px;
  }

  .faq-title {
    font-size: 2rem;
  }

  .faq-question {
    gap: 16px;
    padding: 24px 0;
  }

  .faq-q-text {
    font-size: 1rem;
  }

  .faq-answer-inner {
    padding: 0 0 24px 0;
  }

  /* Footer mobile */
  .footer-qdt {
    padding: 0 20px;
  }

  .footer-qdt-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 50px 0;
  }

  /* Flatten both rows into one column, reorder with order property */
  .footer-sub-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 28px 0 8px;
  }

  .footer-sub-row {
    display: contents;
  }

  /* Borders handled on wrapper, not rows (display:contents removes box) */
  .footer-sub-utility,
  .footer-sub-identity {
    border: none;
  }

  /* Strict mobile order: copyright → legal links → agency → back to top */
  .footer-qdt-copy {
    order: 1;
  }
  .footer-sub-legal {
    order: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer-falkstack {
    order: 3;
    letter-spacing: 0.12em;
  }
  .footer-qdt-top-btn {
    order: 4;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    max-width: 88%;
  }

  .hero-content-slide {
    padding-bottom: 120px;
  }

  .features-cards {
    grid-template-columns: 1fr;
  }

  .industry-count {
    display: none;
  }

  .contact-hero-heading {
    font-size: 1.6rem;
    margin-bottom: 36px;
    min-height: 4em;
    /* More space for mobile wrapping */
  }

  .contact-info-value {
    font-size: 1rem;
  }

  /* Footer single-column on very small screens */
  .footer-qdt-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* =============================================
   COOKIE CONSENT BANNER — Liquid glass
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: calc(100% - 48px);
  max-width: 860px;
  background: rgba(12, 12, 12, 0.55);
  backdrop-filter: blur(50px) saturate(200%);
  -webkit-backdrop-filter: blur(50px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 8px 24px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  z-index: var(--z-cookie);
  padding: 22px 28px;
  display: none;
  opacity: 0;
  transition:
    opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cookie-banner.active {
  display: block;
}

.cookie-banner.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.cookie-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.cookie-text {
  flex: 1;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 300;
  margin: 0;
}

.cookie-text strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 11px 26px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  letter-spacing: 0.02em;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform 0.2s ease,
    box-shadow var(--transition);
  white-space: nowrap;
}

.cookie-btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-btn-ghost:hover {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.cookie-btn-primary {
  background: var(--white);
  color: var(--text-dark);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.cookie-btn-primary:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 86, 163, 0.45);
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 16px;
    width: calc(100% - 32px);
    padding: 20px 20px;
    border-radius: 22px;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
    padding: 13px 16px;
  }
}

/* =============================================
   REDUCED MOTION — Accessibility (vestibular/epilepsy)
   Respects the user's OS "Reduce Motion" preference
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  /* Stop only decorative looping/auto-playing animations — NOT interactive UI transitions */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* =============================================
   VERTICAL MARQUEE CTA SECTION
   ============================================= */
.omoss-cta-section {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-6);
  overflow: hidden;
}

.omoss-cta-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.omoss-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 992px) {
  .omoss-cta-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-13);
  }
}

.omoss-cta-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  max-width: 600px;
}

.omoss-cta-title {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.omoss-cta-lead {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--text-mid);
  line-height: 1.6;
}

.omoss-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.btn-pill-cta-primary {
  background: var(--text-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 500;
  font-family: var(--font);
  display: inline-flex;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.btn-pill-cta-primary span {
  position: relative;
  z-index: 10;
}

.btn-pill-cta-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: translateX(-200%);
  transition: transform 0.7s ease;
}

.btn-pill-cta-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-pill-cta-primary:hover::before {
  transform: translateX(200%);
}

.btn-pill-cta-secondary {
  background: transparent;
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 500;
  font-family: var(--font);
  display: inline-flex;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.btn-pill-cta-secondary span {
  position: relative;
  z-index: 10;
}

.btn-pill-cta-secondary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 0, 0, 0.05),
    transparent
  );
  transform: translateX(-200%);
  transition: transform 0.7s ease;
}

.btn-pill-cta-secondary:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn-pill-cta-secondary:hover::before {
  transform: translateX(200%);
}

/* Vertical Marquee Styling */
.omoss-cta-marquee-wrapper {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  .omoss-cta-marquee-wrapper {
    height: 700px;
  }
}

.omoss-cta-marquee-container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.omoss-cta-marquee-container:hover .omoss-cta-marquee-track {
  animation-play-state: paused;
}

.omoss-cta-marquee-track {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  animation: marquee-vertical 20s linear infinite;
}

@keyframes marquee-vertical {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-100%);
  }
}

.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  padding: var(--space-6) 0;
  color: var(--text-dark);
  text-align: center;
  opacity: 1;
  /* managed by JS */
}

/* Fallback for users with reduced motion */
@media (prefers-reduced-motion: reduce) {
  .omoss-cta-marquee-track {
    animation: none !important;
  }
}

.omoss-cta-vignette-top {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 16rem;
  background: linear-gradient(
    to bottom,
    var(--bg) 0%,
    rgba(232, 228, 223, 0.5) 50%,
    transparent 100%
  );
  z-index: 10;
}

.omoss-cta-vignette-bottom {
  pointer-events: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 16rem;
  background: linear-gradient(
    to top,
    var(--bg) 0%,
    rgba(232, 228, 223, 0.5) 50%,
    transparent 100%
  );
  z-index: 10;
}

/* =============================================
   ABOUT SECTION 2 (HIGHLIGHT STATEMENT)
   ============================================= */
.omoss-highlight-section {
  background: var(--bg-light);
  padding: var(--space-13) var(--space-6);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.omoss-highlight-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.highlight-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

@media (min-width: 992px) {
  .highlight-layout {
    flex-direction: row;
    align-items: flex-start;
  }
}

.highlight-content {
  flex: 1;
}

.highlight-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: var(--space-8);
}

.hl-word {
  display: inline-flex;
  align-items: center;
  border: 2px dotted;
  padding: 0 var(--space-2);
  border-radius: 8px;
  margin: 0 4px;
  height: 1.1em;
  vertical-align: bottom;
}

.hl-word-1 {
  color: var(--accent);
  border-color: var(--accent);
}

.hl-word-2 {
  color: var(--accent-brand);
  border-color: var(--accent-brand);
}

.hl-word-3 {
  color: #38a169;
  border-color: #38a169;
}

.highlight-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: var(--space-10);
  flex-wrap: wrap;
  gap: var(--space-6);
}

.highlight-brand {
  font-size: clamp(0.75rem, 1.5vw, 1.25rem);
}

.brand-title {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.brand-slogan {
  font-weight: 700;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.highlight-btn {
  background: var(--accent);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(0, 86, 163, 0.3);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.highlight-btn svg {
  fill: var(--white);
  width: 16px;
  height: 16px;
}

.highlight-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 86, 163, 0.4);
}

.hl-animate {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(10px);
  will-change: transform, opacity, filter;
}

/* ---------- SMOOTH PAGE TRANSITIONS ---------- */
.page-transition-overlay {
  position: fixed;
}

.omoss-cta-marquee-container:hover .omoss-cta-marquee-track {
  animation-play-state: paused;
}

.omoss-cta-marquee-track {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  animation: marquee-vertical 20s linear infinite;
}

@keyframes marquee-vertical {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-100%);
  }
}

.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  padding: var(--space-6) 0;
  color: var(--text-dark);
  text-align: center;
  opacity: 1;
  /* managed by JS */
}

/* Fallback for users with reduced motion */
@media (prefers-reduced-motion: reduce) {
  .omoss-cta-marquee-track {
    animation: none !important;
  }
}

.omoss-cta-vignette-top {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 16rem;
  background: linear-gradient(
    to bottom,
    var(--bg) 0%,
    rgba(232, 228, 223, 0.5) 50%,
    transparent 100%
  );
  z-index: 10;
}

.omoss-cta-vignette-bottom {
  pointer-events: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 16rem;
  background: linear-gradient(
    to top,
    var(--bg) 0%,
    rgba(232, 228, 223, 0.5) 50%,
    transparent 100%
  );
  z-index: 10;
}

/* =============================================
   ABOUT SECTION 2 (HIGHLIGHT STATEMENT)
   ============================================= */
.omoss-highlight-section {
  background: var(--bg-light);
  padding: var(--space-13) var(--space-6);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.omoss-highlight-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.highlight-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

@media (min-width: 992px) {
  .highlight-layout {
    flex-direction: row;
    align-items: flex-start;
  }
}

.highlight-content {
  flex: 1;
}

.highlight-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: var(--space-8);
}

.hl-word {
  display: inline-flex;
  align-items: center;
  border: 2px dotted;
  padding: 0 var(--space-2);
  border-radius: 8px;
  margin: 0 4px;
  height: 1.1em;
  vertical-align: bottom;
}

.hl-word-1 {
  color: var(--accent);
  border-color: var(--accent);
}

.hl-word-2 {
  color: var(--accent-brand);
  border-color: var(--accent-brand);
}

.hl-word-3 {
  color: #38a169;
  border-color: #38a169;
}

.highlight-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: var(--space-10);
  flex-wrap: wrap;
  gap: var(--space-6);
}

.highlight-brand {
  font-size: clamp(0.75rem, 1.5vw, 1.25rem);
}

.brand-title {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.brand-slogan {
  font-weight: 700;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.highlight-btn {
  background: var(--accent);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(0, 86, 163, 0.3);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.highlight-btn svg {
  fill: var(--white);
  width: 16px;
  height: 16px;
}

.highlight-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 86, 163, 0.4);
}

.hl-animate {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(10px);
  will-change: transform, opacity, filter;
}

/* ---------- LIQUID GLASS PAGE TRANSITIONS ---------- */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999; /* below loader (10000) so it never covers the first-visit intro */
  background: rgba(6, 10, 18, 0.45);
  backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  opacity: 1;
  pointer-events: none;
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    -webkit-backdrop-filter 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-transition-overlay.reveal {
  opacity: 0;
  backdrop-filter: blur(0px) saturate(100%);
  -webkit-backdrop-filter: blur(0px) saturate(100%);
  pointer-events: none;
}

.page-transition-overlay.exit {
  opacity: 1;
  backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  pointer-events: all;
}

/* Dark logo for light navbar */
.navbar:not(.on-dark) .logo-img {
  filter: brightness(0);
}
