/* WUPPERFEST v1.16 */
:root {
  --navy: #153C63;
  --teal: #0B7897;
  --pink: #DA1C5C;
  --orange: #F37321;
  --yellow: #FBB040;
  --sky: #27AAE1;
  --green: #8DC63F;
  --light: #F0F1F4;
  --cream: #fffdfb;
  --dark: #0a1628;
  --blob-yellow: rgba(251, 176, 64, 0.55);
  --blob-pink: rgba(218, 28, 92, 0.35);
  --blob-teal: rgba(11, 120, 151, 0.3);
  --blob-sky: rgba(39, 170, 225, 0.35);
  --glass-bg: rgba(255, 255, 255, 0.42);
  --glass-border: rgba(255, 255, 255, 0.65);
  --glass-dark: rgba(21, 60, 99, 0.28);
  --gradient-accent: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow));
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
  --shadow-lg: 0 25px 50px -12px rgba(21, 60, 99, 0.2);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--navy);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img:not(.edition-logo-img) { max-width: 100%; height: auto; display: block; }
.edition-logo-img {
  max-width: 100%;
  height: 120px;
  width: auto;
  display: block;
  margin: 0 auto;
}
a { color: inherit; text-decoration: none; }

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 10001;
  background: var(--gradient-accent);
  transition: width 0.1s linear;
}

#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(2.5rem);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-3rem); transition: all 0.9s var(--ease-out); }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(3rem); transition: all 0.9s var(--ease-out); }
.reveal-right.visible { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: all 1.1s var(--ease-out); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  animation: blobFloat 12s ease-in-out infinite;
  pointer-events: none;
}
.blob--yellow { width: 380px; height: 380px; background: var(--blob-yellow); top: 15%; left: -8%; }
.blob--pink { width: 320px; height: 320px; background: var(--blob-pink); bottom: 10%; right: -5%; animation-delay: -4s; }
.blob--teal { width: 280px; height: 280px; background: var(--blob-teal); bottom: 25%; left: 20%; animation-delay: -7s; }
.blob--sky { width: 240px; height: 240px; background: var(--blob-sky); top: 40%; right: 15%; animation-delay: -2s; }
.blob--1 { width: 300px; height: 300px; background: var(--blob-pink); top: 10%; right: 10%; }
.blob--2 { width: 250px; height: 250px; background: var(--blob-teal); bottom: 20%; left: 5%; animation-delay: -5s; }

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(25px, -20px) scale(1.06); }
  66% { transform: translate(-15px, 15px) scale(0.96); }
}

