/* === CLICKTOWORK DESIGN SYSTEM === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --c-navy-deep: #050914;
  --c-navy: #0B132B;
  --c-blue-accent: #3A8ced; /* Accent from the icon */
  --c-blue-hover: #2B6Ab8;
  --c-blue-light: #EBF3fa;
  --c-white: #ffffff;
  --c-bg-light: #F8FAFC;
  --c-text-main: rgba(255,255,255,0.85); /* Light text for dark theme */
  --c-text-dark: #ffffff; /* White for dark theme */
  --c-text-light: rgba(255,255,255,0.65); /* Softer text for dark theme */
  
  /* Typography */
  --font-main: 'Inter', sans-serif;
  
  /* Radii & Spacing */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Shadows & Depth */
  --shadow-sm: 0 4px 6px -1px rgba(11, 19, 43, 0.05), 0 2px 4px -1px rgba(11, 19, 43, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(11, 19, 43, 0.05), 0 4px 6px -2px rgba(11, 19, 43, 0.03);
  --shadow-float: 0 20px 25px -5px rgba(11, 19, 43, 0.08), 0 10px 10px -5px rgba(11, 19, 43, 0.04);
  
  /* Motion */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* === RESET & BASE === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
  font-family: var(--font-main); 
  color: rgba(255,255,255,0.85); 
  background-color: var(--c-navy-deep); 
  line-height: 1.6; 
  -webkit-font-smoothing: antialiased; 
  /* overflow-x removed — breaks position: sticky. Overflow prevented at element level. */
}
h1, h2, h3, h4, h5, h6 { 
  color: var(--c-white); 
  font-weight: 600; 
  line-height: 1.2; 
  letter-spacing: -0.02em; 
}
a { text-decoration: none; color: var(--c-blue-accent); transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
p { color: rgba(255,255,255,0.7); margin-bottom: 1rem; }

/* === UTILITIES === */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; position: relative; z-index: 1; }
@media (min-width: 768px) { .section { padding: 8rem 0; } }
header, footer, nav, .navbar { position: relative; z-index: 2; }
.bg-white { background-color: var(--c-white); }
.bg-navy { background-color: var(--c-navy); color: var(--c-white); }
.bg-navy h2, .bg-navy h3 { color: var(--c-white); }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

/* === BUTTONS & CTAS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}
.btn-primary {
  background-color: var(--c-blue-accent);
  color: var(--c-white);
  box-shadow: 0 4px 14px 0 rgba(58, 140, 237, 0.39);
}
.btn-primary:hover {
  background-color: var(--c-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(58, 140, 237, 0.23);
  color: var(--c-white);
}
.btn-secondary {
  background-color: var(--c-white);
  color: var(--c-navy);
  border: 1px solid rgba(11, 19, 43, 0.1);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background-color: var(--c-bg-light);
  color: var(--c-blue-hover);
  border-color: var(--c-blue-accent);
  transform: translateY(-2px);
}
.btn-outline {
  background: var(--c-blue-accent);
  border-color: var(--c-blue-accent);
  color: var(--c-white);
  box-shadow: 0 4px 15px rgba(27,117,208,0.2);
}
.btn-outline:hover {
  background-color: var(--c-blue-hover);
  border-color: var(--c-blue-hover);
  color: var(--c-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(58, 140, 237, 0.23);
}

/* === NAVIGATION — Premium Glassmorphism Header === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 1.25rem 0;
  background: rgba(5, 9, 20, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: padding 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
              background 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
              box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.navbar.scrolled {
  padding: 0.85rem 0;
  background: rgba(5, 9, 20, 0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.25),
              0 1px 0 rgba(255,255,255,0.03);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  padding: 0 3rem;
  margin: 0 auto;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
}

/* --- Desktop Navigation Links --- */
.nav-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.nav-links > a,
.nav-dropdown > .nav-dropdown-trigger {
  color: rgba(255,255,255,0.88);
  background: transparent;
  padding: 0.55rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.925rem;
  letter-spacing: 0.01em;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
}

/* Hover — subtle lift + glass tint */
.nav-links > a:hover,
.nav-dropdown > .nav-dropdown-trigger:hover {
  color: var(--c-white);
  background: rgba(58, 140, 237, 0.10);
  border-color: rgba(58, 140, 237, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Active — white pill for direct nav links */
.nav-links > a.active {
  color: var(--c-navy-deep);
  background: var(--c-white);
  border-color: transparent;
  font-weight: 600;
}
/* Active dropdown trigger — subtle highlight, NOT full white (prevents white-on-white) */
.nav-dropdown > .nav-dropdown-trigger.active {
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(33, 140, 238, 0.3);
  font-weight: 600;
}
.nav-links > a.active:hover {
  background: var(--c-white);
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
  color: var(--c-navy-deep);
}

/* Pressed / active click state */
.nav-links > a:active,
.nav-dropdown > .nav-dropdown-trigger:active {
  transform: translateY(0px) scale(0.98);
  transition-duration: 0.1s;
}

/* Focus — accessible outline */
.nav-links > a:focus-visible,
.nav-dropdown > .nav-dropdown-trigger:focus-visible {
  color: var(--c-white);
  outline: 2px solid rgba(58, 140, 237, 0.6);
  outline-offset: 3px;
  background: rgba(58, 140, 237, 0.08);
}

/* --- Dropdown Container --- */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown > .nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.dropdown-chevron {
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  flex-shrink: 0;
  margin-top: 0.5px;
}
.nav-dropdown:hover .dropdown-chevron,
.nav-dropdown.open .dropdown-chevron {
  transform: rotate(180deg);
}

/* --- Desktop Dropdown Panel — Premium Glass --- */
.dropdown-content {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(8, 14, 32, 0.96);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  min-width: 320px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5),
              0 0 0 1px rgba(255,255,255,0.03) inset;
  padding: 0.75rem;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  pointer-events: none;
}
/* Connector bridge prevents hover gap */
.dropdown-content::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-dropdown:hover .dropdown-content,
.nav-dropdown.open .dropdown-content {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Dropdown Items — Icon + Title + Description layout */
.dropdown-content > a {
  display: flex !important;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem !important;
  border-radius: 10px;
  color: rgba(255,255,255,0.8) !important;
  text-decoration: none;
  font-size: 0.95rem !important;
  font-weight: 500;
  white-space: normal;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
.dropdown-content > a:hover,
.dropdown-content > a:focus-visible {
  background: rgba(58, 140, 237, 0.1) !important;
  color: var(--c-white) !important;
  transform: none !important;
}
.dropdown-content > a:focus-visible {
  outline: 2px solid var(--c-blue-accent);
  outline-offset: -2px;
}
.dropdown-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(58, 140, 237, 0.1);
  border: 1px solid rgba(58, 140, 237, 0.15);
  color: var(--c-blue-accent);
  flex-shrink: 0;
  transition: all 0.25s;
}
.dropdown-content > a:hover .dropdown-icon {
  background: rgba(58, 140, 237, 0.18);
  border-color: rgba(58, 140, 237, 0.3);
  box-shadow: 0 0 12px rgba(58, 140, 237, 0.15);
}
.dropdown-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dropdown-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-white);
  letter-spacing: -0.01em;
}
.dropdown-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  font-weight: 400;
}

