/* ============================================================
   ArchLatam — estética inspirada en omabox.app
   ============================================================ */

:root {
  --bg: #0b0c13;
  --bg-elevated: #12141c;
  --bg-card: #151822;
  --border: rgb(255 255 255 / 0.08);
  --border-strong: rgb(255 255 255 / 0.14);

  --text: #e8eaf0;
  --text-muted: #8b90a0;
  --text-dim: #5c6170;

  --accent: #9ece6a;
  --accent-dim: #7eb85a;
  --accent-soft: rgb(158 206 106 / 0.12);

  --font-sans: "Instrument Sans", system-ui, sans-serif;
  --font-display: "Chakra Petch", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 12px;
  --radius-sm: 8px;
  --max: 1080px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--accent);
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ---------- Top bar ---------- */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgb(11 12 19 / calc(0.75 + 0.2 * var(--t, 0)));
  border-bottom: 1px solid rgb(255 255 255 / calc(0.04 + 0.06 * var(--t, 0)));
  transition: background 0.2s, border-color 0.2s;
}

.top-bar .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 56px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
  border-radius: 4px;
  position: relative;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--accent);
  border-radius: 1px;
  opacity: 0.7;
}
.logo-mark.small {
  width: 14px;
  height: 14px;
  border-width: 1.5px;
}