/* ─── Glass Navigation (always open) ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.65rem 1.25rem;
  transition: background 0.45s, border-color 0.45s, box-shadow 0.45s;
}

.nav--glass {
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(21, 60, 99, 0.06);
}

.nav.nav--on-dark {
  background: var(--glass-dark);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__logo { position: relative; display: block; height: 44px; }
.nav__logo img { height: 44px; width: auto; transition: opacity 0.35s; }
.nav__logo-white {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.nav.nav--on-dark .nav__logo-color { opacity: 0; }
.nav.nav--on-dark .nav__logo-white { opacity: 1; }

.nav__menu { display: flex; align-items: center; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav__links > li > a {
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  position: relative;
  transition: color 0.3s;
}

.nav.nav--on-dark .nav__links > li > a { color: #fff; }

.nav__links > li > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width 0.3s var(--ease-out);
}
.nav__links > li > a:hover::after,
.nav__links > li > a.is-active::after { width: 100%; }

/* Editionen: Desktop-Dropdown / Mobile-Submenü */
.nav__item--sub { position: relative; }
.nav__submenu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0.35rem 0;
  position: relative;
}
.nav.nav--on-dark .nav__submenu-toggle { color: #fff; }
@media (min-width: 769px) {
  .nav__submenu-toggle::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s var(--ease-out);
  }
  .nav__item--sub:hover .nav__submenu-toggle::after { width: 100%; }
}
.nav__chevron {
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}
.nav__submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__submenu a {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  font-size: 0.78rem;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.nav__submenu a::after { display: none !important; }
.nav__submenu a:hover {
  background: rgba(21, 60, 99, 0.08);
  color: var(--pink);
}

/* Desktop: klassisches Dropdown */
@media (min-width: 769px) {
  .nav__chevron { display: none; }
  .nav__submenu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    background: #ffffff;
    border: 1px solid rgba(21, 60, 99, 0.12);
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 12px 40px rgba(21, 60, 99, 0.18);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  }
  .nav__item--sub:hover .nav__submenu,
  .nav__item--sub:focus-within .nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  .nav.nav--on-dark .nav__submenu {
    background: #ffffff;
  }
  .nav.nav--on-dark .nav__submenu a { color: var(--navy); }
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav__toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}
.nav.nav--on-dark .nav__toggle span { background: #fff; }
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ─── Hero premium: 50% stânga parallax ─── */
.hero--premium {
  position: relative;
  min-height: 100vh;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero__split {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 4rem);
  padding-top: var(--nav-h);
}
@media (min-width: 992px) {
  .hero__split {
    flex-direction: row;
    min-height: 100vh;
    padding-top: 0;
  }
}

.hero__bg-side {
  position: relative;
  width: 100%;
  min-height: 46vh;
  overflow: hidden;
  flex-shrink: 0;
}
@media (max-width: 991px) {
  .hero__bg-side {
    display: none;
  }
  .hero__split {
    min-height: auto;
    padding-top: var(--nav-h);
  }
  .hero__content-side {
    width: 100%;
    min-height: auto;
    padding: 2rem 1.25rem 1.5rem;
  }
}
@media (min-width: 992px) {
  .hero__bg-side {
    display: block;
    width: 50%;
    min-height: 100vh;
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: 100vh;
  }
}

.hero__bg-image {
  position: absolute;
  inset: -20% -12%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: transform;
  transform: scale(1);
  transform-origin: center center;
  animation: heroBgZoom 14s ease-in-out infinite;
}
@keyframes heroBgZoom {
  0% { transform: scale(1); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.hero__bg-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 22, 40, 0.15) 0%,
    rgba(10, 22, 40, 0.05) 40%,
    transparent 70%
  );
  z-index: 1;
  pointer-events: none;
}
@media (min-width: 992px) {
  .hero__bg-shade {
    background: linear-gradient(
      90deg,
      transparent 55%,
      rgba(255, 255, 255, 0.92) 88%,
      #ffffff 100%
    );
  }
}

.hero__photo-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 3;
  background: var(--navy);
  color: #fff;
  padding: 0.65rem 1rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.hero__photo-badge-line {
  width: 1px;
  height: 1.2em;
  background: rgba(255, 255, 255, 0.5);
}

.hero__years {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 3;
  font-family: var(--font-display);
  line-height: 0.88;
  color: rgba(255, 255, 255, 0.92);
  text-align: right;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.05em;
}
.hero__years--xxl span {
  display: block;
  font-size: clamp(5rem, 16vw, 12rem);
  letter-spacing: 0.02em;
}

.hero__content-side {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem 2rem;
  background: #fff;
  overflow: hidden;
}
@media (min-width: 992px) {
  .hero__content-side {
    width: 50%;
    min-height: 100vh;
    padding: calc(var(--nav-h) + 2rem) 3rem 3rem 2.5rem;
  }
}