/* Dropdown overview footer link */
.dropdown-footer {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.dropdown-overview-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem !important;
  border-radius: 10px;
  font-size: 0.85rem !important;
  font-weight: 600;
  color: var(--c-blue-accent) !important;
  text-decoration: none;
  transition: all 0.25s;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  transform: none !important;
  white-space: nowrap;
}
.dropdown-overview-link:hover {
  background: rgba(58, 140, 237, 0.08) !important;
  color: #5AA0F0 !important;
  gap: 0.8rem;
}

/* --- Animated Hamburger Button --- */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 10;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.3s;
}
.mobile-menu-btn:hover {
  background: rgba(255,255,255,0.05);
}
.mobile-menu-btn:focus-visible {
  outline: 2px solid var(--c-blue-accent);
  outline-offset: 2px;
}
.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: absolute;
  left: 10px;
}
.hamburger-line:nth-child(1) { top: 13px; }
.hamburger-line:nth-child(2) { top: 21px; }
.hamburger-line:nth-child(3) { top: 29px; }

/* Hamburger → X animation */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}
.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* --- Mobile Submenu Toggle Button (+ / ×) --- */
.mobile-submenu-toggle {
  display: none;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  flex-shrink: 0;
}
.mobile-submenu-toggle:hover {
  background: rgba(255,255,255,0.05);
  color: var(--c-white);
}
.mobile-submenu-toggle:focus-visible {
  outline: 2px solid var(--c-blue-accent);
  outline-offset: 2px;
}
.mobile-submenu-toggle svg {
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.mobile-submenu-toggle.active svg {
  transform: rotate(45deg);
}

/* --- Mobile Navigation Overlay --- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* === RESPONSIVE MOBILE NAVIGATION === */
@media (max-width: 991px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    height: 100dvh;
    background: rgba(5, 9, 20, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    align-items: stretch;
    gap: 0.25rem;
    overflow-y: auto;
    border-left: 1px solid rgba(255,255,255,0.05);
    box-shadow: -20px 0 60px rgba(0,0,0,0.5);
    z-index: 5;
  }
  .nav-links.active {
    right: 0;
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Mobile nav items: pill → full-width block */
  .nav-links > a,
  .nav-dropdown > .nav-dropdown-trigger {
    padding: 1rem 1.25rem;
    font-size: 1.05rem;
    border-radius: 12px;
    width: 100%;
  }
  .nav-links > a.active {
    background: var(--c-white);
    color: var(--c-navy-deep);
    border-color: transparent;
    box-shadow: none;
  }
  /* Dropdown trigger: subtle active, NOT full white (text must be readable) */
  .nav-dropdown > .nav-dropdown-trigger.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--c-white);
    border-color: transparent;
    box-shadow: none;
  }

  /* Mobile dropdown layout */
  .nav-dropdown {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .nav-dropdown > .nav-dropdown-trigger {
    flex: 1;
  }
  .dropdown-chevron {
    display: none;
  }
  .mobile-submenu-toggle {
    display: flex;
  }

  /* Mobile dropdown panel — slide-down */
  .dropdown-content {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    min-width: 0;
    width: 100%;
    padding: 0;
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                padding 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: auto;
  }
  .dropdown-content::before {
    display: none;
  }
  .dropdown-content.mobile-open {
    max-height: 500px;
    padding: 0.5rem 0 0.5rem 1rem;
  }
  .dropdown-content > a {
    padding: 0.75rem 1rem !important;
    border-radius: 10px;
  }
  .dropdown-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }
}
@media (max-width: 767px) {
  .navbar {
    padding: 0.75rem 0 !important;
  }
  .nav-container {
    padding: 0 1.25rem !important;
  }
  .nav-logo img {
    max-width: 200px !important;
    height: auto !important;
    max-height: 40px !important;
  }
  .nav-links {
    max-width: 100%;
  }
}

/* === HERO SECTION === */
.hero {
  position: relative;
  padding: 16rem 0 10rem;
  background: var(--c-navy-deep); /* Donkerblauw hersteld */
  color: var(--c-white);
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

/* Subtiele abstracte motion voor de donkere achtergrond */
.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -20%;
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(16, 163, 246, 0.08) 0%, rgba(5, 9, 20, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  animation: organicOrb 22s infinite alternate ease-in-out;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 1000px; height: 1000px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, rgba(5, 9, 20, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  animation: organicOrb 28s infinite alternate-reverse ease-in-out;
}
@keyframes organicOrb {
  0% { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.05) translate(3%, 3%); }
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 850px;
}
.hero h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: var(--c-white);
  margin-bottom: 2rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.hero-p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85); /* Licht voor leesbaarheid op donkerblauw */
  margin-bottom: 3.5rem;
  max-width: 700px;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* === THE 4 PILLARS (CARDS) === */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 10;
}
@media (max-width: 991px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .pillars-grid { grid-template-columns: 1fr; }
}
.pillar-card {
  background: var(--c-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--c-blue-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-float);
}
.pillar-card:hover::before {
  transform: scaleX(1);
}
.pillar-icon {
  width: 48px; height: 48px;
  background: var(--c-navy-deep);
  color: var(--c-white);
  border-radius: var(--radius-sm);
  display: flex; justify-content: center; align-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.pillar-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--c-navy-deep);
}
.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 1rem;
  color: var(--c-navy-deep);
}
.pillar-link svg {
  transition: transform 0.2s;
}
.pillar-link:hover {
  color: var(--c-blue-accent);
}
.pillar-card:hover .pillar-link svg {
  transform: translateX(4px);
}

