/* style.css — full rewrite for 100vh panels + smooth snapping + simple reveal animation */

/* -----------------------------
   Base reset
------------------------------ */
* {
  margin: 0;

  padding: 0;
  box-sizing: border-box;
}

/* -----------------------------
   Page-level scrolling behavior
------------------------------ */
html {
  height: 100%;
  scroll-behavior: smooth; /* smooth for programmatic/anchor scroll */
}

body {
  height: 100%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  overflow-x: hidden;

  /* Scroll snap behavior */
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain; /* reduces scroll chaining/bounce to parent */
}

/* Ensure the page never flashes white */
html, body { background: #020617; }

/* -----------------------------
   Full-screen sections
------------------------------ */
.panel {
  height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px 24px;
  text-align: center;
  position: relative;
  flex-direction: column;
  overflow: hidden;
}

/* Animate only the content */
.panel-content {
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}

.panel-content.hidden {
  opacity: 0;
  transform: translateY(48px);
}

.panel-content.visible {
  opacity: 1;
  transform: translateY(0);
  padding-bottom: 60px;
}

.panel h1 {
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.panel p {
  line-height: 1.5;
  opacity: 0.9;
}

/* -----------------------------
   Placeholder themes
------------------------------ */
.panel-1 {
  background: radial-gradient(1200px 800px at 50% 20%, #1e293b 0%, #0b1020 55%, #020617 100%);
  color: #ffffff;
}

.panel-2 {
  background: radial-gradient(1200px 800px at 50% 20%, #111827 0%, #070a14 60%, #020617 100%);
  color: #e2e8f0;
}

.panel-3 {
  background: radial-gradient(1200px 800px at 50% 20%, #111827 0%, #070a14 60%, #020617 100%);
  color: #e2e8f0;
}

.panel-4 {
  background: radial-gradient(1200px 800px at 50% 20%, #111827 0%, #070a14 60%, #020617 100%);
  color: #e2e8f0;
}

.panel-5 {
  background: radial-gradient(1200px 800px at 50% 20%, #0b1224 0%, #05070f 60%, #020617 100%);
  color: #38bdf8;
}

.panel-5 .panel-content h1,
.panel-5 .panel-content p {
  color: rgba(var(--gold-main), 0.98);
}

/* Vanta background (bottom half of each section) */
.vanta-layer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.vanta-layer canvas {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  opacity: 0.2;
}

/* -----------------------------
   Reveal animation states
   (works with your IntersectionObserver)
------------------------------ */
.hidden {
  opacity: 0;
  transform: translateY(48px);
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -----------------------------
   Reduced motion support
------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .panel {
    transition: none;
  }

  .hidden,
  .visible {
    opacity: 1;
    transform: none;
  }
}

/* Scroll-down button anchored at bottom center of each panel */
.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  cursor: pointer;
  z-index: 2;
  display: grid;
  place-items: center;

  transition: transform 200ms ease, opacity 200ms ease, background 200ms ease;
}

.scroll-down:hover {
  transform: translateX(-50%) translateY(-2px);
  background: rgba(0, 0, 0, 0.35);
}

.scroll-down:active {
  transform: translateX(-50%) translateY(0);
}

/* Simple chevron */
.scroll-down .chev {
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  transform: rotate(45deg);
}

/* Little "bounce" animation */
@keyframes bounceDown {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(6px) rotate(45deg); }
}

.scroll-down .chev {
  animation: bounceDown 1.2s infinite;
}

/* Make sure panel can position absolute children */
.panel {
  position: relative;
}

/* Optional: hide the scroll-down button on the last panel */
.scroll-down.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Scroll-up button (bottom center, same style as scroll-down) */
.scroll-up {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  cursor: pointer;
  z-index: 2;
  display: grid;
  place-items: center;

  transition: transform 200ms ease, opacity 200ms ease, background 200ms ease;
}

.scroll-up:hover {
  transform: translateX(-50%) translateY(-2px);
  background: rgba(0, 0, 0, 0.35);
}

.scroll-up:active {
  transform: translateX(-50%) translateY(0);
}

/* Chevron pointing UP */
.scroll-up .chev-up {
  width: 12px;
  height: 12px;
  border-left: 2px solid rgba(255, 255, 255, 0.85);
  border-top: 2px solid rgba(255, 255, 255, 0.85);
  transform: rotate(45deg);
}

/* Subtle bounce upward */
@keyframes bounceUp {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(-6px) rotate(45deg); }
}

.scroll-up .chev-up {
  animation: bounceUp 1.2s infinite;
}

/* Background video panel */
.has-bg-video {
  overflow: hidden; /* hides cropping edges from object-fit: cover */
}

/* Fullscreen background video that adapts to aspect ratio */
.bg-video {
  position: absolute;
  inset: 0;              /* top:0; right:0; bottom:0; left:0 */
  width: 100%;
  height: 100%;
  object-fit: cover;     /* key: fill while preserving aspect ratio */
  object-position: center;
  z-index: 0;
}

/* 50% black overlay over the video */
.bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Ensure content and buttons are above video + overlay */
.has-bg-video .panel-content,
.has-bg-video,
.has-bg-video {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Panel 1 extra text area (revealed on first scroll) */
.panel-extra {
  width: min(900px, calc(100% - 48px));
  text-align: center;
  z-index: 2; /* above video + overlay */
  transition: opacity 1200ms ease, transform 1200ms ease;
  will-change: opacity, transform;
  display: flex;
  justify-content: center;
  align-items: center;
}

.panel-extra p {
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.mobile-meta {
  display: none;
  position: relative;
  z-index: 2;
}

.panel-extra.detail-box,
.detail-box {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  padding: 40px;
}

.form-div {
  margin-top: 40px;
  width: 100%;
  max-width: 720px;
  backdrop-filter: blur(10px);
}

.panel-extra.detail-box p {
  text-align: left;
}


/* ===== Contact form ===== */
.contact-form {
  width: 100%;
  display: grid;
  gap: 0px;
  text-align: left;
  color: #ffffff;
}

  .contact-field {
    display: grid;
    gap: 8px;
    margin-top: 12px;
  }

  .contact-field {
    width: 100%;
  }

.contact-field span {
  letter-spacing: 0.01em;
  color: #ffffff;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  padding: 14px 16px;
  color: rgba(var(--gold-main), 0.98);
  line-height: 1.5;
  outline: none;
}

.contact-field textarea {
  min-height: 200px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(var(--gold-main), 0.65);
  box-shadow: 0 0 0 4px rgba(var(--gold-main), 0.2);
}

.contact-field input:-webkit-autofill,
.contact-field input:-webkit-autofill:hover,
.contact-field input:-webkit-autofill:focus,
.contact-field textarea:-webkit-autofill,
.contact-field textarea:-webkit-autofill:hover,
.contact-field textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: rgba(var(--gold-main), 0.98);
  caret-color: rgba(var(--gold-main), 0.98);
  box-shadow: 0 0 0 1000px transparent inset;
  transition: background-color 9999s ease-in-out 0s;
}

.contact-submit {
  justify-self: start;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(var(--gold-main), 0.55);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.contact-submit:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--gold-main), 0.75);
  background: rgba(255, 255, 255, 0.12);
}

/* Contact checkbox */
.contact-checkbox-row {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  padding-left: 4px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.contact-checkbox {
  appearance: none;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.contact-checkbox--unchecked {
  width: 20px !important;
  height: 20px;
  padding: 0px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-checkbox::after {
  content: "×";
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  color: rgba(var(--gold-main), 0.95);
  transform: translateY(-1px);
  transition: color 180ms ease, transform 180ms ease;
}

.contact-checkbox:checked {
  width: 20px;
  height: 20px;
  padding: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--gold-main), 0.9);
  border-color: rgba(var(--gold-main), 0.9);
}

.contact-checkbox:checked::after {
  content: "✓";
  color: #0b1224;
  transform: translateY(-1px);
}

.contact-checkbox:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(var(--gold-main), 0.2);
}

.contact-checkbox-label {
  max-width: 90%;
  font-size: 14px;
  color: rgb(193 193 193);
  cursor: pointer;
}

/* ===== Mautic form skin (match contact form design) ===== */
.mauticform_wrapper {
  width: 100%;
  margin: 0 auto;
}

.mauticform-wrapper,
.mauticform-innerform {
  width: 100%;
}

.mauticform-innerform {
  display: grid;
  gap: 18px;
  text-align: left;
  color: #ffffff;
}

.mauticform-row {
  margin: 0;
}

.mauticform-label {
  display: block;
  letter-spacing: 0.01em;
  color: #ffffff;
  margin-bottom: 8px;
}

.mauticform-row.mauticform-required .mauticform-label:after {
  color: #e32;
  content: " *";
  display: inline;
}

.mauticform-input,
.mauticform-textarea,
.mauticform-selectbox {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  padding: 14px 16px;
  color: rgba(var(--gold-main), 0.98);
  line-height: 1.5;
  outline: none;
  box-sizing: border-box;
}

.mauticform-textarea {
  min-height: 200px;
  resize: vertical;
}

.mauticform-input:focus,
.mauticform-textarea:focus,
.mauticform-selectbox:focus {
  border-color: rgba(var(--gold-main), 0.65);
  box-shadow: 0 0 0 4px rgba(var(--gold-main), 0.2);
}

.mauticform-checkboxgrp-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.mauticform-checkboxgrp-label {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

.mauticform-error,
.mauticform-errormsg {
  color: #ff6b6b;
}

.mauticform-message {
  color: rgba(var(--gold-main), 0.98);
  text-align: center;
}

.mauticform-error,
.mauticform-message {
  margin-bottom: 0px;
}

.contact-form.is-thankyou {
  display: grid;
  place-items: center;
  min-height: 100%;
}

.mauticform-button-wrapper .mauticform-button {
  justify-self: start;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(var(--gold-main), 0.55);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.mauticform-button-wrapper .mauticform-button:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--gold-main), 0.75);
  background: rgba(255, 255, 255, 0.12);
}

.mauticform-field-hidden {
  display: none;
}


/* Reuse hidden/visible pattern */
.panel-extra.hidden {
  opacity: 0;
  transform: translateX(0) translateY(100%);
  pointer-events: none;
}

.panel-extra.visible {
  opacity: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== Floating section menu (top-left) ===== */

/* --- Gold color system --- */
:root {
  --gold-main: 212, 175, 55;     /* metallic gold */
  --gold-bright: 255, 215, 100;  /* highlight */
  --gold-soft: 255, 235, 180;    /* reflected light */
}

/* Appear with slight delay + fade */
.floating-nav {
  position: fixed;
  top: 40px;
  left: 40px;
  z-index: 50;

  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 1000ms ease, transform 1000ms ease;

  /* Container */
  padding: 24px 28px;

  /* Expanded width once visible */
  width: 112px;                 /* collapsed width */
  overflow: hidden;
}

.floating-nav.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;

  width: 440px;                /* expanded width */
}

/* Track + layout: dots column + labels column */
.floating-nav__list {
  list-style: none;
  display: grid;
  gap: 28px;
  margin: 0;
  padding: 12px 12px;
  position: relative;
}

/* Each row: dot + label */
.floating-nav__item {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 30px;
}

/* Vertical track line */
.floating-nav__track {
  position: absolute;
  top: 24px;
  left: 60px;
  width: 4px;
  height: calc(100% - 48px);
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

/* Indicator centered around dot */
.floating-nav__indicator {
  position: absolute;
  left: 62px;
  top: 8px;
  width: 60px;
  height: 60px;
  border-radius: 999px;

  transform: translate(-50%, 0);

  /* Gold halo */
  background: rgba(var(--gold-main), 0.22);
  border: 2px solid rgba(var(--gold-main), 0.55);
  box-shadow:
    0 0 0 12px rgba(var(--gold-main), 0.18),
    inset 0 0 12px rgba(var(--gold-bright), 0.35);

  transition: translate 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

/* Dot button */
.floating-nav__dot {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  padding: 0;
  justify-self: center;

  transition: transform 250ms ease,
              background 250ms ease,
              border-color 250ms ease;
}

.floating-nav__dot:hover {
  transform: scale(1.18);
  background: rgba(255, 255, 255, 0.30);
}

/* Active dot = GOLD */
.floating-nav__dot.is-active {
  transform: scale(1.25);
  background: rgba(var(--gold-main), 0.95);
  border-color: rgba(var(--gold-bright), 0.95);
}

/* Label */
.floating-nav__label {
  font: 400 18px/1.2 system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.82);

  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 350ms ease, transform 350ms ease;
  white-space: nowrap;
  cursor: pointer;
}

.floating-nav.is-visible .floating-nav__label {
  opacity: 1;
  transform: translateX(0);
}

/* Active label – subtle gold reflection */
.floating-nav__dot.is-active + .floating-nav__label {
  color: rgba(var(--gold-soft), 0.98);
}

/* Focus styling */
.floating-nav__dot:focus-visible {
  outline: none;
  box-shadow: 0 0 0 8px rgba(var(--gold-main), 0.28);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .floating-nav,
  .floating-nav__indicator,
  .floating-nav__dot,
  .floating-nav__label {
    transition: none;
  }
}

/* ===== Floating social icons (top-right) ===== */

.social-floating {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 50;

  display: flex;
  gap: 14px;
  align-items: center;
}

.social-floating a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  text-decoration: none;
}

/* Icon base styling */
.social-icon {
  width: 24px;
  height: 24px;
  fill: rgba(255, 255, 255, 0.55); /* light grey */
  transition: fill 220ms ease, transform 220ms ease;
}

/* Hover effect */
.social-floating a:hover .social-icon {
  fill: rgba(var(--gold-main), 0.95);
  transform: translateY(-1px);
}

/* Keyboard focus (accessibility) */
.social-floating a:focus-visible .social-icon {
  outline: none;
  fill: rgba(var(--gold-main), 0.95);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .social-icon {
    transition: none;
  }
}

/* ===== Floating language selector (bottom-right) ===== */
.lang-floating {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;

  display: flex;
  gap: 8px;
  align-items: center;

  padding: 10px 10px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  height: 34px;
  padding: 0 10px;
  border-radius: 12px;

  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.80);

  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.lang-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.22);
}

