/* ==========================================================================
   LIKA RESONANCE - COGNITIVE SANCTUARY & LIVING LAB
   Design System & Master Stylesheet
   Color Palette derived from ico.png: Midnight Resonance Navy (#001849) & Resonance Cyan (#00bfff)
   ========================================================================== */

:root {
  /* Brand Colors from ico.png */
  --primary-navy: #001849;
  --primary-navy-dark: #030f24;
  --primary-navy-surface: #0a1f4d;
  --footer-dark: #020916;
  --resonance-cyan: #00bfff;
  --resonance-cyan-hover: #00a5df;
  --resonance-cyan-glow: rgba(0, 191, 255, 0.35);
  --resonance-cyan-subtle: rgba(0, 191, 255, 0.08);
  --resonance-cyan-light: #e0f6ff;

  /* Neutral & Functional Tones */
  --bg-main: #f8fbff;
  --bg-surface: #ffffff;
  --bg-surface-secondary: #f0f6fc;
  --text-main: #0c1c33;
  --text-body: #374b69;
  --text-muted: #647b9b;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: #9eb5d6;

  /* Borders & Shadows */
  --border-light: rgba(0, 24, 73, 0.08);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-focus: var(--resonance-cyan);
  --shadow-sm: 0 2px 8px rgba(0, 24, 73, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 24, 73, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 24, 73, 0.12);
  --shadow-glow: 0 0 30px var(--resonance-cyan-glow);
  --shadow-dark-card: 0 12px 36px rgba(0, 0, 0, 0.35);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Layout */
  --container-max: 1280px;
  --header-height: 98px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* Header & Sticky Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.site-header.scrolled {
  height: 80px;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 24, 73, 0.08);
}

/* Scroll Reading Progress Bar (Pure Resonance Electric Blue) */
.scroll-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: var(--resonance-cyan); /* Crisp resonance blue */
  box-shadow: none;
  pointer-events: none;
  z-index: 1005;
  border-radius: 0 1px 1px 0;
  transition: width 0.06s ease-out;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

@media (min-width: 769px) {
  .nav-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 16px;
  }
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.site-header.scrolled .brand-logo-img {
  height: 56px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.mobile-nav-erasmus {
  display: none;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--primary-navy);
  padding: 8px 6px;
  position: relative;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Disable old flat underline bar */
.nav-link::after {
  display: none;
}

/* Dynamic Soliton Wave Underline Canvas */
.nav-wave-canvas {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 14px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 2;
}

.nav-link:hover,
.nav-link.active {
  color: var(--resonance-cyan);
}

.nav-link:hover .nav-wave-canvas,
.nav-link.active .nav-wave-canvas {
  opacity: 1;
}

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

/* Language Selector */
.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-light);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-navy);
  transition: var(--transition);
}

.lang-btn:hover {
  border-color: var(--resonance-cyan);
  background: #fff;
}

.lang-flag {
  font-size: 16px;
  line-height: 1;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 155px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 1001;
}

.lang-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  border-radius: 4px;
  transition: var(--transition);
}

.lang-option:hover,
.lang-option.active {
  background: var(--resonance-cyan-subtle);
  color: var(--primary-navy);
  font-weight: 600;
}

/* Accessibility Buttons (Footer Area) */
.footer-a11y-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 191, 255, 0.45);
  border-radius: var(--radius-pill);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.footer-a11y-btn svg {
  color: var(--resonance-cyan);
  flex-shrink: 0;
}

.footer-a11y-btn:hover {
  background: rgba(0, 191, 255, 0.18);
  border-color: var(--resonance-cyan);
  color: var(--resonance-cyan);
  box-shadow: 0 0 16px rgba(0, 191, 255, 0.35);
  transform: translateY(-2px);
}

.footer-a11y-link {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: inherit;
  letter-spacing: inherit;
  color: #ffffff;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.footer-a11y-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: currentColor;
  transition: var(--transition);
}

.footer-a11y-link:hover {
  color: var(--resonance-cyan);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--resonance-cyan);
  color: var(--primary-navy-dark);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #fff;
  color: var(--primary-navy);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--resonance-cyan);
  color: var(--resonance-cyan);
  transform: translateY(-2px);
}

.btn-cyan {
  background: var(--resonance-cyan);
  color: var(--primary-navy-dark);
  font-weight: 700;
  box-shadow: 0 4px 16px var(--resonance-cyan-glow);
}

.btn-cyan:hover {
  background: #fff;
  color: var(--primary-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.4);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  font-weight: 600;
}

.btn-glass:hover {
  background: var(--resonance-cyan);
  border-color: var(--resonance-cyan);
  color: var(--primary-navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--resonance-cyan-glow);
}

/* Mobile Toggle Button */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #001849 0%, #003899 22%, #00bfff 50%, #5ce1e6 55%, #003899 78%, #001849 100%);
  background-size: 64px 100%;
  border-radius: 4px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
  box-shadow: 0 0 4px rgba(0, 24, 73, 0.4);
  transform-origin: center;
}

/* Continuously moving dark-to-light-to-dark blue gradient inside the lines */
@keyframes gradientLineFlow {
  0% {
    background-position: 0px 0;
  }
  100% {
    background-position: 64px 0;
  }
}

/* 3-Second Resonance Wave: Lines wave like an acoustic frequency wave, then return to solid 3 lines */
.mobile-toggle span:nth-child(1) {
  animation: gradientLineFlow 3s linear infinite, resonanceWaveTop 3s ease-in-out infinite;
}

.mobile-toggle span:nth-child(2) {
  animation: gradientLineFlow 3s linear infinite, resonanceWaveMid 3s ease-in-out infinite;
}

.mobile-toggle span:nth-child(3) {
  animation: gradientLineFlow 3s linear infinite, resonanceWaveBot 3s ease-in-out infinite;
}

/* Top bar wave (leads the resonance wave with vertical undulation & tilt) */
@keyframes resonanceWaveTop {
  0%, 60%, 100% {
    transform: translateY(0) scaleX(1) rotate(0deg);
    box-shadow: 0 0 4px rgba(0, 24, 73, 0.4);
  }
  66% {
    transform: translateY(-2px) scaleX(1.06) rotate(-2deg);
    box-shadow: 0 0 8px rgba(0, 191, 255, 0.6);
  }
  72% {
    transform: translateY(-4.5px) scaleX(1.14) rotate(1.5deg);
    box-shadow: 0 0 12px rgba(0, 191, 255, 0.95), 0 0 20px rgba(92, 225, 230, 0.7);
  }
  78% {
    transform: translateY(1.5px) scaleX(0.96) rotate(-1deg);
    box-shadow: 0 0 7px rgba(0, 191, 255, 0.6);
  }
  84% {
    transform: translateY(-0.5px) scaleX(1.02) rotate(0.5deg);
    box-shadow: 0 0 4px rgba(0, 24, 73, 0.4);
  }
  90% {
    transform: translateY(0) scaleX(1) rotate(0deg);
    box-shadow: 0 0 4px rgba(0, 24, 73, 0.4);
  }
}

/* Middle bar wave (expands horizontally like an acoustic diaphragm in resonance) */
@keyframes resonanceWaveMid {
  0%, 64%, 100% {
    transform: translateY(0) scaleX(1) rotate(0deg);
    box-shadow: 0 0 4px rgba(0, 24, 73, 0.4);
  }
  70% {
    transform: translateY(-1.5px) scaleX(1.12) rotate(1.5deg);
    box-shadow: 0 0 8px rgba(0, 191, 255, 0.6);
  }
  76% {
    transform: translateY(0.5px) scaleX(1.24) rotate(-1.5deg);
    box-shadow: 0 0 14px rgba(0, 191, 255, 1), 0 0 22px rgba(92, 225, 230, 0.8);
  }
  82% {
    transform: translateY(-1px) scaleX(0.94) rotate(1deg);
    box-shadow: 0 0 7px rgba(0, 191, 255, 0.6);
  }
  88% {
    transform: translateY(0.5px) scaleX(1.02) rotate(-0.5deg);
    box-shadow: 0 0 4px rgba(0, 24, 73, 0.4);
  }
  93% {
    transform: translateY(0) scaleX(1) rotate(0deg);
    box-shadow: 0 0 4px rgba(0, 24, 73, 0.4);
  }
}

