/* ============ BASE ============ */
:root {
  --bg: #EEF2F4;
  --surface: #FFFFFF;
  --ink: #2B2D42;
  --muted: #8D99AE;
  --line: #DDE3E9;
  --accent: #D80032;
  --accent-hover: #B4002A;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

.hero-container {
  width: 100%;
  max-width: 1480px;
}

@media (min-width: 1800px) {
  .hero-container {
    max-width: 1540px;
  }
}

@media (min-width: 2200px) {
  .hero-container {
    max-width: 1680px;
  }
}

/* The 1440px container (set in tailwind-config.js) looks right on laptop and
   standard desktop widths, but leaves growing empty margins on large and
   ultra-wide monitors. Step it up progressively rather than capping it hard. */
@media (min-width: 1800px) {
  .max-w-container {
    max-width: 1680px;
  }
}

@media (min-width: 2200px) {
  .max-w-container {
    max-width: 1920px;
  }
}



.redtext {
  color: var(--accent);
}

.brand-mark-img {
  display: block;
  object-fit: contain;
}

.header-logo-img {
  display: block;
  height: 42px;
  width: auto;
  transition: transform 300ms var(--ease);
}

.header-logo-img:hover {
  transform: scale(1.045);
}

.header-logo-img-mobile {
  height: 34px;
}

.footer-logo-img {
  display: block;
  height: 30px;
  width: auto;
  transition: transform 300ms var(--ease), filter 300ms var(--ease);
}

.footer-logo-img:hover {
  transform: scale(1.04);
  filter: brightness(1.15);
}

body {
  overflow-x: hidden;
}

::selection {
  background: var(--ink);
  color: #fff;
}

/* ============ TYPE SCALE ============ */
.hero-headline {
  font-size: 44px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
  .hero-headline {
    font-size: 72px;
    line-height: 1.1;
  }
}

.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
}

@media (min-width: 1024px) {
  .hero-sub {
    font-size: 19px;
  }
}

.h2 {
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.015em;
}

@media (min-width: 1024px) {
  .h2 {
    font-size: 48px;
    line-height: 1.17;
  }
}

.h3 {
  display: inline-block;
  font-size: 14px;
  line-height: 1.3;
  font-weight: lighter;
  text-transform: uppercase;
  letter-spacing: 0px;
  color: var(--accent);
  background: transparent;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  padding: 4px 14px;
}

@media (min-width: 1024px) {
  .h3 {
    font-size: 15px;
    line-height: 1.33;
  }
}

.body-text {
  font-size: 16px;
  line-height: 1.65;
}

@media (min-width: 1024px) {
  .body-text {
    font-size: 18px;
    line-height: 1.7;
  }
}

.small-text {
  font-size: 13.5px;
  line-height: 1.55;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

/* ============ LAYOUT / SECTION SPACING ============ */
.section-space {
  padding-top: 64px;
  padding-bottom: 64px;
}

@media (min-width: 768px) {
  .section-space {
    padding-top: 88px;
    padding-bottom: 88px;
  }
}

@media (min-width: 1280px) {
  .section-space {
    padding-top: 112px;
    padding-bottom: 112px;
  }
}

/* ============ HEADER ============ */
#site-header {
  position: sticky;
  top: 0;
  background: rgba(247, 247, 245, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 250ms var(--ease), box-shadow 250ms var(--ease);
}

#site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -24px rgba(43, 45, 66, 0.25);
}

#site-header .header-mark,
#site-header a,
#site-header nav a {
  color: var(--ink);
}

#site-header .header-sub {
  color: var(--muted);
}

/* Higher-specificity overrides so buttons keep their own colors inside the header */
#site-header .btn-pill-dark {
  color: #fff;
}

#site-header .icon-btn {
  color: var(--ink);
}

#site-header .icon-btn:hover {
  color: #fff;
}

#site-header .nav-link {
  color: var(--muted);
}

#site-header .nav-link:hover {
  color: var(--ink);
}

#site-header .nav-link-active {
  color: var(--accent);
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 250ms var(--ease), border-color 250ms var(--ease), transform 250ms var(--ease), box-shadow 250ms var(--ease);
}

.icon-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 24px -14px rgba(216, 0, 50, 0.5);
}

.nav-link {
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms var(--ease);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link-active {
  color: var(--accent);
}

.nav-link-active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(1);
}

.mobile-menu-panel {
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  transition: opacity 320ms var(--ease), transform 320ms var(--ease), visibility 0s linear 320ms;
  z-index: 70;
}

.mobile-menu-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 320ms var(--ease), transform 320ms var(--ease), visibility 0s linear 0s;
}

.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.mobile-link-active {
  color: var(--accent);
}

.mobile-link i {
  color: var(--muted);
  transition: transform 200ms var(--ease), color 200ms var(--ease);
}

.mobile-link:hover i {
  color: var(--ink);
  transform: translate(2px, -2px);
}

.mobile-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
}

#menu-close {
  color: var(--ink);
}

/* ============ BUTTONS ============ */
.btn-pill-dark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-size: 14.5px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 999px;
  overflow: hidden;
  transition: background 250ms var(--ease), transform 250ms var(--ease), box-shadow 250ms var(--ease);
}

.btn-pill-dark::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: left 650ms var(--ease);
}

.btn-pill-dark:hover::after {
  left: 125%;
}