.lang-btn.is-active {
  border-color: rgba(var(--gold-main), 0.55);
  background: rgba(var(--gold-main), 0.12);
  color: rgba(255, 255, 255, 0.95);
}

.lang-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(var(--gold-main), 0.20);
}

.flag-icon {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;

  /* Black & white default */
  filter: grayscale(100%) brightness(0.85);
  opacity: 0.7;

  transition: filter 220ms ease, opacity 220ms ease;
}

/* Hover = color preview */
.lang-btn:hover .flag-icon {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

/* Selected language = full color */
.lang-btn.is-active .flag-icon {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

.lang-label {
  font: 600 12px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0.05em;
}

/* Optional: compact on small screens */
@media (max-width: 420px) {
  .lang-label { display: none; }
  .lang-btn { padding: 0 8px; }
}

/* =========================
   Desktop font sizes (>= 601px)
========================= */
@media (min-width: 1680px) {
  .panel h1 {
    font-size: clamp(32px, 5vw, 56px);
  }

  .panel p {
    font-size: clamp(16px, 1.6vw, 20px);
  }

  .panel-extra p {
    font-size: clamp(14px, 1.4vw, 18px);
  }

  .contact-form {
    font-size: 18px;
  }

  .mauticform-innerform {
    font-size: 18px;
  }

  .contact-field span {
    font-size: 18px;
  }

  .mauticform-label {
    font-size: 18px;
  }

  .contact-field input,
  .contact-field textarea {
    font-size: 18px;
  }

  .mauticform-input,
  .mauticform-textarea,
  .mauticform-selectbox {
    font-size: 18px;
  }

  .contact-submit {
    font-size: 16px;
  }

  .mauticform-button-wrapper .mauticform-button {
    font-size: 16px;
  }

  .content-card h3 {
    font-size: 18px;
  }

  .content-card p {
    font-size: 14px;
  }

  .detail-content h2 {
    font-size: 22px;
  }

  .detail-content li {
    font-size: clamp(16px, 1.6vw, 20px);
  }

  .video-card__title {
    font-size: 18px;
  }

  .video-card__desc {
    font-size: 13px;
  }

  .video-card__play {
    font-size: 12px;
  }

  .video-modal__title {
    font-size: 20px;
  }

  .video-modal__caption-title {
    font-size: 20px;
  }

  .video-modal__caption-desc {
    font-size: 14px;
  }
}

/* =========================
   Mobile layout (<= 800px)
========================= */
@media (max-width: 1024px) {
  .panel {
    padding: 36px 16px;
    height: 100svh;
    min-height: 100dvh;
    justify-content: flex-start;
  }

  .panel-content {
    margin-top: 10vh;
  }

  .panel:not(.panel-1) .panel-content {
    margin-top: 3vh;
  }

  .panel h1 {
    font-size: 40px;
  }

  .panel p {
    font-size: 21px;
  }

  .panel-content.visible {
    padding-bottom: 0 !important;
  }

  .step-reveal-btn.is-hidden {
    display: none;
  }

  .floating-nav {
    top: 18px;
    left: 16px;
    padding: 14px 16px;
  }

  .floating-nav.is-visible {
    width: 300px;
  }

  .floating-nav__label {
    font-size: 12px;
  }

  .floating-nav {
    display: none;
  }

  .lang-floating,
  .social-floating {
    display: none;
  }

  .mobile-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .panel-1 .mobile-meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 88px;
    margin-top: 0;
  }

  .mobile-lang,
  .mobile-social {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .social-floating {
    position: static;
    width: 100%;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
  }

  .social-floating a {
    width: 38px;
    height: 38px;
  }

  .social-icon {
    width: 38px;
    height: 38px;
  }

  .lang-floating {
    position: static;
    width: 100%;
    justify-content: center;
    margin-top: 16px;
  }

  .lang-btn {
    height: 54px;
    padding: 0 14px;
    gap: 10px;
  }

  .flag-icon {
    width: 36px;
    height: 24px;
  }

  .lang-label {
    font-size: 18px;
  }

  .panel-2-stage {
    margin-top: 18px;
    min-height: 200px;
  }

  .panel-2-stage p {
    font-size: 14px;
  }

  .panel-2 .panel-2-stage {
    width: 100%;
  }

  .panel-2 {
    --panel2-cap: min(60svh, calc(100svh - 180px));
  }

  .panel-2 .cards-row {
    position: relative;
    max-height: var(--panel2-cap);
    overflow-y: auto;
    padding-top: 0;
    padding-bottom: 96px;
  }

  .panel-2 .panel-extra {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .cards-row.is-visible {
    padding-top: 10px !important;
  }

  .cards-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .content-card {
    padding: 16px;
    width: 100%;
    height: auto;
  }

  .content-card.is-visible {
    width: 100%;
  }

.panel-extra.visible {
  flex-direction: column;
  }

  .detail-view {
    padding: 16px;
  }

  .detail-content {
    padding-left: 6%;
    padding-right: 6%;
    padding-top: 4%;
    padding-bottom: 2%;
  }

  .detail-view {
    max-height: var(--panel2-cap);
    overflow: hidden;
  }

  .detail-content {
    max-height: calc(var(--panel2-cap) - 64px);
    overflow-y: auto;
  }

  .panel-3 {
    --panel3-cap: min(60svh, calc(100svh - 180px));
  }

  .panel-3 .panel-extra.detail-box {
    margin-top: 4%;
    max-height: var(--panel3-cap);
    overflow-y: auto;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .panel-3 .panel-extra.detail-box p {
    font-size: 14px;
    margin-top: 0;
  }

  .panel-5 {
    --panel5-cap: min(60svh, calc(100svh - 180px));
  }

  .panel-5 .contact-form-box.detail-box.form-div {
    max-height: calc(var(--panel5-cap) - 8px);
    overflow: hidden;
  }

  .panel-5 .contact-form {
    max-height: var(--panel5-cap);
    overflow-y: auto;
  }

  .panel-2 .cards-row,
  .detail-content,
  .panel-3 .panel-extra.detail-box,
  .panel-5 .contact-form {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .panel-2 .cards-row::-webkit-scrollbar,
  .detail-content::-webkit-scrollbar,
  .panel-3 .panel-extra.detail-box::-webkit-scrollbar,
  .panel-5 .contact-form::-webkit-scrollbar {
    display: none;
  }

  .panel-extra {
    width: min(100%, calc(100% - 32px));
  }

  .panel-extra.detail-box,
  .detail-box {
    width: min(100%, calc(100% - 32px));
    padding: 16px;
  }

  .video-carousel {
    grid-template-columns: 1fr !important;
    gap: 12px;
    position: relative;
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
  }

  .video-carousel__stage {
    height: min(480px, 70vh);
    --card-width: clamp(160px, 55vw, 220px);
    --card-offset: clamp(90px, 24vw, 160px);
  }

  .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    transition: background 200ms ease, opacity 200ms ease;
  }

  .carousel-arrow:hover,
  .carousel-arrow:active {
    transform: translateY(-50%) !important;
  }

  .carousel-arrow--left {
    left: 8px;
  }

  .carousel-arrow--right {
    right: 8px;
  }

  .video-card.is-left,
  .video-card.is-right {
    opacity: 0.6;
  }

  .video-card.is-center {
    z-index: 4;
  }

  .video-card.is-left,
  .video-card.is-right {
    z-index: 2;
  }

  .video-card__title {
    font-size: 17px;
  }

  .video-card__desc {
    font-size: 14px;
  }

  .video-modal__panel {
    width: calc(100% - 24px);
    padding: 16px;
  }

  .video-modal__title {
    margin-top: 32px;
    font-size: 20px;
  }

  .contact-form {
    gap: 14px;
    font-size: 12px;
  }

  .mauticform-innerform {
    gap: 14px;
    font-size: 12px;
  }

  .contact-field span {
    font-size: 12px;
  }

  .mauticform-label {
    font-size: 12px;
  }

  .contact-field input,
  .contact-field textarea {
    font-size: 12px;
    padding: 5px;
  }

  .mauticform-input,
  .mauticform-textarea,
  .mauticform-selectbox {
    font-size: 12px;
    padding: 5px;
  }

  .contact-field textarea {
    min-height: 160px;
  }

  .mauticform-textarea {
    min-height: 160px;
  }

  .form-div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact-submit {
    align-self: flex-start;
  }

  .contact-submit-pad {
    padding-bottom: 40px;
  }

  .mauticform-button-wrapper .mauticform-button {
    align-self: flex-start;
  }

  li,
  ul {
    font-size: 14px;
  }

  .scroll-down,
  .scroll-up {
    width: 48px;
    height: 48px;
    bottom: 16px;
  }

  .scroll-up {
    left: calc(50% - 40px);
    transform: translateX(-50%);
  }

  .scroll-down {
    left: calc(50% + 40px);
    transform: translateX(-50%);
  }

  .scroll-up.scroll-single,
  .scroll-down.scroll-single {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* =========================
   Mid desktop layout (1025px - 1679px)
========================= */
@media (min-width: 1025px) and (max-width: 1679px) {
  .floating-nav {
    top: 20px;
    left: 20px;
    padding: 18px 21px;
    width: 84px;
  }

  .floating-nav.is-visible {
    width: 330px;
  }

  .floating-nav__list {
    gap: 21px;
    padding: 9px 9px;
  }

  .floating-nav__item {
    grid-template-columns: 33px 1fr;
    gap: 22px;
  }

  .floating-nav__track {
    top: 18px;
    left: 46px;
    width: 2px;
    height: calc(100% - 36px);
  }

  .floating-nav__indicator {
    left: 47px;
    width: 45px;
    height: 45px;
    border-width: 1.5px;
    box-shadow:
      0 0 0 9px rgba(var(--gold-main), 0.18),
      inset 0 0 9px rgba(var(--gold-bright), 0.35);
  }

  .floating-nav__dot {
    width: 18px;
    height: 18px;
    border-width: 1.5px;
  }

  .floating-nav__dot.is-active {
    transform: scale(1.2);
  }

  .floating-nav__label {
    font-size: 13.5px;
  }

  .panel-2 {
    --panel2-cap-mid: min(70vh, calc(100vh - 300px));
  }

  .panel-2 .panel-content {
    margin-top: 4vh;
  }

  .panel-2 .panel-2-stage {
    max-height: var(--panel2-cap-mid);
    width: min(1000px, calc(100% - 48px));
    margin-top: 16px;
  }

  .panel-2 .cards-row {
    position: relative;
    max-height: var(--panel2-cap-mid);
    overflow-y: auto;
    padding-bottom: 72px;
  }

  .panel-2 .panel-extra {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .panel-2 .detail-view.is-open {
    max-height: var(--panel2-cap-mid);
    overflow: hidden;
  }

  .panel-2 .detail-content {
    max-height: calc(var(--panel2-cap-mid) - 64px);
    overflow-y: auto;
  }

  .panel-3 {
    --panel3-cap-mid: min(70vh, calc(100vh - 300px));
  }

  .panel-3 .panel-content {
    margin-top: 4vh;
  }

  .panel-3 .panel-extra.detail-box {
    max-height: var(--panel3-cap-mid);
    overflow-y: auto;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .panel-5 {
    --panel5-cap-mid: min(70vh, calc(100vh - 200px));
  }

  .panel-5 .panel-content.form-div {
    margin-top: 2vh;
    max-height: var(--panel5-cap-mid);
    overflow: hidden;
  }

  .panel-5 .contact-form-box.detail-box.form-div {
    max-height: calc(var(--panel5-cap-mid) - 99px);
    overflow: hidden;
  }

  .panel-5 .contact-form {
    max-height: calc(var(--panel5-cap-mid) - 99px);
    overflow-y: auto;
    padding-bottom: 100px;
  }

  .panel-2 .cards-row,
  .panel-2 .detail-content,
  .panel-3 .panel-extra.detail-box,
  .panel-5 .contact-form {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .panel-2 .cards-row::-webkit-scrollbar,
  .panel-2 .detail-content::-webkit-scrollbar,
  .panel-3 .panel-extra.detail-box::-webkit-scrollbar,
  .panel-5 .contact-form::-webkit-scrollbar {
    display: none;
  }
}

/* ===== Panel 2 stage (keeps layout height stable) ===== */
.panel-2-stage {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 48px));
  margin-top: 28px;
  min-height: 240px;
}

/* ===== Content cards row ===== */
.cards-row {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  width: 100%;
  margin-top: 0;
  padding-bottom: 12px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;

  /* hidden by default until JS reveals */
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.cards-row.is-visible {
  opacity: 1;
  transform: translateY(0);
  padding-top: 28px;
}

/* When detail opens, fully collapse cards from layout */
.cards-row.is-collapsed {
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;

  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;

  transition: opacity 220ms ease, transform 220ms ease;
}

/* Normal expanded state (we set max-height via JS for smooth animation) */
.cards-row.is-expanded {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 300ms ease, transform 300ms ease;
}

/* Responsive */
@media (max-width: 900px) {
  .cards-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ===== Individual content card ===== */
.content-card {
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 18px 18px;

  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);

  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
  position: relative;

  /* Each card starts hidden; JS adds .is-visible sequentially */
  opacity: 0;
  transform: translateY(10px);
  width: 33%;
  height: 152px;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.content-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 500ms ease, transform 500ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.content-card h3 {
  line-height: 1.2;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.95);
}

.content-card p {
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* Premium hover: gold edge + subtle lift */
.content-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--gold-main), 0.55);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 0 6px rgba(var(--gold-main), 0.10);
}

/* Active click feedback */
.content-card:active {
  transform: translateY(-1px);
}

/* Keyboard focus */
.content-card:focus-visible {
  outline: none;
  border-color: rgba(var(--gold-main), 0.75);
  box-shadow: 0 0 0 5px rgba(var(--gold-main), 0.18);
}


/* ===== Step reveal button (inside panel content) ===== */
.step-reveal-btn {
  margin-top: 18px;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 14px;

  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);

  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.step-reveal-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(var(--gold-main), 0.35);
}

.step-reveal-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 5px rgba(var(--gold-main), 0.18);
}

/* Chevron similar to your scroll-down */
.step-reveal-chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  transform: rotate(45deg);
}

/* Bounce animation (same feel as bottom chevron) */
@keyframes bounceDownSmall {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(5px) rotate(45deg); }
}

.step-reveal-chev {
  animation: bounceDownSmall 1.2s infinite;
}

/* Hide the step button after cards are revealed */
.step-reveal-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-2px);
  transition: opacity 220ms ease, transform 220ms ease;
}