/* Bottom bar wave (anti-phase wave undulation) */
@keyframes resonanceWaveBot {
  0%, 68%, 100% {
    transform: translateY(0) scaleX(1) rotate(0deg);
    box-shadow: 0 0 4px rgba(0, 24, 73, 0.4);
  }
  74% {
    transform: translateY(2px) scaleX(1.06) rotate(2deg);
    box-shadow: 0 0 8px rgba(0, 191, 255, 0.6);
  }
  80% {
    transform: translateY(4.5px) scaleX(1.14) rotate(-1.5deg);
    box-shadow: 0 0 12px rgba(0, 191, 255, 0.95), 0 0 20px rgba(92, 225, 230, 0.7);
  }
  86% {
    transform: translateY(-1.5px) scaleX(0.96) rotate(1deg);
    box-shadow: 0 0 7px rgba(0, 191, 255, 0.6);
  }
  91% {
    transform: translateY(0.5px) scaleX(1.02) rotate(-0.5deg);
    box-shadow: 0 0 4px rgba(0, 24, 73, 0.4);
  }
  96% {
    transform: translateY(0) scaleX(1) rotate(0deg);
    box-shadow: 0 0 4px rgba(0, 24, 73, 0.4);
  }
}

/* Morph to an animated X when opened */
.mobile-toggle.active span:nth-child(1),
.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
  animation: none;
  background: var(--primary-navy-dark);
  box-shadow: 0 0 8px rgba(0, 24, 73, 0.8);
}

.mobile-toggle.active span:nth-child(2),
.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
  animation: none;
}

.mobile-toggle.active span:nth-child(3),
.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
  animation: none;
  background: var(--primary-navy-dark);
  box-shadow: 0 0 8px rgba(0, 24, 73, 0.8);
}

/* Hero Section - Designed to fit screen (100vh / 100dvh) */
.hero-section {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 12px);
  padding-bottom: 24px;
  color: #fff;
  overflow: hidden;
  background-color: var(--primary-navy-dark);
}

@media (max-width: 991px) {
  .hero-section {
    height: auto;
    min-height: 100dvh;
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 48px;
  }
}

/* Background Image Slider & Ambient Video */
.hero-slider-bg,
.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 2;
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity 1.2s ease, visibility 1.2s ease;
  will-change: opacity;
  overflow: hidden;
}

.hero-slide.fading-out {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

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

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.0);
  transform-origin: center center;
  will-change: transform;
  image-rendering: -webkit-optimize-contrast;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* First slide: calibrated so paisaje-lika fits the screen perfectly */
.hero-slide-img-first,
.hero-slide[data-slide-index="0"] .hero-slide-img,
.hero-slide:first-child .hero-slide-img {
  object-fit: cover;
  object-position: center 42%;
}

/* First slide: gentle zoom so image fits the screen with full panoramic clarity */
.hero-slide[data-slide-index="0"].active .hero-slide-img,
.hero-slide[data-slide-index="0"].fading-out .hero-slide-img,
.hero-slide:first-child.active .hero-slide-img,
.hero-slide:first-child.fading-out .hero-slide-img {
  animation: kenBurnsFitZoom1 18s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

/* Second slide: Students & Researchers in Nature */
.hero-slide[data-slide-index="1"].active .hero-slide-img,
.hero-slide[data-slide-index="1"].fading-out .hero-slide-img,
.hero-slide:nth-child(2).active .hero-slide-img,
.hero-slide:nth-child(2).fading-out .hero-slide-img {
  animation: kenBurnsSlowZoom2 16s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

/* Video slides (hero-video1 & hero-video3) */
.hero-slide-video,
.hero-slide[data-slide-index="2"],
.hero-slide[data-slide-index="3"] {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@keyframes kenBurnsFitZoom1 {
  0% {
    transform: scale(1.0) translate(0, 0);
  }
  100% {
    transform: scale(1.06) translate(-0.5%, -0.4%);
  }
}

@keyframes kenBurnsSlowZoom2 {
  0% {
    transform: scale(1.02) translate(0, 0);
  }
  100% {
    transform: scale(1.14) translate(1%, -0.6%);
  }
}

@keyframes kenBurnsSlowZoom3 {
  0% {
    transform: scale(1.0) translate(0, 0);
  }
  100% {
    transform: scale(1.12) translate(-0.6%, 0.6%);
  }
}

/* Signature Blue Gradient: Applied strictly on image slides (just like in www) */
.hero-slide:not(.hero-slide-video)::after,
.hero-slide[data-slide-index="0"]::after,
.hero-slide[data-slide-index="1"]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(0, 24, 73, 0.86) 0%,
    rgba(3, 15, 36, 0.74) 55%,
    rgba(0, 191, 255, 0.30) 100%
  );
}

/* Video Slide Overlays:
   On desktop (> 991px), video slides remain 100% overlay-free for maximum widescreen film clarity.
   On mobile/tablet (<= 991px), a subtle midnight navy corner gradient is applied from the top-left
   so the hero typography is crisp and effortlessly readable without obscuring the background video. */
.hero-slide-video::after,
.hero-slide[data-slide-index="2"]::after,
.hero-slide[data-slide-index="3"]::after {
  display: none;
}

@media (max-width: 991px) {
  .hero-slide.hero-slide-video::after,
  .hero-slide[data-slide-index="2"]::after,
  .hero-slide[data-slide-index="3"]::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;
    background: radial-gradient(
      ellipse at 0% 0%,
      rgba(1, 10, 26, 0.82) 0%,
      rgba(0, 24, 73, 0.60) 42%,
      rgba(0, 24, 73, 0.22) 72%,
      transparent 100%
    ),
    linear-gradient(
      140deg,
      rgba(1, 10, 26, 0.76) 0%,
      rgba(0, 24, 73, 0.48) 38%,
      rgba(0, 24, 73, 0.16) 66%,
      transparent 88%
    ) !important;
  }
}

.hero-overlay {
  display: none;
}

/* Slide Navigation Indicators */
.hero-slider-indicators {
  position: absolute;
  bottom: 32px;
  right: 48px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 24, 73, 0.65);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.indicator-dot {
  width: 24px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s ease;
}

.indicator-dot.active {
  width: 44px;
  background: var(--resonance-cyan);
  box-shadow: 0 0 10px var(--resonance-cyan-glow);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(1, 10, 26, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 191, 255, 0.5);
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--resonance-cyan);
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.hero-badge-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--resonance-cyan);
  box-shadow: 0 0 10px var(--resonance-cyan);
}

.hero-title {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 4px 22px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 1);
}

.hero-title span,
.hero-title-accent,
.hero-title-tagline {
  display: block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-style: normal;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.25;
  margin-top: 6px;
  letter-spacing: 0.04em;
  color: var(--resonance-cyan);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: initial;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 191, 255, 0.55);
  filter: none;
}

.hero-subtitle,
.hero-subtitle-primary {
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.55;
  color: #ffffff;
  max-width: 820px;
  margin-bottom: 16px;
  font-weight: 500;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 3px 16px rgba(0, 0, 0, 0.85);
}

.hero-paragraphs-box {
  margin-bottom: 24px;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-lead-text {
  font-size: clamp(14px, 1.15vw, 16.5px);
  line-height: 1.62;
  color: #ffffff;
  font-weight: 500;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 3px 16px rgba(0, 0, 0, 0.85);
}

.hero-sub-text {
  font-size: clamp(13.5px, 1.05vw, 15px);
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 3px 16px rgba(0, 0, 0, 0.85);
}

.hero-paragraphs-box a {
  color: var(--resonance-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.hero-paragraphs-box a:hover {
  color: #ffffff;
  text-shadow: 0 0 12px var(--resonance-cyan-glow);
}

.hero-actions,
.hero-actions-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 44px;
}

/* Video Play Trigger Button */
.btn-video-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-video-play:hover {
  background: rgba(0, 191, 255, 0.22);
  border-color: var(--resonance-cyan);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 191, 255, 0.25);
}

.video-play-pulse {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--resonance-cyan);
  color: var(--primary-navy-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s ease;
  box-shadow: 0 0 14px rgba(0, 191, 255, 0.6);
  flex-shrink: 0;
}

.video-play-pulse svg {
  margin-left: 2px;
}

.btn-video-play:hover .video-play-pulse {
  transform: scale(1.1);
  background: #ffffff;
  color: var(--primary-navy-dark);
}

.video-play-pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--resonance-cyan);
  opacity: 0.8;
  animation: pulsePlayRing 2.4s infinite;
}

@keyframes pulsePlayRing {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.55);
    opacity: 0;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

/* Video Lightbox Modal */
.video-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 20, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.video-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.video-modal-window {
  position: relative;
  width: 100%;
  max-width: 960px;
  background: #020b18;
  border: 1px solid rgba(0, 191, 255, 0.4);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 40px rgba(0, 191, 255, 0.25);
  transform: scale(0.95);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal-backdrop.open .video-modal-window {
  transform: scale(1);
}

.video-modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 15;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  transition: var(--transition);
}

