@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css);

@font-face {
  font-family: HeinekenMedelec;
  src: url('../fonts/HEINEKEN.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap
}

:root {
  --brand: #3885AF;
  --brand-600: #0A56D6;
  --ink: #0F172A;
  --muted: #64748B;
  --bg: #F5F7FB;
  --card: #FFFFFF;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
  --bp-lg: 1200px;
  --bp-md: 980px;
  --bp-sm: 720px;
  --bp-xs: 480px;
  --space: clamp(16px, 2vw, 28px);
  --vh: 1vh;
  --header-h: 0px;
}

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

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body {
  display: flex;
  flex-direction: column;
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  padding-top: 0;
  /* Flush to top globally */
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* --- THEME OVERRIDES (Based on page attribute) --- */

/* Cinematic Dark Blue Pages (References) */
[data-page="references"] body,
body[data-page="references"] {
  background-color: #020617 !important;
  background-image: none !important;
  color: #ffffff !important;
}

/* Cinematic Dark Blue Pages (References) */
[data-page="references"] body,
body[data-page="references"] {
  background-color: #020617 !important;
  background-image: none !important;
  color: #ffffff !important;
}

/* Activity Page (Pure Slate) - Removes the overpowering blue */
[data-page="activity"] body,
body[data-page="activity"] {
  background-color: #020617 !important;
  background-image: none !important;
  color: #ffffff !important;
}

/* Background Grids */
[data-page="references"] body::before,
body[data-page="references"]::before {
  content: "";
  position: fixed;
  inset: 0;
  background-color: #020617 !important;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    radial-gradient(circle at 50% 0, #0b5e92 0, #05386b 50%, #020617 100%) !important;
  background-size: 50px 50px, 50px 50px, 100% 100% !important;
  z-index: -1;
  pointer-events: none;
}

[data-page="activity"] body::before,
body[data-page="activity"]::before {
  content: "";
  position: fixed;
  inset: 0;
  background-color: #020617 !important;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px, 50px 50px !important;
  z-index: -1;
  pointer-events: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Global Grid is subtle on light background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -1;
  pointer-events: none;
}

main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

#site-footer {
  margin-top: auto
}

#header-placeholder {
  height: 92px
}

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin-top: 0 !important;
  z-index: 1000;
  background: #fff;
  min-height: clamp(60px, 10vw, 92px);
  box-shadow: 0 2px 8px rgba(2, 6, 23, .04);
  will-change: transform;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1), box-shadow .3s ease;
  width: 100%
}

#site-header.is-hidden {
  transform: translateY(-100%)
}

.header {
  background: #fff;
  transition: box-shadow .3s ease, background .3s ease;
  width: 100%;
  display: flex;
  flex-direction: column
}

#site-header.is-scrolled .header {
  box-shadow: 0 8px 30px rgba(2, 6, 23, .12)
}

.header__inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(10px, 2%, 20px) clamp(20px, 4%, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 32px)
}

.header .logo img {
  height: 48px;
  width: auto;
  transition: opacity .25s ease
}

.header .logo img:hover {
  opacity: .8;
  transform: scale(1.02)
}

.logo img {
  transform: translateZ(0)
}

.header-menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px)
}

.header-menu a {
  font-size: 15px;
  font-weight: 700;
  color: #0b5e92;
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color .25s ease
}

.header-menu a:hover {
  color: #064577
}

.header-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: #0b5e92;
  transition: width .25s ease
}

.header-menu a.active::after,
.header-menu a:hover::after {
  width: 100%
}

section[id] {
  scroll-margin-top: 90px
}

.burger-menu {
  display: none;
  background: 0 0;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1002;
  flex-direction: column;
  gap: 6px;
  transition: transform .3s ease, background-color .2s;
  border-radius: 8px
}

.burger-menu:hover {
  background-color: rgba(11, 94, 146, .08)
}

.burger-bar {
  width: 28px;
  height: 3px;
  background-color: #0b5e92;
  border-radius: 3px;
  transition: all .3s ease;
  transform-origin: center
}

@media (max-width:900px) {
  .header__inner {
    justify-content: space-between;
    padding: clamp(10px, 1.5%, 16px) clamp(12px, 3%, 40px)
  }

  #site-header {
    min-height: clamp(55px, 8vw, 80px)
  }

  .header-menu {
    display: none
  }

  .burger-menu {
    display: flex
  }
}

@media (max-width:480px) {
  #site-header {
    min-height: clamp(50px, 7vw, 70px)
  }

  .header__inner {
    padding: clamp(8px, 1%, 12px) clamp(10px, 2%, 20px);
    gap: clamp(12px, 2vw, 20px)
  }

  .header .logo img {
    height: clamp(38px, 10vw, 48px)
  }
}

