/* =============================================
   DESIGN SYSTEM — TU TALLER
   Estilo: Industrial · Agresivo · Moderno
============================================= */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,600;0,700;0,800;0,900;1,900&display=swap');

:root {
  --rojo: #cc0000;
  --rojo-hover: #e60000;
  --rojo-dark: #8b0000;
  --rojo-glow: rgba(204, 0, 0, 0.35);
  --negro: #080808;
  --gris-1: #111111;
  --gris-2: #1a1a1a;
  --gris-3: #242424;
  --gris-4: #2e2e2e;
  --gris-5: #3a3a3a;
  --gris-texto: #999999;
  --blanco: #ffffff;
  --blanco-off: #f0f0f0;

  --fuente: 'Barlow', sans-serif;

  /* Espaciado 4px base */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 20px;
  --s6: 24px;
  --s8: 32px;
  --s10: 40px;
  --s12: 48px;
  --s16: 64px;
  --s20: 80px;
  --s24: 96px;

  /* Tipografía modular 1.25 */
  --text-xs: 0.64rem;
  --text-sm: 0.8rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.563rem;
  --text-2xl: 1.953rem;
  --text-3xl: 2.441rem;
  --text-4xl: 3.052rem;
  --text-5xl: 3.815rem;

  /* Z-index escala fija */
  --z-base: 0;
  --z-raised: 10;
  --z-sticky: 20;
  --z-overlay: 30;
  --z-modal: 40;
  --z-toast: 50;

  /* Easings */
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-snappy: cubic-bezier(0.16, 1, 0.3, 1);

  /* ── Scroll cinemático ──────────────────────
     Cambia SOLO este número para ajustar cuánto
     dura el sticky scroll (en vh).
     CSS lo convierte a vh; JS lo lee y recalcula
     T automáticamente. No tocar nada más.
  ─────────────────────────────────────────── */
  --scroll-height: 700;
}


/* =============================================
   RESET
============================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  font-family: var(--fuente);
  background-color: var(--negro);
  color: var(--blanco);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

/* =============================================
   NAVBAR
============================================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--gris-4);
  padding: 0 var(--s8);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out);
}

.navbar.scrolled {
  border-bottom-color: var(--rojo);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}

.navbar__logo img {
  height: 46px;
  object-fit: contain;
  transition: filter 0.3s;
}

.navbar__logo:hover img {
  filter: brightness(1.1);
}

.navbar__links {
  display: flex;
  gap: var(--s10);
  align-items: center;
}

.navbar__links a {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris-texto);
  position: relative;
  padding: var(--s1) 0;
  transition: color 0.25s var(--ease-out);
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rojo);
  transition: width 0.3s var(--ease-snappy);
}

.navbar__links a:hover {
  color: var(--blanco);
}

.navbar__links a:hover::after,
.navbar__links a.active::after {
  width: 100%;
}

.navbar__links a.active {
  color: var(--blanco);
}

.navbar__cta {
  background: var(--rojo) !important;
  color: var(--blanco) !important;
  padding: var(--s2) var(--s6) !important;
  border-radius: 2px;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  transition: background 0.25s, box-shadow 0.25s, transform 0.15s var(--ease-spring) !important;
}

.navbar__cta:hover {
  background: var(--rojo-hover) !important;
  box-shadow: 0 0 20px var(--rojo-glow) !important;
  transform: translateY(-1px) !important;
}

.navbar__cta::after {
  display: none !important;
}

/* Cart access */
.navbar__right {
  display: flex;
  align-items: center;
  gap: var(--s6);
}

.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--blanco);
  background: var(--gris-2);
  border: 1px solid var(--gris-4);
  font-size: 1.1rem;
  transition: background 0.25s, border-color 0.25s, transform 0.15s var(--ease-spring), box-shadow 0.25s;
}

.nav-cart:hover {
  background: var(--rojo);
  border-color: var(--rojo);
  transform: translateY(-1px);
  box-shadow: 0 0 15px var(--rojo-glow);
}