.video-modal-close-btn:hover {
  background: var(--resonance-cyan);
  color: var(--primary-navy-dark);
}

.video-player-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-player-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.video-placeholder-hint {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px;
  background: radial-gradient(circle at center, rgba(0, 36, 107, 0.96) 0%, rgba(3, 15, 36, 0.98) 100%);
  color: #fff;
}

.video-placeholder-hint .hint-icon {
  font-size: 44px;
  margin-bottom: 12px;
}

.video-placeholder-hint h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--resonance-cyan);
  margin-bottom: 10px;
}

.video-placeholder-hint p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  line-height: 1.6;
}

.video-placeholder-hint code {
  background: rgba(0, 191, 255, 0.2);
  color: #fff;
  padding: 3px 7px;
  border-radius: 4px;
  border: 1px solid rgba(0, 191, 255, 0.4);
}

.hero-stats-ribbon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 32px;
  margin-top: 8px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(1, 10, 26, 0.45);
  border: 1px solid rgba(0, 191, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--resonance-cyan);
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.stat-label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.stat-value {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

/* Section Common Styling */
.section {
  padding: 110px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px auto;
}

.section-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--resonance-cyan);
  margin-bottom: 12px;
  background: var(--resonance-cyan-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 191, 255, 0.2);
}

.section-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.6;
}

/* Section: About Us & Heritage */
.about-section {
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 70px;
}

.about-image-wrapper {
  position: relative;
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.about-image-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.about-image-card:hover img {
  transform: scale(1.03);
}

.director-badge-floating {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(0, 24, 73, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 191, 255, 0.3);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  color: #fff;
}

.director-badge-floating h4 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.director-badge-floating p {
  font-size: 13px;
  color: var(--resonance-cyan);
}

.about-content h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-content p {
  margin-bottom: 18px;
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.7;
}

.about-heritage-callout {
  background: var(--bg-main);
  border-left: 4px solid var(--resonance-cyan);
  padding: 18px 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 24px;
}

.about-heritage-callout p {
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--primary-navy);
  margin-bottom: 0;
}

/* Tesla Section Feature */
.tesla-feature-card {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 191, 255, 0.25);
  margin-bottom: 60px;
}

.tesla-feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--resonance-cyan-glow) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}

.tesla-feature-card h3 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.tesla-feature-card h3 span {
  color: var(--resonance-cyan);
}

.tesla-feature-card p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 16px;
}

/* Core Values - Matching Original Site Layout */
.core-values-section-wrap {
  margin-top: 56px;
  padding-top: 10px;
}

.core-values-header {
  text-align: center;
  margin-bottom: 48px;
}

.core-values-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.heading-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.sep-dot {
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  background-color: var(--resonance-cyan);
}

.sep-line {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--resonance-cyan);
}

.core-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.core-value-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #ffffff;
  border: 1px solid rgba(0, 191, 255, 0.35);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: 0 4px 20px rgba(0, 24, 73, 0.05);
  transition: var(--transition);
  position: relative;
}

.core-value-item:hover {
  border-color: var(--resonance-cyan);
  box-shadow: 0 12px 32px rgba(0, 191, 255, 0.18);
  transform: translateY(-4px);
}

.core-value-icon-wrap {
  width: 62px;
  height: 62px;
  min-width: 62px;
  border-radius: 50%;
  background: rgba(0, 191, 255, 0.08);
  border: 1px solid rgba(0, 191, 255, 0.3);
  box-shadow: 0 2px 10px rgba(0, 191, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-navy);
  flex-shrink: 0;
  transition: var(--transition);
}

.core-value-item:hover .core-value-icon-wrap {
  border-color: var(--resonance-cyan);
  color: var(--resonance-cyan);
  background: rgba(0, 191, 255, 0.18);
  box-shadow: 0 4px 16px var(--resonance-cyan-glow);
  transform: scale(1.05);
}

.core-value-text {
  flex: 1;
}

.core-value-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.35;
  margin-bottom: 10px;
}

.core-value-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0;
}

@media (max-width: 991px) {
  .core-values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .core-value-item {
    padding: 26px 20px;
  }
}

@media (max-width: 680px) {
  .core-values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .core-value-item {
    gap: 16px;
    padding: 22px 18px;
  }
  .core-value-icon-wrap {
    width: 54px;
    height: 54px;
    min-width: 54px;
  }
}

/* Section: MIR Methodology & The Three Luxuries */
.methodology-section {
  background: var(--bg-main);
}

.mir-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.mir-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

.mir-card:hover {
  border-color: var(--resonance-cyan);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.mir-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.mir-letter {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-navy);
  color: var(--resonance-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
}

.mir-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.mir-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 14px;
}

.mir-card p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
}

/* The Three Luxuries Cards */
.luxuries-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 50px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.luxuries-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

.luxuries-header h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

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

.luxury-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.luxury-card:hover {
  background: var(--resonance-cyan-subtle);
  border-color: var(--resonance-cyan);
  transform: translateY(-2px);
}

.luxury-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--resonance-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.luxury-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 12px;
  line-height: 1.4;
}

.luxury-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.65;
}

/* Privacy & Connectivity Callout */
.privacy-connectivity-card {
  margin-top: 40px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 34px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.privacy-connectivity-card h4 {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 14px;
}

.privacy-connectivity-card p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 14px;
}

.privacy-connectivity-card p:last-child {
  margin-bottom: 0;
}

/* Vision & Mission Cards */
.vision-card,
.mission-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.vision-card:hover,
.mission-card:hover {
  border-color: var(--resonance-cyan);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-badge-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--resonance-cyan);
  margin-bottom: 12px;
}

.vision-card h4,
.mission-card h4 {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 14px;
}

.vision-card p,
.mission-card p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
}

/* Erasmus+ Funding Callout */
.erasmus-funding-callout {
  margin-top: 50px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.erasmus-funding-callout h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.erasmus-funding-callout p {
  font-size: 15px;
  color: var(--text-body);
  max-width: 680px;
}

/* Section: Courses */
.courses-section {
  background: #ffffff;
}

.courses-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--resonance-cyan);
  color: var(--primary-navy);
}

.filter-btn.active {
  background: var(--primary-navy);
  color: #fff;
  border-color: var(--primary-navy);
  box-shadow: var(--shadow-sm);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
}

.course-card {
  background: var(--bg-main);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.course-card:hover {
  background: #fff;
  border-color: var(--resonance-cyan);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

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

.course-number {
  font-size: 13px;
  font-weight: 800;
  color: var(--resonance-cyan);
  letter-spacing: 1px;
}

.course-tag {
  font-size: 12px;
  font-weight: 700;
  background: var(--resonance-cyan-subtle);
  color: var(--primary-navy);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 191, 255, 0.3);
}

.course-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 14px;
  line-height: 1.35;
}

.course-desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 24px;
}

.course-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--border-light);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
}

.meta-pill.highlight {
  background: var(--primary-navy);
  color: var(--resonance-cyan);
  border-color: var(--primary-navy);
}

.course-card-actions {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.syllabus-trigger-btn {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.syllabus-trigger-btn:hover {
  color: var(--resonance-cyan);
  gap: 10px;
}

/* Solutions & Masterclasses */
.solutions-section {
  background: var(--bg-main);
}

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

.solution-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.solution-card:hover {
  border-color: var(--resonance-cyan);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.solution-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--resonance-cyan-subtle);
  border: 1px solid rgba(0, 191, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--resonance-cyan);
  font-size: 22px;
  margin-bottom: 22px;
}

.solution-card h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.solution-card p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 20px;
}

/* Location & Living Lab Section */
.location-section {
  background: #ffffff;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.location-details h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 18px;
}

.location-details p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 22px;
}

.location-info-pills {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--primary-navy);
  font-weight: 600;
}

.info-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--resonance-cyan-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--resonance-cyan);
  flex-shrink: 0;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  height: 420px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   DARK FOOTER (Primary Requirement)
   Deep Midnight Resonance Navy (#001849 / #020916) with Director Profile,
   Contact Details, Social Links, and Full Sitemap
   ========================================================================== */

.site-footer {
  background-color: var(--footer-dark);
  color: var(--text-on-dark);
  padding-top: 100px;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--resonance-cyan);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  width: 500px;
  height: 250px;
  background: radial-gradient(ellipse at top, var(--resonance-cyan-glow) 0%, transparent 70%);
  opacity: 0.18;
  pointer-events: none;
}

