/* === Local Fonts: Poppins === */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url('/fonts/poppins-v23-latin-100.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('/fonts/poppins-v23-latin-200.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/poppins-v23-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/poppins-v23-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/poppins-v23-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/poppins-v23-latin-700.woff2') format('woff2');
}


/* --- Reset and base styles --- */
html, body {
  max-width: 100%;
  overflow-x: hidden;
  background-color: #081b35;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  /* Reserve header space before JS header injection to prevent jump */
  padding-top: var(--site-header-height);
  background-color: #081b35;
  color: #111;
}

:root {
  /* Header shell — single source of truth (CSS only; matches locked nav rows) */
  --site-header-height-desktop: 92px;
  /* Compact mobile header shell (utility + navbar) */
  --site-header-height-mobile: 50px;
  --site-header-height: var(--site-header-height-desktop);

  /* Nav theme (merged from former second :root) */
  --nav-bg: #081b35;
  --nav-link: #e7eef9;
  --nav-hover: #ffffff;
  --nav-accent: #ffc107;
  --nav-active-bg: rgba(255, 193, 7, 0.12);

  /* Product/category page horizontal gutters (mobile-first) */
  --product-gutter: 20px;
}

@media (min-width: 768px) {
  :root {
    --product-gutter: 28px;
  }
}

@media (min-width: 1024px) {
  :root {
    --product-gutter: 16px;
  }
}

@media (max-width: 920px) {
  :root {
    --site-header-height: calc(18px + 52px);
    --site-header-height-mobile: calc(18px + 52px);
  }
}

html {
  scroll-padding-top: var(--site-header-height);
}

/* Keep page heading/breadcrumb below fixed header on product/SEO pages */
.products-page main.container,
body.seo-landing main.container {
  padding-top: 18px;
}

main > .breadcrumb {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 1120px;
  margin: 6px auto 10px;
  padding: 0 16px;
}

/* Header (legacy); shell position/size overridden by final shared header block */
.sticky-header {
  background-color: #081b35;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}
header:not(.sticky-header) {
  padding: 20px 0;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  position: relative;
}
.logo-img img {
  height: 70px;
  max-height: 80px;
  width: auto;
  display: block;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  display: block;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}
.nav-links li a {
  color: #fff;
  text-decoration: none;
  position: relative;
  font-weight: 700;
  font-size: 1.13rem;
  letter-spacing: 0.4px;
  transition: color 0.3s;
}
.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #c40000;
  transition: width 0.3s;
}
.nav-links li a:hover::after {
  width: 100%;
}


/* Hero (content-driven; shared for DE/EN/IT home) */
.video-hero {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  background-color: var(--nav-bg);
  background-image: linear-gradient(180deg, #07172d 0%, var(--nav-bg) 100%);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: none;
  object-fit: cover;
  z-index: 1;
}
.video-blur-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 30, 56, 0.32);
  z-index: 2;
  pointer-events: none;
  backdrop-filter: blur(6px);
}
.hero-overlay {
  position: relative;
  z-index: 3;
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: calc(var(--site-header-height-desktop) - 20px) 1.25rem 44px;
  box-sizing: border-box;
  flex-direction: column;
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  color: white;
  text-align: center;
}
.hero-content h1 {
  font-weight: 700;
  font-size: 2.6rem;
  letter-spacing: -1px;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
/* Bolder first sentence (Ihr Partner...) */
.hero-subtext {
  font-size: 1rem;
  text-align: center;
  font-weight: 700;
}


/* Cards */
.intro-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 32px;
  margin-top: 42px;
  margin-bottom: 0;
  padding: 0 2vw;
}

.intro-card {
  flex: 1 1 0;
  min-width: 390px;
  max-width: 440px;
  min-height: 420px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
  display: flex;
  flex-direction: column;
  text-align: center;
  color: #081b35;
  overflow: hidden;
  animation: slideFromTop 1.1s ease forwards;
  opacity: 0;
  transform: translateY(-60px);
  transition: transform 0.3s, box-shadow 0.3s, width 0.2s, min-height 0.2s;
}
.intro-card:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 12px 32px rgba(0,0,0,0.17);
}
.intro-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  box-shadow: 0 2px 12px #081b3530;
}
.intro-card h3 {
  /* Bolder second sentence inside cards */
  font-weight: 600;
}
.intro-card p {
  font-size: 1.1rem;
  font-weight: 600; /* make the card paragraphs a bit bolder */
  color: #1a1a1a;
  line-height: 1.7;
  letter-spacing: 0.2px;
  margin: 10px 0 16px;
  font-family: 'Poppins', sans-serif;
}