.hero__content-side .hero__blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.hero__content-side .hero__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.3;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.hero__logo {
  max-width: min(380px, 100%);
  margin: 0 auto 1.25rem;
}
.hero__tagline-colored {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.tc-navy { color: var(--navy); }
.tc-teal { color: var(--teal); }
.tc-pink { color: var(--pink); }

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  letter-spacing: 0.12em;
  color: var(--navy);
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: rgba(21, 60, 99, 0.85);
  max-width: 480px;
  margin: 0 auto 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Marquee – loop infinit seamless */
.hero--premium .marquee {
  position: relative;
  z-index: 5;
  flex-shrink: 0;
  padding: 1.25rem 0 1.5rem;
  background: #fff;
  border-top: 1px solid rgba(21, 60, 99, 0.06);
}
.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: 100%;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
  will-change: transform;
}
.marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}
.marquee__group span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  color: var(--navy);
  opacity: 0.28;
  padding: 0 2.5rem;
  white-space: nowrap;
  flex-shrink: 0;
}
@keyframes marqueeScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  position: relative;
}
.btn--primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 8px 28px rgba(218, 28, 92, 0.35);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(218, 28, 92, 0.45);
}
.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid rgba(21, 60, 99, 0.35);
}
.btn--outline-dark:hover {
  border-color: var(--navy);
  background: rgba(21, 60, 99, 0.05);
}

/* Sections */
.section {
  padding: clamp(5.5rem, 10vw, 8.5rem) clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
}
.section--gradient {
  background: linear-gradient(180deg, var(--cream) 0%, var(--light) 100%);
}
.section--dark {
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.section--wave::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--cream));
  pointer-events: none;
}
.section__logo-watermark {
  position: absolute;
  right: -5%;
  bottom: 10%;
  width: min(400px, 50vw);
  opacity: 0.06;
  pointer-events: none;
}

.container { max-width: 1100px; margin: 0 auto; }
.container--wide { max-width: 1380px; }
.section__label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.25em;
  color: var(--pink);
  margin-bottom: 0.5rem;
}
.section--dark .section__label { color: var(--yellow); }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}
.section__lead {
  font-size: 1.1rem;
  max-width: 560px;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 860px) {
  .split-section { grid-template-columns: 1fr 1fr; }
  .split-section--reverse .split-section__media { order: 2; }
}

.img-reveal {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s;
}
.img-reveal:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 60px -15px rgba(21, 60, 99, 0.3);
}
.img-reveal--glow:hover {
  box-shadow: 0 0 40px rgba(218, 28, 92, 0.35), var(--shadow-lg);
}

.intro-strip {
  background: var(--gradient-accent);
  padding: 1.75rem 1.5rem;
  text-align: center;
}
.intro-strip__text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  letter-spacing: 0.08em;
  color: #fff;
}

.days-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.day-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--pink);
  transition: transform 0.4s var(--ease-out);
}
.day-card:nth-child(2) { border-top-color: var(--sky); }
.day-card:hover { transform: translateY(-6px); }
.day-card__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--pink);
  line-height: 1;
}
.day-card:nth-child(2) .day-card__num { color: var(--sky); }
.day-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.5rem 0;
}

/* Edition showcase – 4 carduri pe un rând */
.editions-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .editions-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .editions-showcase { grid-template-columns: 1fr; }
}
.edition-card {
  display: block;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
  transform-style: preserve-3d;
}
.edition-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 35px 70px -20px rgba(21, 60, 99, 0.28);
}
.edition-card__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.edition-card__img--logo {
  aspect-ratio: auto;
  background: linear-gradient(160deg, #fff 0%, var(--light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1rem;
  min-height: 170px;
}
.edition-card__img:not(.edition-card__img--logo) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.edition-card__img--logo .edition-logo-img,
.edition-card__img--logo img {
  width: 100%;
  height: 120px;
  max-width: 100%;
  max-height: 120px;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
  transition: transform 0.5s var(--ease-out);
}
.edition-card:hover .edition-card__img--logo .edition-logo-img,
.edition-card:hover .edition-card__img--logo img { transform: scale(1.05); }
.edition-card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.4) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.7s;
}
.edition-card:hover .edition-card__shine { transform: translateX(100%); }

.edition-card__body { padding: 1.15rem 1rem 1.25rem; }
.edition-card__num {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--pink);
  line-height: 1;
}
.edition-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  margin: 0.3rem 0;
  line-height: 1.15;
}
.edition-card__body p {
  font-size: 0.85rem;
  line-height: 1.45;
}
.edition-card__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal);
}