.btn-pill-dark:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -14px rgba(216, 0, 50, 0.45);
}

.btn-pill-dark:active {
  transform: translateY(-1px);
}

.btn-pill-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 999px;
  transition: background 250ms var(--ease), transform 250ms var(--ease), box-shadow 250ms var(--ease);
}

.btn-pill-light:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -14px rgba(43, 45, 66, 0.35);
}

.btn-pill-light:active {
  transform: translateY(-1px);
}

.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: border-color 250ms var(--ease), background 250ms var(--ease), transform 250ms var(--ease), box-shadow 250ms var(--ease);
}

.btn-pill-outline:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -16px rgba(216, 0, 50, 0.35);
}

.btn-pill-outline:active {
  transform: translateY(-1px);
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
  width: fit-content;
}

.cta-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms var(--ease);
}

.cta-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.cta-arrow {
  display: inline-block;
  transition: transform 250ms var(--ease);
}

.cta-link:hover .cta-arrow {
  transform: translateX(4px);
}

/* ============ HERO ============ */
.hero-shell {
  background: #2B2D42;
  min-height: calc(100vh - 104px);
  min-height: calc(100svh - 104px);
}

@media (min-width: 1024px) {
  .hero-shell {
    min-height: calc(100vh - 112px);
    min-height: calc(100svh - 112px);
  }
}

/*
.hero-media img {
  transform: scale(1.08);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .32) 46%, rgba(0, 0, 0, .14) 100%);
}*/

.hero-media {
  background: #111;
}

.hero-media .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  filter: grayscale(100%) contrast(1.05);
  transition:
    opacity 1.8s ease-in-out,
    transform 7s ease-out;
  will-change: opacity, transform;
}

.hero-media .hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.62) 0%,
      rgba(0, 0, 0, 0.32) 46%,
      rgba(0, 0, 0, 0.14) 100%);
}

/* ============ STAT CARDS — glassmorphism ============ */
.stat-card {
  position: relative;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  padding: 28px 24px;
  overflow: hidden;
  box-shadow: 0 8px 30px -18px rgba(43, 45, 66, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), background 300ms var(--ease);
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 55%);
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 46px -20px rgba(43, 45, 66, 0.22), 0 20px 50px -28px rgba(216, 0, 50, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.stat-number {
  position: relative;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 14px;
}

.stat-icon {
  position: relative;
  width: 20px;
  height: 20px;
  color: var(--muted);
  transition: color 250ms var(--ease), transform 300ms var(--ease);
}

.stat-card:hover .stat-icon {
  color: var(--ink);
  transform: scale(1.08) rotate(-4deg);
}

.stat-label {
  position: relative;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 6px;
}

/* ============ LOGOS MARQUEE ============ */
.marquee-mask {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 136s linear infinite;
}

/*

.marquee-mask:hover .marquee-track {
  animation-play-state: paused;
}
*/
/* Four identical, self-contained groups (items + matching trailing gap) placed back-to-back.
   With enough repeated copies the visible viewport is always fully covered with content —
   translateX(-25%) always lines up exactly on a group boundary, so it loops forever with
   no jump and no empty gap, regardless of screen width. */
.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 64px;
  padding-right: 64px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-25%);
  }
}

.logo-item {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  opacity: 0.5;
  filter: grayscale(1);
  transition: opacity 200ms var(--ease);
}

.logo-item:hover {
  opacity: 1;
}

.marquee-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
}

.marquee-logo-img {
  height: 100%;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.5;
  transition: 0.4s ease;
  transition:
    opacity 200ms var(--ease),
    filter 200ms var(--ease),
    transform 200ms var(--ease);
}

.marquee-logo-link:hover .marquee-logo-img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.3);
  transition: 0.4s ease;
}

/* ============ PROPERTY CARDS ============ */
.property-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 8px 30px -18px rgba(43, 45, 66, 0.15);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -25px rgba(43, 45, 66, 0.25), 0 20px 46px -26px rgba(216, 0, 50, 0.18);
}

.property-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
  filter: saturate(0.85);
}

.property-card:hover .property-media img {
  transform: scale(1.05);
}

.property-body {
  position: relative;
  padding: 24px 24px 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 40%);
}

.property-body i[data-lucide] {
  color: var(--ink);
}

/* ============ PROCESS / TIMELINE ============ */
.process-media-wrap {
  border-radius: 32px;
  overflow: hidden;
  min-height: 420px;
}

.process-media {
  width: 100%;
  height: 100%;
  min-height: 420px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  filter: saturate(0.9);
}

.process-media-titanium-chain {
  background-image: url('../imgs/structure-titanium-value-chain.jpg');
}

.process-media-sparks {
  background-image: url('../imgs/photo-1647586028042-1de4d4a935e6.jpg');
}

@media (max-width: 767px) {

  /* background-attachment: fixed is unreliable on mobile browsers (especially iOS
     Safari) and can cause jank or rendering glitches, so scroll normally there. */
  .process-media {
    background-attachment: scroll;
  }
}

.timeline {
  position: relative;
}