.card-text {
  flex-grow: 1;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.card-text p {
  text-align: center;
}

.card-btn {
  margin-top: auto;
  margin-bottom: 20px;
}
.card-btn {
  margin: 1rem auto 1.3rem;
  padding: 11px 0;
  width: 87%;
  max-width: 220px;
  font-size: 1rem;
  font-weight: 600;
  background: #ffc107;
  color: #081b35;
  border-radius: 7px;
  transition: all 0.28s;
  text-decoration: none;
  box-shadow: 0 1px 12px #ffc10740;
}
.card-btn:hover {
  background: #ffe191;
  color: #b30000;
  box-shadow: 0 6px 22px #ffc10750;
  transform: scale(1.04);
}
.intro-card {
  background: #081b35;
  color: #fff;
}
.intro-card h3 {
  color: #fff;
}
.intro-card p {
  color: #f1f1f1;
}
.card-btn {
  background: #fff;
  color: #081b35;
  font-weight: 700;
  transition: all 0.28s;
}
.card-btn:hover {
  background: #f2f2f2;
  color: #b30000;
}

@keyframes slideFromTop {
  from {
    opacity: 0;
    transform: translateY(-60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.about-section {
  padding: 88px 0 68px;
  background: #fff;   
  text-align: center;
}
.about-section h2 {
  font-size: 2.45rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.about-section h3 {
  font-size: 1.32rem;
  color: #b30000;
  margin-bottom: 34px;
}
.about-section p {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.11rem;
  line-height: 1.75;
  padding: 0 12px;
}
.reviews-section {
  text-align: center;
  padding: 60px 20px;
}
.review-carousel {
  position: relative;
  max-width: 410px;
  margin: 38px auto 0;
  overflow: hidden;
  min-height: 180px;
}
.review-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s;
}
.review-slide.active {
  display: block;
  opacity: 1;
}
.review {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 38px rgba(20,32,50,0.09), 0 2px 4px rgba(20,32,50,0.05);
  padding: 38px 34px 24px;
  max-width: 330px;
  margin: 0 auto;
  font-size: 1.03rem;
  color: #222;
  text-align: center;
  position: relative;
}
.review::before {
  content: '“';
  color: #ffc107;
  font-size: 2.8rem;
  font-weight: 700;
  position: absolute;
  left: 24px;
  top: 17px;
  opacity: .3;
}
.review span {
  display: block;
  margin-top: 18px;
  font-style: italic;
  font-size: 0.97rem;
  color: #666;
}
.review-carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 24px;
  gap: 11px;
}
.review-carousel-dots .dot {
  width: 13px;
  height: 13px;
  background: #ffc107;
  border-radius: 50%;
  opacity: 0.48;
  cursor: pointer;
  transition: opacity 0.25s, transform 0.25s;
  border: none;
  padding: 0;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
  line-height: 1;
}
.review-carousel-dots .dot.active {
  opacity: 1;
  transform: scale(1.18);
  border: 2px solid #b30000;
}

/* CTA */
.cta-section {
  background: linear-gradient(90deg, #081b35 80%, #b30000 100%);
  clear: both;
  color: white;
  text-align: center;
  padding: 74px 12px 78px;
  border-radius: 0 0 34px 34px;
  box-shadow: 0 18px 44px rgba(8,27,53,0.08);
}
.cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 1.12rem;
  margin-bottom: 28px;
}
.cta-btn {
  background-color: #ffc107;
  color: #081b35;
  font-weight: 700;
  font-size: 1.25rem;
  padding: 18px 54px;
  border-radius: 9px;
  text-decoration: none;
  box-shadow: 0 2px 16px #fff2;
  border: 0;
  transition: all 0.22s cubic-bezier(.4,0,.2,1);
}
.cta-btn:hover {
  background-color: #ffe191;
  color: #b30000;
  box-shadow: 0 7px 28px #ffc10744;
  transform: translateY(-2px) scale(1.03);
}
/* ✅ Erfolgreich gesendet Nachricht */
.success-box {
  background-color: #e6f9e6;
  border-left: 6px solid #28a745;
  padding: 16px 20px;
  margin: 20px auto;
  max-width: 700px;
  font-family: 'Poppins', sans-serif;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: #155724;
  animation: fadeIn 0.5s ease-in-out;
}
.success-box strong {
  font-size: 1.1rem;
}
.success-box p {
  margin: 6px 0 0 0;
  font-size: 0.95rem;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.footer-lux {
  background: #081b35;
  color: #fff;
  padding: 52px 0 0;
  font-size: 1.02rem;
  border-top: 4px solid #ffc107;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-contact p,
.footer-contact a {
  color: #e8e8e8;
  font-size: 0.97rem;
  margin: 2px 0;
  text-decoration: none;
}
.footer-contact a:hover {
  color: #ffc107;
  text-decoration: underline;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.footer-links li a {
  color: #ccc;
  text-decoration: none;
  font-size: 1.03rem;
  transition: color 0.22s;
}
.footer-links li a:hover {
  color: #ffc107;
}
.footer-bar {
  background: #061329;
  color: #ffe9ad;
  font-size: 0.93rem;
  text-align: center;
  padding: 12px 0;
  margin-top: 24px;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 -3px 18px #081b3550 inset;
}

/* =======================
   Über uns Card Style
========================== */
.about-card {
  max-width: 900px;
  margin: 60px auto;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 40px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #222;
  transition: all 0.3s ease;
}

.about-card h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #081b35;
  text-align: center;
}

.about-card p {
  margin-bottom: 18px;
  text-align: justify;
}

/* ========== Card Section Desktop Styles ========== */
.section-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(8,27,53,0.11), 0 1px 2px rgba(8,27,53,0.05);
  margin: 38px auto 28px;
  padding: 38px 36px 28px;
  max-width: 820px;
  width: 100%;
  color: #081b35;
  font-size: 1.10rem;
  font-family: 'Poppins', sans-serif;
  transition: box-shadow 0.23s;
}
.section-card h1, .section-card h2, .section-card h3 {
  color: #b30000;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 20px;
  font-family: inherit;
  text-align: center;
}
.section-card p, .section-card ul, .section-card ol {
  color: #222;
  line-height: 1.8;
  margin-bottom: 18px;
  font-size: 1.05rem;
  font-family: inherit;
  text-align: justify;
}
.section-card ul {
  list-style: disc inside;
  padding-left: 0;
  margin-bottom: 14px;
}
.section-card li {
  margin-bottom: 6px;
}
#industrie-page .intro-card {
  min-height: 400px !important;
  height: auto !important;
  padding-bottom: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
#industrie-page .card-text {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
#industrie-page .card-btn {
  margin-bottom: 0 !important;
}
.intro-card h3 {
  font-size: 1.42rem;   
  font-weight: 900;     
  letter-spacing: -0.5px;
  line-height: 1.22;
  color: #fff;          
  margin-top: 28px;
  margin-bottom: 10px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.18);
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #081b35;
  color: #fff;
  padding: 18px 16px;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
  flex-wrap: wrap;
}

.cookie-banner a {
  color: #FFD600;
  text-decoration: underline;
  margin-left: 10px;
}

.cookie-banner button {
  background: #ffd600;
  color: #081b35;
  border: none;
  border-radius: 7px;
  font-weight: bold;
  padding: 8px 20px;
  margin-top: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-banner button:hover {
  background: #ffe960;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* Responsive Navigation & Cards */
@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    background-color: #081b35;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 18px;
    display: none;
    width: 100%;
    z-index: 999;
  }
  .nav-links.active { display: flex; }
}

/* === Mobile Styles (max-width: 700px) === */
@media (max-width: 700px) {
  .hero-content h1.main-title {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  }
  .hero-subtext {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 30px;
  }
.intro-card {
    width: 100% !important;
    min-height: 460px !important;
    
  }
.intro-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 16px 0;
    margin: 0;
    overflow-x: hidden;
  }

  .intro-card {
    width: 94vw;
    max-width: 520px;
    min-width: 0;
    min-height: 4400px; 
    height: auto;      
    max-height: none;  
    overflow-y: visible;
    margin: 0 auto;
    border-radius: 16px;
    background: #081b35;
    box-shadow: 0 6px 20px rgba(0,0,0,0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(-60px);
    animation: slideFromTop 1.1s ease forwards;
  }
  .intro-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    box-shadow: 0 2px 12px #081b3530;
  }
  .intro-card.delay-1 { animation-delay: 0.3s; }
  .intro-card.delay-2 { animation-delay: 0.9s; }
  .intro-card.delay-3 { animation-delay: 1.5s; }

  /* Card image */
  .intro-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 32px;
  margin-top: 60px;
  margin-bottom: 40px;
  padding: 0 2vw;
}

.intro-card {
    width: 120vw;
    max-width: 520px;
    min-width: 0;
    height: auto;                 /* let it grow to fit content */
    max-height: calc(100vh - 200px); /* optional: never taller than viewport minus header */
    overflow-y: auto;             /* scroll internally if content really overflows */
    margin: 0 auto;
    border-radius: 16px;
    background: #081b35;
    box-shadow: 0 6px 20px rgba(0,0,0,0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(-60px);
    animation: slideFromTop 1.1s ease forwards;
    /* remove any fixed height constraints */
  }
.intro-card:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 12px 32px rgba(0,0,0,0.17);
}
.intro-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  box-shadow: 0 2px 12px #081b3530;
}
.intro-card h3 {
  font-weight: 800;
  font-size: 1.38rem;
  margin-top: 18px;     
  margin-bottom: 10px;  
  color: #fff;
  letter-spacing: -0.5px;
}

 .card-text {
    display: flex;
    flex-direction: column;
    justify-content: center;    
    align-items: center;        
    flex: 1 1 auto;             
    min-height: 0;
    padding: 0 14px;
    width: 100%;
  }
}

