/**
 * SDOM - Public Website Stylesheet
 * Aesthetic: Bold, Contemporary Art Museum (inspired by moca.ca)
 * Palette: Crisp Pure White (#ffffff), Deep Pitch Black (#0a0a0f),
 * Primary Accents: Ultramarine Blue (#0038ff), Cadmium Red (#ff2d20), Signal Yellow (#ffd600).
 * Material: Soft frosted glass (backdrop-filter: blur), expansive whitespace,
 * Less is More: No heavy borders, no boxes-within-boxes, refined typography.
 */

:root {
  /* Contemporary Primary & Neutral Palette */
  --bg-canvas: #ffffff;
  --bg-subtle: #f8f9fa;
  --bg-frosted: rgba(255, 255, 255, 0.82);
  --bg-frosted-dark: rgba(10, 10, 15, 0.85);

  --color-black: #0a0a0f;
  --color-charcoal: #1f222e;
  --color-slate: #525866;
  --color-muted: #88909f;
  --color-border-subtle: rgba(10, 10, 15, 0.06);

  /* Bold Primary Accents from Logo */
  --logo-blue: #415eb3;
  --logo-blue-hover: #324b94;
  --logo-yellow: #eb9600;
  --logo-yellow-hover: #c98000;
  --logo-red: #dd0000;
  --logo-red-hover: #b80000;

  --primary-blue: #415eb3;
  --primary-blue-hover: #324b94;
  --primary-red: #dd0000;
  --primary-yellow: #eb9600;

  /* Typography */
  --font-heading: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container-width: 1240px;
  --container-editorial: 860px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-subtle: 0 4px 24px rgba(0, 0, 0, 0.04);
  --shadow-floating: 0 16px 40px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-black);
  background-color: var(--bg-canvas);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--primary-blue-hover);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ================= HEADER & STICKY FROSTED NAV ================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-frosted);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--color-border-subtle);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 16px 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none !important;
}

.brand-art-wrapper {
  width: 46px;
  height: 46px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand-logo:hover .brand-art-wrapper {
  transform: scale(1.05);
}

.brand-art-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.brand-single-line {
  display: flex;
  align-items: center;
}

.brand-text-full {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-black);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* Language Switcher */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(10, 10, 15, 0.05);
  border-radius: var(--radius-full);
  padding: 4px 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lang-switch a {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  color: var(--color-slate);
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.lang-switch a.active {
  background: var(--color-black);
  color: #ffffff;
}

.lang-switch a:hover:not(.active) {
  color: var(--color-black);
}

.lang-divider {
  color: var(--color-muted);
  font-size: 0.75rem;
  opacity: 0.4;
}

/* ================= 2-LEVEL MAIN NAVIGATION ================= */

.nav-bar {
  background: transparent;
  padding-bottom: 12px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.main-menu > li {
  position: relative;
}

.main-menu > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px 12px 18px;
  color: var(--color-slate);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
  text-decoration: none !important;
}

/* 3px thick playful animated underline in logo colors */
.main-menu > li > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Alternating logo colors for each menu tab */
.main-menu > li:nth-child(3n+1) > a::after { background: var(--logo-blue); }
.main-menu > li:nth-child(3n+2) > a::after { background: var(--logo-yellow); }
.main-menu > li:nth-child(3n+3) > a::after { background: var(--logo-red); }

.main-menu > li:hover > a,
.main-menu > li.active > a {
  color: var(--color-black);
  background: rgba(10, 10, 15, 0.03);
}

.main-menu > li:hover > a::after,
.main-menu > li.active > a::after {
  transform: scaleX(1);
}

.main-menu > li.active > a {
  font-weight: 700;
}

.dropdown-icon {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
  opacity: 0.6;
}

.main-menu > li:hover .dropdown-icon {
  transform: translateY(1px);
}

/* Frosted Glass Submenu with Hover Bridge & Grace Period */
.submenu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--bg-frosted);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-floating);
  padding: 8px;
  z-index: 110;
  margin-top: 6px;

  /* Smooth transition with grace period on exit */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.2s;
  transition-delay: 0.18s; /* 180ms grace period prevents collapsing during fast/diagonal movements */
}

/* Invisible hit bridge to eliminate dead zones between parent link and submenu */
.submenu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: -12px;
  right: -12px;
  height: 22px;
  background: transparent;
  pointer-events: auto;
}

.main-menu > li:hover > .submenu,
.main-menu > li:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0s; /* Instant opening */
}

.submenu li a {
  display: block;
  padding: 10px 16px;
  color: var(--color-slate);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  text-decoration: none !important;
  border-left: 3px solid transparent;
}

.submenu li:nth-child(3n+1) a:hover,
.submenu li:nth-child(3n+1).active a {
  background: rgba(65, 94, 179, 0.08);
  color: var(--logo-blue);
  border-left-color: var(--logo-blue);
  padding-left: 20px;
}

.submenu li:nth-child(3n+2) a:hover,
.submenu li:nth-child(3n+2).active a {
  background: rgba(235, 150, 0, 0.08);
  color: var(--logo-yellow);
  border-left-color: var(--logo-yellow);
  padding-left: 20px;
}

