:root {
  --amber: #FF8C00;
  --amber-80: #E06000;
  --gold: #FFB347;
  --bg: #0A0A0A;
  --bg-2: #141414;
  --bg-3: #1E1E1E;
  --text: #FFFFFF;
  --text-2: rgba(255,255,255,0.58);
  --text-3: rgba(255,255,255,0.32);
  --border: rgba(255,255,255,0.07);
  --display: 'Space Grotesk', sans-serif;
  --body: 'IBM Plex Sans', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --max-w: 1280px;
  --pad: 56px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body { background: var(--bg); color: var(--text); font-family: var(--display); overflow: hidden; height: 100vh; }

#boids-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 1; }

.slides {
  position: fixed; inset: 0;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.slides::-webkit-scrollbar { display: none; }
.slides { scrollbar-width: none; }

.slide {
  width: 100%; height: 100vh;
  scroll-snap-align: start; scroll-snap-stop: always;
  position: relative; display: flex;
  align-items: center; overflow: hidden;
}

/* Content wrapper — max-width centrado */
.cw {
  width: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 80px var(--pad) 0;
}

/* NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; padding: 22px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
}
.navbar::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.92) 0%, transparent 100%);
  pointer-events: none;
}
.nav-inner {
  width: 100%; max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; z-index: 1;
}
.logo { display: inline-flex; align-items: center; cursor: pointer; line-height: 0; }
.logo-img { height: 32px; width: auto; max-width: 100%; display: block; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 13.5px; color: var(--text-2); text-decoration: none; font-weight: 450; transition: color .15s; cursor: pointer; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--amber); color: #000 !important; font-weight: 600 !important;
  padding: 8px 18px; border-radius: 6px; font-size: 13px !important;
  transition: background .15s, box-shadow .15s !important;
}
.nav-cta:hover { background: #FFA020 !important; box-shadow: 0 0 20px rgba(255,140,0,.3); }

/* DOT NAV */
.dot-nav {
  position: fixed; right: 28px; top: 50%; transform: translateY(-50%);
  z-index: 100; display: flex; flex-direction: column; gap: 14px; align-items: flex-end;
}
.dot-item { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.dot-label {
  font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-3); opacity: 0; transform: translateX(6px); transition: all .2s; font-family: var(--mono);
}
.dot-item:hover .dot-label, .dot-item.active .dot-label { opacity: 1; transform: translateX(0); color: var(--amber); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); transition: all .3s; flex-shrink: 0; }
.dot-item.active .dot { background: var(--amber); box-shadow: 0 0 8px rgba(255,140,0,.6); transform: scale(1.4); }
.dot-item:hover .dot { background: var(--text-2); }

/* PROGRESS */
.progress-bar { position: fixed; left: 0; top: 0; width: 2px; background: var(--bg-3); height: 100vh; z-index: 100; }
.progress-fill { width: 100%; background: linear-gradient(to bottom, var(--amber), var(--gold)); transition: height .3s ease; box-shadow: 0 0 8px rgba(255,140,0,.5); }
.slide-counter { position: fixed; left: 24px; bottom: 36px; z-index: 100; font-family: var(--mono); font-size: 11px; color: var(--text-3); display: flex; flex-direction: column; gap: 2px; }
.slide-counter .cur { color: var(--amber); font-size: 15px; font-weight: 500; }

/* ── S0: HERO ─────────────────────────────── */
#s0 { flex-direction: column; justify-content: flex-end; padding-bottom: 56px; background: var(--bg); z-index: 2; }
#s0::before {
  content: ''; position: absolute;
  top: -10%; right: -5%; width: 55vw; height: 70vh;
  background: radial-gradient(ellipse at 70% 30%, rgba(255,140,0,.06) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
.hero-grid {
  background-image: linear-gradient(rgba(255,140,0,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,140,0,0.025) 1px, transparent 1px);
  background-size: 48px 48px; position: absolute; inset: 0; z-index: 0;
}
.hero-title-v2 {
  font-size: clamp(80px, 14vw, 190px); font-weight: 700;
  letter-spacing: clamp(-3px, -0.04em, -8px); line-height: .88;
  position: relative; z-index: 2;
  margin-bottom: clamp(20px, 3vh, 40px);
  padding: 0 var(--pad);
  width: 100%; max-width: var(--max-w);
  margin-left: auto; margin-right: auto;
  text-align: center;
}
.hero-title-v2 .l1 { display: block; color: var(--text); }
.hero-title-v2 .l2 { display: block; color: var(--amber); }
.hero-bottom {
  display: flex; flex-direction: column; align-items: center;
  gap: 20px; position: relative; z-index: 2;
  border-top: 1px solid var(--border);
  padding-top: clamp(16px, 2.5vh, 28px);
  width: 100%; max-width: var(--max-w); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad);
}
.hero-tagline {
  font-family: var(--body); font-size: clamp(14px, 1.2vw, 17px);
  color: var(--text-2); line-height: 1.65;
  text-align: center; max-width: 530px;
}
.hero-actions { display: flex; gap: 12px; align-items: center; }
.btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 8px; font-family: var(--display);
  font-size: 14px; font-weight: 600; cursor: pointer; border: none;
  text-decoration: none; transition: all .15s; letter-spacing: -.01em;
}
.btn-hero-primary { background: var(--amber); color: #000; }
.btn-hero-primary:hover { background: #FFA020; box-shadow: 0 0 28px rgba(255,140,0,.35); }
.btn-hero-ghost { background: transparent; color: var(--text-2); border: 1px solid var(--border); }
.btn-hero-ghost:hover { color: var(--text); border-color: rgba(255,255,255,.2); }
/* accent ghost — orange translucent border + subtle fill + glow, consistent with site */
.btn-hero-accent {
  background: rgba(255,140,0,.06); color: var(--amber);
  border: 1px solid rgba(255,140,0,.45);
  box-shadow: 0 0 20px rgba(255,140,0,.15);
}
.btn-hero-accent:hover {
  background: rgba(255,140,0,.12); color: #fff;
  border-color: rgba(255,140,0,.7);
  box-shadow: 0 0 28px rgba(255,140,0,.3);
}
.scroll-hint { position: absolute; bottom: 56px; right: 90px; display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2; opacity: .35; pointer-events: none; }
.scroll-hint span { font-size: 9px; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); writing-mode: vertical-rl; }
.scroll-line { width: 1px; height: 44px; background: linear-gradient(to bottom, var(--amber), transparent); animation: spulse 1.8s ease-in-out infinite; }
@keyframes spulse { 0%,100%{opacity:.35;transform:scaleY(1)} 50%{opacity:.9;transform:scaleY(.65)} }

/* ── SHARED LABELS ────────────────────────── */
.slide-label {
  font-family: var(--mono); font-size: 10px; color: var(--amber);
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.slide-label::before { content:''; width:24px; height:1px; background:var(--amber); opacity:.5; }
.slide-title { font-size: clamp(32px, 3.5vw, 52px); font-weight: 700; letter-spacing: -1.2px; margin-bottom: 8px; line-height: 1.05; }
.slide-sub { font-family: var(--body); font-size: 15px; color: var(--text-2); margin-bottom: 36px; line-height: 1.6; }

/* ── S1 & S2: SERVICIOS / SOFTWARE — left-aligned ── */
#s1, #s2 { flex-direction: column; align-items: flex-start; justify-content: center; }
.modules-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; width: 100%;
}
.module-card {
  background: var(--bg); padding: 28px 26px;
  display: flex; flex-direction: column; gap: 10px;
  transition: background .2s; cursor: default;
  position: relative; overflow: hidden;
}
.module-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,140,0,.07) 0%, transparent 60%);
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.module-card:hover::before { opacity: 1; }
.module-card:hover { background: var(--bg-2); }
.module-card__header { display: flex; align-items: center; gap: 0.75rem; }
.module-num { font-family: var(--mono); font-size: 10px; color: var(--text-3); letter-spacing: .08em; }
.module-name { font-size: 16px; font-weight: 700; letter-spacing: -.3px; }
.module-desc { font-family: var(--body); font-size: 12.5px; color: var(--text-2); line-height: 1.6; }
.module-tag {
  font-size: 10px; font-weight: 600; color: var(--amber);
  background: rgba(255,140,0,.1); border: 1px solid rgba(255,140,0,.2);
  padding: 2px 8px; border-radius: 99px; align-self: flex-start; margin-top: 4px;
}
/* honest "coming soon" tag — neutral, uses existing tokens only */
.module-tag--soon { color: var(--text-3); background: rgba(255,255,255,.04); border-color: var(--border); }
/* in-card link to a product landing */
.module-link {
  font-family: var(--display); font-size: 12px; font-weight: 600; color: var(--amber);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px; align-self: flex-start; transition: gap .15s;
}
.module-link:hover { gap: 10px; }