/* Stretched Brand Emblem Watermark in Footer (~6% opacity, symbol only, no text) */
.footer-bg-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 850px;
  height: 85%;
  max-height: 850px;
  background-image: url('../assets/images/emblem-base.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  transition: opacity var(--transition-normal);
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

/* Director Showcase inside Dark Footer */
.footer-director-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 70px;
  box-shadow: var(--shadow-dark-card);
}

.director-avatar-wrapper {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--resonance-cyan);
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}

.director-avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.director-details h4 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.director-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--resonance-cyan);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.director-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 12px;
}

.director-credentials {
  font-size: 13px;
  color: #ffffff;
}

/* Footer Main Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 70px;
}

/* Brand Logo (Footer - Dark Mode with White Text) */
.footer-brand-logo-link {
  display: inline-block;
  margin-bottom: 24px;
  transition: var(--transition);
}

.footer-brand-logo-link:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.footer-brand-logo-img {
  height: 52px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.65;
  color: #ffffff;
  margin-bottom: 24px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  transition: var(--transition);
}

.social-icon-btn:hover {
  background: var(--resonance-cyan);
  color: var(--primary-navy-dark);
  border-color: var(--resonance-cyan);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px var(--resonance-cyan-glow);
}

.footer-col-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}

.footer-col-title::after {
  display: none;
}

/* 3-dot and line cyan separator in footer matching Core Values design */
.footer-heading-separator {
  justify-content: flex-start;
  margin-bottom: 18px;
  gap: 5px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 14px;
  color: #ffffff;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover {
  color: var(--resonance-cyan);
  transform: translateX(4px);
}

/* Footer Contact Info */
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #ffffff;
}

.footer-contact-item a {
  color: #ffffff;
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 191, 255, 0.12);
  color: var(--resonance-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.footer-contact-item a:hover {
  color: var(--resonance-cyan);
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #ffffff;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-links a,
.footer-bottom-links button {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: inherit;
  color: #ffffff;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.footer-bottom-links a:hover,
.footer-bottom-links button:hover {
  color: var(--resonance-cyan);
}

/* ==========================================================================
   MODAL: COURSE SYLLABUS & INTAKE
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 9, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-backdrop.open .modal-window {
  transform: translateY(0);
}

.modal-header {
  background: var(--primary-navy);
  color: #fff;
  padding: 28px 32px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.modal-header-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 8px;
}

.modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--resonance-cyan);
  color: var(--primary-navy-dark);
}

.modal-body {
  padding: 32px;
}

.modal-section {
  margin-bottom: 28px;
}

.modal-section-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-navy);
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.module-accordion-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 12px;
  background: var(--bg-main);
}

.module-accordion-item h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.module-accordion-item p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

.modal-footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--primary-navy);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--resonance-cyan);
  font-size: 14px;
  font-weight: 600;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
  .mir-pillars-grid,
  .luxuries-grid,
  .solutions-grid {
    grid-template-columns: 1fr;
  }

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

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

/* Hide mobile-only elements on desktop */
.mobile-menu-divider,
.mobile-only-action,
.mobile-nav-backdrop {
  display: none;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  :root {
    --header-height: 86px;
  }

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

  .brand-logo-link {
    display: flex;
    align-items: center;
    margin: 0;
  }

  /* Make logo bigger and placed to the left like before */
  .brand-logo-img {
    height: 68px;
    max-height: 68px;
    max-width: calc(100vw - 80px);
    width: auto;
    object-fit: contain;
  }

  /* Exclusively show ONLY the logo and the menu toggle on mobile header */
  .header-actions > *:not(.mobile-toggle) {
    display: none !important;
  }

  .header-actions {
    position: static;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Mobile Backdrop Overlay (Allows seeing site on the left, tap to close) */
  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 9, 22, 0.45);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s;
    z-index: 998;
    cursor: pointer;
  }

  .mobile-nav-backdrop.open {
    opacity: 1;
    visibility: visible;
  }

  /* Right-to-Left Mobile Menu Drawer (Docked to right, leaving left space to see site) */
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: auto;
    bottom: 0;
    width: 78vw;
    max-width: 320px;
    height: calc(100dvh - var(--header-height));
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    text-align: left;
    padding: 24px 18px 36px 18px;
    gap: 6px;
    box-shadow: -10px 0 35px rgba(0, 24, 73, 0.20);
    border-left: 2.5px solid var(--resonance-cyan);
    border-bottom: none;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.24s ease, visibility 0.34s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    text-align: left;
  }

  .nav-link {
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    color: var(--primary-navy);
    transition: all var(--transition-fast);
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(0, 191, 255, 0.08);
    color: var(--resonance-cyan);
    transform: translateX(4px);
  }

  .mobile-menu-divider {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--border-light);
    margin: 12px 0 10px 0;
  }

  .mobile-only-action {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    text-align: left;
  }

  .mobile-lang-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 4px 4px;
  }

  .mobile-lang-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
  }

  .mobile-lang-options {
    display: flex;
    gap: 6px;
  }

  .mobile-lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    border-radius: var(--radius-pill);
    background: var(--bg-surface-secondary);
    border: 1px solid var(--border-light);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-navy);
    transition: var(--transition);
  }

  .mobile-lang-btn.active {
    background: var(--primary-navy);
    color: #fff;
    border-color: var(--primary-navy);
  }

  .mobile-nav-erasmus {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    text-align: left;
  }

  .mobile-a11y-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    width: 100%;
    max-width: 250px;
    border-radius: var(--radius-pill);
    background: rgba(0, 191, 255, 0.08);
    border: 1px solid rgba(0, 191, 255, 0.45);
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--primary-navy);
    cursor: pointer;
    transition: var(--transition);
  }

  .mobile-a11y-btn svg {
    color: var(--resonance-cyan);
    flex-shrink: 0;
  }

  .mobile-a11y-btn:hover,
  .mobile-a11y-btn:active {
    background: rgba(0, 191, 255, 0.18);
    border-color: var(--resonance-cyan);
    color: var(--primary-navy);
    box-shadow: 0 4px 14px var(--resonance-cyan-glow);
  }

  .mobile-social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding-top: 6px;
  }

  .mobile-social-links .social-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-surface-secondary);
    border: 1px solid var(--border-light);
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }

  .mobile-social-links .social-icon-btn:hover {
    background: var(--resonance-cyan);
    color: var(--primary-navy-dark);
    border-color: var(--resonance-cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--resonance-cyan-glow);
  }

  .hero-section {
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 70px;
  }

  .hero-slider-indicators {
    bottom: 18px;
    right: 50%;
    transform: translateX(50%);
    padding: 6px 12px;
  }

  /* Completely Centered Mobile Footer */
  .site-footer {
    text-align: center;
    padding-top: 70px;
  }

  .footer-director-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 20px;
  }

  .director-avatar-wrapper {
    margin: 0 auto 16px auto;
  }

  .director-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

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

  .footer-col-brand .footer-brand-logo-link,
  .footer-col-brand .footer-logo {
    margin: 0 auto 24px auto;
  }

  .footer-tagline {
    text-align: center;
    margin: 0 auto 20px auto;
  }

  .footer-social-links {
    justify-content: center;
    margin: 0 auto;
  }

  .footer-col-title {
    text-align: center;
    width: 100%;
  }

  .footer-heading-separator {
    justify-content: center;
    margin-bottom: 18px;
  }

  .footer-links-list {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .footer-link {
    justify-content: center;
    text-align: center;
  }

  .footer-contact-info {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .footer-contact-item {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 16px;
  }

  .footer-bottom-links {
    justify-content: center;
    width: 100%;
  }
}

/* ==========================================================================
   ACCESSIBILITY (A11Y) SUITE & CUSTOMIZATION MODAL
   ========================================================================== */
.a11y-modal-backdrop {
  z-index: 3500;
}

.a11y-modal-window {
  max-width: 620px;
  width: 92%;
  max-height: 90vh;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 24, 73, 0.28);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.a11y-modal-header {
  padding: 24px 28px 18px 28px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  position: sticky;
  top: 0;
  z-index: 10;
}

.a11y-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--resonance-cyan);
  background: rgba(0, 191, 255, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 4px;
}

.a11y-modal-desc {
  font-size: 13px;
  color: var(--text-body);
  margin-top: 4px;
  line-height: 1.5;
}

.a11y-modal-header .modal-close-btn {
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-light);
  color: var(--primary-navy);
  font-size: 16px;
}

.a11y-modal-header .modal-close-btn:hover {
  background: var(--resonance-cyan);
  color: var(--primary-navy-dark);
  border-color: var(--resonance-cyan);
}

.a11y-modal-body {
  padding: 24px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.a11y-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.a11y-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.a11y-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary-navy);
}