.nav-cart.has-dot::after {
  content: '';
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background-color: var(--rojo);
  border-radius: 50%;
  border: 2px solid var(--negro);
  transition: transform 0.2s var(--ease-out), background-color 0.2s;
}

.nav-cart__badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background-color: var(--rojo);
  color: var(--blanco);
  font-size: 0.65rem;
  font-weight: 900;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--negro);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  animation: popBadge 0.3s var(--ease-spring);
}

@keyframes popBadge {
  0% {
    transform: scale(0);
  }

  80% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

/* Burger */
.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--s2);
  border-radius: 2px;
  transition: background 0.2s;
}

.navbar__burger:hover {
  background: var(--gris-3);
}

.navbar__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blanco);
  transition: transform 0.3s var(--ease-snappy), opacity 0.3s;
}

.navbar__burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__burger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar__burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .navbar__burger {
    display: flex;
  }

  .navbar__links {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    background: var(--gris-1);
    border-top: 1px solid var(--gris-4);
    border-bottom: 2px solid var(--rojo);
    flex-direction: column;
    padding: var(--s8) var(--s8) var(--s10);
    gap: var(--s6);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.35s var(--ease-snappy), opacity 0.3s;
    pointer-events: none;
  }

  .navbar__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .navbar__links a {
    font-size: var(--text-base);
  }

  .navbar__right {
    gap: var(--s2);
  }
}

/* =============================================
   PAGE HERO (páginas interiores)
============================================= */
.page-hero {
  position: relative;
  height: 52vh;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background-size: cover;
  background-position: center;
  margin-top: 68px;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--negro));
  z-index: 2;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(8, 8, 8, 0.9) 0%,
      rgba(8, 8, 8, 0.6) 60%,
      rgba(140, 0, 0, 0.15) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 3;
  padding: 0 var(--s16) var(--s16);
}

.page-hero__content span {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rojo);
  font-weight: 700;
  margin-bottom: var(--s2);
}

.page-hero__content h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  /* sobreescrito por page-hero--servicios */
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

/* Línea diagonal decorativa de marca */
.page-hero__content h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--rojo);
  margin-top: var(--s4);
  transform: skewX(-20deg);
}

@media (max-width: 768px) {
  .page-hero__content {
    padding: 0 var(--s6) var(--s10);
  }

  .page-hero {
    height: 45vh;
  }
}

/* =============================================
   CTA BANNER (compartido)
============================================= */
.cta-banner {
  position: relative;
  background: var(--gris-1);
  padding: var(--s20) var(--s8);
  text-align: center;
  overflow: hidden;
}

.cta-banner::before {
  content: '600';
  position: absolute;
  bottom: -10%;
  right: -2%;
  font-size: clamp(8rem, 22vw, 18rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(204, 0, 0, 0.18);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* Línea diagonal de marca en cta-banner */
.cta-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
      transparent 0%,
      var(--rojo) 20%,
      var(--rojo) 80%,
      transparent 100%);
}

.cta-banner__inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner__inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: var(--s3);
}

.cta-banner__inner p {
  font-size: var(--text-base);
  margin-bottom: var(--s8);
  color: var(--gris-texto);
  letter-spacing: 0.05em;
}

.cta-banner .btn {
  font-size: var(--text-base);
  padding: var(--s4) var(--s10);
}

/* =============================================
   BOTONES
============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: var(--s3) var(--s8);
  font-family: var(--fuente);
  font-weight: 800;
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition:
    background 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out),
    transform 0.15s var(--ease-spring),
    color 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn:hover::before {
  opacity: 1;
}

.btn:active {
  transform: scale(0.97) !important;
}

.btn--rojo {
  background: var(--rojo);
  color: var(--blanco);
  border-color: var(--rojo);
}

.btn--rojo:hover {
  background: var(--rojo-hover);
  border-color: var(--rojo-hover);
  box-shadow: 0 0 24px var(--rojo-glow), 0 4px 16px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--blanco);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline:hover {
  border-color: var(--blanco);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--rojo);
  border-color: var(--rojo);
}

.btn--ghost:hover {
  background: var(--rojo);
  color: var(--blanco);
  box-shadow: 0 0 20px var(--rojo-glow);
}

/* =============================================
   FOOTER
============================================= */
.footer {
  position: relative;
  background: var(--gris-1);
  border-top: 1px solid var(--gris-4);
  padding: var(--s16) var(--s8) var(--s8);
  overflow: hidden;
}