.timeline-step {
  display: flex;
  gap: 20px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.timeline-step:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.timeline-marker {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(150deg, #3D4060, #2B2D42);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 8px 16px -8px rgba(43, 45, 66, 0.4);
  transition: transform 300ms var(--ease);
}

.timeline-step:hover .timeline-marker {
  transform: scale(1.06) rotate(-4deg);
}

/* ============ FINAL CTA — glassmorphism ============ */
.final-cta {
  position: relative;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 40px;
  padding: 48px 24px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(43, 45, 66, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 55%);
  pointer-events: none;
}

.final-cta>* {
  position: relative;
}

@media (min-width: 1024px) {
  .final-cta {
    padding: 72px;
  }
}

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: #fff;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 40px;
}

.footer-logo-wrap {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: stretch;
  min-height: 260px;
  margin-right: 10%;
}

@media (min-width: 768px) {
  .footer-logo-wrap {
    display: flex;
  }
}

.footer-logo-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: footerLogoFloat 5s ease-in-out infinite;
}


.footer-logo-float {
  width: 320px;
  height: auto;
  filter:
    drop-shadow(0 0 30px rgba(255, 255, 255, 0.16)) drop-shadow(0 0 22px rgba(216, 0, 50, 0.4));
}

.footer-logo-stack .footer-eu-flag {
  width: 460px;
  max-width: 100%;
  height: auto;
}

@keyframes footerLogoFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}



.footer-eyebrow {
  color: rgba(255, 255, 255, 0.45);
}

.footer-mark {
  color: #fff;
  display: inline-flex;
}

.footer-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 6px 14px 6px 12px;
  transition: background 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease);
}

.footer-linkedin-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.footer-grid {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-heading {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}

.footer-link {
  display: block;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.75);
  padding: 6px 0;
  transition: color 200ms var(--ease);
  width: fit-content;
}

.footer-link:hover {
  color: #fff;
}

.footer-link-icon {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 200ms var(--ease);
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.footer-copyright strong {
  color: var(--accent);
  font-weight: 700;
}

.footer-project-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: #fff;
  border: 1px solid #fff;
  border-radius: 999px;
  padding: 5px 14px;
  width: fit-content;
}

.footer-brand-strip {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 0 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
}

@media (min-width: 640px) {
  .footer-bottom-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-eu-flag {
  display: block;
  max-width: 100%;
  width: 280px;
  height: auto;
}

/* ============ PAGE HERO (interior pages) ============ */
.page-hero {
  background: #2B2D42;
  min-height: 480px;
}

@media (min-width: 1024px) {
  .page-hero {
    min-height: 560px;
  }
}

.page-hero-headline {
  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.015em;
}

@media (min-width: 1024px) {
  .page-hero-headline {
    font-size: 46px;
    line-height: 1.15;
  }
}

.eyebrow-pill {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 7px 14px;
  border-radius: 999px;
}

/* ============ INFO CARDS (objectives / impact / innovation / facts) — glassmorphism ============ */
.info-card {
  position: relative;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  padding: 28px;
  overflow: hidden;
  box-shadow: 0 8px 30px -18px rgba(43, 45, 66, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), background 300ms var(--ease);
}

.info-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 55%);
  pointer-events: none;
}

.info-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 46px -20px rgba(43, 45, 66, 0.22), 0 20px 50px -28px rgba(216, 0, 50, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.info-card-icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(150deg, var(--accent), var(--accent-hover));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 8px 16px -8px rgba(216, 0, 50, 0.35);
  transition: transform 300ms var(--ease);
}

.info-card:hover .info-card-icon {
  transform: scale(1.06) rotate(-4deg);
}

.info-card-title {
  position: relative;
  display: inline-block;
  font-size: 14px;
  font-weight: lighter;
  text-transform: uppercase;
  letter-spacing: 0px;
  color: var(--accent);
  background: transparent;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 10px;
}

.info-card-text {
  position: relative;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ============ MINI STATS (implementation) — glass chips ============ */
.mini-stat {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 16px 10px;
  text-align: center;
  box-shadow: 0 8px 24px -16px rgba(43, 45, 66, 0.16);
  transition: transform 250ms var(--ease), background 250ms var(--ease);
}

.mini-stat:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.75);
}

.mini-stat-number {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.mini-stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* ============ CHECKLIST — glass chip rows ============ */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  padding: 12px 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 220ms var(--ease), background 220ms var(--ease);
}

.checklist li:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.7);
}

.checklist li i {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  padding: 4px;
}

/* ============ SECTION DIVIDER ============ */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.section-divider-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.7;
  margin: 0 16px;
  flex-shrink: 0;
}

/* ============ SECTION NAV (fixed left dot navigation) ============ */
.section-nav {
  position: fixed;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: none;
  flex-direction: column;
  transition: opacity 300ms var(--ease), visibility 0s linear 0s;
}

@media (min-width: 1614px) {
  .section-nav {
    display: flex;
  }
}

.section-nav.is-hidden-footer {
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms var(--ease), visibility 0s linear 300ms;
}

.section-nav-list {
  position: relative;
  display: flex;
  flex-direction: column;
}

.section-nav-line {
  position: absolute;
  left: 3px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--line);
}

.section-nav-fill {
  position: absolute;
  left: 3px;
  top: 10px;
  width: 1px;
  height: 0%;
  background: var(--accent);
  transition: height 400ms var(--ease);
}

.section-nav-dot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
}

.section-nav-dot-mark {
  position: relative;
  z-index: 1;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: all 250ms var(--ease);
}