.a11y-current-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--resonance-cyan);
}

/* Stepper Row */
.a11y-stepper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 18px;
}

.a11y-step-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.a11y-step-btn:hover:not(:disabled) {
  border-color: var(--resonance-cyan);
  color: var(--resonance-cyan);
  transform: scale(1.05);
}

.a11y-step-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.a11y-step-indicator {
  display: flex;
  align-items: center;
  gap: 14px;
}

.a11y-step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-light);
  transition: var(--transition);
  cursor: pointer;
}

.a11y-step-dot.active {
  background: var(--resonance-cyan);
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(0, 191, 255, 0.5);
}

/* Display & Contrast Grid */
.a11y-grid-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.a11y-theme-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 6px;
  background: var(--bg-surface-secondary);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-navy);
  transition: var(--transition);
}

.a11y-theme-btn:hover {
  border-color: rgba(0, 191, 255, 0.6);
  transform: translateY(-2px);
}

.a11y-theme-btn.active {
  border-color: var(--resonance-cyan);
  background: rgba(0, 191, 255, 0.08);
  color: var(--resonance-cyan);
}

.a11y-preview-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: var(--shadow-sm);
}

.swatch-default {
  background: linear-gradient(135deg, #ffffff 50%, #001849 50%);
}

.swatch-dark {
  background: linear-gradient(135deg, #020916 50%, #00bfff 50%);
}

.swatch-contrast {
  background: linear-gradient(135deg, #000000 50%, #ffff00 50%);
}

.swatch-mono {
  background: linear-gradient(135deg, #333333 50%, #cccccc 50%);
}

/* Toggle Rows */
.a11y-toggles-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.a11y-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  gap: 16px;
}

.a11y-toggle-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.a11y-toggle-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-navy);
}

.a11y-toggle-desc {
  font-size: 12px;
  color: var(--text-body);
  line-height: 1.4;
}

/* Custom Toggle Switch */
.a11y-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.a11y-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.a11y-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cbd5e1;
  border-radius: 24px;
  transition: var(--transition);
}

.a11y-slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.a11y-switch input:checked + .a11y-slider {
  background-color: var(--resonance-cyan);
}

.a11y-switch input:checked + .a11y-slider::before {
  transform: translateX(20px);
}

.a11y-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

/* Reading Guide Ruler Element */
.a11y-reading-guide {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  height: 38px;
  background: rgba(0, 191, 255, 0.12);
  border-top: 2px solid var(--resonance-cyan);
  border-bottom: 2px solid var(--resonance-cyan);
  pointer-events: none;
  z-index: 99999;
  transform: translateY(-50%);
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.25);
}

body.a11y-guide-active .a11y-reading-guide {
  display: block;
}

/* ==========================================================================
   GLOBAL ACCESSIBILITY MODIFIER CLASSES APPLIED TO <html> / <body>
   ========================================================================== */

/* 1. Font Sizing */
html.a11y-scale-sm { font-size: 90%; }
html.a11y-scale-md { font-size: 100%; }
html.a11y-scale-lg { font-size: 115%; }
html.a11y-scale-xl { font-size: 130%; }

/* 2. Dark Mode (Complete Site-wide Overhaul) */
html.a11y-dark {
  --bg-main: #020916;
  --bg-surface: #071326;
  --bg-surface-secondary: #0c1b33;
  --primary-navy: #f0f7ff;
  --primary-navy-dark: #01060e;
  --text-main: #f0f7ff;
  --text-body: #94a3b8;
  --text-muted: #64748b;
  --border-light: #162a4d;
  --border-medium: #1f3763;
  color-scheme: dark;
}

html.a11y-dark body {
  background-color: #020916 !important;
  color: #94a3b8 !important;
}

/* ALL Sections in Dark Mode (No White Section Backgrounds) */
html.a11y-dark .manifesto-overview-section,
html.a11y-dark .about-section,
html.a11y-dark .methodology-section,
html.a11y-dark .courses-section,
html.a11y-dark .masterclasses-section,
html.a11y-dark .internship-section,
html.a11y-dark .solutions-section,
html.a11y-dark .location-section,
html.a11y-dark .contact-section {
  background: #020916 !important;
}

/* ALL Cards & Containers in Dark Mode */
html.a11y-dark .value-card,
html.a11y-dark .core-value-item,
html.a11y-dark .mir-card,
html.a11y-dark .luxuries-container,
html.a11y-dark .luxury-card,
html.a11y-dark .course-card,
html.a11y-dark .solution-card,
html.a11y-dark .map-wrapper,
html.a11y-dark .about-image-card,
html.a11y-dark .section-card,
html.a11y-dark .stat-card,
html.a11y-dark .masterclasses-intro-box,
html.a11y-dark .masterclass-card,
html.a11y-dark .masterclass-topics-box,
html.a11y-dark .research-line-card,
html.a11y-dark .research-line-icon,
html.a11y-dark .cooperation-frameworks-box,
html.a11y-dark .framework-card,
html.a11y-dark .contact-form-card,
html.a11y-dark .info-panel-card,
html.a11y-dark .privacy-connectivity-card,
html.a11y-dark .vision-card,
html.a11y-dark .mission-card,
html.a11y-dark .erasmus-funding-callout,
html.a11y-dark .intro-feature-icon {
  background: #071326 !important;
  border-color: rgba(0, 191, 255, 0.35) !important;
  color: #94a3b8 !important;
}