/* Bühne & Show – centrat ca Vision */
.section--live {
  display: flex;
  align-items: center;
  padding-block: clamp(4rem, 7vw, 6rem);
}
.section--live .container {
  width: 100%;
  text-align: center;
}
.section--live .section__label,
.section--live .section__title,
.section--live .section__lead {
  margin-left: auto;
  margin-right: auto;
}
.section--live .section__lead {
  max-width: 560px;
  margin-bottom: 1.5rem;
}

.live-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 0;
  align-items: center;
}
@media (min-width: 992px) {
  .live-showcase {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}
.live-showcase__media {
  display: flex;
  align-items: center;
  justify-content: center;
}
.live-showcase__media img {
  width: 100%;
  border-radius: 16px;
}

.live-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .live-cards { grid-template-columns: 1fr; }
}

.live-card {
  width: 100%;
  text-align: center;
  padding: 1.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.4s var(--ease-out), background 0.4s, box-shadow 0.4s;
}
.live-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}
.live-card__icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  max-width: 56px;
  max-height: 56px;
  border-radius: 14px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}
.live-card__icon svg {
  display: block;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  max-width: 28px;
  max-height: 28px;
  flex-shrink: 0;
}
.live-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
  color: #fff;
}
.live-card p {
  font-size: 1.05rem;
  line-height: 1.55;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.92);
}

/* Vision: imagine stânga, text + carduri centrate vertical */
.section--vision {
  display: flex;
  align-items: center;
  padding-block: clamp(4rem, 7vw, 6rem);
}
.section--vision .container {
  width: 100%;
}
.vision-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .vision-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}
.vision-layout__media {
  display: flex;
  align-items: center;
  justify-content: center;
}
.vision-layout__media img {
  width: 100%;
  border-radius: 16px;
}
.vision-layout__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}
.vision-layout__text {
  width: 100%;
  text-align: center;
}
.vision-layout__text .section__label,
.vision-layout__text .section__title,
.vision-layout__text .section__lead {
  margin-left: auto;
  margin-right: auto;
}
.vision-layout__text .section__lead {
  margin-bottom: 0;
  max-width: 520px;
}
.section--vision .vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  width: 100%;
  max-width: 520px;
}
@media (max-width: 520px) {
  .section--vision .vision-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}
.vision-item {
  text-align: center;
  padding: 1.35rem 1.15rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.35s, background 0.35s;
}
.vision-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12);
}
.vision-item h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}
.vision-item p {
  font-size: 0.9rem;
  opacity: 0.88;
  line-height: 1.45;
}

/* Kontakt & Formular */
.contact-section {
  position: relative;
  overflow: hidden;
  background: #fff;
}
.contact-section__blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.contact-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}
@media (min-width: 900px) {
  .contact-section__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: stretch;
  }
}
.contact-section__left {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.contact-section__left .section__lead {
  margin-bottom: 1.75rem;
}
.contact-section__media {
  min-width: 0;
  display: flex;
  align-items: stretch;
}
@media (min-width: 900px) {
  .contact-section__media {
    position: sticky;
    top: calc(var(--nav-h) + 2rem);
    align-self: start;
  }
}
.contact-section__year {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  line-height: 0.9;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}
.contact-section__left h2 span { color: var(--pink); }
.contact-section__img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 720px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) {
  .contact-section__img {
    min-height: 100%;
  }
}