/* Patrón sutil de fondo tipo malla industrial */
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Línea roja diagonal de marca en footer */
.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
      transparent 0%,
      var(--rojo) 20%,
      var(--rojo) 80%,
      transparent 100%);
}

.footer__grid {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto var(--s12);
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--s10);
}

.footer__logo img {
  height: 48px;
  margin-bottom: var(--s4);
  filter: brightness(0.9);
  transition: filter 0.3s;
}

.footer__logo img:hover {
  filter: brightness(1.1);
}

.footer__logo p {
  color: var(--gris-texto);
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 220px;
}

.footer__col h4 {
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rojo);
  font-weight: 800;
  margin-bottom: var(--s5);
}

.footer__col ul li {
  margin-bottom: var(--s3);
}

.footer__col ul li a {
  color: var(--gris-texto);
  font-size: var(--text-sm);
  transition: color 0.2s, padding-left 0.2s var(--ease-snappy);
  display: inline-block;
}

.footer__col ul li a:hover {
  color: var(--blanco);
  padding-left: var(--s2);
}

.footer__col p {
  color: var(--gris-texto);
  font-size: var(--text-sm);
  line-height: 1.9;
}

.footer__bottom {
  position: relative;
  z-index: 1;
  text-align: center;
  border-top: 1px solid var(--gris-4);
  padding-top: var(--s6);
  color: var(--gris-5);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__credits {
  margin-top: var(--s2);
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0.03em;
  color: var(--gris-5);
}

.footer__credits a {
  color: #888;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer__credits a:hover {
  color: var(--rojo);
}

.footer__legal {
  margin-top: var(--s3);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--s3);
  font-size: 11px !important;
  text-transform: none;
  letter-spacing: 0.03em;
}

.footer__legal a {
  color: #888;
  transition: color 0.2s ease;
}

.footer__legal a:hover {
  color: var(--rojo);
}

.footer__legal .sep {
  color: #444;
  user-select: none;
}

@media (min-width: 769px) {
  .footer__bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    text-align: left;
  }
  
  .footer__bottom > p {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
    margin: 0;
  }
  
  .footer__credits {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
    margin-top: var(--s1);
  }
  
  .footer__legal {
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-content: flex-end;
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   SECTION TITLE
============================================= */
.section-title {
  text-align: center;
  margin-bottom: var(--s12);
}

.section-title__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rojo);
  font-weight: 700;
  margin-bottom: var(--s3);
  position: relative;
  padding: 0 var(--s6);
}

.section-title__eyebrow::before,
.section-title__eyebrow::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--rojo);
  opacity: 0.6;
}

.section-title__eyebrow::before {
  right: calc(100% + var(--s6));
}

.section-title__eyebrow::after {
  left: calc(100% + var(--s6));
}

.section-title h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* Decoración outline en la segunda línea si existe */
.section-title h2 em {
  font-style: normal;
  -webkit-text-stroke: 1.5px var(--blanco);
  color: transparent;
}

/* =============================================
   SEPARADOR DIAGONAL (elemento de marca)
============================================= */
.skew-divider {
  position: relative;
  height: 60px;
  overflow: hidden;
  background: inherit;
  margin: 0;
  padding: 0;
}

.skew-divider--down::before {
  content: '';
  position: absolute;
  top: 0;
  left: -5%;
  right: -5%;
  height: 100%;
  background: var(--negro);
  transform: skewY(-1.5deg);
  transform-origin: top left;
}

.skew-divider--up::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -5%;
  right: -5%;
  height: 100%;
  background: var(--gris-2);
  transform: skewY(-1.5deg);
  transform-origin: bottom left;
}

/* =============================================
   SCROLL REVEAL — Stagger
============================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s var(--ease-out),
    transform 0.65s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delays para stagger */
.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* =============================================
   REDUCED MOTION