/* ── S3: PROCESO — centered ──────────────── */
#s3 { flex-direction: column; justify-content: center; align-items: center; position: relative; }
.steps {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 0; width: 100%; margin-top: 44px; position: relative;
}
.steps::before {
  content: ''; position: absolute;
  top: 32px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent); opacity: .3;
}
.step { padding: 0 32px 0 0; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,140,0,.3); background: rgba(255,140,0,.06);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px; color: var(--amber); font-weight: 500; margin-bottom: 20px;
}
.step-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.3px; }
.step-desc { font-family: var(--body); font-size: 13.5px; color: var(--text-2); line-height: 1.7; }

/* ── S4: PILARES — carrusel vertical ─────── */
#s4 { padding: 0; flex-direction: row; align-items: stretch; overflow: hidden; }
/* autoplay progress bar */
.mc-progress-bar {
  position: absolute; bottom: 0; left: 0; height: 2px;
  background: var(--amber); width: 0%; opacity: .6;
  transition: none;
}
.mc-progress-bar.animating {
  transition: width linear;
}

.mc-left {
  width: 46%; padding: 0 40px 0 max(var(--pad), calc((100vw - var(--max-w)) / 2 + var(--pad)));
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2;
}
/* Heading pinned to the top so the meta block (num/name/desc/dots) centers on the orb */
.mc-head {
  position: absolute; top: 80px;
  left: max(var(--pad), calc((100vw - var(--max-w)) / 2 + var(--pad)));
  right: 40px;
  padding-bottom: 24px; border-bottom: 1px solid var(--border);
}
.mc-active-meta { margin-top: 40px; padding-top: 28px; }
.mc-active-num { font-family: var(--mono); font-size: 10px; color: var(--text-3); letter-spacing: .1em; margin-bottom: 8px; transition: all .4s ease; }
.mc-active-name { font-size: 28px; font-weight: 700; letter-spacing: -.6px; color: var(--amber); margin-bottom: 10px; transition: all .4s ease; }
.mc-active-desc { font-family: var(--body); font-size: 13.5px; color: var(--text-2); line-height: 1.7; max-width: 340px; transition: all .4s ease; }
.mc-dots { display: flex; gap: 6px; margin-top: 32px; }
.mc-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--text-3); transition: all .4s; cursor: pointer; }
.mc-dot.active { background: var(--amber); box-shadow: 0 0 8px rgba(255,140,0,.5); transform: scale(1.3); }