.contact-section__form-wrap {
  width: 100%;
  min-width: 0;
  margin-top: 0;
}
.contact-form {
  display: block;
  width: 100%;
  max-width: 100%;
  background: var(--light);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(21, 60, 99, 0.08);
  box-sizing: border-box;
  overflow: hidden;
}
@media (min-width: 560px) {
  .contact-form { padding: 2rem; }
}
.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 560px) {
  .contact-form__grid { grid-template-columns: 1fr 1fr; }
}
.contact-form__field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid rgba(21, 60, 99, 0.12);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(11, 120, 151, 0.15);
}
.contact-form__field textarea { resize: vertical; min-height: 140px; }
.contact-form__checkbox {
  margin-top: 0.25rem;
}
.contact-form__checkbox-label {
  display: grid;
  grid-template-columns: 1.125rem 1fr;
  gap: 0.75rem;
  align-items: start;
  cursor: pointer;
  max-width: 100%;
  margin: 0;
}
.contact-form__checkbox-label input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  margin: 0.15rem 0 0;
  flex-shrink: 0;
  accent-color: var(--teal);
}
.contact-form__checkbox-text {
  font-size: 0.8125rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.55;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.contact-form__checkbox-text a {
  color: var(--teal);
  text-decoration: underline;
  word-break: break-all;
}
.contact-form .btn { width: 100%; margin-top: 0.5rem; }
@media (min-width: 480px) {
  .contact-form .btn { width: auto; }
}
.contact-form__alert {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.contact-form__alert--success {
  background: rgba(141, 198, 63, 0.2);
  color: var(--navy);
  border: 1px solid var(--green);
}
.contact-form__alert--error {
  background: rgba(218, 28, 92, 0.1);
  color: var(--navy);
  border: 1px solid var(--pink);
}

/* Legal pages */
.legal-page {
  padding: calc(var(--nav-h) + 3rem) 1.5rem 4rem;
  background: var(--cream);
  min-height: 60vh;
}
.legal-page__inner { max-width: 720px; }
.legal-page__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  color: var(--navy);
  margin-bottom: 2rem;
  letter-spacing: 0.03em;
}
.prose p { margin-bottom: 1rem; line-height: 1.7; color: rgba(21, 60, 99, 0.9); }
.prose strong { color: var(--navy); }
.prose a { color: var(--teal); text-decoration: underline; }
.prose ul { margin: 0 0 1rem 1.25rem; }
.legal-page__back { margin-top: 2.5rem; }
.legal-page__back a {
  font-weight: 700;
  color: var(--pink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* Footer */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.85);
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}
.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 2rem;
  padding-bottom: 0.25rem;
}
.footer__brand {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto 1.75rem;
}
.footer__brand img {
  margin: 0 auto;
  height: 64px;
  width: auto;
  display: block;
}
.footer__tagline {
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  color: var(--sky);
  margin: 0;
  text-align: center;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 1.5rem;
  margin: 0 auto 1.75rem;
  padding: 0 1rem;
  max-width: 900px;
  list-style: none;
}
.footer__legal a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.footer__legal a:hover {
  color: var(--yellow);
  opacity: 1;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  list-style: none;
  margin-bottom: 1.5rem;
}
.footer__links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.8;
}
.footer__links a:hover { opacity: 1; color: var(--yellow); }
.footer__copy { font-size: 0.85rem; opacity: 0.55; }
.footer__dev {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  opacity: 0.7;
}
.footer__version { font-size: 0.7rem; opacity: 0.5; letter-spacing: 0.1em; }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  background: var(--light);
  color: var(--navy);
  margin: 0.25rem 0.25rem 0 0;
}

/* ─── Edition pages ─── */
.page-edition main {
  padding-top: 0;
}

