/* =========================================================
   TOKENS (Design System)
   ========================================================= */

:root {
  /* Default = Dark */
  --bg: #0b1220;
  --panel: #101a2f;
  --panel-solid: #0b1020; /* usado como fallback sólido */
  --text: #e7edf9;
  --muted: #b5c2df;

  --border: rgba(255, 255, 255, 0.10);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);

  --brand: #5eead4;
  --brand2: #60a5fa;

  --radius: 22px;
  --max: 1120px;
}

/* Light theme (se aplica en <html data-theme="light">) */
html[data-theme="light"] {
  --bg: #ffffff;
  --panel: #f6f7fb;
  --panel-solid: #ffffff;

  --text: #0f172a;
  --muted: #475569;

  --border: rgba(2, 6, 23, 0.10);
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.12);

  --brand: #0ea5e9;
  --brand2: #22c55e;
}

/* =========================================================
   BASE / RESET
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

/* Accesibilidad: "skip to content" */
.skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.7rem 1rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  z-index: 9999;
}

/* =========================================================
   TOPBAR / NAV
   ========================================================= */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(10px);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 800;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent);
}

/* Menu desktop */
.menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu a {
  opacity: 0.9;
  text-decoration: none;
  padding: 0.35rem 0.25rem; /* mejor hit area */
  border-radius: 10px;
}

.menu a:hover {
  opacity: 1;
  background: color-mix(in srgb, var(--panel) 65%, transparent);
  text-decoration: none;
}

.pill {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--panel) 75%, transparent);
  text-decoration: none;
}

.icon-btn,
.menu-btn {
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
}

.menu-btn {
  display: none;
  margin-left: auto;
}

/* Theme switch */
.theme-switch {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 70%, transparent);
}

.theme-ic {
  opacity: 0.85;
  font-size: 0.95rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 30px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  border: 1px solid var(--border);
  transition: 0.2s;
  border-radius: 999px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  top: 3px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  transition: 0.2s;
  border-radius: 999px;
}

.switch input:checked + .slider:before {
  transform: translateX(22px);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  padding: 4.5rem 0 2.6rem; /* más aire (trend) */
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.20;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 420px at 25% 30%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 55%),
    radial-gradient(700px 350px at 70% 40%, color-mix(in srgb, var(--brand2) 18%, transparent), transparent 55%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 1.3rem;
  align-items: stretch;
}

.kicker {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  color: var(--muted);
  font-size: 0.92rem;
}

h1 {
  font-family: Sora, Inter, ui-sans-serif;
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0.9rem 0 0.7rem;
}

.sub {
  font-size: 1.12rem;
  max-width: 62ch;
}

.muted {
  color: var(--muted);
  font-size: 1rem;
}

/* CTA */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.2rem 0 1rem;
}

.btn {
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  /* micro-interactions */
  transition: transform 0.12s ease, opacity 0.12s ease, filter 0.12s ease, border-color 0.18s ease;
}

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

.btn.primary {
  border: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #04121a;
  font-weight: 800;
}

.btn.primary:hover {
  filter: saturate(1.08) contrast(1.05);
}

.btn.ghost {
  background: transparent;
}

.btn.small {
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  font-size: 0.95rem;
}

/* Proof bar */
.proof {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.proof li {
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--panel) 75%, transparent);
  border-radius: var(--radius);
  padding: 0.85rem 0.9rem;
  box-shadow: var(--shadow);
}

.proof strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.proof span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.meta span {
  border-left: 2px solid var(--border);
  padding-left: 0.8rem;
}

.meta span:first-child {
  border-left: 0;
  padding-left: 0;
}

/* Hero card (foto + focus actual) */
.hero-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 78%, transparent);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* Foto: encuadre estable + responsive */
.hero-card .avatar {
  width: 100%;
  height: clamp(240px, 28vw, 320px);
  object-fit: cover;

  /* MUY IMPORTANTE:
     valores altos muestran más "abajo" (rostro).
     Prueba 62%–78%. */
  object-position: 50% 35%;

  display: block;
  border-bottom: 1px solid var(--border);
  background: var(--panel-solid);
  filter: saturate(1.05) contrast(1.05);
}

/* Overlay sutil para integrar la foto (premium) */
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 220px at 50% 0%, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0) 55%);
  pointer-events: none;
}