/* Featured Dark Gradient Cards (Fixing the white gradient bug) */
html.a11y-dark .tesla-feature-card {
  background: linear-gradient(135deg, #05142e 0%, #020916 100%) !important;
  border: 1px solid rgba(0, 191, 255, 0.35) !important;
}

html.a11y-dark .internship-talent-card {
  background: linear-gradient(135deg, #05142e 0%, #031533 100%) !important;
  border: 1px solid rgba(0, 191, 255, 0.35) !important;
}

html.a11y-dark .mir-letter {
  background: #040c1a !important;
  border: 1px solid rgba(0, 191, 255, 0.4) !important;
  color: var(--resonance-cyan) !important;
}

html.a11y-dark .toast-notification {
  background: #071326 !important;
  border: 1px solid var(--resonance-cyan) !important;
  color: #ffffff !important;
}

html.a11y-dark .mobile-lang-btn.active {
  background: var(--resonance-cyan) !important;
  color: #020916 !important;
  border-color: var(--resonance-cyan) !important;
}

html.a11y-dark .btn-video-play:hover .video-play-pulse {
  background: var(--resonance-cyan) !important;
  color: #020916 !important;
}

/* Card Hover States (No White Hover Flash) */
html.a11y-dark .value-card:hover,
html.a11y-dark .core-value-item:hover,
html.a11y-dark .mir-card:hover,
html.a11y-dark .course-card:hover,
html.a11y-dark .solution-card:hover,
html.a11y-dark .luxury-card:hover,
html.a11y-dark .masterclass-card:hover,
html.a11y-dark .research-line-card:hover,
html.a11y-dark .framework-card:hover,
html.a11y-dark .privacy-connectivity-card:hover,
html.a11y-dark .vision-card:hover,
html.a11y-dark .mission-card:hover,
html.a11y-dark .erasmus-funding-callout:hover {
  background: #0c1b33 !important;
  border-color: var(--resonance-cyan) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}

/* Form Inputs & Controls in Dark Mode */
html.a11y-dark .form-input,
html.a11y-dark .form-select,
html.a11y-dark .form-textarea {
  background: #040c1a !important;
  border-color: rgba(0, 191, 255, 0.3) !important;
  color: #f0f7ff !important;
}

html.a11y-dark .form-input::placeholder,
html.a11y-dark .form-textarea::placeholder {
  color: #64748b !important;
}

html.a11y-dark .form-input:focus,
html.a11y-dark .form-select:focus,
html.a11y-dark .form-textarea:focus {
  background: #071326 !important;
  border-color: var(--resonance-cyan) !important;
  box-shadow: 0 0 0 4px rgba(0, 191, 255, 0.25) !important;
  color: #ffffff !important;
}

html.a11y-dark .form-select option {
  background: #040c1a !important;
  color: #f0f7ff !important;
}

/* Form Alerts in Dark Mode */
html.a11y-dark .form-success-alert {
  background: rgba(72, 199, 116, 0.12) !important;
  border-color: rgba(72, 199, 116, 0.4) !important;
  color: #4ade80 !important;
}

html.a11y-dark .form-error-alert {
  background: rgba(248, 113, 113, 0.12) !important;
  border-color: rgba(248, 113, 113, 0.4) !important;
  color: #f87171 !important;
}

/* Contact Details in Dark Mode */
html.a11y-dark .contact-detail-icon {
  background: rgba(0, 191, 255, 0.12) !important;
  border-color: rgba(0, 191, 255, 0.3) !important;
  color: var(--resonance-cyan) !important;
}

html.a11y-dark .contact-detail-row strong,
html.a11y-dark .contact-detail-row span {
  color: #f0f7ff !important;
}

html.a11y-dark .contact-detail-row a {
  color: var(--resonance-cyan) !important;
}

/* Pills & Badges in Dark Mode */
html.a11y-dark .meta-pill {
  background: #0c1b33 !important;
  border-color: #162a4d !important;
  color: #94a3b8 !important;
}

html.a11y-dark .meta-pill.highlight {
  background: rgba(0, 191, 255, 0.16) !important;
  color: var(--resonance-cyan) !important;
  border-color: var(--resonance-cyan) !important;
}

html.a11y-dark .course-tag {
  background: rgba(0, 191, 255, 0.14) !important;
  color: var(--resonance-cyan) !important;
  border-color: rgba(0, 191, 255, 0.35) !important;
}

html.a11y-dark .section-pill {
  background: rgba(0, 191, 255, 0.12) !important;
  color: var(--resonance-cyan) !important;
  border-color: rgba(0, 191, 255, 0.3) !important;
}

/* All Headings in Dark Mode */
html.a11y-dark h1,
html.a11y-dark h2,
html.a11y-dark h3,
html.a11y-dark h4,
html.a11y-dark h5,
html.a11y-dark h6,
html.a11y-dark .section-title,
html.a11y-dark .course-title,
html.a11y-dark .masterclass-title,
html.a11y-dark .masterclass-topics-title,
html.a11y-dark .speaker-name,
html.a11y-dark .research-lines-subheading,
html.a11y-dark .research-line-header h4,
html.a11y-dark .framework-card h5,
html.a11y-dark .form-header-title,
html.a11y-dark .form-label,
html.a11y-dark .info-panel-card h4,
html.a11y-dark .mir-card h3,
html.a11y-dark .solution-card h3,
html.a11y-dark .location-details h3,
html.a11y-dark .info-item,
html.a11y-dark .value-card h4,
html.a11y-dark .core-values-title,
html.a11y-dark .core-value-title,
html.a11y-dark .luxury-card h4,
html.a11y-dark .privacy-connectivity-card h4,
html.a11y-dark .vision-card h4,
html.a11y-dark .mission-card h4,
html.a11y-dark .erasmus-funding-callout h4 {
  color: #f0f7ff !important;
}

html.a11y-dark .section-subtitle,
html.a11y-dark .course-desc,
html.a11y-dark .masterclass-hook,
html.a11y-dark .masterclass-topics-list li,
html.a11y-dark .research-line-points li,
html.a11y-dark .framework-card p,
html.a11y-dark .form-header-subtitle,
html.a11y-dark .contact-details-list,
html.a11y-dark .mir-card p,
html.a11y-dark .solution-card p,
html.a11y-dark .location-details p,
html.a11y-dark .value-card p,
html.a11y-dark .core-value-desc,
html.a11y-dark .luxury-card p,
html.a11y-dark .privacy-connectivity-card p,
html.a11y-dark .vision-card p,
html.a11y-dark .mission-card p,
html.a11y-dark .erasmus-funding-callout p {
  color: #94a3b8 !important;
}

html.a11y-dark .core-value-icon-wrap {
  background: #08152c !important;
  border-color: rgba(0, 191, 255, 0.25) !important;
  color: #e0f6ff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

html.a11y-dark .core-value-item:hover .core-value-icon-wrap {
  border-color: var(--resonance-cyan) !important;
  color: var(--resonance-cyan) !important;
  box-shadow: 0 6px 20px var(--resonance-cyan-glow) !important;
}

html.a11y-dark .mobile-a11y-btn {
  background: rgba(0, 191, 255, 0.12) !important;
  border-color: rgba(0, 191, 255, 0.45) !important;
  color: #f0f7ff !important;
}

html.a11y-dark .mobile-a11y-btn svg {
  color: var(--resonance-cyan) !important;
}

html.a11y-dark .mobile-a11y-btn:hover {
  background: rgba(0, 191, 255, 0.22) !important;
  border-color: var(--resonance-cyan) !important;
  color: #ffffff !important;
}

/* BUTTONS IN DARK MODE (Fixed Visibility & Contrast) */
html.a11y-dark .btn-primary {
  background: var(--resonance-cyan) !important;
  color: #020916 !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(0, 191, 255, 0.35) !important;
}

html.a11y-dark .btn-primary:hover {
  background: #5ce1e6 !important;
  color: #020916 !important;
  box-shadow: 0 6px 20px rgba(0, 191, 255, 0.6) !important;
  transform: translateY(-2px);
}

html.a11y-dark .btn-secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #f0f7ff !important;
}

html.a11y-dark .btn-secondary:hover {
  background: rgba(0, 191, 255, 0.16) !important;
  border-color: var(--resonance-cyan) !important;
  color: var(--resonance-cyan) !important;
  transform: translateY(-2px);
}

html.a11y-dark .btn-cyan {
  background: var(--resonance-cyan) !important;
  color: #020916 !important;
  font-weight: 700 !important;
}

html.a11y-dark .btn-cyan:hover {
  background: #5ce1e6 !important;
  color: #020916 !important;
  transform: translateY(-2px);
}

/* Course Filter Bar Buttons in Dark Mode */
html.a11y-dark .filter-btn {
  background: #071326 !important;
  border: 1px solid #162a4d !important;
  color: #94a3b8 !important;
}

html.a11y-dark .filter-btn:hover {
  border-color: var(--resonance-cyan) !important;
  color: #f0f7ff !important;
}

html.a11y-dark .filter-btn.active {
  background: var(--resonance-cyan) !important;
  color: #020916 !important;
  border-color: var(--resonance-cyan) !important;
  font-weight: 700 !important;
  box-shadow: 0 0 14px rgba(0, 191, 255, 0.4) !important;
}

html.a11y-dark .syllabus-trigger-btn {
  color: var(--resonance-cyan) !important;
}

/* Header & Navigation in Dark Mode */
html.a11y-dark .site-header {
  background: rgba(2, 9, 22, 0.95) !important;
  border-bottom: 1px solid #162a4d !important;
}

html.a11y-dark .site-header.scrolled {
  background: #020916 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
}

html.a11y-dark .brand-logo-img {
  content: url('../assets/logo-white.png') !important;
}

html.a11y-dark .nav-menu {
  background: #020916 !important;
  border-bottom-color: var(--resonance-cyan) !important;
}

html.a11y-dark .nav-link {
  color: #cbd5e1 !important;
}

html.a11y-dark .nav-link:hover,
html.a11y-dark .nav-link.active {
  color: var(--resonance-cyan) !important;
}

html.a11y-dark .lang-btn {
  background: #08152b !important;
  border-color: #162a4d !important;
  color: #f0f7ff !important;
}

html.a11y-dark .lang-btn:hover {
  border-color: var(--resonance-cyan) !important;
  background: #0c1b33 !important;
}

html.a11y-dark .lang-dropdown {
  background: #08152b !important;
  border-color: #162a4d !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}

html.a11y-dark .lang-option {
  color: #f0f7ff !important;
}

html.a11y-dark .lang-option:hover,
html.a11y-dark .lang-option.active {
  background: rgba(0, 191, 255, 0.16) !important;
  color: var(--resonance-cyan) !important;
}

/* Modals in Dark Mode (Syllabus & Accessibility) */
html.a11y-dark .modal-window,
html.a11y-dark .a11y-modal-window {
  background: #071326 !important;
  border: 1px solid #162a4d !important;
  color: #f0f7ff !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7) !important;
}

html.a11y-dark .modal-header,
html.a11y-dark .a11y-modal-header {
  background: #040c1a !important;
  border-bottom: 1px solid #162a4d !important;
}

html.a11y-dark .modal-body,
html.a11y-dark .a11y-modal-body {
  background: #071326 !important;
  color: #cbd5e1 !important;
}

html.a11y-dark .module-accordion-item {
  background: #040c1a !important;
  border-color: #162a4d !important;
}

html.a11y-dark .module-accordion-item h5 {
  color: #f0f7ff !important;
}

html.a11y-dark .modal-footer-actions,
html.a11y-dark .a11y-modal-footer {
  border-top-color: #162a4d !important;
}

html.a11y-dark .a11y-stepper-row,
html.a11y-dark .a11y-toggle-row,
html.a11y-dark .a11y-theme-btn {
  background: #040c1a !important;
  border-color: #162a4d !important;
  color: #f0f7ff !important;
}

html.a11y-dark .a11y-step-btn {
  background: #08152b !important;
  border-color: #162a4d !important;
  color: #f0f7ff !important;
}

html.a11y-dark .a11y-theme-btn.active {
  border-color: var(--resonance-cyan) !important;
  background: rgba(0, 191, 255, 0.16) !important;
  color: var(--resonance-cyan) !important;
}

html.a11y-dark .a11y-slider {
  background-color: #1e293b !important;
}

/* Catch-all safeguard for any remaining inline background: #ffffff */
html.a11y-dark [style*="background: #ffffff"],
html.a11y-dark [style*="background:#ffffff"],
html.a11y-dark [style*="background: white"],
html.a11y-dark [style*="background:white"] {
  background: #071326 !important;
  border-color: rgba(0, 191, 255, 0.35) !important;
  color: #94a3b8 !important;
}

/* 3. High Contrast Mode (Complete Site-wide Overhaul) */
html.a11y-high-contrast {
  background-color: #000000 !important;
  --primary-navy: #ffff00 !important;
  --text-body: #ffffff !important;
  --resonance-cyan: #00ffff !important;
  --bg-main: #000000 !important;
  --bg-surface: #000000 !important;
  --bg-surface-secondary: #000000 !important;
  --border-light: #ffff00 !important;
  color-scheme: dark;
}

html.a11y-high-contrast body,
html.a11y-high-contrast .manifesto-overview-section,
html.a11y-high-contrast .about-section,
html.a11y-high-contrast .methodology-section,
html.a11y-high-contrast .courses-section,
html.a11y-high-contrast .masterclasses-section,
html.a11y-high-contrast .internship-section,
html.a11y-high-contrast .solutions-section,
html.a11y-high-contrast .location-section,
html.a11y-high-contrast .contact-section,
html.a11y-high-contrast .site-header,
html.a11y-high-contrast .nav-menu,
html.a11y-high-contrast .a11y-modal-window,
html.a11y-high-contrast .modal-window,
html.a11y-high-contrast .course-card,
html.a11y-high-contrast .value-card,
html.a11y-high-contrast .core-value-item,
html.a11y-high-contrast .mir-card,
html.a11y-high-contrast .solution-card,
html.a11y-high-contrast .luxuries-container,
html.a11y-high-contrast .core-value-icon-wrap,
html.a11y-high-contrast .luxury-card,
html.a11y-high-contrast .masterclasses-intro-box,
html.a11y-high-contrast .masterclass-card,
html.a11y-high-contrast .masterclass-topics-box,
html.a11y-high-contrast .internship-talent-card,
html.a11y-high-contrast .research-line-card,
html.a11y-high-contrast .research-line-icon,
html.a11y-high-contrast .cooperation-frameworks-box,
html.a11y-high-contrast .framework-card,
html.a11y-high-contrast .contact-form-card,
html.a11y-high-contrast .info-panel-card,
html.a11y-high-contrast .privacy-connectivity-card,
html.a11y-high-contrast .vision-card,
html.a11y-high-contrast .mission-card,
html.a11y-high-contrast .erasmus-funding-callout,
html.a11y-high-contrast .form-input,
html.a11y-high-contrast .form-select,
html.a11y-high-contrast .form-textarea {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #ffff00 !important;
}

html.a11y-high-contrast h1,
html.a11y-high-contrast h2,
html.a11y-high-contrast h3,
html.a11y-high-contrast h4,
html.a11y-high-contrast h5,
html.a11y-high-contrast a,
html.a11y-high-contrast button {
  color: #ffff00 !important;
}

html.a11y-high-contrast .btn-primary,
html.a11y-high-contrast .btn-cyan {
  background: #ffff00 !important;
  color: #000000 !important;
  font-weight: 800 !important;
}

html.a11y-high-contrast .btn-secondary,
html.a11y-high-contrast .mobile-a11y-btn {
  background: #000000 !important;
  color: #ffff00 !important;
  border: 2px solid #ffff00 !important;
}

/* 4. Monochrome Mode */
html.a11y-monochrome {
  filter: grayscale(100%) !important;
}

/* 5. Dyslexia-Friendly Font */
html.a11y-dyslexic,
html.a11y-dyslexic * {
  font-family: 'Atkinson Hyperlegible', 'Comic Sans MS', 'Verdana', sans-serif !important;
  letter-spacing: 0.03em !important;
  word-spacing: 0.08em !important;
}

/* 6. Expanded Spacing */
html.a11y-expanded-spacing p,
html.a11y-expanded-spacing li,
html.a11y-expanded-spacing span:not(.a11y-slider):not(.a11y-slider::before) {
  line-height: 1.95 !important;
  letter-spacing: 0.04em !important;
}

/* 7. Highlight Clickable Links */
html.a11y-highlight-links a {
  text-decoration: underline 2px solid #00bfff !important;
  text-underline-offset: 4px !important;
  background-color: rgba(0, 191, 255, 0.15) !important;
  color: #004080 !important;
  padding: 1px 4px !important;
  border-radius: 3px !important;
}

html.a11y-dark.a11y-highlight-links a,
html.a11y-high-contrast.a11y-highlight-links a {
  color: #ffff00 !important;
  background-color: rgba(255, 255, 0, 0.2) !important;
}

/* 8. Big Cursor */
html.a11y-big-cursor,
html.a11y-big-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'%3E%3Cpath d='M3,3 L3,27 L10,20 L16,31 L21,28 L15,17 L24,17 Z' fill='%2300bfff' stroke='%23001849' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E"), auto !important;
}

/* 9. Pause Animations & Reduce Motion */
html.a11y-reduce-motion,
html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
  animation: none !important;
  animation-duration: 0.001s !important;
  transition: none !important;
  transition-duration: 0.001s !important;
  scroll-behavior: auto !important;
}

/* ==========================================================================
   EXECUTIVE MASTERCLASSES (SECTION 3 - PART B)
   ========================================================================== */
.masterclasses-section {
  background: var(--bg-surface-secondary);
  position: relative;
}

.masterclasses-intro-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-sm);
}