.edition-hero {
  position: relative;
  width: 100%;
  min-height: max(78vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 4rem;
  overflow: hidden;
  background: var(--navy);
}
@media (min-width: 768px) {
  .edition-hero {
    min-height: max(85vh, 720px);
    padding-bottom: 5rem;
  }
}
.edition-hero__art {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.edition-hero__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.9;
}
.edition-hero--spring .edition-hero__mesh {
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(141, 198, 63, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 70%, rgba(251, 176, 64, 0.4) 0%, transparent 50%),
    linear-gradient(145deg, #0d2d4a 0%, #153c63 45%, #1a5a4a 100%);
}
.edition-hero--summer .edition-hero__mesh {
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(251, 176, 64, 0.7) 0%, transparent 52%),
    radial-gradient(ellipse 65% 50% at 20% 75%, rgba(243, 115, 33, 0.5) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255, 220, 80, 0.25) 0%, transparent 50%),
    linear-gradient(165deg, #2a1f06 0%, #153c63 38%, #6b5520 100%);
}
.edition-hero--oktober .edition-hero__mesh {
  background:
    radial-gradient(ellipse 70% 50% at 30% 40%, rgba(243, 115, 33, 0.55) 0%, transparent 52%),
    radial-gradient(ellipse 65% 45% at 90% 60%, rgba(251, 176, 64, 0.45) 0%, transparent 50%),
    linear-gradient(135deg, #1a0f08 0%, #153c63 50%, #4a2808 100%);
}
.edition-hero--winter .edition-hero__mesh {
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(240, 241, 244, 0.25) 0%, transparent 45%),
    radial-gradient(ellipse 60% 50% at 10% 70%, rgba(39, 170, 225, 0.35) 0%, transparent 55%),
    linear-gradient(180deg, #0a1628 0%, #153c63 55%, #1e3a5f 100%);
}
.edition-hero__logo-ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(88vw, 680px);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.16;
  filter: blur(8px) brightness(1.4);
  pointer-events: none;
  animation: editionLogoFloat 12s ease-in-out infinite;
}
@keyframes editionLogoFloat {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.12; }
  50% { transform: translate(-50%, -52%) scale(1.04); opacity: 0.18; }
}
.edition-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: blobFloat 10s ease-in-out infinite;
}
.edition-hero__orb--1 { width: 220px; height: 220px; top: 10%; right: 5%; }
.edition-hero__orb--2 { width: 180px; height: 180px; bottom: 15%; left: 0; animation-delay: -4s; }
.edition-hero__orb--3 { width: 140px; height: 140px; top: 40%; left: 40%; animation-delay: -7s; }
.edition-hero--spring .edition-hero__orb--1 { background: rgba(141, 198, 63, 0.5); }
.edition-hero--spring .edition-hero__orb--2 { background: rgba(251, 176, 64, 0.45); }
.edition-hero--spring .edition-hero__orb--3 { background: rgba(39, 170, 225, 0.3); }
.edition-hero--summer .edition-hero__orb--1 { background: rgba(251, 176, 64, 0.65); }
.edition-hero--summer .edition-hero__orb--2 { background: rgba(243, 115, 33, 0.5); }
.edition-hero--summer .edition-hero__orb--3 { background: rgba(255, 230, 120, 0.45); }
.edition-hero--oktober .edition-hero__orb--1 { background: rgba(243, 115, 33, 0.55); }
.edition-hero--oktober .edition-hero__orb--2 { background: rgba(251, 176, 64, 0.5); }
.edition-hero--oktober .edition-hero__orb--3 { background: rgba(21, 60, 99, 0.6); }
.edition-hero--winter .edition-hero__orb--1 { background: rgba(240, 241, 244, 0.35); }
.edition-hero--winter .edition-hero__orb--2 { background: rgba(39, 170, 225, 0.4); }
.edition-hero--winter .edition-hero__orb--3 { background: rgba(11, 120, 151, 0.45); }
.edition-hero__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.2;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}
.edition-hero__content {
  position: relative;
  z-index: 3;
  color: #fff;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.edition-hero__content.container {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.edition-hero__label {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.15rem);
  letter-spacing: 0.2em;
  color: var(--yellow);
  margin-bottom: 0.75rem;
}
.edition-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
}
.edition-hero__title span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.edition-hero__lead {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  opacity: 0.92;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.55;
}

.edition-content { background: var(--cream); }
.edition-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .edition-grid { grid-template-columns: repeat(3, 1fr); }
}
.edition-block {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--pink);
  transition: transform 0.4s var(--ease-out);
}
.page-edition--spring .edition-block { border-top-color: var(--green); }
.page-edition--summer .edition-block { border-top-color: var(--sky); }
.page-edition--oktober .edition-block { border-top-color: var(--orange); }
.page-edition--winter .edition-block { border-top-color: var(--light); }
.edition-block:hover { transform: translateY(-6px); }
.edition-block h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  color: var(--navy);
}
.edition-block p { margin-bottom: 0.75rem; font-size: 0.95rem; color: rgba(21,60,99,0.85); }
.edition-block__tags { margin-top: 1rem; }