.mc-center {
  width: 16%; display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2;
}
.mc-float-wrap {
  position: relative; width: 200px; height: 200px;
  display: flex; align-items: center; justify-content: center;
}
.mc-aura {
  position: absolute; inset: -40px;
  background: radial-gradient(ellipse at center, rgba(255,140,0,.18) 0%, rgba(255,140,0,.06) 40%, transparent 70%);
  animation: aura-pulse 3s ease-in-out infinite; border-radius: 50%;
}
@keyframes aura-pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.1);opacity:.7} }
.mc-orb {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; /* FIX: center crystal */
  animation: mc-float 4s ease-in-out infinite;
}
@keyframes mc-float {
  0%,100%{transform:translateY(0px) rotate(0deg)}
  33%{transform:translateY(-14px) rotate(3deg)}
  66%{transform:translateY(-6px) rotate(-2deg)}
}
.mc-crystal {
  width: 120px; height: 120px;
  position: relative; display: flex; align-items: center; justify-content: center;
}
.mc-crystal-face {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,200,80,.22) 0%, rgba(255,120,0,.08) 100%);
  border: 1px solid rgba(255,180,60,.35); border-radius: 4px;
}
.mc-crystal-face:nth-child(1) { transform: perspective(300px) rotateY(15deg) rotateX(-10deg); }
.mc-crystal-face:nth-child(2) { transform: perspective(300px) rotateY(-15deg) rotateX(10deg) scaleX(.88); opacity:.7; }
.mc-crystal-face:nth-child(3) { transform: perspective(300px) rotateX(20deg) scaleY(.85); opacity:.5; }
.mc-icon-svg {
  position: relative; z-index: 2; width: 44px; height: 44px;
  color: var(--amber); opacity: .9;
  transition: all .4s cubic-bezier(.4,0,.2,1);
}
.mc-orb-ring {
  position: absolute; inset: -22px;
  border: 1px solid rgba(255,140,0,.15); border-radius: 50%;
  animation: ring-spin 12s linear infinite;
}
.mc-orb-ring::before {
  content: ''; position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 8px var(--amber);
  top: 50%; left: -3px; transform: translateY(-50%);
}
.mc-orb-ring-2 {
  position: absolute; inset: -38px;
  border: 1px solid rgba(255,140,0,.08); border-radius: 50%;
  animation: ring-spin 20s linear infinite reverse;
}
.mc-orb-ring-2::before {
  content: ''; position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255,200,80,.6); bottom: -2px; left: 50%; transform: translateX(-50%);
}
@keyframes ring-spin { to { transform: rotate(360deg); } }