.submenu li:nth-child(3n+3) a:hover,
.submenu li:nth-child(3n+3).active a {
  background: rgba(221, 0, 0, 0.08);
  color: var(--logo-red);
  border-left-color: var(--logo-red);
  padding-left: 20px;
}

/* Level 3 Sub-submenu (e.g. Conseil d'administration > Members) */
.submenu li {
  position: relative;
}

.subdropdown-icon {
  float: right;
  font-size: 0.9rem;
  margin-left: 8px;
  font-weight: 700;
  opacity: 0.6;
}

.sub-submenu {
  list-style: none;
  position: absolute;
  top: -6px;
  left: 100%;
  min-width: 250px;
  background: var(--bg-frosted);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-floating);
  padding: 8px;
  z-index: 120;
  margin-left: 6px;

  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.2s;
  transition-delay: 0.15s;
}

/* Hit bridge between submenu item and sub-submenu */
.sub-submenu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -14px;
  width: 20px;
  bottom: -10px;
  background: transparent;
  pointer-events: auto;
}

.submenu li:hover > .sub-submenu,
.submenu li:focus-within > .sub-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
  transition-delay: 0s;
}

.sub-submenu li a {
  display: block;
  padding: 8px 14px;
  color: var(--color-slate);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  text-decoration: none !important;
  border-left: 3px solid transparent;
}

.sub-submenu li a:hover,
.sub-submenu li.active a {
  background: rgba(65, 94, 179, 0.08);
  color: var(--logo-blue);
  border-left-color: var(--logo-blue);
  padding-left: 18px;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-black);
  padding: 8px 12px;
  cursor: pointer;
}

/* ================= HERO CAROUSEL (MOCA-INSPIRED PREDOMINANT) ================= */

.hero-carousel-section {
  position: relative;
  background: var(--color-black);
  width: 100%;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  min-height: 540px;
  display: flex;
  align-items: center;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
  display: flex;
  align-items: center;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.slide-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none !important;
  color: inherit;
}

.slide-image-wrapper {
  position: relative;
  width: 100%;
  height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 6s cubic-bezier(0.1, 1, 0.1, 1);
}

.carousel-slide.active .slide-img {
  transform: scale(1.02);
}

/* Barely-Frosted Glass Floating Caption Overlay */
.slide-caption-overlay {
  position: absolute;
  bottom: 40px;
  left: 40px;
  max-width: 680px;
  padding: 24px 32px;
  background: var(--bg-frosted-dark);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  animation: slideCaptionUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.slide-caption-overlay h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 6px;
  color: #ffffff;
}

.slide-caption-overlay p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  font-weight: 400;
}

/* Minimal Frosted Navigation Buttons */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.25s ease;
}

.carousel-nav-btn:hover {
  background: #ffffff;
  color: var(--color-black);
  border-color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.carousel-prev { left: 32px; }
.carousel-next { right: 32px; }

/* Modernist Minimalist Dash Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 24px;
  right: 40px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dot {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: #ffffff;
  width: 54px;
}

.carousel-dot:nth-child(3n+1).active { background: var(--logo-blue); }
.carousel-dot:nth-child(3n+2).active { background: var(--logo-yellow); }
.carousel-dot:nth-child(3n+3).active { background: var(--logo-red); }

/* ================= OPEN EDITORIAL CONTENT (NO BOXES-IN-BOXES) ================= */

.main-content {
  flex: 1;
  padding: 80px 0 120px 0;
}

/* Borderless, expansive editorial flow */
.content-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  max-width: var(--container-editorial);
  margin: 0 auto;
}

.content-card::before {
  display: none;
}

.page-header {
  margin-bottom: 28px;
}

.page-breadcrumb {
  font-size: 0.82rem;
  color: var(--color-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.page-breadcrumb a {
  color: var(--color-slate);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.page-breadcrumb a:hover {
  color: var(--color-black);
}

.breadcrumb-home-link {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  line-height: 1;
}

.breadcrumb-home-logo {
  height: 50px;
  width: auto;
  display: block;
  opacity: 1;
}

.breadcrumb-separator {
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 400;
  user-select: none;
}

.breadcrumb-current {
  color: var(--color-charcoal);
  font-weight: 700;
}

.page-title {
  display: none;
}

/* Body Content Typography */
.page-body {
  font-size: 1.18rem;
  color: var(--color-charcoal);
  line-height: 1.85;
  font-weight: 400;
}

.page-body h1, .page-body h2, .page-body h3, .page-body h4 {
  font-family: var(--font-heading);
  color: var(--color-black);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 2.2em;
  margin-bottom: 0.7em;
  line-height: 1.2;
}

.page-body h1 { font-size: 2.4rem; }
.page-body h2 { 
  font-size: 1.9rem;
  border: none;
  padding: 0;
  position: relative;
}

.page-body h2::before {
  content: "";
  display: block;
  width: 32px;
  height: 4px;
  background: var(--logo-blue);
  margin-bottom: 12px;
  border-radius: 2px;
}

.page-body h2:nth-of-type(3n+1)::before { background: var(--logo-blue); }
.page-body h2:nth-of-type(3n+2)::before { background: var(--logo-yellow); }
.page-body h2:nth-of-type(3n+3)::before { background: var(--logo-red); }

.page-body h3 { 
  font-size: 1.4rem; 
  color: var(--color-charcoal);
}

.page-body p { 
  margin-bottom: 1.6em; 
}

.page-body ul, .page-body ol {
  margin-bottom: 1.8em;
  padding-left: 28px;
}

.page-body li {
  margin-bottom: 0.6em;
}

/* Minimalist Editorial Pullquote / Blockquote with Playful Blue Accent */
.page-body blockquote {
  margin: 2.8em 0;
  padding: 0 0 0 28px;
  border-left: 3px solid var(--logo-blue);
  background: transparent;
  border-radius: 0;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-black);
  font-style: normal;
}

/* Highlight Box: Subtle Frosted Museum Accent with Playful Tri-Color Ribbon */
.highlight-box {
  background: var(--bg-subtle);
  border: none;
  position: relative;
  overflow: hidden;
  padding: 32px 36px;
  border-radius: var(--radius-md);
  margin: 40px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.highlight-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--logo-blue) 0%, var(--logo-blue) 33.3%, var(--logo-yellow) 33.3%, var(--logo-yellow) 66.6%, var(--logo-red) 66.6%, var(--logo-red) 100%);
}