.section-nav-dot.active .section-nav-dot-mark {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.4);
}

.section-nav-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 250ms var(--ease), transform 250ms var(--ease), color 250ms var(--ease);
  white-space: nowrap;
  pointer-events: none;
}

.section-nav-dot:hover .section-nav-label,
.section-nav-dot.active .section-nav-label {
  opacity: 1;
  transform: translateX(0);
}

.section-nav-dot.active .section-nav-label {
  color: var(--ink);
}

/* ============ CONSORTIUM VERTICAL LOGO ============ */
.consortium-logo-wrap {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

@media (min-width: 1024px) {
  .consortium-logo-wrap {
    display: flex;
  }
}

.consortium-logo-float {
  width: 510px;
  max-width: 100%;
  height: auto;
  position: relative;
  animation: consortiumLogoFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 0 32px rgba(43, 45, 66, 0.28)) drop-shadow(0 0 14px rgba(216, 0, 50, 0.16));
  transition: transform 0.4s ease, filter 0.4s ease;
}

@keyframes consortiumLogoFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

/* ============ PARTNER ACCORDION (Consortium) ============ */
.accordion-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

@media (min-width: 1024px) {
  .accordion-list {
    grid-template-columns: 1fr 1fr;
  }
}

.accordion-item {
  position: relative;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 30px -18px rgba(43, 45, 66, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: box-shadow 300ms var(--ease), background 300ms var(--ease);
}

.accordion-item.is-open {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 40px -20px rgba(43, 45, 66, 0.2), 0 16px 36px -24px rgba(216, 0, 50, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.accordion-item.is-coordinator {
  border-color: rgba(216, 0, 50, 0.18);
}

.accordion-header {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 132px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.accordion-logo {
  flex-shrink: 0;
  width: 155px;
  height: auto;
  max-height: 92px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.accordion-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
  transition: filter 250ms var(--ease), opacity 250ms var(--ease);
}

.accordion-item.is-open .accordion-logo img,
.accordion-item:hover .accordion-logo img {
  filter: grayscale(0);
  opacity: 1;
}

.accordion-info {
  flex: 1;
  min-width: 0;
}

.accordion-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.accordion-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.accordion-role {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 3px;
}

.partner-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(43, 45, 66, 0.06);
  padding: 4px 10px;
  border-radius: 999px;
}

.partner-tag-coordinator {
  color: #fff;
  background: var(--accent);
}

.partner-tag-available {
  color: #fff;
  background: var(--ink);
}

/* ============ RESOURCES ACCORDION (icon instead of logo) ============ */
.resource-icon-box {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: linear-gradient(150deg, var(--accent), var(--accent-hover));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 8px 16px -8px rgba(216, 0, 50, 0.35);
  transition: transform 300ms var(--ease);
}

.accordion-item:hover .resource-icon-box {
  transform: scale(1.06) rotate(-4deg);
}

.resources-accordion .accordion-name {
  display: inline-block;
  font-size: 14px;
  font-weight: lighter;
  text-transform: uppercase;
  letter-spacing: 0px;
  color: var(--accent);
  background: transparent;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  padding: 4px 14px;
}

.resources-accordion .accordion-desc {
  padding-left: 104px;
}

.resources-accordion .accordion-body-inner .cta-link {
  margin-left: 104px;
}

.resources-accordion .accordion-body-inner .small-text {
  display: block;
  padding: 0 24px 22px 104px;
  color: var(--muted);
}

@media (max-width: 1023px) {
  .resources-accordion .accordion-desc {
    padding-left: 24px;
  }

  .resources-accordion .accordion-body-inner .cta-link {
    margin-left: 24px;
  }

  .resources-accordion .accordion-body-inner .small-text {
    padding-left: 24px;
  }
}

.accordion-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: rgba(43, 45, 66, 0.05);
  transition: transform 300ms var(--ease), background 250ms var(--ease), color 250ms var(--ease);
}

.accordion-header:hover .accordion-icon {
  background: rgba(43, 45, 66, 0.1);
  color: var(--ink);
}

.accordion-item.is-open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 380ms var(--ease);
}

.accordion-item.is-open .accordion-body {
  grid-template-rows: 1fr;
}

.accordion-body-inner {
  overflow: hidden;
  min-height: 0;
}

.accordion-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  padding: 0 24px 22px 199px;
}

.accordion-body-inner .cta-link {
  margin: 0 24px 22px 199px;
}

@media (max-width: 1023px) {

  .accordion-desc,
  .accordion-body-inner .cta-link {
    padding-left: 24px;
    margin-left: 24px;
  }
}

/* ============ COMING SOON (Resources placeholder) ============ */
.coming-soon-intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.coming-soon-icon-cluster {
  position: relative;
  width: 140px;
  height: 100px;
  margin: 0 auto 28px;
}

.coming-soon-icon-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: linear-gradient(150deg, var(--accent), var(--accent-hover));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 10px 20px -8px rgba(216, 0, 50, 0.4);
  z-index: 2;
  animation: comingSoonPulse 3.2s ease-in-out infinite;
}

.coming-soon-icon-orbit {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px -10px rgba(43, 45, 66, 0.25);
  animation: comingSoonFloat 5s ease-in-out infinite;
}

.coming-soon-icon-orbit-1 {
  left: 0;
  top: 6px;
  animation-delay: 0s;
}