.page-hero {
  background: linear-gradient(135deg, #021b38 0, #0b5e92 50%, #3885af 100%);
  color: #fff;
  min-height: 35vh;
  padding: clamp(130px, 16vw, 170px) clamp(20px, 5%, 40px) clamp(40px, 8%, 70px) !important;
  margin-top: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at center, black, transparent 90%);
  pointer-events: none;
  z-index: 0;
}

.page-hero .container,
.page-hero .hero-content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .3);
  letter-spacing: -.03em
}

.page-hero p {
  font-size: clamp(.9rem, 1.5vw, 1rem);
  opacity: .95;
  max-width: 700px;
  margin: 8px 0 0;
  line-height: 1.5;
  color: rgba(255, 255, 255, .9);
  font-weight: 500
}

.page-hero .hero-kicker {
  display: none !important
}

@media (max-width:960px) {
  .page-hero {
    min-height: 32vh;
    padding: clamp(40px, 7%, 60px) clamp(15px, 3%, 24px)
  }

  .page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem)
  }
}

@media (max-width:760px) {
  .page-hero {
    min-height: 28vh;
    padding: clamp(35px, 6%, 50px) clamp(12px, 2.5%, 20px)
  }

  .page-hero h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem)
  }
}

.page-hero.split-hero .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center
}

.page-hero.split-hero h1 {
  text-align: center;
  padding-left: 0;
  margin-bottom: 12px
}

.page-hero.split-hero .hero-text-right {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  justify-content: center
}

.page-hero.split-hero .hero-text-right p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, .9)
}

@media (max-width:960px) {
  .page-hero.split-hero .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px
  }

  .page-hero.split-hero h1 {
    text-align: center
  }

  .page-hero.split-hero .hero-text-right {
    align-items: center;
    text-align: center
  }
}

.hero-cta {
  margin-top: 15px
}

.hero-btn {
  display: inline-block;
  background-color: #fff;
  color: #0b5e92;
  font-weight: 700;
  font-size: clamp(.9rem, 1.2vw, 1rem);
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2)
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  background-color: #f0f9ff
}



.hero {
  background: linear-gradient(180deg, #eaf1ff, transparent);
  padding: clamp(25px, 5%, 40px) 0
}

.hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 10px
}

.hero .accent {
  color: var(--brand)
}

.hero p {
  color: var(--muted);
  margin: 0 0 20px
}

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow)
}

.btn:hover {
  background: var(--brand-600)
}

.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow)
}

.features {
  padding: clamp(30px, 6%, 48px) 0
}

#site-footer,
footer {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  flex-shrink: 0
}

.footer {
  position: relative;
  background: radial-gradient(circle at 50% 0, #0b5e92 0, #05386b 50%, #020617 100%);
  color: #fff;
  padding: 40px 0 50px;
  overflow: hidden
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none
}

.footer-highlight {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3885af, transparent);
  box-shadow: 0 0 20px rgba(56, 133, 175, .6)
}

.footer .inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  text-align: center
}

.footer-col h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
  position: relative;
  width: 100%
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 1px;
  background: var(--brand)
}

.footer-logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px
}

.footer-brand-text {
  font-family: HeinekenMedelec, sans-serif;
  font-size: 38px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  transition: all .3s ease;
  line-height: 1;
  letter-spacing: .5px
}

.footer-brand-text:hover {
  color: #3885af;
  text-shadow: 0 0 15px rgba(56, 133, 175, .4)
}

.footer-bg-icon {
  position: absolute;
  top: 60%;
  left: -250px;
  transform: translateY(-50%);
  width: 800px;
  opacity: .15;
  pointer-events: none;
  z-index: 1
}

.footer-bg-icon img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1)
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 5px
}

.social-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  transition: all .3s cubic-bezier(.4, 0, .2, 1)
}

.social-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  transition: transform .3s ease;
  filter: brightness(0) invert(1)
}

.social-btn:hover {
  background: rgba(56, 133, 175, .2);
  border-color: #3885af;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(56, 133, 175, .4)
}

.social-btn:hover img {
  transform: scale(1.1)
}

.footer-col.links-col {
  display: flex;
  flex-direction: column;
  align-items: center
}

.footer-links-list {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px
}

.footer-links-list a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  font-size: 14px;
  transition: color .3s ease
}

.footer-links-list a:hover {
  color: #fff
}

.footer-contact-list {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 0 auto
}

.footer-col.contact-col {
  display: flex;
  flex-direction: column;
  align-items: center
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  font-size: 14px;
  transition: all .3s ease;
  white-space: nowrap
}

.contact-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  padding: 6px;
  object-fit: contain;
  object-position: center;
  transition: all .3s ease;
  flex-shrink: 0
}