.edition-magazine {
  margin: 3rem 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.edition-magazine img { width: 100%; }

.edition-nav-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.edition-nav-card {
  padding: 1.5rem;
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  transition: transform 0.35s, background 0.35s;
}
.edition-nav-card--next { text-align: right; background: linear-gradient(135deg, var(--teal), var(--navy)); }
.edition-nav-card:hover { transform: translateY(-4px); }
.edition-nav-card__dir {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.35rem;
}
.edition-nav-card__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.05em;
}

/* Mobile */
@media (max-width: 768px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100vh;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: calc(var(--nav-h) + 1.5rem) 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    box-shadow: -12px 0 40px rgba(0,0,0,0.12);
    align-items: flex-start;
  }
  .nav.open .nav__menu { transform: translateX(0); }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav__links > li {
    width: 100%;
    border-bottom: 1px solid rgba(21, 60, 99, 0.08);
  }
  .nav__links > li > a {
    display: block;
    width: 100%;
    padding: 0.85rem 0;
  }
  .nav__item--sub { border-bottom: 1px solid rgba(21, 60, 99, 0.08); }
  .nav__submenu-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 0;
    font-size: 0.8rem;
    color: var(--navy) !important;
  }
  .nav.nav--on-dark .nav__submenu-toggle { color: var(--navy) !important; }
  .nav__item--sub.open .nav__chevron { transform: rotate(180deg); }
  .nav__submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), padding 0.35s;
    background: rgba(21, 60, 99, 0.05);
    border-radius: 10px;
    border: none;
    box-shadow: none;
    margin: 0 0 0.5rem;
    padding: 0 0 0 0.75rem;
    border-left: 3px solid var(--pink);
  }
  .nav__item--sub.open .nav__submenu {
    max-height: 280px;
    padding: 0.35rem 0 0.65rem 0.85rem;
    margin-bottom: 0.65rem;
  }
  .nav__submenu li { margin: 0.15rem 0; }
  .nav__submenu a {
    padding: 0.55rem 0.5rem;
    font-size: 0.85rem;
    color: var(--navy);
  }
  .nav__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: -1;
  }
  .nav.open .nav__overlay { display: block; }
  .edition-nav-cards { grid-template-columns: 1fr; }
  .edition-nav-card--next { text-align: left; }
}