.coming-soon-icon-orbit-2 {
  right: 4px;
  top: 0;
  animation-delay: 0.6s;
}

.coming-soon-icon-orbit-3 {
  left: 14px;
  bottom: 0;
  animation-delay: 1.2s;
}

@keyframes comingSoonPulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.06);
  }
}

@keyframes comingSoonFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.coming-soon-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 28px;
}

.coming-soon-progress-bar {
  width: 180px;
  height: 4px;
  border-radius: 999px;
  background: rgba(43, 45, 66, 0.08);
  overflow: hidden;
}

.coming-soon-progress-bar span {
  display: block;
  height: 100%;
  width: 55%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  animation: comingSoonProgress 2.6s ease-in-out infinite;
}

@keyframes comingSoonProgress {

  0%,
  100% {
    width: 40%;
  }

  50% {
    width: 68%;
  }
}

/* ============ GHOST CARDS (Resources preview) ============ */
.ghost-card {
  position: relative;
  background: rgba(255, 255, 255, 0.35);
  border: 1.5px dashed rgba(43, 45, 66, 0.16);
  border-radius: 24px;
  padding: 26px 22px;
  text-align: left;
  transition: transform 250ms var(--ease), background 250ms var(--ease), border-color 250ms var(--ease);
}

.ghost-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(43, 45, 66, 0.3);
}

.ghost-card-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(43, 45, 66, 0.06);
  padding: 4px 10px;
  border-radius: 999px;
}

.ghost-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(43, 45, 66, 0.06);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.ghost-card-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--muted);
}

.ghost-card-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  opacity: 0.85;
}

/* ============ NEWS CARDS ============ */
/* ============ DEMONSTRATOR CARDS (Overview) ============ */
.demo-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 8px 30px -18px rgba(43, 45, 66, 0.15);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}

.demo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -25px rgba(43, 45, 66, 0.22), 0 20px 46px -26px rgba(216, 0, 50, 0.18);
}

.demo-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.demo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 500ms var(--ease);
}

.demo-card:hover .demo-media img {
  transform: scale(1.06);
}

.demo-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.demo-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 6px 12px;
  border-radius: 999px;
}

.demo-body {
  padding: 22px 22px 26px;
}

.demo-title {
  display: inline-block;
  font-size: 14px;
  font-weight: lighter;
  text-transform: uppercase;
  letter-spacing: 0px;
  color: var(--accent);
  background: transparent;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 10px;
}

.demo-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.news-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 8px 30px -18px rgba(43, 45, 66, 0.15);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -24px rgba(43, 45, 66, 0.22), 0 18px 40px -26px rgba(216, 0, 50, 0.2);
}

.news-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform 500ms var(--ease);
}

.news-card:hover .news-media img {
  transform: scale(1.05);
}

.news-body {
  position: relative;
  padding: 22px 22px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 40%);
}

.news-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(43, 45, 66, 0.06);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.news-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 8px;
}

.news-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 18px;
}

.news-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 10px 18px;
  border-radius: 999px;
  transition: background 220ms var(--ease), transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.news-card:hover .news-cta-btn {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 22px -12px rgba(216, 0, 50, 0.5);
}

.news-cta-btn .cta-arrow {
  transition: transform 250ms var(--ease);
}

.news-card:hover .news-cta-btn .cta-arrow {
  transform: translateX(4px);
}

/* ============ CONTACT MODAL ============ */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms var(--ease), visibility 0s linear 300ms;
}

.contact-modal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 300ms var(--ease), visibility 0s linear 0s;
}

.contact-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(43, 45, 66, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.contact-modal-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  max-width: 560px;
  width: min(94vw, 560px);
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateY(24px) scale(0.98);
  opacity: 0;
  transition: transform 350ms var(--ease), opacity 350ms var(--ease);
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.45);
  scrollbar-width: thin;
  scrollbar-color: rgba(43, 45, 66, 0.25) transparent;
}

.contact-modal-panel::-webkit-scrollbar {
  width: 8px;
}

.contact-modal-panel::-webkit-scrollbar-track {
  background: transparent;
}

.contact-modal-panel::-webkit-scrollbar-thumb {
  background-color: rgba(43, 45, 66, 0.2);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.contact-modal.is-open .contact-modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.contact-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}

.contact-modal-close:hover {
  background: var(--accent);
  color: #fff;
  transform: rotate(90deg);
}

.contact-modal-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px 35px;
  background: linear-gradient(150deg, #34374f 0%, var(--ink) 60%, #1c1e30 100%);
  overflow: hidden;
}

.contact-modal-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.contact-modal-glow-1 {
  width: 220px;
  height: 220px;
  top: -80px;
  left: -60px;
  background: radial-gradient(circle, rgba(216, 0, 50, 0.5) 0%, rgba(216, 0, 50, 0) 70%);
  animation: contactGlowFloat 6s ease-in-out infinite;
}

.contact-modal-glow-2 {
  width: 200px;
  height: 200px;
  bottom: -90px;
  right: -50px;
  background: radial-gradient(circle, rgba(141, 153, 174, 0.4) 0%, rgba(141, 153, 174, 0) 70%);
  animation: contactGlowFloat 7s ease-in-out infinite reverse;
}

@keyframes contactGlowFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(14px, -10px) scale(1.08);
  }
}