/* === INFO SECTION === */
.info-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.info-content h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}
.info-content p {
  font-size: 1.1rem;
  color: var(--c-text-main);
  margin-bottom: 1.5rem;
}
.info-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.info-point {
  display: flex; gap: 1rem;
}
.info-point-icon {
  color: var(--c-blue-accent);
  flex-shrink: 0;
}
.info-image-wrapper {
  position: relative;
  perspective: 1000px; /* Provides 3D depth for the tilt */
}
.info-image {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
}
.info-image-wrapper:hover .info-image {
  /* 3D tilt on hover */
  transform: rotateX(4deg) rotateY(-4deg) scale(1.01);
  box-shadow: 0 30px 40px -10px rgba(11, 19, 43, 0.2);
}
/* Abstract decoration */
.info-image-wrapper::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  width: 100%; height: 100%;
  border: 2px solid var(--c-blue-light);
  border-radius: var(--radius-lg);
  z-index: -1;
}

@media (max-width: 991px) {
  .info-section { grid-template-columns: 1fr; gap: 3rem; }
}

/* === CTA BLOCK === */
.cta-block {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 4rem;
  text-align: center;
  color: var(--c-white);
  box-shadow: var(--shadow-float);
}
.cta-block h2 { color: var(--c-white); margin-bottom: 1rem; }
.cta-block p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 2rem; font-size: 1.1rem; }

/* === PREMIUM DARK-TECH FOOTER === */
.footer {
  background-color: var(--c-navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

/* Ambient glows and background decor */
.footer-glow {
  position: absolute;
  top: 0; left: 50%;
  width: 800px; height: 400px;
  background: radial-gradient(ellipse at top center, rgba(33, 140, 238, 0.08) 0%, transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}
.footer-bg-tag {
  position: absolute;
  bottom: 5%; right: 2%;
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.03);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.15);
  pointer-events: none;
  user-select: none;
}

/* 1. Bovenste CTA-strook */
.footer-cta-strip {
  position: relative;
  z-index: 2;
  background: linear-gradient(145deg, rgba(20,28,60,0.4) 0%, rgba(10,16,35,0.6) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 3.5rem 4rem;
  margin-bottom: 5rem;
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.footer-cta-content {
  max-width: 550px;
}
.footer-cta-content h3 {
  font-size: 1.8rem;
  color: var(--c-white);
  margin-bottom: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.footer-cta-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin: 0;
}
.footer-cta-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Perfect premium button styling globally for footer CTA buttons */
.footer-cta-actions .hp-cta-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 2.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 50px;
  background: var(--c-white);
  color: var(--c-navy-deep);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.12);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
  height: 54px;
  box-sizing: border-box;
}
.footer-cta-actions .hp-cta-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.22);
  background: var(--c-white);
  color: var(--c-navy-deep);
}

.footer-cta-actions .hp-cta-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0 2.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 50px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--c-white);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
  backdrop-filter: blur(10px);
  height: 54px;
  box-sizing: border-box;
}
.footer-cta-actions .hp-cta-whatsapp svg {
  color: var(--c-whatsapp-green, #25d366);
  transition: transform 0.35s;
}
.footer-cta-actions .hp-cta-whatsapp:hover {
  transform: translateY(-3px);
  background: var(--c-white);
  color: var(--c-navy-deep);
  border-color: var(--c-white);
}
.footer-cta-actions .hp-cta-whatsapp:hover svg {
  transform: scale(1.1);
}


/* 2. Footerkolommen */
.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}
.footer-brand {
  padding-right: 1rem;
}
.footer-brand p {
  color: rgba(255,255,255,0.7);
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
}
.footer-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.footer-trust-pill {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
}

.footer h4 { 
  margin-bottom: 1.4rem; 
  font-size: 1.05rem; 
  color: var(--c-white);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer ul li { margin-bottom: 0.85rem; }
.footer ul li a { 
  color: rgba(255,255,255,0.7); 
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}
.footer ul li a:hover { color: var(--c-white); }

/* Compact contact details layout */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}
.footer-contact-item a {
  color: var(--c-white);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s ease;
}
.footer-contact-item a:hover { color: var(--c-blue-accent); }
.footer-contact-item a.whatsapp-link { color: var(--c-whatsapp-green); }
.footer-contact-item a.whatsapp-link:hover { text-decoration: underline; }

/* 3. Footer-bottom */
.footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-bottom-links a:hover { color: var(--c-white); }

/* Responsive behavior */
@media (max-width: 1024px) {
  .footer-cta-strip {
    flex-direction: column;
    text-align: center;
    padding: 3rem 2.5rem;
    gap: 2rem;
  }
  .footer-cta-content { max-width: 100%; }
  .footer-cta-actions { justify-content: center; }
}
@media (max-width: 991px) {
  .footer-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 3rem; 
  }
}
@media (max-width: 575px) {
  .footer { padding: 4rem 0 2rem; }
  .footer-cta-strip { padding: 2.5rem 1.5rem; border-radius: 16px; margin-bottom: 3.5rem; }
  .footer-cta-content h3 { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
  .footer-bottom-links { justify-content: center; width: 100%; flex-wrap: wrap; }
  .footer-cta-actions { flex-direction: column; width: 100%; align-items: stretch; }
  .footer-cta-actions .hp-cta-white,
  .footer-cta-actions .hp-cta-whatsapp { width: 100%; text-align: center; justify-content: center; }
}

/* === ANIMATIONS (MOTION & 3D FOCUS) === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* PAGE SPECIFIC STYLES */
/* Page Header */
.page-header {
  padding: 10rem 0 5rem;
  background: var(--c-navy-deep);
  color: var(--c-white);
  text-align: center;
}
.page-header h1 {
  color: var(--c-white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.page-header p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  max-width: 700px;
  margin: 0 auto;
}

/* Service Detail Block */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}
.service-block.reverse {
  direction: rtl;
}
.service-block.reverse > * {
  direction: ltr;
}
.service-content h2 {
  font-size: 2rem; margin-bottom: 1rem; color: var(--c-white);
}
.service-content h3 {
  font-size: 1.1rem; color: rgba(255,255,255,0.5); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px;
}
.service-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}