.contact-item:hover .contact-icon {
  background: #3885af;
  transform: scale(1.1)
}

.contact-item:hover {
  color: #fff
}

.contact-item i {
  color: #3885af;
  font-size: 16px;
  width: 24px;
  height: 24px
}

.contact-item:hover {
  color: #fff
}

.contact-item:hover i {
  background: #3885af;
  color: #fff
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 30px;
  padding-bottom: 20px;
  text-align: center
}

.footer-copyright {
  font-weight: 500;
  opacity: .6;
  font-size: 12px;
  letter-spacing: .5px
}

@media (max-width:900px) {
  .footer {
    padding: 60px 0 40px
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 45px
  }

  .footer-bg-icon {
    width: 250px;
    left: 50%;
    top: 20%;
    transform: translate(-50%, -50%);
    opacity: .03
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center
  }

  .footer-contact-list,
  .footer-links-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center
  }
}

.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, .4);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  animation: fadeIn .4s ease
}

.cookie-banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  z-index: 10000;
  box-shadow: 0 20px 60px rgba(2, 6, 23, .2);
  display: none;
  flex-direction: column;
  gap: 24px;
  text-align: center;
  border: 1px solid rgba(11, 94, 146, .05)
}

.cookie-banner.active {
  display: flex;
  animation: modalIn .5s cubic-bezier(.34, 1.56, .64, 1) forwards
}

@keyframes modalIn {
  from {
    transform: translate(-50%, -40%);
    opacity: 0
  }

  to {
    transform: translate(-50%, -50%);
    opacity: 1
  }
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.cookie-content h3 {
  margin: 0 0 12px;
  font-size: 22px;
  color: #0b5e92;
  font-weight: 800
}

.cookie-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #475569
}

.cookie-content a {
  color: #0b5e92;
  font-weight: 600;
  text-decoration: underline
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.cookie-btn {
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s;
  border: none;
  width: 100%
}

.cookie-btn.accept {
  background: #0b5e92;
  color: #fff;
  box-shadow: 0 4px 12px rgba(11, 94, 146, .2)
}

.cookie-btn.accept:hover {
  background: #064577;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 94, 146, .3)
}

.cookie-btn.decline {
  background: #f1f5f9;
  color: #64748b
}

.cookie-btn.decline:hover {
  background: #e2e8f0;
  color: #475569
}

@media (max-width:480px) {
  .cookie-banner {
    padding: 24px;
    width: 85%;
    border-radius: 20px
  }
}

@media (max-width:1000px) {
  .footer-bar {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 20px
  }

  .footer-logo {
    text-align: center
  }

  .footer-contact {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px
  }
}

.btn-retour {
  position: fixed;
  left: clamp(16px, 3%, 32px);
  top: clamp(200px, calc(clamp(60px, 10vw, 92px) + clamp(40px, 8%, 70px) + 35vh + clamp(20px, 3%, 30px)), 100%);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  gap: clamp(6px, 1.5%, 12px);
  width: auto;
  height: auto;
  padding: clamp(10px, 2%, 14px) clamp(14px, 2.5%, 18px);
  background: linear-gradient(135deg, #0b5e92 0, #3885af 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: clamp(.75rem, 1.2vw, .95rem);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  letter-spacing: .3px;
  box-shadow: 0 4px 12px rgba(11, 94, 146, .25);
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  cursor: pointer;
  user-select: none;
  opacity: .95;
  transform: translateX(0)
}

.btn-retour:hover {
  transform: translateX(-3px) scale(1.08);
  box-shadow: 0 6px 16px rgba(11, 94, 146, .35);
  background: linear-gradient(135deg, #0a4a7a 0, #3273a0 100%);
  opacity: 1
}

.btn-retour:active {
  transform: translateX(0) scale(1.04)
}

.btn-retour-icon {
  width: clamp(18px, 2.8vw, 24px);
  height: clamp(18px, 2.8vw, 24px);
  flex-shrink: 0;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  stroke-linecap: round;
  stroke-linejoin: round;
  color: #fff
}

.btn-retour:hover .btn-retour-icon {
  transform: translateX(-4px) scale(1.15)
}

.btn-retour-text {
  display: inline;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: clamp(.8rem, 1.2vw, .95rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: .3px;
  transition: all .3s cubic-bezier(.4, 0, .2, 1)
}

@media (min-width:769px) {
  .btn-retour {
    position: fixed;
    top: clamp(200px, calc(clamp(60px, 10vw, 92px) + clamp(40px, 8%, 70px) + 35vh + clamp(20px, 3%, 30px)), 100%);
    bottom: auto
  }
}

@media (max-width:1024px) {
  .btn-retour {
    width: auto;
    height: auto
  }
}

@media (max-width:768px) {
  .btn-retour {
    position: fixed;
    top: calc(clamp(60px, 10vw, 92px) + clamp(40px, 8%, 70px) + 35vh + clamp(16px, 2%, 24px));
    bottom: auto;
    left: clamp(12px, 2.5%, 24px);
    padding: clamp(8px, 1.5%, 12px) clamp(12px, 2%, 16px)
  }

  .btn-retour-text {
    font-size: clamp(.75rem, 1.1vw, .9rem)
  }
}

@media (max-width:480px) {
  .btn-retour {
    position: fixed;
    top: calc(clamp(60px, 10vw, 92px) + clamp(40px, 6%, 60px) + 35vh + clamp(12px, 1.5%, 16px));
    left: clamp(10px, 2%, 18px);
    padding: 8px 12px;
    gap: clamp(4px, 1%, 8px)
  }

  .btn-retour-icon {
    width: 18px;
    height: 18px
  }

  .btn-retour-text {
    font-size: .8rem
  }
}



.page-hero .container,
.page-hero .hero-content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .3);
  letter-spacing: -.03em
}

.page-hero p {
  font-size: clamp(.9rem, 1.5vw, 1rem);
  opacity: .95;
  max-width: 700px;
  margin: 8px 0 0;
  line-height: 1.5;
  color: rgba(255, 255, 255, .9);
  font-weight: 500
}

.page-hero .hero-kicker {
  display: none !important
}

@media (max-width:960px) {
  .page-hero {
    min-height: 32vh;
    padding: clamp(100px, 12vw, 120px) clamp(15px, 3%, 24px) clamp(40px, 6%, 60px) !important;
  }

  .page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem)
  }
}