.masterclasses-intro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.intro-feature-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.intro-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--resonance-cyan-subtle);
  border: 1px solid rgba(0, 191, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--resonance-cyan);
  font-size: 18px;
  margin-bottom: 4px;
}

.intro-feature-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-navy);
}

.intro-feature-item p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.55;
}

.masterclasses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.masterclasses-grid .masterclass-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.masterclass-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.masterclass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-navy), var(--resonance-cyan));
  opacity: 0;
  transition: var(--transition);
}

.masterclass-card:hover {
  border-color: var(--resonance-cyan);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.masterclass-card:hover::before {
  opacity: 1;
}

.masterclass-meta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}

.masterclass-number {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--resonance-cyan);
}

.masterclass-duration-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  background: var(--resonance-cyan-subtle);
  color: var(--primary-navy);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.masterclass-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.35;
  margin-bottom: 12px;
}

.masterclass-tagline {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0b68a8;
  line-height: 1.5;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--resonance-cyan);
}

.masterclass-hook {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 22px;
}

.masterclass-topics-box {
  background: var(--bg-main);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 24px;
}

.masterclass-topics-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-navy);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.masterclass-topics-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.masterclass-topics-list li {
  font-size: 14px;
  color: var(--text-body);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.masterclass-topics-list li::before {
  content: '•';
  color: var(--resonance-cyan);
  font-size: 18px;
  line-height: 1;
}

.masterclass-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  gap: 16px;
  flex-wrap: wrap;
}

.masterclass-speaker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.speaker-avatar-mini {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--resonance-cyan);
}

.speaker-info {
  display: flex;
  flex-direction: column;
}

.speaker-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-navy);
}

.speaker-linkedin-link {
  font-size: 12px;
  color: #0077b5;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.speaker-linkedin-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   INTERNSHIP & COOPERATION NETWORKS (SECTION 4)
   ========================================================================== */
.internship-section {
  background: #ffffff;
}

.internship-talent-card {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #032152 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 44px;
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.internship-talent-card::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 191, 255, 0.18) 0%, rgba(0, 191, 255, 0) 70%);
  pointer-events: none;
}