/* Contact Form */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 500; font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  font-family: inherit;
  transition: var(--transition);
  background: rgba(255,255,255,0.05);
  color: white;
  font-size: 1rem;
}
.form-control:focus {
  outline: none;
  border-color: var(--c-blue-accent);
  box-shadow: 0 0 0 3px rgba(33, 140, 238, 0.15);
  background: rgba(255,255,255,0.08);
}
.form-control::placeholder { color: rgba(255,255,255,0.35); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* === PREMIUM COMPONENTS (Workplace & ClickTo) === */
.pillar-card-premium {
  background: var(--c-navy-deep);
  color: var(--c-white);
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(11, 19, 43, 0.15), inset 0 1px 0 rgba(255,255,255,0.1);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pillar-card-premium::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at top right, rgba(33, 140, 238, 0.15) 0%, transparent 60%);
  opacity: 0.5;
  transition: opacity 0.5s;
}
.pillar-card-premium:hover {
  transform: translateY(-8px) translateZ(0);
  box-shadow: 0 20px 50px rgba(11, 19, 43, 0.25), inset 0 1px 0 rgba(255,255,255,0.15);
}
.pillar-card-premium:hover::before {
  opacity: 1;
}
.pillar-card-premium > * {
  position: relative;
  z-index: 2;
}
.pillar-card-premium h3 {
  color: var(--c-white);
  font-size: 1.4rem;
}
.pillar-card-premium p {
  color: rgba(255,255,255,0.8);
}


.layered-cta {
  background: linear-gradient(135deg, var(--c-navy-deep) 0%, var(--c-navy) 100%);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 5rem 3rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(11,19,43,0.3);
  border: 1px solid rgba(255,255,255,0.05);
}
.layered-cta::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(33,140,238,0.1) 0%, transparent 60%);
  opacity: 0.8;
  pointer-events: none;
}
.layered-cta h2 { color: var(--c-white); position: relative; z-index: 2; }
.layered-cta p { color: rgba(255,255,255,0.85); position: relative; z-index: 2; }
.layered-cta .btn { position: relative; z-index: 2; }

/* 3D Motion & Parallax utilities */
.perspective-container {
  perspective: 1000px;
}
.parallax-img {
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
  box-shadow: var(--shadow-float);
  border-radius: var(--radius-lg);
}
.parallax-img:hover {
  transform: rotateX(2deg) rotateY(-2deg) scale(1.02);
  box-shadow: 0 30px 40px -10px rgba(11, 19, 43, 0.25);
}

/* Layered Content Wrappers */
.premium-content-block {
  background: var(--c-white);
  padding: 4rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
  position: relative;
  border: 1px solid rgba(0,0,0,0.02);
}
.overlap-top {
  margin-top: -4rem;
  position: relative;
  z-index: 10;
}

/* === ADVANCED STORYTELLING & 3D (ClickToWorkplace) === */
.btn-accent {
  background: var(--c-blue-accent);
  color: var(--c-white);
  padding: 1.25rem 2.5rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 8px 25px rgba(33, 140, 238, 0.4);
  text-decoration: none;
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 2px solid transparent;
}
.btn-accent:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 35px rgba(33, 140, 238, 0.5);
  background: #1b75d0;
  color: white;
}

.story-section {
  position: relative;
  overflow: hidden;
  padding: 8rem 0;
}
.story-card {
  background: var(--c-white);
  padding: 4rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(11, 19, 43, 0.08);
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
  z-index: 2;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.story-card:hover {
  transform: translateY(-8px);
}
.story-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
  animation: floatOrb 20s infinite alternate ease-in-out;
}
.blob-blue {
  background: rgba(33, 140, 238, 0.15);
}
.blob-navy {
  background: rgba(11, 19, 43, 0.1);
}
@keyframes floatOrb {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-50px) scale(1.1); }
}

.parallax-layer {
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
}
.parallax-layer:hover {
  transform: translateZ(20px) rotateX(2deg) rotateY(-2deg);
}
.glass-panel {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}
.dark-glass {
  background: rgba(11, 19, 43, 0.85);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 4rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  color: white;
}


/* === HIGH-END STORYTELLING & STICKY === */
.sticky-hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.sticky-stack-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 10rem;
}
.sticky-card {
  position: sticky;
  min-height: 40vh;
  background: rgba(12,21,51,0.92);
  padding: 5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.5s ease;
  color: white;
}
.sticky-card.dark {
  background: var(--c-navy-deep);
  color: white;
  border: 1px solid rgba(255,255,255,0.05);
}
.sticky-card:nth-child(1) { top: 12vh; z-index: 10; }
.sticky-card:nth-child(2) { top: 15vh; z-index: 11; }
.sticky-card:nth-child(3) { top: 18vh; z-index: 12; }
.sticky-card:nth-child(4) { top: 21vh; z-index: 13; }