.card-btn {
  margin-top: auto;
  margin-bottom: 20px;
}
.card-btn:hover {
  background: #ffe191;
  color: #b30000;
  box-shadow: 0 6px 22px #ffc10750;
  transform: scale(1.04);
}@media (max-width: 700px) {
  .center-content {
    display: flex;
    flex-direction: column;
    justify-content: center;    
    align-items: center;        
    flex: 1 1 auto;
    min-height: 200px; 
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
  }

  .intro-card h3 {
    margin-top: 2px !important;     
    margin-bottom: 12px !important; 
  }
}
@media (max-width: 700px) {
  .intro-card h3 {
    margin-top: 2px !important;
    margin-bottom: 12px !important;
  }
}
/* === Helpers for layout (Ratgeber & Home sections) === */
.container { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width: 992px){ .grid-4{grid-template-columns:repeat(2,1fr)} .grid-3{grid-template-columns:repeat(2,1fr)} }
@media (max-width: 600px){ .grid-2,.grid-3,.grid-4{grid-template-columns:1fr} }
section h2 { margin: 0 0 12px; font-size: 1.8rem; }
section h3 { margin: 8px 0; font-size: 1.2rem; }

/* TOC */
.toc { background:#f6f6f6; padding:12px 16px; border-radius:8px; margin:16px 0; }
.toc ol { margin:8px 0 0 18px; }
/* === Design Upgrade v1 — append to end of style.css === */
:root{
  --primary:#0a66c2; --text:#0b1220; --muted:#61708b;
  --bg-soft:#f7f9fc; --card:#fff; --card-border:#e8eaef; --shadow:0 6px 22px rgba(20,40,80,.06);
}
html{scroll-behavior:smooth}
body{-webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; color:var(--text)}
a{color:var(--primary); text-decoration:none}
a:hover{text-decoration:underline}

.section{padding:56px 0}
.section--alt{padding:56px 0; background:var(--bg-soft)}
.section h1,.section h2{letter-spacing:.2px}
.section h1{font-size:2.2rem; margin:0 0 10px}
.section h2{font-size:1.8rem; margin:0 0 12px}
.sub{font-size:1.06rem; color:var(--muted)}

.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
@media (max-width:992px){.grid-4,.grid-3{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.grid-4,.grid-3,.grid-2{grid-template-columns:1fr}}

.card{background:var(--card); border:1px solid var(--card-border); border-radius:16px; box-shadow:var(--shadow); padding:16px}
.card h3{margin:6px 0 6px; font-size:1.16rem}
.btn{display:inline-block; padding:10px 16px; border-radius:12px; font-weight:700}
.btn-primary{background:var(--primary); color:#fff}
.btn-primary:hover{filter:brightness(.95); text-decoration:none}
.badges{display:flex;gap:8px;flex-wrap:wrap}
.badge{background:#eaf3ff; color:#0b3b7a; border-radius:999px; padding:6px 10px; font-size:.9rem}

.hero{padding:64px 0 36px; background:linear-gradient(180deg,#f8fbff,transparent)}
.hero .kpi{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}
.hero .kpi .item{background:#fff;border:1px solid var(--card-border);border-radius:12px;text-align:center;padding:12px}

.toc{background:#fff;border:1px solid var(--card-border);border-radius:14px;padding:14px 16px;box-shadow:var(--shadow)}
.toc strong{display:block;margin-bottom:6px}
.toc ol{margin:6px 0 0 18px}
.breadcrumbs{color:var(--muted);font-size:.95rem;margin:8px 0 14px}
.breadcrumbs a{color:inherit;text-decoration:none}
.breadcrumbs a:hover{text-decoration:underline}

.prose p{line-height:1.7;margin:10px 0}
.prose ul{margin:8px 0 8px 20px}
.prose li{margin:6px 0}
.note{background:#fff;border:1px solid var(--card-border);border-radius:12px;padding:12px 14px}
details{background:#fff;border:1px solid var(--card-border);border-radius:12px;padding:12px;margin:10px 0}
/* === Lux polish v2 — append to end of style.css === */
:root{
  --primary:#0a66c2; --primary-2:#1f8fff;
  --text:#0b1220; --muted:#5c6b85;
  --bg:#fbfcfe; --bg-soft:#f5f8ff;
  --card:#ffffff; --card-border:rgba(12,20,40,.12);
  --ring:rgba(31,143,255,.25);
  --shadow-lg:0 12px 40px rgba(20,40,80,.12);
  --shadow-md:0 8px 24px rgba(20,40,80,.08);
}
html{scroll-behavior:smooth}
body{background:var(--bg); color:var(--text); -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale}
body.home:has(.video-hero){background-color:var(--nav-bg)}
h1,h2,h3{letter-spacing:.2px}
h1{font-size:clamp(1.9rem,2.2vw,2.6rem)}
h2{font-size:clamp(1.5rem,1.6vw,2rem)}
.sub{color:var(--muted)}

.container{max-width:1200px; margin:0 auto; padding:0 18px}
.section{padding:64px 0}
.section--alt{background:var(--bg-soft)}

.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
@media (max-width:992px){.grid-4,.grid-3{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.grid-4,.grid-3,.grid-2{grid-template-columns:1fr}}

.card{background:var(--card); border:1px solid var(--card-border); border-radius:18px; padding:18px; box-shadow:var(--shadow-md); transition:transform .18s ease, box-shadow .18s ease}
.card:hover{transform:translateY(-3px); box-shadow:var(--shadow-lg)}
.card--lux{
  position:relative; border:1px solid transparent;
  background:
    linear-gradient(#fff,#fff) padding-box,
    linear-gradient(145deg, rgba(31,143,255,.55), rgba(10,102,194,.2)) border-box;
}

.btn{display:inline-block; padding:12px 18px; border-radius:12px; font-weight:700; transition:transform .15s ease, box-shadow .15s ease}
.btn-primary{background:linear-gradient(180deg,var(--primary),#0a5ab0); color:#fff; box-shadow:0 8px 18px var(--ring)}
.btn-primary:hover{transform:translateY(-2px); text-decoration:none}
.badges{display:flex;gap:10px;flex-wrap:wrap}
.badge{background:#eaf3ff; color:#0a3c78; border:1px solid rgba(31,143,255,.22); border-radius:999px; padding:6px 10px; font-size:.9rem}

.hero{position:relative; padding:82px 0 42px; background:linear-gradient(180deg,#f7fbff,transparent)}
.hero--lux .hero-bg{position:absolute; inset:0; overflow:hidden; z-index:-1}
.hero--lux .blob{
  position:absolute; width:560px; height:560px; border-radius:50%;
  filter:blur(60px); opacity:.35; transform:translate(-30%,-20%);
  background:radial-gradient(closest-side, rgba(31,143,255,.35), transparent 70%);
}
.hero--lux .blob.b2{right:-15%; top:20%; transform:none; background:radial-gradient(closest-side, rgba(10,102,194,.35), transparent 70%)}

.toc{background:#fff; border:1px solid var(--card-border); border-radius:16px; padding:16px 18px; box-shadow:var(--shadow-md)}
.toc strong{display:block; margin-bottom:6px}
.toc ol{margin:6px 0 0 18px}
.breadcrumbs{color:var(--muted); font-size:.95rem; margin:8px 0 14px}
.breadcrumbs a{color:inherit; text-decoration:none}
.breadcrumbs a:hover{text-decoration:underline}

.prose p{line-height:1.75; margin:10px 0}
.prose ul{margin:8px 0 8px 20px}
.prose li{margin:6px 0}
.note{background:#fff; border:1px solid var(--card-border); border-radius:12px; padding:12px 14px}


.nav-links a.active{position:relative}
.nav-links a.active::after{
  content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px;
  background:linear-gradient(90deg,var(--primary),var(--primary-2)); border-radius:2px;
}

/* === Footer columns (override-safe) === */
footer .footer-flex { 
  display: flex !important; 
  flex-wrap: wrap; 
  gap: 32px; 
}

footer .footer-flex > ul.footer-links {
  display: block !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  flex: 1 1 220px !important;
  min-width: 220px !important;
}

footer .footer-flex > ul.footer-links li {
  display: block !important;
  margin: .35rem 0 !important;
  line-height: 1.6 !important;
}

footer .footer-flex > ul.footer-links li strong {
  display: block !important;
  font-weight: 700 !important;
  margin-bottom: .5rem !important;
}

footer .footer-flex a { text-decoration: none; }
footer .footer-flex a:hover { text-decoration: underline; }

/* Mobile */
@media (max-width: 768px) {
  footer .footer-flex { gap: 20px; }
  footer .footer-flex > ul.footer-links { flex: 1 1 45% !important; min-width: 200px !important; }
}
@media (max-width: 480px) {
  footer .footer-flex > ul.footer-links { flex: 1 1 100% !important; min-width: 0 !important; }
}


.footer-bottom { margin-top: 24px; text-align: center; }
/* Fix footer link colors & contrast */
footer .footer-links a,
footer .footer-links a:visited {
  color: inherit !important;   
  opacity: 1 !important;       
}

footer .footer-links li { 
  opacity: 1 !important; 
  filter: none !important;
}

footer { 
  border-top: 1px solid rgba(255,255,255,0.12); 
  padding-top: 16px;
}

/* --- Footer: columns that don't conflict with .footer-links row --- */
footer .footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  flex: 3 1 660px;            
}
footer .footer-columns > ul.col {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex: 1 1 220px;
  min-width: 220px;
}
footer .footer-columns > ul.col li {
  margin: .35rem 0;
  line-height: 1.6;
}
footer .footer-columns > ul.col li strong {
  display: block;
  margin-bottom: .5rem;
  font-weight: 700;
}

footer .footer-columns a { color: #ccc; text-decoration: none; transition: color .2s; }
footer .footer-columns a:hover { color: #ffc107; text-decoration: underline; }


footer .footer-contact { flex: 1 1 260px; min-width: 240px; }
footer .footer-contact p { margin: 2px 0; }
footer .footer-contact a { color: #e8e8e8; text-decoration: none; }
footer .footer-contact a:hover { color: #ffc107; text-decoration: underline; }


@media (max-width: 768px){
  footer .footer-contact { flex: 1 1 100%; }
  footer .footer-columns   { gap: 24px; }
}
@media (max-width: 480px){
  footer .footer-columns > ul.col { flex: 1 1 100%; min-width: 0; }
}

/* === Hero fix after H1 change === */
.hero-content .main-title{
  font-size: clamp(1.9rem, 3.2vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -0.3px;
  margin: 0 0 14px;
  max-width: 990px;
  margin-left: auto; margin-right: auto;
  text-wrap: balance;
}
.hero-content .lead{
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 500;
  margin: 0 0 10px;
  opacity: .98;
  max-width: 980px;
  margin-left: auto; margin-right: auto;
}
.hero-bullets p{
  margin: 6px 0;
  font-size: 1.02rem;
  text-align: center;
}
@media (max-width: 700px){
  .hero-content .main-title{ font-size: 1.8rem; line-height: 1.25; }
}
/* Download Box */
.dl-box{
  --dl-bg:#ffffff;
  --dl-border:#e4ebf5;
  --dl-shadow:0 8px 24px rgba(8,27,53,0.07);
  --dl-accent:#ffc107;
  --dl-head:#081b35;
  background: var(--dl-bg);
  border: 1px solid var(--dl-border);
  border-radius: 18px;
  box-shadow: var(--dl-shadow);
  padding: 1.2rem 1.1rem;
  margin: 2rem auto;
  max-width: 1000px;
}
.dl-head{
  display:flex;align-items:center;gap:.6rem;
  padding: .2rem .4rem .9rem .4rem;
  border-bottom: 1px dashed #d6deea;
  margin-bottom: .6rem;
}
.dl-head h2{
  font: 700 1.25rem/1.2 'Poppins',sans-serif;
  color: var(--dl-head); margin:0;
}
.dl-head-ic{color: var(--dl-accent); flex:0 0 auto}

.dl-item{
  display:flex; align-items:center; gap:.9rem;
  text-decoration:none; background:#f9fbff;
  border:1px solid #e8eef7; border-radius:14px;
  padding:.8rem .9rem; margin:.7rem 0;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.dl-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(8,27,53,0.10);
  border-color:#dbe6f7;
  background:#ffffff;
}
.dl-icon{
  position:relative; width:46px; height:46px; border-radius:12px;
  background: linear-gradient(180deg,#eaf0fa, #dfe8f7);
  display:grid; place-items:center; flex:0 0 auto; color:#0f1c2e;
}
.dl-icon svg{width:22px;height:22px;opacity:.88}
.dl-badge{
  position:absolute; right:-6px; bottom:-6px;
  background:#ffc107; color:#081b35; font-weight:700;
  font-size:.66rem; padding:.15rem .4rem; border-radius:10px;
  border:2px solid #fff;
}
.dl-meta{display:flex; flex-direction:column; gap:.18rem; min-width:0}
.dl-meta strong{
  color:#081b35; font-weight:700; font-size:1.02rem;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.dl-meta span{color:#5c6c85; font-size:.92rem}
.dl-cta{
  margin-left:auto; display:inline-flex; align-items:center; gap:.35rem;
  background:#ffc107; color:#081b35; font-weight:700;
  padding:.55rem .75rem; border-radius:9px; white-space:nowrap;
  box-shadow:0 2px 10px rgba(255,193,7,.35);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.dl-cta svg{width:18px;height:18px}
.dl-item:hover .dl-cta{
  transform: translateY(-1px);
  background:#ffe191; color:#b30000; box-shadow:0 6px 20px rgba(255,193,7,.45);
}

/* Responsive */
@media (max-width: 680px){
  .dl-item{padding:.75rem .8rem}
  .dl-meta strong{font-size:1rem}
  .dl-cta{padding:.48rem .66rem}
}

.nav-links li a{
  font-weight: 600 !important;
  font-size: 1rem !important;
  letter-spacing: .2px !important;
  text-transform: none !important;
  color: var(--nav-link) !important;
  opacity: .96;
  position: relative;              
  transition: color .2s ease, opacity .2s ease, background .2s ease;
}

.nav-links li a:hover{
  color: var(--nav-hover) !important;
  opacity: 1;
}


.nav-links li a::after{
  content: ""; position: absolute;
  left: 0; bottom: -6px; height: 2px;
  width: 0; background: var(--nav-accent) !important;
  transition: width .24s ease;
}
.nav-links li a:hover::after{ width: 100%; }
.nav-links li a.active::after{ width: 100% !important; }


.nav-links li a.active{
  background: var(--nav-active-bg) !important;
  border-radius: 8px !important;
  padding: 6px 10px !important;       
}


.menu-toggle span{ background: var(--nav-accent) !important; }


.nav-links li a:focus-visible{
  outline: none; box-shadow: 0 0 0 3px rgba(255,193,7,.35);
  border-radius: 8px;
}


@media (max-width: 900px){
  .nav-links li a{ font-size: 1.08rem !important; }
}


.hero-content .main-title{
  margin-top: 0 !important;
  margin-bottom: 18px !important;
}

.intro-cards{
  position: relative;
  z-index: 4;
}


.home .hero-content .main-title{
  color: var(--nav-accent, #ffc107) !important; 
  text-shadow: 0 2px 8px rgba(0,0,0,.38);      
}
/* ===== Footer clean & aligned ===== */
.footer-lux{
  background:#081b35;
  color:#fff;
  border-top:6px solid #ffc107;
}
.footer-wrap{
  max-width:1200px;
  margin:0 auto;
  padding:34px 24px 18px;
  display:grid;
  grid-template-columns:minmax(260px,1.4fr) repeat(4,1fr);
  gap:28px 36px;
  align-items:start;
}

/* Brand / address — avoid flex stretch squashing the logo in the grid column */
.footer-lux .footer-brand{
  align-items:flex-start;
}
.footer-logo{
  height:40px;
  width:auto;
  max-width:220px;
  object-fit:contain;
  object-position:left center;
  display:block;
  margin:0 0 12px;
}
.footer-brand h4{margin:0 0 10px; font-weight:800; font-size:1.05rem; letter-spacing:.2px; color:#fff;}
.footer-brand address{font-style:normal; color:#e8eef6; line-height:1.7; margin:0;}
.footer-brand a{color:#e8eef6; text-decoration:none;}
.footer-brand a[href^="mailto:"]{cursor:pointer; text-decoration:underline; text-underline-offset:2px;}
.footer-brand a:hover{color:#ffc107; text-decoration:underline;}

/* 4 columns */
.footer-col{list-style:none; padding:0; margin:0;}
.footer-col li{margin:.42rem 0; line-height:1.6;}
.footer-col strong{display:block; margin:0 0 .55rem; font-weight:800; color:#fff;}
.footer-col a{color:#cfd7e6; text-decoration:none; transition:color .18s;}
.footer-col a:hover{color:#ffc107; text-decoration:underline;}

/* bottom bar */
.footer-bar{
  background:#061329;
  color:#ffe9ad;
  text-align:center;
  font-size:.95rem;
  padding:12px 16px;
  border-top:1px solid rgba(255,255,255,.12);
}

/* responsive */
@media (max-width:1100px){ .footer-wrap{grid-template-columns:repeat(2,1fr); gap:24px;} }
@media (max-width:560px){ .footer-wrap{grid-template-columns:1fr; gap:20px;} }

/* space when cookie banner is open (optional) */
body.cookie-open{ padding-bottom:72px !important; }
@media (max-width:600px){ body.cookie-open{ padding-bottom:88px !important; } }


@media (min-width: 701px) and (max-width: 1200px){
  .menu-toggle{ display:flex !important; }
  .nav-links{
    position:absolute; top:70px; left:0; right:0;
    background:#081b35; flex-direction:column; align-items:center;
    padding:18px 0; gap:16px; display:none; z-index:999;
  }
  .nav-links.active{ display:flex; }

  .intro-cards{
    flex-direction:column !important;
    align-items:center !important;
    gap:24px !important;
    padding:0 16px !important;
    margin-top:10px !important;
    flex-wrap:nowrap !important;
  }
  .intro-card{
    width:100% !important; max-width:640px !important;
    min-width:0 !important; height:auto !important;
    min-height:380px !important; margin:0 auto !important;
    
  }

  .hero-content .main-title{ font-size:2rem !important; }
  .hero-content .lead{ font-size:1.02rem !important; }
}
/* === Desktop default (no hamburger) === */
.menu-toggle{ display:none; }
.nav-links{ display:flex; }

/* === Header layout fix (structure + responsiveness) === */
.header-utility-row,
.navbar {
  width: min(1200px, 100%);
  margin-inline: auto;
  padding-inline: 20px;
  box-sizing: border-box;
}

.header-utility-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-utility-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header-utility-inner .locale-switcher {
  margin-left: auto;
}

@media (min-width: 921px) {
  .header-utility-row {
    display: none !important;
  }

  .navbar {
    display: grid !important;
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    align-items: center;
    gap: 12px;
    padding-left: 0;
    padding-right: 4px;
  }

  .logo-img {
    justify-self: start;
    margin-left: -14px;
    margin-right: 8px;
  }

  .logo-img img {
    max-width: none;
  }

  .nav-links {
    margin: 0 auto !important;
    justify-content: center !important;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    gap: clamp(10px, 1.1vw, 18px);
  }

  .navbar > .locale-switcher {
    justify-self: end;
    margin-right: -10px;
    margin-left: 0;
    flex: 0 0 auto;
  }
}

@media (min-width: 921px) and (max-width: 1180px) {
  .nav-links li a {
    font-size: 0.9rem !important;
  }

  .nav-links {
    gap: 10px;
  }
}

/* === Final nav behavior override === */
/* Header position/transform: canonical .sticky-header block below */

.nav-links li a {
  position: relative;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links li a:hover,
.nav-links li a:focus-visible {
  background: rgba(255, 193, 7, 0.16) !important;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -7px;
  height: 2px;
  background: #ffc107 !important;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.nav-links li a:hover::after,
.nav-links li a:focus-visible::after,
.nav-links li a.active::after {
  transform: scaleX(1);
}

/* === Active-state logic: hover and active are independent === */
.nav-links li a.active:not(.is-active) {
  background: transparent !important;
}

.nav-links li a.active:not(.is-active)::after {
  transform: scaleX(0) !important;
}

.nav-links li a.is-active {
  background: rgba(255, 193, 7, 0.16) !important;
  border-radius: 8px;
}

.nav-links li a.is-active::after {
  transform: scaleX(1) !important;
}

.nav-links li a:hover:not(.is-active),
.nav-links li a:focus-visible:not(.is-active) {
  background: rgba(255, 193, 7, 0.16) !important;
}

@media (max-width: 920px) {
  .header-utility-row,
  .navbar {
    padding-inline: 14px;
  }

  .header-utility-row {
    border-bottom: 0;
  }

  .header-utility-row.is-empty {
    display: none;
  }

  .header-utility-inner {
    min-height: 18px;
  }

  .navbar {
    min-height: 30px;
    display: flex !important;
  }

  .menu-toggle {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 30px;
    height: 26px;
    padding: 0 6px;
    border: 1px solid rgba(255, 212, 77, 0.8);
    border-radius: 8px;
    background: rgba(8, 27, 53, 0.82);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 2px;
    background: #ffd24d;
    transition: transform 0.18s ease, opacity 0.18s ease, background-color 0.18s ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .logo-img img {
    height: 26px;
    max-height: 30px;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    margin: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    background: #081b35;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    z-index: 1200;
    overflow: visible;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li a {
    display: block;
    white-space: normal;
    font-size: 1.02rem !important;
    padding: 10px 12px;
  }

  .nav-links .nav-lang-item {
    margin-top: 2px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-links .nav-lang-item .locale-switcher {
    width: 100%;
  }

  .nav-links .nav-lang-item .locale-switcher__mobile {
    display: inline-flex;
  }
}

/* === Canonical shared header/nav styles (single source of truth) === */
.sticky-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 2000;
  background-color: #081b35;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  transition: transform 0.32s ease, opacity 0.28s ease;
}

.sticky-header.header-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.navbar {
  width: min(1200px, 100%);
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 10px;
  min-height: 88px;
  display: grid !important;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: 8px;
}

.logo-img {
  justify-self: start;
  flex: 0 0 auto;
  min-width: fit-content;
}

.logo-img img {
  width: auto;
  height: 68px;
  max-height: 76px;
  display: block;
}

.menu-toggle {
  display: none;
}

.nav-links {
  list-style: none;
  margin: 0 auto !important;
  padding: 0;
  min-width: 0;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center !important;
  flex-wrap: nowrap;
  gap: clamp(6px, 0.85vw, 14px);
  overflow: visible;
}

.nav-links li {
  min-width: 0;
  overflow: visible;
}

.nav-links li a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  text-decoration: none;
  color: #e7eef9 !important;
  font-weight: 600 !important;
  font-size: clamp(0.84rem, 0.98vw, 0.96rem) !important;
  line-height: 1.2;
  position: relative;
  border-radius: 8px;
  padding: 5px 7px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  left: 50%;
  width: min(110px, calc(100% - 20px));
  bottom: -7px;
  height: 3px;
  border-radius: 3px;
  background: #ffc107 !important;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
}

.nav-links li a:hover:not(.is-active),
.nav-links li a:focus-visible:not(.is-active) {
  background: rgba(255, 193, 7, 0.16) !important;
  color: #ffffff !important;
}

.nav-links li a:hover:not(.is-active)::after,
.nav-links li a:focus-visible:not(.is-active)::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}

.nav-links li a.is-active {
  background: transparent !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.nav-links li a.active:not(.is-active) {
  background: transparent !important;
}

.nav-links li a.active:not(.is-active)::after {
  transform: translateX(-50%) scaleX(0) !important;
  opacity: 0 !important;
}

/* Force deterministic active indicator (shared-only) */
.nav-links li a.is-active::after {
  transform: translateX(-50%) scaleX(1) !important;
  opacity: 1 !important;
}

.navbar > .locale-switcher {
  justify-self: end;
  flex: 0 0 auto;
  flex-shrink: 0;
}

/* === Site shell: global body offset (header clearance only; uses --site-header-height alias) === */
body.has-dropsa-header {
  padding-top: var(--site-header-height);
}

body.products-page,
body.seo-landing,
body.products-page.seo-landing {
  padding-top: var(--site-header-height) !important;
}

body.has-dropsa-header h1 {
  scroll-margin-top: calc(var(--site-header-height) + 12px);
}

/* Fixed header total height matches tokens (no JS measurement) */
@media (min-width: 921px) {
  .sticky-header {
    height: var(--site-header-height-desktop);
    min-height: var(--site-header-height-desktop);
    max-height: var(--site-header-height-desktop);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }

  .sticky-header .navbar {
    flex: 1;
    min-height: 0;
    height: 100%;
    max-height: none;
    box-sizing: border-box;
  }

  .sticky-header .logo-img img {
    height: 64px;
    max-height: 64px;
  }
}

@media (max-width: 920px) {
  .sticky-header {
    min-height: var(--site-header-height-mobile);
    box-sizing: border-box;
  }
}

@media (max-width: 920px) {
  .video-hero .hero-overlay {
    padding-top: calc(var(--site-header-height-mobile) + 24px);
    padding-bottom: 40px;
  }
}

/* === Global mobile hamburger panel (single source of truth) === */
@media (max-width: 920px) {
  body.menu-open {
    overflow: hidden;
    touch-action: none;
  }

  .sticky-header .menu-toggle {
    display: inline-flex !important;
    margin-left: auto;
    z-index: 2200;
  }

  .sticky-header #nav-links {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100dvh;
    margin: 0 !important;
    padding: calc(var(--site-header-height) + 4px) 16px 16px !important;
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    background: rgba(8, 27, 53, 0.985);
    border: 0 !important;
    border-radius: 0 !important;
    z-index: 2150;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateY(-108%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.2s ease;
  }

  .sticky-header #nav-links.mobile-menu-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Neutralize legacy open-state class paths */
  .sticky-header #nav-links.active:not(.mobile-menu-open) {
    transform: translateY(-108%);
    opacity: 0;
    pointer-events: none;
  }

  .sticky-header #nav-links > li > a {
    display: inline-block !important;
    width: fit-content;
    max-width: 100%;
    padding: 14px 12px !important;
    font-size: 1.05rem !important;
    line-height: 1.25;
    border-radius: 10px;
    white-space: normal !important;
  }

  .sticky-header #nav-links > li {
    display: flex;
    justify-content: flex-start;
  }

  /* Mobile-specific active underline: directly under text only */
  .sticky-header #nav-links > li > a::after {
    left: 0;
    width: 100%;
    bottom: -4px;
    transform: scaleX(0);
    transform-origin: left center;
  }

  .sticky-header #nav-links > li > a.is-active::after {
    transform: scaleX(1) !important;
    opacity: 1 !important;
  }

  .sticky-header #nav-links .nav-lang-item {
    margin-top: auto !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .sticky-header #nav-links .nav-lang-item .locale-switcher__desktop {
    display: inline-flex !important;
  }

  .sticky-header #nav-links .nav-lang-item .locale-switcher__mobile {
    display: none !important;
  }
}

/* Final shared home hero spacing override (wins over older duplicated blocks) */
.home .video-hero .intro-cards,
body > .video-hero:first-of-type .intro-cards {
  margin-top: 42px !important;
}

/* ===============================
   Global UI Layer (Unified)
   Header / Footer / CTA / Headings
   =============================== */
:root{
  --ui-bg: #081b35;
  --ui-surface: #ffffff;
  --ui-text: #102845;
  --ui-text-muted: #50647f;
  --ui-line: rgba(8, 27, 53, 0.1);
  --ui-gold: #ffc107;
  --ui-gold-strong: #e0a800;
  --ui-shadow: 0 18px 45px rgba(8, 27, 53, 0.14);
  --ui-radius-md: 18px;
  --ui-radius-lg: 24px;
  --ui-container: 1200px;
}

body{
  color: var(--ui-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p,
li,
address{
  color: var(--ui-text-muted);
}

a{
  color: #0d61b8;
  transition: color .2s ease, opacity .2s ease;
}

a:hover{
  color: #0a4f95;
}

h1,
h2,
h3,
h4{
  color: var(--ui-text);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1{
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  font-weight: 800;
  margin: 0 0 1rem;
}

h2{
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  font-weight: 800;
  margin: 0 0 0.9rem;
}

h3{
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 700;
  margin: 0 0 0.65rem;
}

section{
  position: relative;
}

.section-card,
.about-card,
.lux-card,
.cta-section{
  border-radius: var(--ui-radius-lg);
}

.section-card,
.about-card,
.lux-card{
  background: var(--ui-surface);
  border: 1px solid var(--ui-line);
  box-shadow: var(--ui-shadow);
}

.main-title,
.home .hero-content h1{
  color: var(--ui-gold) !important;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
}

.hero-subtext,
.hero-bullets p{
  color: #f5f7fb !important;
}

.cta-btn,
.btn,
.btn-primary,
.btn-secondary,
.btn-ghost,
.card-btn,
.seo-btn,
.seo-btn-primary,
.seo-btn-secondary,
.card-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 40px;
  padding: 0.62rem 1.2rem !important;
  border: 1px solid transparent;
  border-radius: 999px !important;
  font-weight: 800 !important;
  line-height: 1.15;
  text-align: center;
  vertical-align: middle;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  cursor: pointer;
}

.cta-btn:hover,
.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover,
.card-btn:hover,
.seo-btn:hover,
.seo-btn-primary:hover,
.seo-btn-secondary:hover,
.card-cta:hover{
  transform: translateY(-2px);
}

.cta-btn,
.btn-primary,
.card-btn,
.seo-btn-primary,
.card-cta{
  background: linear-gradient(180deg, var(--ui-gold) 0%, var(--ui-gold-strong) 100%) !important;
  color: #081b35 !important;
  box-shadow: 0 14px 30px rgba(224, 168, 0, 0.24);
}

.btn-secondary,
.btn-ghost,
.seo-btn-secondary{
  background: rgba(255, 255, 255, 0.96) !important;
  color: var(--ui-text) !important;
  border-color: rgba(8, 27, 53, 0.14) !important;
  box-shadow: 0 10px 24px rgba(8, 27, 53, 0.08);
}

.cta-section{
  background: linear-gradient(135deg, #0b2342 0%, #123461 100%) !important;
  color: #ffffff;
  border: 1px solid rgba(255, 193, 7, 0.16);
  box-shadow: 0 22px 46px rgba(5, 16, 31, 0.24);
}

.cta-section h2,
.cta-section p{
  color: #ffffff !important;
}

.sticky-header{
  background: rgba(8, 27, 53, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.sticky-header .navbar{
  width: min(100%, var(--ui-container));
  padding-inline: 20px;
}

.sticky-header .logo-img img{
  width: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

.site-breadcrumb-shell{
  width: min(calc(100% - 32px), var(--ui-container, 1180px));
  margin: 18px auto 0;
  padding: 0;
  position: relative;
  z-index: 4;
}

.breadcrumb,
.breadcrumb.breadcrumb--global{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.42rem;
  margin: 0;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(151, 183, 219, 0.42);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(8, 27, 53, 0.06);
  color: #41536f;
  font-size: 0.93rem;
  line-height: 1.35;
  backdrop-filter: blur(10px);
}

.breadcrumb a{
  color: #1d68be;
  font-weight: 700;
  text-decoration: none;
}

.breadcrumb a:hover{
  color: #0b4d93;
}

.breadcrumb .breadcrumb-separator,
.breadcrumb > span[aria-hidden="true"]{
  color: #8ba2bf;
  font-weight: 700;
}

.breadcrumb .breadcrumb-current,
.breadcrumb > span:last-child:not([aria-hidden="true"]){
  color: #081b35;
  font-weight: 800;
  max-width: min(56vw, 34ch);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-container .breadcrumb{
  margin-bottom: 1.2rem;
}

.menu-toggle{
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 193, 7, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.menu-toggle span{
  border-radius: 999px;
}

.nav-links li a{
  border-radius: 999px;
  font-weight: 700;
}

.nav-links li a.is-active{
  color: #ffffff !important;
}

.footer-lux{
  background: linear-gradient(180deg, #07172d 0%, #081b35 100%) !important;
  color: #d9e3f0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-wrap{
  width: min(calc(100% - 32px), var(--ui-container));
  margin: 0 auto;
  padding: 42px 0 26px;
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(150px, 1fr));
  gap: 28px;
  align-items: start;
}

.footer-lux .footer-brand{
  align-items:flex-start;
}
.footer-logo{
  display:block;
  width:auto;
  max-width:220px;
  height:40px;
  object-fit:contain;
  object-position:left center;
  margin:0 0 14px;
}

.footer-brand h4,
.footer-col strong{
  color: #ffffff !important;
}

.footer-brand address,
.footer-col li,
.footer-col a,
.footer-brand a{
  color: #d9e3f0 !important;
}

.footer-col{
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li{
  margin: 0 0 0.55rem;
}

.footer-col a,
.footer-brand a{
  text-decoration: none;
}

.footer-col a:hover,
.footer-brand a:hover{
  color: var(--ui-gold) !important;
}

.footer-bar{
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(232, 238, 246, 0.8) !important;
}

@media (max-width: 920px){
  .section-card,
  .about-card,
  .lux-card,
  .cta-section{
    border-radius: var(--ui-radius-md);
  }

  .footer-wrap{
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding-top: 34px;
  }
}

@media (max-width: 640px){
  h1{
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  h2{
    font-size: clamp(1.4rem, 6vw, 2rem);
  }

  .cta-btn,
  .btn,
  .btn-primary,
  .btn-secondary,
.btn-ghost,
  .card-btn,
  .seo-btn,
  .seo-btn-primary,
  .seo-btn-secondary,
  .card-cta{
    width: 100%;
  }

  .footer-wrap{
    grid-template-columns: 1fr;
  }

  .site-breadcrumb-shell{
    width: min(calc(100% - 20px), var(--ui-container, 1180px));
    margin-top: 16px;
  }

  .breadcrumb,
  .breadcrumb.breadcrumb--global{
    padding: 0.7rem 0.9rem;
    border-radius: 18px;
    font-size: 0.88rem;
  }

  .breadcrumb .breadcrumb-current,
  .breadcrumb > span:last-child:not([aria-hidden="true"]){
    max-width: 100%;
    white-space: normal;
  }
}

/* === Contact email links & form success banner === */
.contact-info a[href^="mailto:"],
.legal-card a[href^="mailto:"] {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-success-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  position: fixed;
  top: calc(var(--site-header-height, 72px) + 12px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9998;
  width: min(640px, calc(100% - 24px));
  background-color: #e6f9e6;
  border-left: 6px solid #28a745;
  padding: 14px 18px;
  border-radius: 10px;
  color: #155724;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  animation: fadeIn 0.4s ease-in-out;
  font-family: Poppins, sans-serif;
}

.form-success-banner__text {
  margin: 0;
  line-height: 1.5;
  font-size: 0.98rem;
}

.form-success-banner__dismiss {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid #28a745;
  color: #155724;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.4;
}

.form-success-banner__dismiss:hover {
  background: #d4f5d4;
}

/* Mobile header alignment + breadcrumb clearance (≤920px; desktop unchanged) */
@media (max-width: 920px) {
  body:has(.header-utility-row.is-empty) {
    padding-top: 52px;
  }

  .sticky-header {
    display: flex;
    flex-direction: column;
  }

  .sticky-header .navbar {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start;
    min-height: 52px;
    padding-block: 6px;
    gap: 0;
    grid-template-columns: unset !important;
  }

  .sticky-header .logo-img {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    transform: translateY(-10%);
  }

  .sticky-header .logo-img a {
    display: flex;
    align-items: center;
    line-height: 0;
  }

  .sticky-header .logo-img img {
    height: 38px !important;
    max-height: 43px !important;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.22));
  }

  .sticky-header .menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center;
    margin-left: auto;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 212, 77, 0.8);
    background: rgba(8, 27, 53, 0.82);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    transform: translateY(-10%);
  }

  .sticky-header .menu-toggle span {
    width: 18px;
    height: 2px;
  }

  .site-breadcrumb-shell {
    margin-top: 16px;
  }
}

/* === Product/category pages: breadcrumb clearance + wrap === */
body.products-page .site-breadcrumb-shell,
body.seo-landing .site-breadcrumb-shell,
body:has(main .products-grid) .site-breadcrumb-shell {
  width: min(calc(100% - 2 * var(--product-gutter)), var(--ui-container, 1180px));
  margin: 16px auto 8px;
  padding: 0;
  box-sizing: border-box;
}

body.products-page .breadcrumb.breadcrumb--global,
body.seo-landing .breadcrumb.breadcrumb--global,
body:has(main .products-grid) .breadcrumb.breadcrumb--global {
  flex-wrap: wrap;
  row-gap: 0.35rem;
  overflow-x: visible;
}

body.products-page nav.breadcrumb-nav,
body.seo-landing nav.breadcrumb-nav,
body:has(main .products-grid) nav.breadcrumb-nav {
  padding: 8px var(--product-gutter) !important;
  max-width: min(calc(100% - 2 * var(--product-gutter)), 1180px);
  margin: 0 auto;
  box-sizing: border-box;
}

body.products-page .breadcrumb-list,
body.seo-landing .breadcrumb-list,
body:has(main .products-grid) .breadcrumb-list {
  flex-wrap: wrap;
  gap: 0.35rem 0.42rem;
}

@media (max-width: 1023px) {
  body.products-page .breadcrumb .breadcrumb-current,
  body.products-page .breadcrumb > span:last-child:not([aria-hidden="true"]),
  body.seo-landing .breadcrumb .breadcrumb-current,
  body.seo-landing .breadcrumb > span:last-child:not([aria-hidden="true"]),
  body:has(main .products-grid) .breadcrumb .breadcrumb-current,
  body:has(main .products-grid) .breadcrumb > span:last-child:not([aria-hidden="true"]) {
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
}