/* ===== Inline detail view (Panel 2) ===== */
.detail-view {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  width: 100%;
  padding: 18px 18px 16px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;

  

  /* hidden initially */
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;

  transition: opacity 260ms ease, transform 260ms ease;
}

.detail-view.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.detail-view.is-open:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--gold-main), 0.55);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 0 6px rgba(var(--gold-main), 0.10);
}

.detail-back {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);

  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;

  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.detail-back:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--gold-main), 0.35);
  background: rgba(255, 255, 255, 0.10);
}

.detail-content {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  text-align: left;
  padding-top: 1%;
  padding-left: 10%;
  padding-right: 10%;
}


.detail-content h2 {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.95);
}

.detail-content p {
  margin: 0 0 10px;
  line-height: 1.6;
}

.detail-content ul {
  margin: 10px 0 12px 18px;
  padding: 0;
}

.detail-content li {
  margin: 6px 0;
  line-height: 1.5;
  opacity: 0.9;
}

/* Card exit (fade down) */
.content-card.is-exiting {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 220ms ease, transform 220ms ease;
}

/* ===== Video carousel (Panel 4) ===== */
.video-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

.video-carousel__stage {
  position: relative;
  width: min(900px, 100%);
  height: min(520px, 60vh);
  margin: 0 auto;
  display: grid;
  place-items: center;
  --card-width: clamp(180px, 22vw, 260px);
  --card-offset: clamp(140px, 22vw, 260px);
}