.feature-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  perspective: 1200px;
}
.feature-card-3d {
  background: rgba(255,255,255,0.03) !important;
  color: white !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); color: white;
  padding: 4rem 3rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s ease;
  border: 1px solid rgba(0,0,0,0.02);
  transform-style: preserve-3d;
  position: relative;
  z-index: 2;
}
.feature-card-3d:hover {
  transform: translateZ(40px) translateY(-15px) rotateX(4deg);
  box-shadow: 0 40px 60px rgba(11, 19, 43, 0.12);
  z-index: 10;
}
.icon-box-3d {
  width: 64px; height: 64px;
  background: radial-gradient(circle at top left, var(--c-blue-accent), var(--c-blue));
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  color: white; margin-bottom: 2rem;
  box-shadow: 0 15px 30px rgba(33, 140, 238, 0.4);
  transform: translateZ(20px);
}
.feature-card-3d h3 {
  color: white !important;
  font-size: 1.5rem; color: white; margin-bottom: 1rem;
  transform: translateZ(10px);
}
.feature-card-3d p {
  color: var(--c-text-main); font-size: 1.1rem; line-height: 1.7;
}

.viewport-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  position: relative;
}
.viewport-content {
  width: 100%;
}
.story-text-focus {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  font-weight: 700;
  color: white;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.motion-reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.motion-reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}


/* === ULTIMATE DARK PREMIUM === */
body {
  background-color: var(--c-navy-deep);
}
.dark-viewport {
  background-color: var(--c-navy-deep);
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0;
}
.dark-glass-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (min-width: 768px) {
  .dark-glass-card { padding: 3rem; }
}
@media (min-width: 1024px) {
  .dark-glass-card { padding: 4rem; }
}

.product-card-3d {
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
  padding: 1.8rem !important;
}
@media (min-width: 1200px) {
  .product-card-3d { padding: 2.2rem !important; }
}

/* Uniform card label */
.product-card-label {
  background: transparent !important;
  color: var(--c-blue-accent) !important;
  border-color: var(--c-blue-accent) !important;
  margin-bottom: 1.2rem;
  align-self: flex-start;
}

/* Uniform card title */
.product-card-title {
  font-size: 1.35rem !important;
  color: white !important;
  margin-bottom: 1rem;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Uniform card description */
.product-card-desc {
  flex-grow: 1;
  font-size: 0.95rem !important;
  color: rgba(255,255,255,0.7) !important;
  line-height: 1.7;
}

/* Uniform card button */
.product-card-btn {
  margin-top: 1.5rem !important;
  width: 100%;
  border-color: rgba(255,255,255,0.2) !important;
  color: white !important;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

.scroll-3d-wrapper {
  perspective: 1200px;
  height: 100%;
}
.scroll-3d-card {
  transition: transform 0.2s linear, box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}
.dark-glass-card.interactive:hover {
  transform: translateY(-10px) translateZ(20px);
  border-color: rgba(33, 140, 238, 0.3);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), inset 0 0 20px rgba(33, 140, 238, 0.1);
}
.glow-accent {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(33, 140, 238, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}
.text-focus-light {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 700;
  color: white;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}
.text-sub-light {
  font-size: 1.35rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
}

/* ===================================================================
   DARK-TECH SECTION UTILITIES
   Reusable dark section classes for site-wide dark premium aesthetic
   =================================================================== */

/* Primary dark section — deep navy background */
.section-dark {
  background-color: var(--c-navy-deep);
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--c-white);
}
.section-dark p {
  color: rgba(255,255,255,0.75);
}
.section-dark ul li {
  color: rgba(255,255,255,0.75);
}
.section-dark strong {
  color: var(--c-white);
}

/* Alternate dark section — slightly lighter navy + animated dot grid */
.section-dark-alt {
  background-color: #0c1533;
  background-image: radial-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}
.section-dark-alt h2,
.section-dark-alt h3,
.section-dark-alt h4 {
  color: var(--c-white);
}
.section-dark-alt p {
  color: rgba(255,255,255,0.75);
}
.section-dark-alt ul li {
  color: rgba(255,255,255,0.75);
}
.section-dark-alt strong {
  color: var(--c-white);
}

/* Glowing section divider line */
.section-dark::before,
.section-dark-alt::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  z-index: 1;
}

/* --- Dark Service Block Overrides --- */
.section-dark .service-content h2,
.section-dark-alt .service-content h2 {
  color: var(--c-white);
}
.section-dark .service-content h3,
.section-dark-alt .service-content h3 {
  color: rgba(255,255,255,0.5);
}
.section-dark .service-content p,
.section-dark-alt .service-content p {
  color: rgba(255,255,255,0.75);
}

/* Dark image styling — premium shadow + border */
.section-dark .info-image,
.section-dark-alt .info-image {
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.05);
}
.section-dark .info-image-wrapper::before,
.section-dark-alt .info-image-wrapper::before {
  border-color: rgba(255,255,255,0.06);
}
.section-dark .info-image-wrapper:hover .info-image,
.section-dark-alt .info-image-wrapper:hover .info-image {
  box-shadow: 0 50px 100px rgba(0,0,0,0.6);
}

/* --- Dark CTA Block variant --- */
.section-dark .cta-block,
.section-dark-alt .cta-block {
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.3);
}

/* --- Dark Form Styling --- */
.section-dark .form-label,
.section-dark-alt .form-label {
  color: rgba(255,255,255,0.8);
}
.section-dark .form-control,
.section-dark-alt .form-control {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  color: var(--c-white);
}
.section-dark .form-control:focus,
.section-dark-alt .form-control:focus {
  border-color: var(--c-blue-accent);
  box-shadow: 0 0 0 3px rgba(58, 140, 237, 0.15);
}
.section-dark .form-control::placeholder,
.section-dark-alt .form-control::placeholder {
  color: rgba(255,255,255,0.3);
}

/* --- Dark Layered CTA --- */
.section-dark .layered-cta,
.section-dark-alt .layered-cta {
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.3);
}

/* ===================================================================
   GLOBAL MESH DECORATION SYSTEM
   Animated mesh lines, floating glass panels & ambient glows
   Used site-wide for the premium dark-tech aesthetic
   =================================================================== */