.nav {
  display: none;
  gap: 1.25rem;
  margin-left: auto;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.nav a:hover { color: var(--text); }

.actions {
  display: flex;
  gap: 0.6rem;
  margin-left: auto;
}

.nav a { white-space: nowrap; }

@media (min-width: 1100px) {
  .nav { display: flex; }
  .actions { margin-left: 0; }
}

/* Barra superior en celular: que nada se parta en dos líneas */
@media (max-width: 480px) {
  .top-bar .wrap { gap: 0.75rem; }
  .actions { gap: 0.45rem; }
  .actions .btn {
    height: 34px;
    padding: 0 0.8rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 380px) {
  .actions .btn.ghost { display: none; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 36px;
  padding: 0 0.95rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn:active { transform: scale(0.97); }

.btn.primary {
  background: var(--accent);
  color: #0b0c13;
}
.btn.primary:hover { filter: brightness(1.08); }

.btn.ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn.ghost:hover {
  background: rgb(255 255 255 / 0.04);
  border-color: rgb(255 255 255 / 0.22);
}

.btn.large {
  height: 44px;
  padding: 0 1.3rem;
  font-size: 0.95rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem 0.35rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgb(158 206 106 / 0.25);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
}

a.badge {
  text-decoration: none;
  transition: border-color 0.2s;
}

a.badge:hover {
  border-color: rgb(158 206 106 / 0.5);
}

.badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

/* ---------- Terminal del hero ---------- */
.term {
  width: min(100%, 520px);
  margin: 0 0 1.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -22px rgb(0 0 0 / 0.8);
  overflow: hidden;
  font-family: var(--font-mono);
}

.term-chrome {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.85rem;
  background: rgb(255 255 255 / 0.03);
  border-bottom: 1px solid var(--border);
}

.term-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.term-dot.r { background: #ff5f57; }
.term-dot.y { background: #febc2e; }
.term-dot.g { background: #28c840; }

.term-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.term-body {
  padding: 1.1rem 1.25rem 1.3rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.term-path {
  color: #7dcfff;
  font-weight: 600;
}

.term-line {
  color: var(--text);
  word-break: break-word;
}

.term-prompt {
  color: var(--accent);
  font-weight: 700;
  margin-right: 0.5rem;
}

.term-cursor {
  display: inline-block;
  width: 0.6em;
  height: 1.15em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: var(--text);
  animation: term-blink 1.05s steps(1) infinite;
}

.term-cursor.typing {
  animation: none;
}

@keyframes term-blink {
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .term-cursor { animation: none; }
}

@media (max-width: 420px) {
  .term-title { display: none; }
  .term-body { font-size: 0.85rem; padding: 0.95rem 1rem 1.1rem; }
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 5.2vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero h1 .accent { color: var(--accent); }

.lead {
  max-width: 36rem;
  margin: 0 0 2rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.features-mini {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.features-mini .icon {
  color: var(--accent);
  margin-right: 0.35rem;
}

/* Escena visual */
.hero-visual {
  margin-top: 3.5rem;
  perspective: 1200px;
}

.scene {
  position: relative;
  height: 280px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.5rem;
  transform-style: preserve-3d;
}

.box {
  width: 160px;
  height: 110px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  box-shadow:
    0 0 0 1px rgb(158 206 106 / 0.08),
    0 20px 40px -10px rgb(0 0 0 / 0.6);
  transform: rotateX(8deg) rotateY(-6deg);
  transition: transform 0.4s ease, box-shadow 0.4s;
  overflow: hidden;
}
.box:hover {
  transform: rotateX(4deg) rotateY(-3deg) translateY(-6px);
  box-shadow:
    0 0 0 1px rgb(158 206 106 / 0.2),
    0 28px 50px -12px rgb(0 0 0 / 0.7);
}

.box-1 { transform: rotateX(8deg) rotateY(12deg) translateZ(-20px); }
.box-2 { transform: rotateX(6deg) rotateY(-4deg) translateY(-18px); z-index: 2; }
.box-3 { transform: rotateX(8deg) rotateY(-14deg) translateZ(-20px); }

.box-header {
  padding: 0.4rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  background: rgb(255 255 255 / 0.02);
}

.box-body {
  height: calc(100% - 28px);
  background:
    linear-gradient(135deg, rgb(158 206 106 / 0.06), transparent 60%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 6px,
      rgb(255 255 255 / 0.015) 6px,
      rgb(255 255 255 / 0.015) 7px
    );
}

.floor {
  position: absolute;
  bottom: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

@media (max-width: 600px) {
  .scene { height: 200px; gap: 0.75rem; }
  .box { width: 110px; height: 80px; }
}

/* ---------- Secciones ---------- */
.section {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}

.section.alt {
  background: rgb(255 255 255 / 0.015);
}

.section-label {
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section h2 .muted {
  color: var(--text-muted);
  font-weight: 500;
}

.section-lead {
  max-width: 38rem;
  margin: 0 0 2.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.4rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}
.card:hover {
  border-color: var(--border-strong);
  background: #181b26;
}

.card-num {
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.card-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 500;
}
.card-link:hover { text-decoration: underline; }

/* Use grid */
.use-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem 2rem;
}

.use h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.use p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Capturas del escritorio ---------- */
.shots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.shot {
  margin: 0;
}

.shot-wide {
  grid-column: 1 / -1;
}

.shot-frame {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 40px -16px rgb(0 0 0 / 0.55);
  transition: border-color 0.2s, transform 0.25s;
}

.shot:hover .shot-frame {
  border-color: rgb(158 206 106 / 0.25);
  transform: translateY(-2px);
}

.shot-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.75rem;
  background: rgb(255 255 255 / 0.03);
  border-bottom: 1px solid var(--border);
}

.shot-chrome .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0.7;
}
.shot-chrome .dot.r { background: #ff5f57; }
.shot-chrome .dot.y { background: #febc2e; }
.shot-chrome .dot.g { background: #28c840; }

.shot-title {
  margin-left: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

.shot-canvas {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0e1018;
  overflow: hidden;
}

.shot-wide .shot-canvas {
  aspect-ratio: 16 / 9;
  /* max-height: 420px; */
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

figcaption {
  margin-top: 0.55rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.shots-hint {
  margin: 1.75rem 0 0;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-align: center;
}

/* Placeholders visuales (sustituir por <img> reales) */
.plasma-desk {
  background:
    radial-gradient(ellipse at 30% 20%, rgb(158 206 106 / 0.08), transparent 50%),
    linear-gradient(160deg, #12151f 0%, #0b0c13 100%);
}
.plasma-desk .fake-panel {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 12%;
  background: rgb(20 22 30 / 0.92);
  border-top: 1px solid var(--border);
}
.plasma-desk .fake-dock {
  position: absolute;
  left: 50%;
  bottom: 14%;
  transform: translateX(-50%);
  width: 42%;
  height: 8%;
  border-radius: 10px;
  background: rgb(255 255 255 / 0.06);
  border: 1px solid var(--border);
}
.plasma-desk .fake-win {
  position: absolute;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: rgb(18 20 28 / 0.85);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.4);
}
.plasma-desk .w1 {
  top: 12%; left: 8%; width: 38%; height: 55%;
}
.plasma-desk .w2 {
  top: 18%; right: 10%; width: 36%; height: 48%;
  border-color: rgb(158 206 106 / 0.2);
}

.plasma-menu {
  background: linear-gradient(145deg, #141620, #0b0c13);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fake-menu {
  width: 70%;
  padding: 0.75rem;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
}
.fake-search {
  height: 12px;
  border-radius: 6px;
  background: rgb(255 255 255 / 0.06);
  margin-bottom: 0.65rem;
}
.fake-apps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
}
.fake-apps span {
  aspect-ratio: 1;
  border-radius: 8px;
  background: rgb(158 206 106 / 0.1);
  border: 1px solid rgb(158 206 106 / 0.15);
}

.plasma-term {
  background: #0a0b10;
  padding: 1rem 1.1rem;
  font-family: var(--font-mono);
}
.fake-term {
  margin: 0;
  font-size: clamp(0.65rem, 1.6vw, 0.8rem);
  line-height: 1.55;
  color: var(--text-muted);
  white-space: pre-wrap;
}

.plasma-snap {
  background: linear-gradient(160deg, #12151f, #0b0c13);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.fake-list {
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.fake-row {
  height: 18px;
  border-radius: 6px;
  background: rgb(255 255 255 / 0.05);
  border: 1px solid var(--border);
}
.fake-row.on {
  background: var(--accent-soft);
  border-color: rgb(158 206 106 / 0.3);
}

@media (max-width: 640px) {
  .shots-grid {
    grid-template-columns: 1fr;
  }
  .shot-wide {
    /* max-width: 820px; */
    /* margin-inline: auto; */
    grid-column: auto;
  }
}

/* ---------- Descargas ---------- */
.dl-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.download-card {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.download-card.featured {
  border-color: rgb(158 206 106 / 0.28);
  background: linear-gradient(135deg, rgb(158 206 106 / 0.06), var(--bg-card) 40%);
}

.download-card:hover {
  border-color: var(--border-strong);
}

.download-badge {
  position: absolute;
  top: -0.55rem;
  left: 1.25rem;
  padding: 0.15rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #0b0c13;
  background: var(--accent);
  border-radius: 999px;
}

.download-name {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.download-meta {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.dl-steps {
  margin-bottom: 2.25rem;
}

.dl-steps-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.dl-steps-lead {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.dl-steps-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.dl-reqs {
  padding: 1.25rem 1.4rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.req-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.65rem 1.5rem;
}

.req-list li {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.req-list li span {
  display: inline-block;
  min-width: 3.2rem;
  margin-right: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Code block */
.code-block {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  max-width: 100%;
  padding: 0.9rem 1.1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent);
  overflow-x: auto;
}

.code-block.compact {
  margin-top: 0.6rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.75rem;
}

.code-block code { white-space: nowrap; }

.copy-btn {
  flex-shrink: 0;
  height: 28px;
  padding: 0 0.7rem;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.copy-btn:hover {
  color: var(--text);
  border-color: rgb(255 255 255 / 0.25);
}

/* ---------- Soporte técnico ---------- */
.support-cards {
  margin-bottom: 2.25rem;
}

.support-box {
  padding: 1.35rem 1.5rem;
  margin-bottom: 2.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.support-checklist {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.support-checklist li {
  margin-bottom: 0.35rem;
}

.support-faq {
  margin-bottom: 0.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.15s;
}

.faq-item:hover,
.faq-item[open] {
  border-color: var(--border-strong);
}

.faq-item summary {
  padding: 0.9rem 1.1rem;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 1.1rem 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* CTA */
.section.cta {
  text-align: center;
}

.section.cta .section-lead {
  margin-inline: auto;
}

.section.cta .btn {
  margin-bottom: 1.25rem;
}

.meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Footer */
.footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
}

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

.footer p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

::selection {
  background: rgb(158 206 106 / 0.25);
  color: var(--text);
}

/* ---------- Etiquetas de novedades en la tarjeta ---------- */
.download-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.feat {
  padding: 0.2rem 0.6rem;
  font-size: 0.74rem;
  color: var(--accent);
  background: rgb(158 206 106 / 0.08);
  border: 1px solid rgb(158 206 106 / 0.28);
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Selector de idioma ---------- */
.lang-btn {
  height: 36px;
  min-width: 42px;
  padding: 0 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}

.lang-btn:hover {
  background: rgb(255 255 255 / 0.04);
  border-color: rgb(255 255 255 / 0.22);
}

@media (max-width: 480px) {
  .lang-btn { height: 34px; min-width: 38px; padding: 0 0.6rem; }
}