@media (max-width:760px) {
  .page-hero {
    min-height: 28vh;
    padding: clamp(90px, 10vw, 110px) clamp(12px, 2.5%, 20px) clamp(35px, 5%, 50px) !important;
  }

  .page-hero h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem)
  }
}

.page-hero.split-hero .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center
}

.page-hero.split-hero h1 {
  text-align: center;
  padding-left: 0;
  margin-bottom: 12px
}

.page-hero.split-hero .hero-text-right {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  justify-content: center
}

.page-hero.split-hero .hero-text-right p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, .9)
}

@media (max-width:960px) {
  .page-hero.split-hero .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px
  }

  .page-hero.split-hero h1 {
    text-align: center
  }

  .page-hero.split-hero .hero-text-right {
    align-items: center;
    text-align: center
  }
}

.hero-cta {
  margin-top: 15px
}

.hero-btn {
  display: inline-block;
  background-color: #fff;
  color: #0b5e92;
  font-weight: 700;
  font-size: clamp(.9rem, 1.2vw, 1rem);
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2)
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  background-color: #f0f9ff
}



.hero {
  background: linear-gradient(180deg, #eaf1ff, transparent);
  padding: clamp(25px, 5%, 40px) 0
}

.hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 10px
}

.hero .accent {
  color: var(--brand)
}

.hero p {
  color: var(--muted);
  margin: 0 0 20px
}

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow)
}

.btn:hover {
  background: var(--brand-600)
}

.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow)
}

.features {
  padding: clamp(30px, 6%, 48px) 0
}

#site-footer,
footer {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  flex-shrink: 0
}

.footer {
  position: relative;
  background: radial-gradient(circle at 50% 0, #0b5e92 0, #05386b 50%, #020617 100%);
  color: #fff;
  padding: 40px 0 50px;
  overflow: hidden
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none
}

.footer-highlight {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3885af, transparent);
  box-shadow: 0 0 20px rgba(56, 133, 175, .6)
}

.footer .inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px
}

.footer__inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  text-align: center
}

.footer-col h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
  position: relative;
  width: 100%
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 1px;
  background: var(--brand)
}

.footer-logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px
}

.footer-brand-text {
  font-family: HeinekenMedelec, sans-serif;
  font-size: 38px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  transition: all .3s ease;
  line-height: 1;
  letter-spacing: .5px
}

.footer-brand-text:hover {
  color: #3885af;
  text-shadow: 0 0 15px rgba(56, 133, 175, .4)
}

.footer-bg-icon {
  position: absolute;
  top: 60%;
  left: -250px;
  transform: translateY(-50%);
  width: 800px;
  opacity: .15;
  pointer-events: none;
  z-index: 1
}

.footer-bg-icon img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1)
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 5px
}

.social-btn {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  transition: all .3s cubic-bezier(.4, 0, .2, 1)
}

.social-btn img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  transition: transform .3s ease;
  filter: brightness(0) invert(1)
}

.social-btn:hover {
  background: rgba(56, 133, 175, .2);
  border-color: #3885af;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(56, 133, 175, .4)
}