/* Mesh SVG layer */
.section-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.section-mesh svg {
  position: absolute;
  width: 100%;
  height: 100%;
}
.section-mesh .mesh-line {
  fill: none;
  stroke: rgba(255,255,255,0.06);
  stroke-width: 0.5;
}
.section-mesh .mesh-node {
  fill: rgba(255,255,255,0.15);
}
.section-mesh .mesh-glow {
  fill: rgba(255,255,255,0.08);
  filter: blur(3px);
}

/* Floating glass panel decorations */
.section-float-panel {
  position: absolute;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
  z-index: 0;
}
.section-float-panel .sfp-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.15);
}
.section-float-panel .sfp-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
}
.section-float-panel .sfp-bar {
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  display: inline-block;
}
.section-float-panel .sfp-line {
  height: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
}
.section-float-panel .sfp-metric {
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  letter-spacing: -0.04em;
}
.section-float-panel .sfp-metric-unit {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.15);
  margin-left: 2px;
}

/* Ambient glow radial */
.site-ambient-glow {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.025) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(30px);
}

/* Mesh & panel animations */
@keyframes sectionFloat1 {
  0%   { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
  50%  { transform: translateY(-14px) rotateX(2deg) rotateY(-1.5deg); }
  100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
}
@keyframes sectionFloat2 {
  0%   { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
  50%  { transform: translateY(-10px) rotateX(-1.5deg) rotateY(2deg); }
  100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
}
@keyframes sectionFloat3 {
  0%   { transform: translateY(0) scale(1); }
  50%  { transform: translateY(-8px) scale(1.02); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes meshPulse {
  0%   { opacity: 0.04; }
  50%  { opacity: 0.09; }
  100% { opacity: 0.04; }
}
@keyframes meshDraw {
  0%   { stroke-dashoffset: 2000; }
  100% { stroke-dashoffset: 0; }
}

/* Hide decorations on mobile */
@media (max-width: 991px) {
  .section-float-panel { display: none; }
  .section-mesh { display: none; }
}

/* ===================================================================
   PREMIUM PILL LABEL COMPONENT (Unified)
   =================================================================== */
.hp-label-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  background: rgba(12, 18, 45, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.95);
  transition: all 0.3s ease;
}

.hp-label-premium .num {
  color: var(--c-blue-accent);
  margin-right: 0.45rem;
  font-weight: 700;
}

.hp-label-premium .divider {
  color: rgba(255, 255, 255, 0.25);
  margin-right: 0.45rem;
  font-weight: 400;
}

.hp-label-premium .text {
  color: rgba(255, 255, 255, 0.9);
}

/* --- Mega Menu Dropdown --- */
.dropdown-content.mega-menu {
  min-width: 600px;
  padding: 1.5rem;
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.mega-menu-column {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mega-menu-column a {
  display: block !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}
.mega-menu-title {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--c-white) !important;
  margin-bottom: 0.75rem !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  padding-bottom: 0.5rem !important;
  pointer-events: auto;
}
.mega-menu-link {
  font-size: 0.85rem !important;
  color: rgba(255,255,255,0.6) !important;
  padding: 0.35rem 0 !important;
  transition: all 0.2s ease !important;
}
.mega-menu-link:hover {
  color: var(--c-blue-light) !important;
  background: transparent !important;
  transform: translateX(4px) !important;
}
@media (max-width: 991px) {
  .dropdown-content.mega-menu {
    min-width: 100%;
    padding: 0.5rem 1rem;
  }
  .mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .mega-menu-title {
    margin-top: 1rem !important;
  }
}

/* ==================================================
   MASTER MOBILE QA & RESPONSIVE OVERRIDES
   ================================================== */

/* 1. Globale responsive basis */
html, body {
  width: 100%;
  max-width: 100%;
  /* overflow-x: hidden removed — breaks position: sticky on desktop.
     Mobile overflow safety handled in DEFINITIVE RESPONSIVE SYSTEM section. */
}

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

img, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

/* Lange woorden/URL's netjes breken */
p, h1, h2, h3, h4, h5, h6, a, span, li, button {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* --- TABLET & KLEINE LAPTOP OVERRIDES (max-width: 1023px) --- */
@media (max-width: 1023px) {
  /* 3. Sticky-scroll / stacked cards responsive fix voor tablet & mobiel */
  .sticky-card, .hp-pillar, .faq-left, .sticky-hero, .sticky-stack-container, .scroll-3d-wrapper, .hp-family-stack {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    min-height: auto !important;
    height: auto !important;
    margin-bottom: 2.5rem !important;
    margin-top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }
  
  /* Reset enorme viewport hoogtes en margins op slides */
  .hp-pillar:nth-child(n) {
    margin-bottom: 2.5rem !important;
  }

  /* Verberg sfeer/zwevende elementen die content wegdrukken of overlappen */
  .hp-float-panel, .section-float-panel, .founder-float-note, .hp-ambient-glow, .hp-hero-ring, .hp-hero-grid {
    display: none !important;
  }

  /* 4. Specifieke fix: Workplace scrollcards & productpagina slides */
  .hp-pillar {
    padding: 2.5rem 2rem !important;
    gap: 2rem !important;
  }

  .sticky-card {
    padding: 2.5rem 2rem !important;
  }

  .hp-hero {
    min-height: auto !important;
    height: auto !important;
    padding-top: 7rem !important;
    padding-bottom: 4rem !important;
  }
}

/* --- SPECIFIEKE TELEFOON OVERRIDES (max-width: 767px) --- */
@media (max-width: 767px) {
  /* Zet layouts om naar 1 overzichtelijke kolom met logische volgorde */
  .hp-pillar {
    grid-template-columns: 1fr !important;
    padding: 2rem 1.25rem !important;
    gap: 1.5rem !important;
  }

  /* Visuals altijd netjes onder of boven tekst, nooit eroverheen */
  .hp-pillar-visual {
    order: 2 !important; /* visual onder tekst */
    margin-top: 0.5rem !important;
  }
  
  .hp-pillar-content {
    order: 1 !important; /* tekst bovenaan */
  }

  .sticky-card {
    padding: 2rem 1.25rem !important;
  }

  /* Hero-secties mobiel optimaliseren */
  .hp-hero {
    padding-top: 5.5rem !important;
    padding-bottom: 3rem !important;
  }
  
  .hp-hero-inner {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    padding: 0 0.5rem !important;
  }

  /* H1/H2/H3/p lettergroottes met clamp() zodat tekst nooit afsnijdt */
  .hp-h1 {
    font-size: clamp(1.8rem, 7.5vw, 2.5rem) !important;
    line-height: 1.15 !important;
  }
  
  .hp-pillar-title, .sticky-card h2, .sticky-card h3 {
    font-size: clamp(1.6rem, 7vw, 2.2rem) !important;
    line-height: 1.2 !important;
  }

  p {
    font-size: clamp(0.95rem, 4.5vw, 1.1rem) !important;
    line-height: 1.55 !important;
  }

  .hp-pills {
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }

  /* CTA-buttons: netjes passend, tikbaar, niet buiten beeld of overdreven groot */
  .hp-ctas {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }

  .hp-cta-white, .hp-cta-ghost, .hp-cta-whatsapp, .btn {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    height: auto !important;
    padding: 0.8rem 1.25rem !important;
    white-space: normal !important; /* tekst mag over 2 regels wrappen */
  }

  /* 7. Grids en cards naar 1 kolom op telefoon */
  .hp-grid-2x2, .feature-grid-3d, .diensten-grid, .product-features-grid, .cloud-grid, .projects-grid, .form-grid, .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* 8. FAQ en Footer uitlijning mobiel */
  .faq-container {
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

  .footer-cta-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 1rem !important;
  }
  
  /* Inputvelden formulier leesbaar en min. 44px hoog */
  .form-control {
    min-height: 48px !important;
    font-size: 1rem !important; /* voorkomt auto-zoom op iOS */
  }
}


/* =====================================================================
   DEFINITIVE RESPONSIVE SYSTEM — May 2026
   =====================================================================
   Complementary to inline CSS responsive overrides in HTML files.
   Inline CSS handles component-specific overrides.
   This file handles: navigation, body lock, overflow, typography,
   footer, containers, and global layout.
   Desktop sticky scroll (>=1100px) is NOT touched.
   ===================================================================== */

/* ---------------------------------------------------------------
   0. BODY SCROLL LOCK — mobile menu open
   --------------------------------------------------------------- */
body.menu-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
}

/* ---------------------------------------------------------------
   1. MOBILE NAVIGATION — definitive overlay system
   --------------------------------------------------------------- */
@media (max-width: 991px) {
  /* Navbar z-index hierarchy */
  .navbar {
    z-index: 10001 !important;
  }
  .nav-logo {
    z-index: 10000 !important;
    position: relative !important;
  }
  .mobile-menu-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10000 !important;
    position: relative !important;
  }

  /* Dark overlay behind nav panel */
  .nav-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 9998 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
    pointer-events: none !important;
  }
  .nav-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Full-screen nav panel */
  .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: var(--c-navy-deep, #050914) !important;
    flex-direction: column !important;
    padding: 5.5rem 1.5rem 2rem !important;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    align-items: stretch !important;
    gap: 0.15rem !important;
    overflow-y: auto !important;
    z-index: 9999 !important;
    border-left: none !important;
  }
  .nav-links.active {
    right: 0 !important;
  }

  /* Nav items: tappable, clear, full-width */
  .nav-links > a,
  .nav-dropdown > .nav-dropdown-trigger {
    padding: 0.9rem 1.25rem !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    border-radius: 12px !important;
    width: 100% !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.85) !important;
    transition: background 0.2s ease !important;
  }
  .nav-links > a:hover,
  .nav-dropdown > .nav-dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.06) !important;
  }
  .nav-links > a.active {
    background: var(--c-white, #fff) !important;
    color: var(--c-navy-deep, #050914) !important;
    font-weight: 600 !important;
  }
  /* Dropdown trigger active: subtle highlight, not full white */
  .nav-dropdown > .nav-dropdown-trigger.active {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--c-white, #fff) !important;
    font-weight: 600 !important;
    border-bottom: 2px solid rgba(33, 140, 238, 0.5) !important;
  }

  /* Dropdown layout for mobile */
  .nav-dropdown {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    width: 100% !important;
  }
  .nav-dropdown > .nav-dropdown-trigger {
    flex: 1 !important;
  }
  .dropdown-chevron {
    display: none !important;
  }
  .mobile-submenu-toggle {
    display: flex !important;
    z-index: 10 !important;
    width: 48px !important;
    height: 48px !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    cursor: pointer !important;
    color: rgba(255, 255, 255, 0.7) !important;
    transition: background 0.2s ease !important;
  }
  .mobile-submenu-toggle:hover {
    background: rgba(255, 255, 255, 0.08) !important;
  }
  .mobile-submenu-toggle.active {
    background: rgba(33, 140, 238, 0.15) !important;
    border-color: rgba(33, 140, 238, 0.3) !important;
  }
  .mobile-submenu-toggle.active svg {
    transform: rotate(45deg) !important;
    transition: transform 0.3s ease !important;
  }

  /* Dropdown content — accordion */
  .dropdown-content {
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    min-width: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    border-radius: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    pointer-events: auto !important;
  }
  .dropdown-content::before {
    display: none !important;
  }
  .dropdown-content.mobile-open {
    max-height: 600px !important;
    padding: 0.25rem 0 0.5rem 0 !important;
  }
  .dropdown-content > a {
    padding: 0.7rem 1rem 0.7rem 1.25rem !important;
    border-radius: 10px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
  }
  .dropdown-content > a:hover {
    background: rgba(255, 255, 255, 0.04) !important;
  }
  .dropdown-footer {
    padding: 0.5rem 1rem !important;
  }
}

/* ---------------------------------------------------------------
   2. TABLET & SMALLER: sticky/3D reset (<=1099px)
   Component-specific resets also handled by inline CSS.
   These are global safety catches.
   --------------------------------------------------------------- */
@media (max-width: 1099px) {
  /* Container breathing room */
  .container {
    padding: 0 1.5rem !important;
  }

  /* Section padding */
  .section {
    padding: 5rem 0 !important;
  }

  /* Feature grids: 2-col on tablet */
  .feature-grid-3d {
    grid-template-columns: repeat(2, 1fr) !important;
    perspective: none !important;
  }

  /* Service blocks single column */
  .service-block,
  .service-block.reverse {
    grid-template-columns: 1fr !important;
    direction: ltr !important;
    gap: 2rem !important;
  }

  /* Info sections */
  .info-section {
    grid-template-columns: 1fr !important;
  }

  /* Trust split */
  .hp-trust-split {
    grid-template-columns: 1fr !important;
  }
}

/* ---------------------------------------------------------------
   3. PHONE LAYOUT (<=767px)
   Global phone-specific overrides. Component overrides in inline CSS.
   --------------------------------------------------------------- */
@media (max-width: 767px) {
  /* Container */
  .container {
    padding: 0 1rem !important;
  }

  /* Navbar compact */
  .navbar {
    padding: 0.6rem 0 !important;
  }
  .nav-container {
    padding: 0 1rem !important;
  }
  .nav-logo img {
    max-width: 170px !important;
    height: auto !important;
    max-height: 36px !important;
  }

  /* Hero scroll indicator hidden */
  .hp-scroll-ind {
    display: none !important;
  }

  /* CTA buttons full width */
  .hp-cta-white,
  .hp-cta-ghost,
  .hp-cta-whatsapp {
    width: 100% !important;
    justify-content: center !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
  }

  /* Typography: body text */
  .hp-pillar-body,
  .approach-text,
  .hp-deep-text {
    font-size: clamp(0.95rem, 4vw, 1.08rem) !important;
    line-height: 1.65 !important;
  }

  /* All grids single column */
  .hp-grid-2x2,
  .diensten-grid,
  .product-features-grid,
  .cloud-grid,
  .projects-grid,
  .form-grid,
  .pillars-grid,
  .info-points,
  .hp-deep-features,
  .hp-timeline-steps,
  .problems-grid,
  .target-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Feature grid single column on phone */
  .feature-grid-3d {
    grid-template-columns: 1fr !important;
  }

  /* Dark glass cards compact */
  .dark-glass-card {
    padding: 2rem 1.25rem !important;
    max-width: calc(100vw - 32px) !important;
    margin-inline: auto !important;
  }

  /* Viewport sections auto height */
  .dark-viewport,
  .viewport-section {
    min-height: auto !important;
    padding: 4rem 0 !important;
  }

  /* Trust carousel */
  .hp-trust-carousel {
    height: auto !important;
    min-height: 280px !important;
  }
  .hp-trust-slide {
    position: relative !important;
    padding: 2rem 1.5rem !important;
  }

  /* Timeline line hidden */
  .hp-timeline-line {
    display: none !important;
  }

  /* CTA block compact */
  .hp-cta-block {
    padding: 3rem 1.5rem !important;
    margin: 0 0.75rem !important;
  }

  /* FAQ */
  .faq-container {
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .footer-cta-strip {
    padding: 2rem 1.25rem !important;
    border-radius: 16px !important;
  }
  .footer-cta-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }
  .footer-cta-actions .hp-cta-white,
  .footer-cta-actions .hp-cta-whatsapp {
    width: 100% !important;
    justify-content: center !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1rem !important;
  }
  .footer-bottom-links {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }

  /* Product card compact */
  .product-card-3d {
    padding: 1.5rem !important;
    max-width: calc(100vw - 32px) !important;
    margin-inline: auto !important;
  }

  /* Feature card */
  .feature-card-3d {
    padding: 2rem 1.5rem !important;
  }

  /* CTA blocks */
  .cta-block,
  .layered-cta {
    padding: 3rem 1.5rem !important;
  }

  /* Glass/story/dark panels */
  .story-card { padding: 2.5rem 1.5rem !important; }
  .dark-glass { padding: 2.5rem 1.5rem !important; }
  .glass-panel { padding: 2rem 1.25rem !important; }
  .premium-content-block { padding: 2.5rem 1.5rem !important; }

  /* Page header */
  .page-header {
    padding: 7rem 0 3rem !important;
  }
  .page-header h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem) !important;
  }

  /* Form controls iOS zoom prevention */
  .form-control {
    min-height: 48px !important;
    font-size: 1rem !important;
  }

  /* Info image wrapper */
  .info-image-wrapper::before {
    display: none !important;
  }
}