.contact-modal-logo {
  position: relative;
  z-index: 1;
  height: 60px;
  width: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

.contact-modal-body {
  position: relative;
  padding: 32px 36px 36px;
}

.contact-modal-sub {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 6px;
  margin-bottom: 26px;
}

.contact-form .form-group {
  margin-bottom: 18px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-input-wrap {
  position: relative;
}

.form-input-icon {
  position: absolute;
  top: 14px;
  left: 14px;
  color: var(--muted);
  pointer-events: none;
  transition: color 200ms var(--ease);
}

.form-input-wrap-textarea .form-input-icon {
  top: 14px;
}

.form-input-wrap:focus-within .form-input-icon {
  color: var(--accent);
}

.form-input {
  width: 100%;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: rgba(43, 45, 66, 0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px 12px 42px;
  transition: border-color 200ms var(--ease), background 200ms var(--ease), box-shadow 200ms var(--ease);
}

.form-input::placeholder {
  color: var(--muted);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(216, 0, 50, 0.12);
}

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

.captcha-error {
  display: block;
  font-size: 12.5px;
  color: var(--accent);
  margin-top: 6px;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

/* ============ NEWS MODAL ============ */
.news-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms var(--ease), visibility 0s linear 300ms;
}

.news-modal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 300ms var(--ease), visibility 0s linear 0s;
}

.news-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(43, 45, 66, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.news-modal-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 36px;
  max-width: 1240px;
  width: min(96vw, 1240px);
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateY(24px) scale(0.98);
  opacity: 0;
  transition: transform 350ms var(--ease), opacity 350ms var(--ease);
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.45);
  scrollbar-width: thin;
  scrollbar-color: rgba(43, 45, 66, 0.25) transparent;
}

.news-modal-panel::-webkit-scrollbar {
  width: 8px;
}

.news-modal-panel::-webkit-scrollbar-track {
  background: transparent;
}

.news-modal-panel::-webkit-scrollbar-thumb {
  background-color: rgba(43, 45, 66, 0.2);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.news-modal-panel::-webkit-scrollbar-thumb:hover {
  background-color: rgba(43, 45, 66, 0.35);
  background-clip: padding-box;
}

.news-modal.is-open .news-modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.news-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.3);
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}

.news-modal-close:hover {
  background: #fff;
  transform: rotate(90deg);
}

.news-modal-media {
  position: relative;
  aspect-ratio: 16/8;
  overflow: hidden;
}

.news-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
}

.news-modal-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

.news-modal-tag {
  position: absolute;
  left: 28px;
  bottom: 24px;
  z-index: 1;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(43, 45, 66, 0.5);
  backdrop-filter: blur(10px);
  padding: 7px 14px;
  border-radius: 999px;
}

.news-modal-body {
  position: relative;
  padding: 40px 44px 44px;
}

.news-modal-body::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 45, 66, 0.05) 0%, rgba(43, 45, 66, 0) 70%);
  pointer-events: none;
}

.news-modal-byline {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-modal-byline-mark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.news-modal-byline-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.news-modal-date {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.news-modal-byline .news-modal-date::before {
  content: '·';
  margin-right: 10px;
  color: var(--line);
}

.news-modal-title {
  position: relative;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 14px;
  margin-bottom: 24px;
  max-width: 48ch;
}

.news-modal-text {
  position: relative;
  max-width: 100%;
}

.news-modal-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 18px;
}

.news-modal-text p:first-of-type {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.6;
}

.news-modal-footer {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

@media (max-width: 640px) {
  .news-modal-body {
    padding: 28px 24px 32px;
  }

  .news-modal-title {
    font-size: 24px;
  }
}

.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(247, 247, 245, 0.9);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}

.mobile-cta-btn {
  flex: 1;
  text-align: center;
  padding: 13px 0;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
}

.mobile-cta-primary {
  background: var(--accent);
  color: #fff;
}

.mobile-cta-secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

/* ============ SCROLL REVEAL ============ */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

/* ============ AMBIENT GLOW ORBS ============ */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.glow-orb-about {
  width: 460px;
  height: 460px;
  top: -140px;
  right: -160px;
  background: radial-gradient(circle, rgba(43, 45, 66, 0.14) 0%, rgba(43, 45, 66, 0) 72%);
}

.glow-orb-catalog {
  width: 500px;
  height: 500px;
  bottom: -200px;
  left: -180px;
  background: radial-gradient(circle, rgba(43, 45, 66, 0.12) 0%, rgba(43, 45, 66, 0) 72%);
}

.glow-orb-process {
  width: 440px;
  height: 440px;
  top: 15%;
  right: -180px;
  background: radial-gradient(circle, rgba(216, 0, 50, 0.1) 0%, rgba(216, 0, 50, 0) 72%);
}

.glow-orb-cta {
  width: 560px;
  height: 560px;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(216, 0, 50, 0.09) 0%, rgba(216, 0, 50, 0) 72%);
}

/* Secondary complementary orbs — smaller, opposite tone, opposite corner */
.glow-orb-about-2 {
  width: 260px;
  height: 260px;
  bottom: -80px;
  left: -100px;
  background: radial-gradient(circle, rgba(216, 0, 50, 0.1) 0%, rgba(216, 0, 50, 0) 72%);
}