.social-btn:hover img {
  transform: scale(1.1)
}

.footer-col.links-col {
  display: flex;
  flex-direction: column;
  align-items: center
}

.footer-links-list {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px
}

.footer-links-list a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  font-size: 14px;
  transition: color .3s ease
}

.footer-links-list a:hover {
  color: #fff
}

.footer-contact-list {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 0 auto
}

.footer-col.contact-col {
  display: flex;
  flex-direction: column;
  align-items: center
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  font-size: 14px;
  transition: all .3s ease;
  white-space: nowrap
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  padding: 8px;
  transition: all .3s ease;
  flex-shrink: 0
}

.contact-item:hover .contact-icon {
  background: #3885af;
  transform: scale(1.1)
}

.contact-item:hover {
  color: #fff
}

.contact-item i {
  color: #3885af;
  font-size: 16px;
  width: 24px;
  height: 24px
}

.contact-item:hover {
  color: #fff
}

.contact-item:hover i {
  background: #3885af;
  color: #fff
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 30px;
  text-align: center
}

.footer-copyright {
  font-weight: 500;
  opacity: .6;
  font-size: 12px;
  letter-spacing: .5px
}

@media (max-width:900px) {
  .footer {
    padding: 60px 0 40px
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 45px
  }

  .footer-bg-icon {
    width: 250px;
    left: 50%;
    top: 20%;
    transform: translate(-50%, -50%);
    opacity: .03
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center
  }

  .footer-contact-list,
  .footer-links-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center
  }
}

.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, .4);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  animation: fadeIn .4s ease
}

.cookie-banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  z-index: 10000;
  box-shadow: 0 20px 60px rgba(2, 6, 23, .2);
  display: none;
  flex-direction: column;
  gap: 24px;
  text-align: center;
  border: 1px solid rgba(11, 94, 146, .05)
}

.cookie-banner.active {
  display: flex;
  animation: modalIn .5s cubic-bezier(.34, 1.56, .64, 1) forwards
}

@keyframes modalIn {
  from {
    transform: translate(-50%, -40%);
    opacity: 0
  }

  to {
    transform: translate(-50%, -50%);
    opacity: 1
  }
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.cookie-content h3 {
  margin: 0 0 12px;
  font-size: 22px;
  color: #0b5e92;
  font-weight: 800
}

.cookie-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #475569
}