.mc-right {
  width: 38%; display: flex; align-items: center;
  padding-right: max(var(--pad), calc((100vw - var(--max-w)) / 2 + var(--pad)));
  position: relative; z-index: 2; overflow: hidden; flex-shrink: 0;
}
.mc-list-viewport {
  height: 100%; width: 100%;
  display: flex; align-items: center; overflow: hidden; position: relative;
}
.mc-list-viewport::before,
.mc-list-viewport::after {
  content: ''; position: absolute; left: 0; right: 0; height: 120px; z-index: 3; pointer-events: none;
}
.mc-list-viewport::before { top: 0; background: linear-gradient(to bottom, var(--bg) 0%, transparent 100%); }
.mc-list-viewport::after  { bottom: 0; background: linear-gradient(to top, var(--bg) 0%, transparent 100%); }
.mc-list { display: flex; flex-direction: column; width: 100%; transition: transform .65s cubic-bezier(.4,0,.2,1); }
.mc-item {
  padding: 22px 0; border-bottom: 1px solid var(--border);
  cursor: pointer; transition: all .5s cubic-bezier(.4,0,.2,1);
  display: flex; align-items: flex-start; gap: 16px; transform-origin: left center;
}
.mc-item:first-child { border-top: 1px solid var(--border); }
.mc-item-num { font-family: var(--mono); font-size: 10px; color: var(--text-3); letter-spacing: .08em; padding-top: 4px; flex-shrink: 0; width: 24px; transition: color .4s; }
.mc-item-body { flex: 1; }
.mc-item-name { font-size: 17px; font-weight: 700; letter-spacing: -.3px; color: var(--text-3); transition: all .4s; line-height: 1.2; margin-bottom: 4px; }
.mc-item-desc { font-family: var(--body); font-size: 12px; color: var(--text-3); line-height: 1.55; opacity: 0; max-height: 0; overflow: hidden; transition: all .4s cubic-bezier(.4,0,.2,1); }
.mc-item-arrow { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; color: var(--text-3); opacity: 0; transition: all .4s; transform: translateX(-6px); }
.mc-item.mc-active .mc-item-num { color: var(--amber); }
.mc-item.mc-active .mc-item-name { color: var(--text); font-size: 20px; }
.mc-item.mc-active .mc-item-desc { opacity: 1; max-height: 60px; color: var(--text-2); }
.mc-item.mc-active .mc-item-arrow { opacity: .6; transform: translateX(0); color: var(--amber); }
.mc-item.mc-near { opacity: .55; }
.mc-item.mc-far  { opacity: .18; transform: scale(.96); }