.glow-orb-catalog-2 {
  width: 240px;
  height: 240px;
  top: -60px;
  right: -80px;
  background: radial-gradient(circle, rgba(216, 0, 50, 0.1) 0%, rgba(216, 0, 50, 0) 72%);
}

.glow-orb-process-2 {
  width: 240px;
  height: 240px;
  bottom: 10%;
  left: -90px;
  background: radial-gradient(circle, rgba(43, 45, 66, 0.11) 0%, rgba(43, 45, 66, 0) 72%);
}

.glow-orb-cta-2 {
  width: 280px;
  height: 280px;
  bottom: -90px;
  right: 8%;
  background: radial-gradient(circle, rgba(43, 45, 66, 0.1) 0%, rgba(43, 45, 66, 0) 72%);
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-16px, 20px);
  }
}

.glow-orb-about,
.glow-orb-catalog,
.glow-orb-process {
  animation: orbFloat 14s ease-in-out infinite;
}

.glow-orb-about-2,
.glow-orb-catalog-2 {
  animation: orbFloat 11s ease-in-out infinite reverse;
}

.glow-orb-process-2,
.glow-orb-cta-2 {
  animation: orbFloat 16s ease-in-out infinite;
  animation-delay: 1.5s;
}

/* ============ PRELOADER ============ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: linear-gradient(160deg, #F4F6F8 0%, var(--bg) 60%, #E9EDF1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 500ms var(--ease), visibility 0s linear 500ms;
}

#preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.preloader-glow-1 {
  width: 460px;
  height: 460px;
  top: -140px;
  left: -120px;
  background: radial-gradient(circle, rgba(216, 0, 50, 0.16) 0%, rgba(216, 0, 50, 0) 70%);
  animation: preloaderGlowFloat 6s ease-in-out infinite;
}

.preloader-glow-2 {
  width: 420px;
  height: 420px;
  bottom: -160px;
  right: -100px;
  background: radial-gradient(circle, rgba(43, 45, 66, 0.16) 0%, rgba(43, 45, 66, 0) 70%);
  animation: preloaderGlowFloat 7s ease-in-out infinite reverse;
}

@keyframes preloaderGlowFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(20px, -16px) scale(1.08);
  }
}

.preloader-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.preloader-ring {
  position: relative;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-ring-spin {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0%, var(--accent) 18%, transparent 36%, transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  animation: preloaderSpin 1.6s linear infinite;
}

.preloader-ring::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 10px 30px -14px rgba(43, 45, 66, 0.3);
}

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

.preloader-mark {
  position: relative;
  z-index: 1;
  color: var(--ink);
  animation: preloaderPulse 2.4s ease-in-out infinite;
}

@keyframes preloaderPulse {

  0%,
  100% {
    opacity: 0.85;
    transform: scale(0.97);
  }

  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

.preloader-bar {
  width: 150px;
  height: 3px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--accent), var(--ink));
  border-radius: 999px;
  animation: preloaderBar 1.3s ease-in-out infinite;
}

@keyframes preloaderBar {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(350%);
  }
}

.preloader-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  animation: preloaderLabelFade 1.8s ease-in-out infinite;
}

@keyframes preloaderLabelFade {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /*.hero-media img {
    transform: none !important;
  }*/

  .hero-media .hero-slide {
    transition: none !important;
    transform: none !important;
  }

  .hero-media .hero-slide:not(:first-child) {
    display: none;
  }

  html {
    scroll-behavior: auto;
  }

  .marquee-track {
    animation: none !important;
  }

  .glow-orb-about,
  .glow-orb-catalog,
  .glow-orb-process,
  .glow-orb-about-2,
  .glow-orb-catalog-2,
  .glow-orb-process-2,
  .glow-orb-cta-2 {
    animation: none !important;
  }

  .consortium-logo-float {
    animation: none !important;
  }

  .footer-logo-float {
    animation: none !important;
  }

  .footer-logo-stack {
    animation: none !important;
  }

  .contact-modal-glow-1,
  .contact-modal-glow-2 {
    animation: none !important;
  }

  .preloader-mark,
  .preloader-bar span,
  .preloader-glow-1,
  .preloader-glow-2,
  .preloader-ring-spin,
  .preloader-label {
    animation: none !important;
  }

  .coming-soon-icon-core,
  .coming-soon-icon-orbit,
  .coming-soon-progress-bar span {
    animation: none !important;
  }
}



/* ============ UPDATED NEWS MODAL ============ */

.news-modal-panel {
  position: relative;
  width: min(92vw, 860px);
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  transform: translateY(24px) scale(0.98);
  opacity: 0;
  transition:
    transform 350ms var(--ease),
    opacity 350ms var(--ease);
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.45);
  scrollbar-width: thin;
  scrollbar-color: rgba(43, 45, 66, 0.25) transparent;
}

.news-modal-media {
  position: relative;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

.news-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
}

.news-modal-tag {
  position: absolute;
  left: 28px;
  bottom: 24px;
  z-index: 1;
  padding: 8px 15px;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px -12px rgba(216, 0, 50, 0.8);
}

.news-modal-body {
  position: relative;
  padding: 36px 42px 42px;
}