.cookie-content a {
  color: #0b5e92;
  font-weight: 600;
  text-decoration: underline
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.cookie-btn {
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s;
  border: none;
  width: 100%
}

.cookie-btn.accept {
  background: #0b5e92;
  color: #fff;
  box-shadow: 0 4px 12px rgba(11, 94, 146, .2)
}

.cookie-btn.accept:hover {
  background: #064577;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 94, 146, .3)
}

.cookie-btn.decline {
  background: #f1f5f9;
  color: #64748b
}

.cookie-btn.decline:hover {
  background: #e2e8f0;
  color: #475569
}

@media (max-width:480px) {
  .cookie-banner {
    padding: 24px;
    width: 85%;
    border-radius: 20px
  }
}

@media (max-width:1000px) {
  .footer-bar {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 20px
  }

  .footer-logo {
    text-align: center
  }

  .footer-contact {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px
  }
}

.btn-retour {
  position: fixed;
  left: clamp(16px, 3%, 32px);
  top: clamp(200px, calc(clamp(60px, 10vw, 92px) + clamp(40px, 8%, 70px) + 35vh + clamp(20px, 3%, 30px)), 100%);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  gap: clamp(6px, 1.5%, 12px);
  width: auto;
  height: auto;
  padding: clamp(10px, 2%, 14px) clamp(14px, 2.5%, 18px);
  background: linear-gradient(135deg, #0b5e92 0, #3885af 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: clamp(.75rem, 1.2vw, .95rem);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  letter-spacing: .3px;
  box-shadow: 0 4px 12px rgba(11, 94, 146, .25);
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  cursor: pointer;
  user-select: none;
  opacity: .95;
  transform: translateX(0)
}

.btn-retour:hover {
  transform: translateX(-3px) scale(1.08);
  box-shadow: 0 6px 16px rgba(11, 94, 146, .35);
  background: linear-gradient(135deg, #0a4a7a 0, #3273a0 100%);
  opacity: 1
}

.btn-retour:active {
  transform: translateX(0) scale(1.04)
}

.btn-retour-icon {
  width: clamp(18px, 2.8vw, 24px);
  height: clamp(18px, 2.8vw, 24px);
  flex-shrink: 0;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  stroke-linecap: round;
  stroke-linejoin: round;
  color: #fff
}

.btn-retour:hover .btn-retour-icon {
  transform: translateX(-4px) scale(1.15)
}

.btn-retour-text {
  display: inline;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: clamp(.8rem, 1.2vw, .95rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: .3px;
  transition: all .3s cubic-bezier(.4, 0, .2, 1)
}

@media (min-width:769px) {
  .btn-retour {
    position: fixed;
    top: clamp(200px, calc(clamp(60px, 10vw, 92px) + clamp(40px, 8%, 70px) + 35vh + clamp(20px, 3%, 30px)), 100%);
    bottom: auto
  }
}

@media (max-width:1024px) {
  .btn-retour {
    width: auto;
    height: auto
  }
}

@media (max-width:768px) {
  .btn-retour {
    position: fixed;
    top: calc(clamp(60px, 10vw, 92px) + clamp(40px, 8%, 70px) + 35vh + clamp(16px, 2%, 24px));
    bottom: auto;
    left: clamp(12px, 2.5%, 24px);
    padding: clamp(8px, 1.5%, 12px) clamp(12px, 2%, 16px)
  }

  .btn-retour-text {
    font-size: clamp(.75rem, 1.1vw, .9rem)
  }
}

@media (max-width:480px) {
  .btn-retour {
    position: fixed;
    top: calc(clamp(60px, 10vw, 92px) + clamp(40px, 6%, 60px) + 35vh + clamp(12px, 1.5%, 16px));
    left: clamp(10px, 2%, 18px);
    padding: 8px 12px;
    gap: clamp(4px, 1%, 8px)
  }

  .btn-retour-icon {
    width: 18px;
    height: 18px
  }

  .btn-retour-text {
    font-size: .8rem
  }
}


/* ==========================================================================
   💎 ULTRA-PREMIUM NAVBAR & INTERACTIVE MOBILE MENU REDESIGN (PHASE V6.0)
   ========================================================================== */

#site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  background: transparent !important; /* Managed by .header */
  box-shadow: none !important;
  border: none !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#site-header.is-hidden {
  transform: translateY(-150%) !important; /* Slide it completely out of view */
}

.header {
  position: fixed !important;
  top: 24px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: calc(100% - 48px) !important;
  max-width: 1200px !important;
  background: #ffffff !important; /* Premium solid white capsule */
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-radius: 99px !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 
    0 16px 40px rgba(2, 6, 23, 0.1),
    0 1px 3px rgba(2, 6, 23, 0.02) !important;
  z-index: 1000 !important;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 10px 28px !important;
  box-sizing: border-box !important;
}

#site-header.is-scrolled .header {
  top: 12px !important;
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: 
    0 20px 48px rgba(2, 6, 23, 0.15),
    0 1px 3px rgba(2, 6, 23, 0.02) !important;
}

/* Responsive queries for floating header */
@media (max-width: 1240px) {
  .header {
    width: calc(100% - 32px) !important;
    top: 16px !important;
  }
}

@media (max-width: 768px) {
  .header {
    top: 16px !important; /* Float it slightly from the top */
    left: 50% !important;
    transform: translateX(-50%) !important; /* Keep it centered like desktop */
    width: calc(100% - 32px) !important; /* Leave nice side margins */
    border-radius: 99px !important; /* Rounded capsule sides like desktop */
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    padding: 10px 20px !important;
  }
}

/* Adjust heights and paddings for Siemens-style precision layout */
.header__inner {
  max-width: 100% !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

#site-header.is-scrolled .header__inner {
  padding: 0 !important;
}

/* Premium Logo styling */
.header .logo {
  display: flex !important;
  align-items: center !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.header .logo img {
  height: 40px !important; /* Extremely neat and compact logo size */
  width: auto !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease !important;
}

.header .logo:hover {
  transform: scale(1.02) !important;
}

.header .logo:hover img {
  filter: drop-shadow(0 4px 12px rgba(11, 94, 146, 0.12)) !important;
}

/* Desktop Menu Layout & Styling */
.header-menu {
  display: flex !important;
  align-items: center !important;
  gap: clamp(16px, 2.8vw, 36px) !important;
}

.header-menu a {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #032542 !important;
  text-decoration: none !important;
  position: relative !important;
  padding: 8px 0 !important;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.header-menu a::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) scaleX(0) !important;
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(90deg, #0b5e92, #3885af) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transform-origin: center !important;
}

.header-menu a.active::after,
.header-menu a:hover::after {
  transform: translateX(-50%) scaleX(1) !important;
}



/* ==========================================================================
   💎 ULTRA-PREMIUM MOBILE DRAWER REDESIGN (PHASE V9.0)
   ========================================================================== */

/* Mobile Burger Toggle with Advanced Morphing & Gold Halo */
.burger-menu {
  display: none !important;
  background: rgba(11, 94, 146, 0.04) !important;
  border: 1px solid rgba(11, 94, 146, 0.06) !important;
  cursor: pointer !important;
  padding: 10px !important;
  z-index: 1002 !important;
  flex-direction: column !important;
  gap: 5px !important;
  border-radius: 12px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.burger-menu:hover {
  background-color: rgba(11, 94, 146, 0.08) !important;
  border-color: rgba(11, 94, 146, 0.15) !important;
  transform: scale(1.04) !important;
}

.burger-menu:active {
  transform: scale(0.96) !important;
}

.burger-bar {
  width: 22px !important;
  height: 2px !important;
  background-color: #0b5e92 !important;
  border-radius: 2px !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, width 0.3s ease, background-color 0.4s ease !important;
  transform-origin: center !important;
}

/* Burger Active State: Morphing into high-end Gold Close sign (X) */
.burger-menu.active {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(250, 204, 21, 0.25) !important;
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.15) !important;
}

.burger-menu.active .burger-bar {
  background-color: #facc15 !important; /* Premium gold color for the X icon */
}

.burger-menu.active .burger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg) !important;
}

.burger-menu.active .burger-bar:nth-child(2) {
  opacity: 0 !important;
  transform: scaleX(0) !important;
}

.burger-menu.active .burger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg) !important;
}