.video-card {
  position: absolute;
  width: var(--card-width);
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(3, 6, 14, 0.55);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1),
              opacity 420ms ease,
              filter 420ms ease,
              box-shadow 420ms ease;
  display: grid;
  cursor: pointer;
}

.video-card.is-left {
  transform: translateX(calc(-1 * var(--card-offset))) scale(0.86);
  opacity: 0.75;
  z-index: 1;
  filter: saturate(0.8);
}

.video-card.is-center {
  transform: translateX(0) scale(1);
  opacity: 1;
  z-index: 3;
}

.video-card.is-right {
  transform: translateX(var(--card-offset)) scale(0.86);
  opacity: 0.75;
  z-index: 2;
  filter: saturate(0.8);
}

.video-card__media,
.video-card__media iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-card.is-video .video-card__media {
  position: relative;
  overflow: hidden;
}

.video-card.is-video .video-card__media iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
}

.video-card.is-video-16-9 .video-card__media iframe {
  width: 318%;
  height: 318%;
}

.video-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card__media iframe {
  pointer-events: none;
}

.video-card__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  gap: 10px;
  padding: 18px;
  background: rgba(2, 6, 23, 0.62);
  opacity: 0;
  transition: opacity 260ms ease;
}

.video-card:hover .video-card__overlay,
.video-card:focus-visible .video-card__overlay {
  opacity: 1;
}