.highlight-box h3 {
  color: var(--color-black);
  margin-top: 0;
  margin-bottom: 12px;
}

/* Modern Primary Buttons */
.button, a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-black);
  color: #ffffff !important;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 16px;
  text-decoration: none !important;
}

.button:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 56, 255, 0.25);
}

/* Images in Content: Clean, Open Presentation */
.page-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 32px 0;
  border: none;
  box-shadow: var(--shadow-subtle);
  display: block;
}

.page-body img.size-25 { width: 25%; }
.page-body img.size-50 { width: 50%; }
.page-body img.size-75 { width: 75%; }
.page-body img.size-100 { width: 100%; }

/* Video Embeds */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: var(--color-black);
  border-radius: var(--radius-md);
  margin: 40px 0;
  box-shadow: var(--shadow-floating);
  border: none;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Audio Player Wrapper: Frosted Minimalist Surface */
.audio-player-wrapper {
  background: var(--bg-subtle);
  border: none;
  padding: 24px 30px;
  border-radius: var(--radius-md);
  margin: 36px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.audio-player-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-black);
  display: flex;
  align-items: center;
  gap: 10px;
}

.audio-player-wrapper audio {
  width: 100%;
  outline: none;
}

/* ================= CONTEMPORARY MINIMALIST FOOTER ================= */

.site-footer {
  background: var(--color-black);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 72px;
  padding-bottom: 40px;
  margin-top: auto;
  font-size: 0.95rem;
  border-top: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 14px;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

/* Partners Strip */
.footer-partners {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 0 24px 0;
  text-align: center;
  margin-bottom: 24px;
}

.partners-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
  font-weight: 700;
}

.partners-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.partner-item {
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.2s ease;
}

.partner-item:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ================= COOKIE CONSENT BANNER (FROSTED GLASS) ================= */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 1240px;
  margin: 0 auto;
  background: var(--bg-frosted-dark);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  padding: 20px 28px;
  animation: slideBannerUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideBannerUp {
  from { transform: translateY(100%) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 0 !important;
  max-width: 100% !important;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.cookie-btn-accept {
  background: var(--primary-blue);
  color: #ffffff;
}

.cookie-btn-accept:hover {
  background: var(--primary-blue-hover);
  transform: translateY(-1px);
}

.cookie-btn-decline {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ================= RESPONSIVE DESIGN ================= */

@media (max-width: 992px) {
  .brand-text-full {
    font-size: 0.98rem;
  }

  .slide-image-wrapper {
    height: 480px;
  }

  .slide-caption-overlay {
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: none;
    padding: 20px 24px;
  }

  .slide-caption-overlay h2 {
    font-size: 1.6rem;
  }

  .page-title {
    font-size: 2.5rem;
  }

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

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand-text-full {
    font-size: 0.85rem;
    white-space: normal;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .main-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 12px;
  }

  .main-menu.show {
    display: flex;
  }

  .main-menu > li > a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }

  .submenu {
    position: static;
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: none;
    margin-top: 0;
    background: rgba(0, 0, 0, 0.03);
    backdrop-filter: none;
    box-shadow: none;
    border: none;
    padding-left: 20px;
  }

  .submenu::before {
    display: none;
  }

  .subdropdown-icon {
    display: none;
  }

  .sub-submenu {
    position: static;
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    background: rgba(0, 0, 0, 0.02);
    padding-left: 16px;
    margin-left: 0;
  }

  .sub-submenu::before {
    display: none;
  }

  .slide-image-wrapper {
    height: 380px;
  }

  .carousel-nav-btn {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .carousel-prev { left: 16px; }
  .carousel-next { right: 16px; }

  .carousel-indicators {
    right: 24px;
    bottom: 16px;
  }

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

  .cookie-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 16px 20px;
  }
}