/* Glassmorphic Mobile Drawer (Premium White Dropdown Volet Redesign) */
.mobile-drawer {
  position: fixed !important;
  top: 84px !important; /* Floats perfectly below the floating capsule header (16px top + 68px height) */
  left: 50% !important;
  right: auto !important;
  width: calc(100% - 32px) !important; /* Same width as header capsule */
  max-width: 480px !important; /* Neat, centered capsule panel on tablets/large viewports */
  height: auto !important; /* Content height, no longer full viewport height */
  max-height: 0 !important; /* Shutter closed by default */
  background: rgba(255, 255, 255, 0.97) !important; /* Frosted white premium glass */
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important; /* Soft grey border matching header */
  border-radius: 24px !important; /* Round card capsule corners */
  box-shadow: 
    0 20px 48px rgba(2, 6, 23, 0.12),
    0 1px 3px rgba(2, 6, 23, 0.02) !important; /* Elegant light drop shadows */
  z-index: 999 !important; /* Sits behind the floating header (z-index 1000) */
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  padding: 24px 28px !important;
  box-sizing: border-box !important;
  transform: translate(-50%, -20px) scale(0.95) !important; /* Start slightly translated up & scaled down */
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  overflow: hidden !important;
  transition: 
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
    opacity 0.4s ease, 
    max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
    visibility 0.4s ease !important;
}