.hero-card-body {
  padding: 1rem 1rem 1.1rem;
}

.h3 {
  margin: 0.3rem 0 0.5rem;
  font-size: 1.15rem;
}

.tiny {
  font-size: 0.9rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0 0;
}

.chip {
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 65%, transparent);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.mini-cta {
  margin-top: 1rem;
}

.link {
  color: color-mix(in srgb, var(--brand) 70%, var(--text));
  text-decoration: none;
  text-underline-offset: 3px;
}

.link:hover {
  text-decoration: underline;
}

/* =========================================================
   SECTIONS / HEADERS
   ========================================================= */

.section {
  padding: 3.5rem 0;
}

.section.alt {
  background: color-mix(in srgb, var(--panel) 35%, transparent);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.section-head h2 {
  font-family: Sora, Inter, ui-sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  letter-spacing: -0.015em;
  margin: 0;
}

.section-head p {
  margin: 0;
}

/* =========================================================
   FILTERS + CARDS (Case Studies)
   ========================================================= */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 1.2rem;
}

.filter {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
}

.filter.active {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--brand) 55%, transparent),
    color-mix(in srgb, var(--brand2) 55%, transparent)
  );
  border-color: transparent;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 78%, transparent);
  overflow: hidden;
  box-shadow: var(--shadow);

  /* hover premium */
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand) 28%, var(--border));
}

.card img.case-img{
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.card-body {
  padding: 1.25rem;
}

.card h3 {
  margin: 0.15rem 0 0.4rem;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.bullets {
  margin: 0.65rem 0 1rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.bullets li {
  margin: 0.2rem 0;
}

/* =========================================================
   SKILLS GRID
   ========================================================= */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.panel h3 {
  margin: 0.2rem 0 0.6rem;
}

.list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.list li {
  margin: 0.35rem 0;
}

/* =========================================================
   EXPERIENCE TIMELINE
   ========================================================= */

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.timeline li {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 78%, transparent);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.t-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: baseline;
}

.t-head strong {
  font-size: 1.05rem;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 78%, transparent);
  padding: 1rem;
  box-shadow: var(--shadow);
}

label {
  display: block;
  margin: 0.65rem 0;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.75rem 0.8rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  color: var(--text);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: color-mix(in srgb, var(--brand) 60%, var(--border));
}

.hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 1rem 0;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  border-top: 1px solid var(--border);
  padding: 1.4rem 0;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

/* =========================================================
   MODAL
   ========================================================= */

.modal {
  width: min(720px, calc(100% - 2rem));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow);
  padding: 0;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.modal-body {
  padding: 1rem;
}

/* =========================================================
   GLOBAL POLISH
   ========================================================= */

/* Paneles tipo glass suave (moderno, elegante) */
.card,
.panel,
.hero-card,
.form,
.timeline li,
.proof li {
  background: var(--panel);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Transición suave entre temas */
body,
.card,
.panel,
.hero-card,
.form,
.timeline li,
.proof li {
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 920px) {
  .theme-switch {
    order: 2;
    margin-left: 0;
  }

  .menu-btn {
    margin-left: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .menu-btn {
    display: inline-flex;
  }

  .menu {
    position: absolute;
    right: 1rem;
    top: 70px;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0.6rem;
    min-width: 220px;
    box-shadow: var(--shadow);
    display: none;
  }

  .menu.open {
    display: flex;
  }

  .nav {
    position: relative;
  }

  .menu {
    margin-left: 0;
  }
}
/* ===== Floating Action Buttons (FAB) ===== */
.fab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;

  width: 54px;
  height: 54px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--panel) 78%, transparent);
  color: var(--text);
  box-shadow: var(--shadow);

  cursor: pointer;
  text-decoration: none;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition: transform .18s ease, opacity .18s ease, border-color .18s ease, filter .18s ease;
}

.fab:hover{
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand) 28%, var(--border));
}

.fab:active{ transform: translateY(0); }

/* Back to top: aparece solo cuando haces scroll */
.fab-top{
  opacity: 0;
  pointer-events: none;
}

.fab-top.show{
  opacity: 1;
  pointer-events: auto;
}