/* ---------------------------------------------------------------
   4. EXTRA SMALL PHONES (<=374px)
   --------------------------------------------------------------- */
@media (max-width: 374px) {
  .nav-logo img {
    max-width: 140px !important;
    max-height: 30px !important;
  }
}

/* ---------------------------------------------------------------
   5. TABLET PORTRAIT (768px - 1023px)
   --------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .hp-ctas {
    flex-direction: row !important;
    justify-content: center !important;
  }
  .hp-cta-white,
  .hp-cta-ghost {
    width: auto !important;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ---------------------------------------------------------------
   6. GLOBAL OVERFLOW SAFETY
   --------------------------------------------------------------- 
   NOTE: overflow on html/body breaks position: sticky.
   On desktop: NO overflow property on html/body.
   On mobile (<1100px): overflow-x: hidden as safety net.
   Overflow prevented at element level via max-width/clip.
   --------------------------------------------------------------- */

/* Mobile-only overflow:hidden safety net */
@media (max-width: 1099px) {
  html, body {
    overflow-x: hidden;
  }
}

/* Constrain containers — but NOT sticky parents */
.hp-trust-carousel-wrapper,
.hp-timeline-wrapper,
.hp-deep-grid,
.container {
  max-width: 100vw;
  overflow-x: clip;
}

/* Sticky parents must NOT have overflow hidden/clip */
.hp-family-stack,
.sticky-stack-container,
.approach-container {
  max-width: 100vw;
  /* No overflow property — sticky children need free overflow context */
}

/* Word wrap safety */
h1, h2, h3, h4, h5, h6, p, a, li, td, th {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Media elements constrained */
img, video, canvas, iframe {
  max-width: 100%;
  height: auto;
}