.mobile-drawer.active {
  transform: translate(-50%, 0) scale(1) !important;
  opacity: 1 !important;
  max-height: 560px !important; /* Allows ample height for links & expanded accordion */
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Dynamic Accordion Styles for Mobile Drawer Expertises (Phase V12.0) */
.drawer-accordion {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.mobile-drawer.active .drawer-accordion {
  animation: drawerLinkFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  animation-delay: 0.15s !important;
}

.accordion-trigger {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  padding: 10px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 21px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #032542 !important; /* Brand Navy Blue */
  cursor: pointer !important;
  text-align: left !important;
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
}

.accordion-trigger:hover,
.accordion-trigger.active {
  color: #0b5e92 !important; /* Active bright brand blue */
}

.accordion-trigger .chevron-icon {
  font-size: 13px !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  color: rgba(3, 37, 66, 0.4) !important;
  margin-left: 8px !important;
}

.accordion-trigger.active .chevron-icon {
  transform: rotate(180deg) !important;
  color: #0b5e92 !important;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding-left: 14px !important;
  border-left: 2px solid rgba(11, 94, 146, 0.15) !important; /* Soft brand blue border */
  margin-left: 4px !important;
  box-sizing: border-box !important;
}

.accordion-content a {
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  color: rgba(3, 37, 66, 0.6) !important; /* Soft navy blue */
  padding: 6px 0 !important;
  border: none !important;
  transform: none !important;
  opacity: 1 !important;
  animation: none !important;
}

.accordion-content a:hover {
  color: #0b5e92 !important;
  padding-left: 6px !important;
  border-left: none !important;
}

.accordion-content a.active {
  color: #0b5e92 !important;
  padding-left: 10px !important;
  border-left: none !important;
  text-shadow: none !important;
}

/* Navigation Menu Inside Drawer */
.drawer-nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
  margin-bottom: auto !important;
}

/* Luxury B2B Navigation Link Typography & Interactive Micro-Glow */
.drawer-nav a {
  display: block !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 21px !important;
  font-weight: 600 !important; /* Slightly bolder for crisp light-mode visibility */
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #032542 !important; /* Solid Brand Navy Blue */
  text-decoration: none !important;
  padding: 10px 0 !important;
  padding-left: 0 !important;
  border-left: 3px solid transparent !important;
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              padding-left 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  opacity: 0;
  transform: translateY(15px);
}

/* Hover State */
.drawer-nav a:hover {
  color: #0b5e92 !important; /* Brighter brand blue */
  padding-left: 10px !important;
  border-left-color: #0b5e92 !important;
}

/* Active Highlight & Luxury Glow */
.drawer-nav a.active {
  color: #0b5e92 !important;
  padding-left: 16px !important;
  border-left: 3px solid #0b5e92 !important;
  text-shadow: none !important; /* Crisp & flat text for light-mode clarity */
}

/* Stagger Animation reveals when the drawer slides open */
.mobile-drawer.active .drawer-nav a {
  animation: drawerLinkFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.mobile-drawer.active .drawer-nav a:nth-child(1) { animation-delay: 0.1s !important; }
.mobile-drawer.active .drawer-nav a:nth-child(2) { animation-delay: 0.15s !important; }
.mobile-drawer.active .drawer-nav a:nth-child(3) { animation-delay: 0.2s !important; }
.mobile-drawer.active .drawer-nav a:nth-child(4) { animation-delay: 0.25s !important; }
.mobile-drawer.active .drawer-nav a:nth-child(5) { animation-delay: 0.3s !important; }
.mobile-drawer.active .drawer-nav a:nth-child(6) { animation-delay: 0.35s !important; }

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

/* Injected Brand Card Signature at bottom of drawer */
.mobile-drawer::after {
  content: "MEDELEC ⚡     📞 (+216) 29 362 227\.                       ✉️ contact@stemedelec.com" !important;
  white-space: pre-wrap !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
  line-height: 1.8 !important;
  color: rgba(3, 37, 66, 0.5) !important; /* Solid Slate Navy */
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important; /* Soft grey border matching light theme */
  padding-top: 24px !important;
  margin-top: 30px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  pointer-events: none !important;
  opacity: 0 !important;
  transform: translateY(10px) !important;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s, 
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s !important;
}

.mobile-drawer.active::after {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Glassmorphic Drawer Overlay */
.drawer-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(2, 6, 23, 0.45) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  z-index: 998 !important; /* Sits behind the drawer (999) and header (1000) */
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.drawer-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Media Query Adaptations for Navbar */
@media (max-width: 900px) {
  .header-menu {
    display: none !important;
  }
  .burger-menu {
    display: flex !important;
  }
}

/* Highlight currently visited page in Royal Blue on Desktop */
.header-menu a.active {
  color: #0b5e92 !important;
}

/* =========================================================
   HERO SECTIONS: ALWAYS VISIBLE ON FIRST PAINT
   Prevents the "needs refresh" bug caused by JS-based fade-in
   animation system applying opacity:0 to hero elements that
   are already in the viewport at page load time.
   IntersectionObserver with rootMargin may miss them.
   These rules guarantee instant visibility via CSS cascade.
   ========================================================= */

/* All hero content is always immediately visible */
.page-hero *,
.contact-hero *,
.hero-corporate-section *,
.showcase-hero *,
.activity-hero *,
.cfa-hero *,
.maintenance-hero *,
.benefits-hero *,
.article-hero *,
.lighting-intro *,
.contact-hero h1,
.contact-hero p,
.contact-hero span,
.page-hero h1,
.page-hero p,
.page-hero span,
.page-hero .hero-cta,
.hero-title,
.hero-subtitle,
.hero-badge,
.hero-content-inner,
.hero-content {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition-delay: 0s !important;
  visibility: visible !important;
}

/* Specifically override any .fade-in state applied to hero elements */
.page-hero .fade-in,
.contact-hero .fade-in,
.hero-corporate-section .fade-in,
.showcase-hero .fade-in,
.activity-hero .fade-in,
.cfa-hero .fade-in,
.maintenance-hero .fade-in,
.benefits-hero .fade-in,
.article-hero .fade-in,
.lighting-intro .fade-in,
.page-hero .fade-in:not(.visible),
.contact-hero .fade-in:not(.visible),
.showcase-hero .fade-in:not(.visible),
.activity-hero .fade-in:not(.visible),
.cfa-hero .fade-in:not(.visible),
.maintenance-hero .fade-in:not(.visible),
.benefits-hero .fade-in:not(.visible),
.article-hero .fade-in:not(.visible),
.lighting-intro .fade-in:not(.visible) {
  opacity: 1 !important;
  transform: none !important;
}



/* Block scroll when drawer is open */
body.drawer-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}