============================================= */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }
}

/* =============================================
   MODAL DE CONFIRMACIÓN (logout, etc.)
============================================= */
.confirm-dialog {
  position: fixed;
  inset: 0;
  z-index: var(--z-toast);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out);
}

.confirm-dialog.is-open {
  opacity: 1;
  pointer-events: all;
}

.confirm-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.confirm-dialog__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: var(--gris-1);
  border: 1px solid var(--gris-4);
  border-top: 4px solid var(--rojo);
  border-radius: 4px;
  padding: var(--s8) var(--s6) var(--s6);
  text-align: center;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.65),
    0 0 40px var(--rojo-glow);
  transform: translateY(16px) scale(0.97);
  transition:
    transform 0.3s var(--ease-snappy),
    opacity 0.25s var(--ease-out);
}

.confirm-dialog.is-open .confirm-dialog__card {
  transform: translateY(0) scale(1);
}

.confirm-dialog__card--neutral {
  border-top-color: var(--gris-5);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
}

.confirm-dialog__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--s5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(204, 0, 0, 0.12);
  border: 1px solid rgba(204, 0, 0, 0.35);
  color: var(--rojo-hover);
  font-size: var(--text-xl);
}

.confirm-dialog__card--neutral .confirm-dialog__icon {
  background: var(--gris-3);
  border-color: var(--gris-4);
  color: var(--blanco-off);
}

.confirm-dialog__title {
  font-size: var(--text-xl);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blanco);
  margin-bottom: var(--s3);
  line-height: 1.2;
}

.confirm-dialog__message {
  font-size: var(--text-base);
  color: var(--gris-texto);
  line-height: 1.5;
  margin-bottom: var(--s8);
}

.confirm-dialog__actions {
  display: flex;
  flex-direction: column-reverse;
  gap: var(--s3);
}

@media (min-width: 400px) {
  .confirm-dialog__actions {
    flex-direction: row;
    justify-content: center;
  }

  .confirm-dialog__btn {
    flex: 1;
    max-width: 180px;
  }
}

.confirm-dialog__btn {
  min-height: 44px;
}

/* Accesibilidad / SEO: texto solo para lectores de pantalla y buscadores */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Selector de idioma (web pública) */
.site-language-selector {
  position: relative;
  display: inline-block;
}

.lang-dropdown-trigger {
  background: var(--gris-2);
  border: 1px solid var(--gris-4);
  color: var(--blanco);
  padding: var(--s2) var(--s5);
  border-radius: 2px;
  font-weight: 700;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  gap: var(--s3);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  min-width: 145px;
  justify-content: space-between;
  text-transform: uppercase;
}

.site-language-selector .lang-dropdown-trigger {
  min-width: 72px;
  padding: var(--s2) var(--s3);
  font-size: var(--text-xs);
}

.lang-dropdown-trigger:hover {
  border-color: var(--rojo);
  background-color: var(--gris-3);
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.15);
}

.lang-dropdown-trigger i.fa-language {
  color: var(--rojo);
  font-size: 1.15rem;
}

.lang-dropdown-trigger .arrow {
  font-size: 0.8rem;
  color: var(--gris-texto);
  transition: transform 0.25s ease;
}

.site-language-selector.open .lang-dropdown-trigger {
  border-color: var(--rojo);
  background-color: var(--gris-3);
}

.site-language-selector.open .lang-dropdown-trigger .arrow {
  transform: rotate(180deg);
  color: var(--rojo);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--gris-4);
  border-radius: 4px;
  padding: 6px;
  margin: 0;
  list-style: none;
  min-width: 170px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

.site-language-selector.open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-dropdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 2px;
  color: var(--gris-texto);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  text-transform: uppercase;
}

.lang-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--blanco);
}

.lang-dropdown-item.active {
  background: var(--rojo);
  color: var(--blanco);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.25);
}

.lang-dropdown-item .flag {
  font-size: 1.1rem;
}

html.i18n-pending body {
  visibility: hidden;
}

.checkout-header .site-language-selector {
  margin-left: auto;
}

.footer__lang {
  margin-bottom: var(--s4);
}