/* ─── Cookie consent ─── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cookie-consent {
  position: fixed;
  inset: 0;
  z-index: 10050;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
}
.cookie-consent[hidden] {
  display: none !important;
}
.cookie-consent.cookie-consent--visible {
  display: flex;
  pointer-events: auto;
}
.cookie-consent__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.45);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}
.cookie-consent.cookie-consent--visible .cookie-consent__backdrop {
  opacity: 1;
}
.cookie-consent__card {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(90vh, 640px);
  overflow-y: auto;
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem 1.35rem;
  box-shadow: 0 24px 60px rgba(10, 22, 40, 0.28);
  border: 1px solid rgba(21, 60, 99, 0.08);
  transform: translateY(1.5rem);
  opacity: 0;
  animation: cookieCardIn 0.45s var(--ease-out) forwards;
}
@keyframes cookieCardIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.cookie-consent-open #particles {
  pointer-events: none;
}

.cookie-consent__settings-top {
  margin: -0.25rem 0 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(21, 60, 99, 0.12);
}
.cookie-consent__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--light);
  border: 2px solid rgba(21, 60, 99, 0.18);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.cookie-consent__back:hover {
  background: #fff;
  border-color: var(--teal);
  color: var(--teal);
}
.cookie-consent__back svg {
  flex-shrink: 0;
}

.cookie-consent__eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--pink);
  margin-bottom: 0.35rem;
}
.cookie-consent__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.cookie-consent__text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(21, 60, 99, 0.88);
  margin-bottom: 1.25rem;
}
.cookie-consent__text--compact {
  margin-bottom: 1rem;
}
.cookie-consent__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.cookie-consent__btn {
  width: 100%;
  font-size: 0.8rem;
  padding: 0.85rem 1.25rem;
}
.cookie-consent__btn--reject {
  background: transparent;
  color: var(--navy);
  border: 2px solid rgba(218, 28, 92, 0.45);
}
.cookie-consent__btn--reject:hover {
  border-color: var(--pink);
  background: rgba(218, 28, 92, 0.06);
  transform: translateY(-2px);
  box-shadow: none;
}
.cookie-consent__hint {
  font-size: 0.78rem;
  text-align: center;
  color: rgba(21, 60, 99, 0.65);
  margin: -0.35rem 0 0.85rem;
  line-height: 1.4;
}
.cookie-consent__btn--ghost {
  background: transparent;
  color: var(--navy);
  border: none;
  opacity: 0.75;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 600;
}
.cookie-consent__btn--ghost:hover {
  opacity: 1;
  transform: none;
  box-shadow: none;
}

.cookie-consent-toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(0.5rem);
  z-index: 10060;
  max-width: min(92vw, 420px);
  padding: 0.85rem 1.25rem;
  background: var(--navy);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(10, 22, 40, 0.35);
  animation: cookieToastIn 0.4s var(--ease-out) forwards;
}
.cookie-consent-toast[hidden] {
  display: none !important;
}
@keyframes cookieToastIn {
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}
.cookie-consent__legal {
  font-size: 0.8rem;
  text-align: center;
}
.cookie-consent__legal a {
  color: var(--teal);
  font-weight: 600;
}
.cookie-consent__legal a:hover {
  color: var(--pink);
}

.cookie-consent__categories {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cookie-consent__category {
  position: relative;
  padding: 1rem 3.25rem 1rem 1rem;
  background: var(--light);
  border-radius: 14px;
  border: 1px solid rgba(21, 60, 99, 0.08);
}
.cookie-consent__category p {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(21, 60, 99, 0.78);
  margin-top: 0.25rem;
}
.cookie-consent__category-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.cookie-consent__category-head strong {
  font-size: 0.95rem;
  color: var(--navy);
}
.cookie-consent__badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 50px;
  background: rgba(141, 198, 63, 0.25);
  color: var(--navy);
}
.cookie-consent__toggle {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  cursor: pointer;
}
.cookie-consent__toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-consent__toggle-ui {
  display: block;
  width: 46px;
  height: 26px;
  border-radius: 50px;
  background: rgba(21, 60, 99, 0.2);
  transition: background 0.25s;
  position: relative;
}
.cookie-consent__toggle-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s var(--ease-out);
}
.cookie-consent__toggle input:checked + .cookie-consent__toggle-ui {
  background: var(--teal);
}
.cookie-consent__toggle input:checked + .cookie-consent__toggle-ui::after {
  transform: translateX(20px);
}
.cookie-consent__toggle--locked {
  cursor: not-allowed;
  opacity: 0.85;
}
.cookie-consent__toggle--locked .cookie-consent__toggle-ui {
  background: var(--green);
}
.cookie-consent__toggle--locked .cookie-consent__toggle-ui::after {
  transform: translateX(20px);
}

@media (min-width: 520px) {
  .cookie-consent {
    align-items: center;
    padding: 1.5rem;
  }
  .cookie-consent__card {
    padding: 1.75rem 1.65rem;
  }
  .cookie-consent__actions--settings,
  .cookie-consent__actions:not(.cookie-consent__actions--settings) {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .cookie-consent__btn {
    width: auto;
    flex: 1 1 auto;
  }
  .cookie-consent__btn--reject {
    flex: 1 1 100%;
  }
}