.news-modal-title {
  position: relative;
  max-width: 22ch;
  margin-top: 20px;
  margin-bottom: 26px;
  padding-left: 18px;
  border-left: 4px solid var(--accent);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.news-modal-text {
  position: relative;
  max-width: 68ch;
}

/* Updated news modal on phones */
@media (max-width: 640px) {
  .news-modal {
    padding: 12px;
  }

  .news-modal-panel {
    width: 100%;
    max-width: 100%;
    max-height: 94vh;
    border-radius: 24px;
  }

  .news-modal-media {
    aspect-ratio: 16 / 9;
  }

  .news-modal-tag {
    left: 18px;
    bottom: 16px;
  }

  .news-modal-body {
    padding: 26px 22px 30px;
  }

  .news-modal-title {
    max-width: none;
    margin-top: 18px;
    padding-left: 14px;
    font-size: 25px;
  }

  .news-modal-byline {
    flex-wrap: wrap;
  }
}

.footer-legal-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 6px 14px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.footer-legal-btn:hover,
.footer-legal-btn:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
}

.footer-bottom-right {
  flex-wrap: wrap;
}

.site-legal-dialog {
  width: min(92vw, 680px);
  max-height: 85vh;
  padding: 0;
  border: 0;
  border-radius: 24px;
  color: #2b2d42;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.site-legal-dialog::backdrop {
  background: rgba(20, 22, 40, 0.7);
  backdrop-filter: blur(5px);
}

.site-legal-inner {
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
  padding: 36px;
  line-height: 1.65;
}

.site-legal-inner h2 {
  margin: 0 44px 20px 0;
  font-size: 1.6rem;
}

.site-legal-inner h3 {
  margin: 24px 0 6px;
  font-size: 1rem;
}

.site-legal-inner p {
  margin: 0 0 14px;
}

.site-legal-inner a,
.contact-privacy-note button {
  color: var(--accent);
  text-decoration: underline;
}

.site-legal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f0f0f3;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.contact-privacy-note {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.contact-privacy-note button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 640px) {
  .site-legal-inner {
    padding: 26px 20px;
  }
}

.footer-bottom-right {
  flex-wrap: wrap;
}

.footer-legal-link {
  display: inline-flex;
  align-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 6px 14px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}

.footer-legal-link:hover,
.footer-legal-link:focus-visible {
  background: var(--accent);
  transform: translateY(-1px);
}

.legal-modal {
  width: min(92vw, 700px);
  max-height: min(88vh, 820px);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.45);
  overflow-y: auto;
}

.legal-modal::backdrop {
  background: rgba(43, 45, 66, 0.68);
  backdrop-filter: blur(8px);
}

.legal-modal-header {
  position: relative;
  padding: 32px 76px 32px 36px;
  color: #fff;
  background: linear-gradient(150deg, #34374f 0%, var(--ink) 60%, #1c1e30 100%);
  overflow: hidden;
}

.legal-modal-header::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: -125px;
  right: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 0, 50, 0.55), transparent 70%);
  pointer-events: none;
}

.legal-modal-eyebrow {
  position: relative;
  display: block;
  margin-bottom: 8px;
  color: #ff809b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-modal-header h2 {
  position: relative;
  margin: 0;
  font-size: clamp(25px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.15;
}

.legal-modal-close {
  position: absolute;
  z-index: 1;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.legal-modal-close:hover,
.legal-modal-close:focus-visible {
  background: var(--accent);
}

.legal-modal-body {
  padding: 32px 36px 38px;
  font-size: 14px;
  line-height: 1.65;
}

.legal-modal-body p {
  margin: 0;
  padding-bottom: 0px;
}

#lastp{
  padding-bottom: 18px;
}

.legal-modal-intro {
  margin-bottom: 22px !important;
  color: #647084;
}

.legal-info-card {
  padding: 20px;
  border-left: 3px solid var(--accent);
  border-radius: 0 16px 16px 0;
  background: var(--bg);
}

.legal-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 26px 0;
}

.legal-info-label {
  display: block;
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-modal-body h3 {
  margin: 24px 0 8px;
  font-size: 16px;
}

.legal-modal-body a,
.contact-privacy-note button {
  color: var(--accent);
  text-decoration: underline;
}

.legal-modal-footnote {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #647084;
  font-size: 12.5px;
}

.contact-privacy-note {
  margin: 0 0 18px;
  color: #647084;
  font-size: 12.5px;
  line-height: 1.5;
}

.contact-privacy-note button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 600px) {
  .legal-modal-header {
    padding: 28px 70px 28px 24px;
  }

  .legal-modal-body {
    padding: 26px 24px 30px;
  }

  .legal-info-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}


/* Mais espaço antes da linha acima do contacto da EWF */
.legal-modal-footnote {
  margin-top: 28px;
  padding-top: 22px;
}

/* Destacar os títulos das secções */
.legal-modal-body h3,
.legal-modal-body .legal-info-label {
  font-weight: 700;
}


#impressum-modal .legal-modal-body a {
  color: inherit;
  text-decoration: none;
}

#impressum-modal .legal-modal-body a:hover,
#impressum-modal .legal-modal-body a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

#impressum-modal .legal-modal-footnote a {
  color: var(--accent);
  text-decoration: underline;
}

#impressum-modal .legal-info-card a {
  color: var(--accent);
  text-decoration: underline;
}

.footer-legal-link {
  gap: 7px;
}

.footer-legal-link svg {
  flex: none;
}