/* WhatsApp */
.fab-wa{
  bottom: 84px; /* para no chocar con el de arriba */
  color: #0b1a12; /* texto/icono en botón verde */
  border: 0;
  background: linear-gradient(135deg, #25D366, #128C7E);
  filter: saturate(1.05);
}

.fab-wa:hover{ filter: saturate(1.15) contrast(1.05); }
/* Accordion Experience */
.xp{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background: var(--panel);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.xp summary{
  list-style:none;
  cursor:pointer;
  padding:1rem 1.1rem;
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
  align-items:baseline;
}

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

.xp summary::after{
  content:"▾";
  margin-left:auto;
  opacity:.7;
  transition: transform .2s ease;
}

.xp[open] summary::after{
  transform: rotate(180deg);
}

.xp-body{
  padding:0 1.1rem 1.1rem;
  border-top:1px solid var(--border);
}
/* ===============================
   Language switch
   =============================== */

.lang-switch{
  margin-left: .6rem;
}

.lang-btn{
  border:1px solid var(--border);
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  color:var(--text);
  padding:.45rem .75rem;
  border-radius:999px;
  font-size:.85rem;
  cursor:pointer;
  transition: background .15s ease, transform .1s ease;
}

.lang-btn:hover{
  background: color-mix(in srgb, var(--panel) 85%, transparent);
}

.lang-btn:active{
  transform: translateY(1px);
}
/* =========================================================
   Case cards: KPI overlay (premium, sin logos)
   ========================================================= */

.card-media{
  position: relative;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.card-media img{
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .35s ease;
}

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

/* Overlay gradient */
.card-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: .7rem;
  padding: 1rem 1rem 1.05rem;

  background:
    radial-gradient(700px 260px at 30% 15%,
      color-mix(in srgb, var(--brand) 20%, transparent),
      transparent 55%),
    linear-gradient(to top,
      rgba(0,0,0,.70),
      rgba(0,0,0,.15) 55%,
      rgba(0,0,0,0) 80%);

  color: #fff;
}

/* Badge superior */
.case-badge{
  position: absolute;
  top: .9rem;
  left: .9rem;
  padding: .35rem .6rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .01em;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(16,26,47,.50);
  backdrop-filter: blur(8px);
}

/* KPI block */
.case-kpi{
  display: grid;
  gap: .1rem;
}

.case-kpi strong{
  font-size: 1.6rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.case-kpi span{
  font-size: .95rem;
  opacity: .9;
}

/* Tags row */
.case-meta{
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.case-tag{
  font-size: .82rem;
  padding: .28rem .5rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(16,26,47,.45);
  backdrop-filter: blur(8px);
}

/* SR-only helper */
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  border:0;
}

/* Better readability on light theme overlays */
[data-theme="light"] .card-overlay{
  background:
    radial-gradient(700px 260px at 30% 15%,
      color-mix(in srgb, var(--brand) 18%, transparent),
      transparent 55%),
    linear-gradient(to top,
      rgba(15,23,42,.78),
      rgba(15,23,42,.20) 55%,
      rgba(15,23,42,0) 80%);
}
/* Fix: elimina cualquier fondo accidental arriba del hero */
.hero {
  background: transparent !important;
}

/* Asegura que el fondo del hero esté detrás */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* El overlay de tu hero (radial gradients) debe estar encima del hero-bg */
.hero::before {
  z-index: -1;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11, 18, 32, .65),
    rgba(11, 18, 32, .20),
    rgba(11, 18, 32, .70)
  );
}
/* ===== Hero background fix (remove stray patch) ===== */
.hero {
  position: relative;
  isolation: isolate; /* evita artefactos de z-index negativos */
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.18;
  overflow: hidden;
  border-radius: 0; /* por si algún radio recorta raro */
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
  transform: scale(1.02); /* evita “seams”/parches por subpixel */
}

/* =========================================
   Language switch (ES/EN) — contraste OK
   Pegar al FINAL de styles.css
========================================= */

/* Default (Dark): texto blanco */
.lang-switch #langToggle.pill,
.lang-switch #langToggle.pill span {
  color: #fff !important;
}

/* Dark: hover/focus */
.lang-switch #langToggle.pill:hover,
.lang-switch #langToggle.pill:focus-visible {
  background: color-mix(in srgb, var(--accent) 25%, transparent);
}

/* Light theme: texto oscuro */
html[data-theme="light"] .lang-switch #langToggle.pill,
html[data-theme="light"] .lang-switch #langToggle.pill span {
  color: #0f172a !important;
}