/* skip-section escape — never traps the user inside the carousel */
.mc-skip {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 5; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,140,0,.06); color: var(--text-2);
  border: 1px solid rgba(255,140,0,.35); border-radius: 99px;
  padding: 8px 18px; cursor: pointer; font-family: var(--mono);
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  transition: all .2s;
}
.mc-skip:hover { color: #fff; border-color: rgba(255,140,0,.7); background: rgba(255,140,0,.12); box-shadow: 0 0 20px rgba(255,140,0,.18); }
.mc-skip svg { animation: spulse 1.8s ease-in-out infinite; }

/* ── S5: CONTACTO — centered ─────────────── */
#s5 { flex-direction: column; justify-content: center; align-items: center; }
.cta-wrap { position: relative; z-index: 2; max-width: 540px; width: 100%; text-align: center; }
/* contact: two-column layout */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "wrap form" "quick form";
  row-gap: 32px; column-gap: 48px;
  align-items: start;
  width: 100%; max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--pad);
  position: relative; z-index: 2;
}
.cta-wrap  { grid-area: wrap; }
.cta-form  { grid-area: form; align-self: center; }
.cta-quick { grid-area: quick; }
/* left column aligns to the start, like the rest of the site */
.cta-grid .cta-wrap { max-width: none; text-align: left; }
.cta-grid .cta-badge { justify-content: flex-start; }
.cta-grid .cta-sub { margin-bottom: 0; }
/* badge now matches slide-label style */
.cta-badge {
  font-family: var(--mono); font-size: 10px; color: var(--amber);
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px; justify-content: center;
}
.cta-badge::before { content:''; width:24px; height:1px; background:var(--amber); opacity:.5; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.7)} }
.cta-title { font-size: clamp(40px, 5vw, 68px); font-weight: 700; letter-spacing: -2px; line-height: .95; margin-bottom: 20px; }
.cta-sub { font-family: var(--body); font-size: 16px; color: var(--text-2); line-height: 1.7; margin-bottom: 36px; }
.cta-form { display: flex; flex-direction: column; gap: 10px; }
.cta-row { display: flex; gap: 10px; }
.cta-input {
  background: var(--bg-2); border: 1px solid var(--border);
  color: var(--text); padding: 13px 18px; border-radius: 8px;
  font-family: var(--body); font-size: 14px; outline: none;
  transition: border-color .15s, box-shadow .15s; width: 100%;
}
.cta-input::placeholder { color: var(--text-3); }
.cta-input:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255,140,0,.13); }
textarea.cta-input { resize: none; height: 160px; line-height: 1.6; }

/* REVEALS */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1{transition-delay:.08s} .reveal-d2{transition-delay:.18s} .reveal-d3{transition-delay:.28s}
.reveal-d4{transition-delay:.38s} .reveal-d5{transition-delay:.48s} .reveal-d6{transition-delay:.58s}
.module-card.reveal-d1{transition-delay:.05s} .module-card.reveal-d2{transition-delay:.13s}
.module-card.reveal-d3{transition-delay:.21s} .module-card.reveal-d4{transition-delay:.29s}
.module-card.reveal-d5{transition-delay:.37s} .module-card.reveal-d6{transition-delay:.45s}

/* ── LANG SELECTOR (dropdown) ──────────────── */
.lang-selector {
  position: relative;
  display: flex;
  align-items: center;
  /* margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid var(--border); */
}
.lang-trigger {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--body);
  font-size: 13px; font-weight: 500;
  color: var(--text-2);
  background: none; border: none;
  padding: 5px 7px; cursor: pointer;
  border-radius: 4px; line-height: 1;
  transition: color .15s, background .15s;
}
.lang-trigger:hover,
.lang-selector.open .lang-trigger { color: var(--text); background: rgba(255,255,255,.06); }
.lang-trigger [data-lang-code] { text-transform: uppercase; letter-spacing: .02em; }
.lang-chevron { font-size: 10px; transition: transform .15s; }
.lang-selector.open .lang-chevron { transform: rotate(180deg); }

.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 152px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,.8);
  padding: 6px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 10;
}
.lang-selector.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.lang-option {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--body);
  font-size: 13.5px;
  color: var(--text);
  background: none;
  border: 1px solid transparent;
  text-align: left;
  padding: 8px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.lang-option:hover { background: rgba(255,255,255,.05); border-color: rgba(255,140,0,.4); }
.lang-check {
  width: 13px; flex-shrink: 0; font-size: 11px;
  color: var(--amber); opacity: 0;
}
.lang-option.active .lang-check { opacity: 1; }

/* ── UNTRANSLATED ARTICLE NOTICE ───────────── */
.article-untranslated-notice {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--amber);
  background: rgba(255,140,0,.07);
  border: 1px solid rgba(255,140,0,.2);
  border-radius: 5px;
  padding: 8px 14px;
  margin: 20px 0 0;
}