.internship-talent-badge {
  display: inline-block;
  background: rgba(0, 191, 255, 0.2);
  color: var(--resonance-cyan);
  border: 1px solid rgba(0, 191, 255, 0.4);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.internship-talent-card h3 {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.internship-talent-card p {
  font-size: 16px;
  line-height: 1.75;
  color: #d1e2fc;
  max-width: 960px;
  margin-bottom: 24px;
}

.internship-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.internship-tag-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.research-lines-subheading {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 24px;
}

.research-lines-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.research-line-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.research-line-card:hover {
  border-color: var(--resonance-cyan);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.research-line-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.research-line-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(0, 191, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  color: var(--resonance-cyan);
}

.research-line-header h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.35;
}

.research-line-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.research-line-points li {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.research-line-points li::before {
  content: '›';
  position: absolute;
  left: 4px;
  top: -2px;
  color: var(--resonance-cyan);
  font-weight: 800;
  font-size: 18px;
}

.cooperation-frameworks-box {
  background: #f0f6fc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.frameworks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.framework-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px 22px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.framework-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--resonance-cyan-subtle);
  color: var(--primary-navy);
  display: inline-block;
  margin-bottom: 12px;
}

.framework-card h5 {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.framework-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==========================================================================
   CONTACT FORM & LOCATION (SECTION 5)
   ========================================================================== */
.contact-section {
  background: var(--bg-main);
  position: relative;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 42px 38px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.form-header-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.form-header-subtitle {
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 28px;
}

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

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-navy);
}

.form-label .required-star {
  color: #e53935;
  margin-left: 3px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-main);
  background: var(--bg-main);
  border: 1.5px solid rgba(0, 24, 73, 0.12);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  transition: var(--transition);
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--resonance-cyan);
  background: #ffffff;
  box-shadow: 0 0 0 4px var(--resonance-cyan-subtle);
}

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

.form-honeypot {
  display: none !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.form-success-alert {
  display: none;
  background: #e8f8f0;
  border: 1px solid #48c774;
  color: #1a6634;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 14.5px;
  line-height: 1.5;
  margin-top: 14px;
  animation: fadeInAlert 0.3s ease;
}

.form-error-alert {
  display: none;
  background: #fdf2f2;
  border: 1px solid #f87171;
  color: #991b1b;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 14.5px;
  line-height: 1.5;
  margin-top: 14px;
  animation: fadeInAlert 0.3s ease;
}

@keyframes fadeInAlert {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-submit-btn.is-submitting {
  opacity: 0.75;
  pointer-events: none;
  cursor: not-allowed;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-panel-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}

.info-panel-card h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 16px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--resonance-cyan-subtle);
  border: 1px solid rgba(0, 191, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--resonance-cyan);
  flex-shrink: 0;
  font-size: 17px;
}

.contact-detail-row strong {
  display: block;
  font-size: 14px;
  color: var(--primary-navy);
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-detail-row span, .contact-detail-row a {
  font-size: 14.5px;
  color: var(--text-body);
}

.contact-detail-row a:hover {
  color: var(--resonance-cyan);
}

/* Responsiveness for additions */
@media (max-width: 991px) {
  .masterclasses-intro-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .masterclasses-grid {
    grid-template-columns: 1fr;
  }
  .research-lines-grid {
    grid-template-columns: 1fr;
  }
  .frameworks-grid {
    grid-template-columns: 1fr;
  }
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .masterclasses-intro-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 26px 20px;
  }
  .internship-talent-card {
    padding: 28px 20px;
  }
}

.vision-mission-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

@media (max-width: 991px) {
  .vision-mission-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
  }
}

/* ==========================================================================
   LEGAL MODAL & CORPORATE IMPRESSUM SUITE
   ========================================================================== */
.legal-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 9, 22, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.legal-modal-window {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 880px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 191, 255, 0.15);
  position: relative;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.legal-modal-backdrop.open .legal-modal-window {
  transform: translateY(0) scale(1);
}

.legal-modal-header {
  background: linear-gradient(135deg, #001849 0%, #002875 100%);
  color: #ffffff;
  padding: 24px 30px 16px 30px;
  border-bottom: 2px solid var(--resonance-cyan);
  flex-shrink: 0;
}

.legal-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.legal-header-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-header-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 191, 255, 0.18);
  border: 1px solid rgba(0, 191, 255, 0.35);
  color: var(--resonance-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.legal-header-top h3 {
  font-size: 21px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.2px;
}

.legal-tabs-nav {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.legal-tabs-nav::-webkit-scrollbar {
  display: none;
}

.legal-tab-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legal-tab-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(0, 191, 255, 0.4);
}

.legal-tab-btn.active {
  background: var(--resonance-cyan);
  color: var(--primary-navy-dark);
  border-color: var(--resonance-cyan);
  font-weight: 700;
  box-shadow: 0 4px 14px var(--resonance-cyan-glow);
}

.legal-modal-body {
  padding: 30px 32px;
  overflow-y: auto;
  flex: 1;
  color: var(--text-body);
  font-size: 14.5px;
  line-height: 1.7;
}

.legal-tab-panel {
  display: none;
  animation: legalFadeIn 0.3s ease;
}

.legal-tab-panel.active {
  display: block;
}

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

.legal-article h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-top: 24px;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-article h4:first-child {
  margin-top: 0;
}

.legal-article p {
  margin-bottom: 14px;
}

.legal-article ul, .legal-article ol {
  margin: 0 0 16px 20px;
  padding: 0;
}

.legal-article li {
  margin-bottom: 8px;
}

.legal-meta-card {
  background: linear-gradient(135deg, #f8fafc 0%, #eef5fb 100%);
  border: 1px solid #d8e5f3;
  border-left: 4px solid var(--resonance-cyan);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin: 18px 0 24px 0;
}

.legal-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.legal-meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.legal-meta-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary-navy-light);
}

.legal-meta-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.legal-meta-value a {
  color: var(--primary-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-meta-value a:hover {
  color: var(--resonance-cyan);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 22px 0;
  font-size: 13.5px;
}

.legal-table th, .legal-table td {
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  text-align: left;
}

.legal-table th {
  background: #f1f5f9;
  font-weight: 700;
  color: var(--primary-navy);
}

.legal-table tr:nth-child(even) td {
  background: #f8fafc;
}

.legal-modal-footer {
  padding: 16px 30px;
  background: #f8fafc;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

/* ==========================================================================
   COOKIE CONSENT FLOATING BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 980px;
  margin: 0 auto;
  z-index: 2400;
  background: rgba(2, 9, 22, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 191, 255, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 191, 255, 0.15);
  padding: 22px 28px;
  color: #ffffff;
  transform: translateY(120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease, visibility 0.45s ease;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner-text-block {
  flex: 1;
}

.cookie-banner-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.cookie-banner-title span.cookie-icon {
  font-size: 20px;
}

.cookie-banner-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0;
}

.cookie-banner-desc a {
  color: var(--resonance-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.cookie-banner-desc a:hover {
  color: #ffffff;
}

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

.cookie-btn-accept {
  background: var(--resonance-cyan);
  color: var(--primary-navy-dark);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-size: 13.5px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 4px 14px var(--resonance-cyan-glow);
}

.cookie-btn-accept:hover {
  background: #2dd4bf;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 191, 255, 0.4);
}

.cookie-btn-reject {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.cookie-btn-settings {
  background: transparent;
  color: #94a3b8;
  border: none;
  padding: 10px 12px;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
  white-space: nowrap;
}

.cookie-btn-settings:hover {
  color: #ffffff;
}

/* ==========================================================================
   FORM CONSENT CHECKBOX (GDPR COMPLIANCE)
   ========================================================================== */
.form-consent-group {
  margin-bottom: 22px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
}

.form-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.55;
  color: #334155;
  user-select: none;
}

.form-consent-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #94a3b8;
  border-radius: 4px;
  background-color: #ffffff;
  display: inline-grid;
  place-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-consent-checkbox:checked {
  background-color: var(--primary-navy);
  border-color: var(--primary-navy);
}

.form-consent-checkbox:checked::before {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg) translate(1px, -1px);
}

.form-consent-checkbox:focus-visible {
  outline: 2px solid var(--resonance-cyan);
  outline-offset: 2px;
}

.form-consent-text a {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-consent-text a:hover {
  color: var(--resonance-cyan);
}

/* Corporate details badges in footer and contact */
.legal-entity-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 191, 255, 0.12);
  border: 1px solid rgba(0, 191, 255, 0.25);
  color: var(--resonance-cyan);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 16px;
    left: 16px;
    right: 16px;
    padding: 18px 20px;
  }
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .cookie-banner-actions {
    flex-direction: column;
    width: 100%;
  }
  .cookie-banner-actions button {
    width: 100%;
    text-align: center;
  }
  .legal-grid-2 {
    grid-template-columns: 1fr;
  }
  .legal-modal-header {
    padding: 20px 20px 14px 20px;
  }
  .legal-modal-body {
    padding: 22px 20px;
  }
}