.video-card__title {
  line-height: 1.2;
  color: #ffffff;
}

.video-card__desc {
  line-height: 1.4;
  color: #ffffff;
}

.video-card__play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--gold-main), 0.55);
  color: rgba(var(--gold-soft), 0.98);
  background: rgba(2, 6, 23, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.carousel-arrow {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease, opacity 200ms ease;
}

.carousel-arrow:hover {
  transform: translateY(-2px);
  background: rgba(0, 0, 0, 0.35);
}

.carousel-arrow:active {
  transform: translateY(0);
}

.chev-left,
.chev-right {
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
}

.chev-left { transform: rotate(135deg); }
.chev-right { transform: rotate(-45deg); }

@media (max-width: 900px) {
  .video-carousel {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .carousel-arrow {
    justify-self: center;
  }
}

/* ===== Video modal ===== */
.video-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 60;
}

.video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(6px);
}

.video-modal__panel {
  position: relative;
  z-index: 1;
  width: min(960px, calc(100% - 48px));
  background: rgba(8, 10, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.video-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.video-modal__title {
  text-align: left;
  margin: 0px 0 12px;
  color: #ffffff;
}

.video-modal__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.video-modal__frame.is-portrait {
  aspect-ratio: 9 / 16;
}

.video-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal__image {
  display: grid;
  margin: 0;
  position: relative;
}

.video-modal__image img {
  width: 100%;
  border-radius: 12px;
  display: block;
  filter: brightness(0.55);
}

.video-modal__image figcaption {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: start;
  justify-items: center;
  text-align: center;
  gap: 10px;
  padding: 50px 18px 18px;
  color: #ffffff;
}

.video-modal__caption-title {
  line-height: 1.2;
  color: #ffffff;
}

.video-modal__caption-desc {
  line-height: 1.5;
  color: #ffffff;
}

/* ===== Card icon base ===== */
.card-icon {
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  stroke: rgba(255, 255, 255, 0.75);
  fill: none;
  stroke-width: 1.8;
  transition:
    stroke 220ms ease,
    transform 220ms ease,
    filter 220ms ease;
}

/* Play triangle fill */
.card-icon svg polygon {
  fill: rgba(255, 255, 255, 0.75);
  transition: fill 220ms ease;
}

/* ===== Hover state (card hover drives icon) ===== */
.content-card:hover .card-icon svg {
  stroke: rgba(var(--gold-main), 0.95);
  transform: translateY(-2px);
  filter: drop-shadow(0 0 6px rgba(var(--gold-main), 0.35));
}

.content-card:hover .card-icon svg polygon {
  fill: rgba(var(--gold-main), 0.95);
}
