/* ===========================================================
   HandCraftGames — main.css
   Estética: cartón, celo y sellos de correos. Bordes gruesos,
   sombra dura sin difuminado, cero gradientes, hovers simples.
   AYUDA
   =========================================================== */


@import url('https://fonts.googleapis.com/css2?family=Bungee&family=Space+Mono:wght@400;700&display=swap');

:root {
  --kraft: #E7D9B9;
  --kraft-dark: #D8C69C;
  --ink: #241A12;
  --terracota: #C4472B;
  --tape: #F2C230;
  --sello: #4C6B4F;
  --papel: #FFF8EC;

  --faq-abierto: #d6c18c;

  --borde: 3px solid var(--ink);
  --sombra: 5px 5px 0 var(--ink);
  --sombra-sm: 3px 3px 0 var(--ink);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--kraft);
  color: var(--ink);
  font-family: 'Space Mono', monospace;
  font-size: 17px;
  line-height: 1.55;
}

h1, h2, h3, .display {
  font-family: 'Bungee', cursive;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.envolvente {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Foco de teclado visible en todo */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px dashed var(--sello);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* --- Botón tipo pegatina --- */
.boton {
  display: inline-block;
  font-family: 'Bungee', cursive;
  font-size: 0.95rem;
  color: var(--papel);
  background: var(--terracota);
  border: var(--borde);
  border-radius: 6px;
  padding: 14px 26px;
  text-decoration: none;
  box-shadow: var(--sombra);
  cursor: pointer;
  transform: rotate(-1deg);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.boton:hover {
  transform: rotate(0deg) translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}
.boton--outline {
  background: var(--papel);
  color: var(--ink);
}
.boton--sello {
  background: var(--sello);
}

/* Botón en construcción */
.boton--obras {
  opacity: 0.65;
  cursor: not-allowed;
  transform: rotate(-1deg);
}
.boton--obras:hover {
  transform: rotate(-1deg);
  box-shadow: var(--sombra);
}

/* ===========================================================
   SEPARADOR — montañitas de dos colores, siempre a juego
   con la sección de arriba y la de abajo
   =========================================================== */
.separador {
  position: relative;
  height: 40px;
  width: 100%;
  overflow: hidden;
}
.separador::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sep-arriba, var(--ink));
}
.separador::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sep-abajo, var(--kraft));
  clip-path: polygon(
    0% 100%, 0% 40%, 8% 55%, 16% 20%, 24% 45%, 32% 10%, 40% 35%,
    48% 15%, 56% 40%, 64% 5%, 72% 30%, 80% 50%, 88% 25%, 96% 45%,
    100% 15%, 100% 100%
  );
}

@media (max-width: 600px) {
  .separador { height: 26px; }
}


/* Aviso obras */
.obras {
  background: repeating-linear-gradient(
    45deg,
    var(--tape),
    var(--tape) 14px,
    var(--ink) 14px,
    var(--ink) 28px
  );
  padding: 8px 16px;
  border-bottom: var(--borde);
}
.obras__texto {
  display: block;
  max-width: 720px;
  margin: 0 auto;
  background: var(--papel);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 7px 16px;
  text-align: center;
  font-family: 'Bungee', cursive;
  font-size: 0.7rem;
  line-height: 1.4;
  box-shadow: var(--sombra-sm);
}


/* ===========================================================
   CABECERA
   =========================================================== */
.cabecera {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--papel);
  border-bottom: var(--borde);
}
.cabecera__interior {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
}

.logo {
  font-family: 'Bungee', cursive;
  font-size: 1.4rem;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Logo en imagen */
.logo__imagen {
  height: 60px;
  width: auto;
  display: block;
  /* Pequeña rotación*/
  transform: rotate(-1deg);
  transition: transform 0.12s ease;
}
.logo:hover .logo__imagen {
  transform: rotate(0deg);
}

/* Estilo anterior del sello HC, por si acaso se quiere recuperar */
.logo__sello {
  background: var(--terracota);
  color: var(--papel);
  border: 2px solid var(--ink);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transform: rotate(-8deg);
}

.nav {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  border-bottom: 3px solid transparent;
  padding-bottom: 3px;
}
.nav a:hover { border-bottom-color: var(--terracota); }

.nav-toggle { display: none; }

.nav-cta {
  display: inline-block;
  font-family: 'Bungee', cursive;
  font-size: 0.82rem;
  color: var(--papel);
  background: var(--terracota);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 8px 14px;
  text-decoration: none;
  box-shadow: var(--sombra-sm);
  transform: rotate(-2deg);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  white-space: nowrap;
}
.nav-cta:hover {
  transform: rotate(0deg) translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}
 
/* --- Botón de login --- */
.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
  background: var(--papel);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 7px 12px;
  cursor: pointer;
  box-shadow: var(--sombra-sm);
}
.nav-login:hover { background: var(--tape); }

@media (max-width: 860px) {
  .nav-cta, .nav-login { width: 100%; text-align: center; }
}

@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--papel);
    border-bottom: var(--borde);
    flex-direction: column;
    align-items: flex-end; 
    padding: 16px 24px;
    gap: 14px;
  }
  .nav.abierto { display: flex; }
  .nav-toggle {
    display: inline-block;
    font-family: 'Bungee', cursive;
    background: var(--tape);
    border: var(--borde);
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
  }
}

@media (max-width: 860px) {
  header .nav.abierto {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  header .nav.abierto > li {
    width: 100%;
    text-align: center;
  }
  header .nav.abierto > li > a,
  header .nav.abierto > li > button {
    display: block;
    width: 100%;
    text-align: center;
  }
}


/* ===========================================================
   MODAL DE LOGIN (solo front, sin registro)
   =========================================================== */
.modal-fondo {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(36, 26, 18, 0.65);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-fondo.abierto { display: flex; }
 
.modal-login {
  background: var(--papel);
  border: var(--borde);
  border-radius: 8px;
  box-shadow: var(--sombra);
  padding: 30px;
  max-width: 380px;
  width: 100%;
  position: relative;
  transform: rotate(-0.6deg);
}
.modal-login__cerrar {
  position: absolute;
  top: 10px; right: 12px;
  background: none;
  border: none;
  font-family: 'Bungee', cursive;
  font-size: 1rem;
  cursor: pointer;
  color: var(--ink);
}
.modal-login__ojo {
  display: inline-block;
  background: var(--ink);
  color: var(--tape);
  font-family: 'Bungee', cursive;
  font-size: 0.7rem;
  padding: 4px 9px;
  margin-bottom: 10px;
  transform: rotate(-2deg);
}
.modal-login h3 { font-size: 1.2rem; margin-bottom: 6px; }
.modal-login__nota { font-size: 0.85rem; margin: 0 0 18px; opacity: 0.85; }
.modal-login .formulario { margin-top: 0; }
 

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  background-color: var(--ink);
  background-image: var(--hero-img, none);
  background-size: cover;
  background-position: center;
  border-bottom: var(--borde);
  overflow: hidden;
  cursor: grab;
}
.hero:active { cursor: grabbing; }

/* Para cuando hay imagen: overlay simple sin blur */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(36, 26, 18, 0.55);
  pointer-events: none;
}
.hero__contenido {
  position: relative;
  padding: 50px 24px 60px;
  max-width: 780px;
  z-index: 1;
}
.hero__etiqueta {
  display: inline-block;
  background: var(--tape);
  border: 2px solid var(--ink);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 10px;
  transform: rotate(-3deg);
  margin-bottom: 14px;
}
.hero__titulo {
  color: var(--papel);
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  transform: rotate(-1.5deg);
  text-shadow: 4px 4px 0 var(--ink);
}
.hero__subtitulo {
  color: var(--papel);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 18px 0 26px;
}
.hero__acciones { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 18px;
  right: 24px;
  color: var(--papel);
  font-size: 0.8rem;
  font-weight: 700;
  writing-mode: vertical-rl;
  z-index: 1;
}

/* Visor de imagen con zoom/pan (se usa cuando hay --hero-img) */
.hero__visor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none; /* El JS lo activa si hay imagen */
}
.hero__visor img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  transition: transform 0.1s linear;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}


/* ===========================================================
   CABECERA SECUNDARIA (catálogo / personalización)
   =========================================================== */
.subhero {
  background: var(--ink);
  border-bottom: var(--borde);
  padding: 46px 0 40px;
}
.subhero__etiqueta {
  display: inline-block;
  background: var(--tape);
  border: 2px solid var(--ink);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 10px;
  transform: rotate(-3deg);
  margin-bottom: 14px;
}
.subhero h1 {
  color: var(--papel);
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  transform: rotate(-1deg);
}
.subhero p {
  color: var(--papel);
  max-width: 60ch;
  margin-top: 14px;
  opacity: 0.9;
}


/* ===========================================================
   QUÉ HACEMOS
   =========================================================== */
.seccion { padding: 70px 0; }
.seccion__cabecera { max-width: 640px; margin-bottom: 40px; }
.seccion__ojo {
  display: inline-block;
  background: var(--ink);
  color: var(--tape);
  font-family: 'Bungee', cursive;
  font-size: 0.75rem;
  padding: 5px 10px;
  margin-bottom: 12px;
  transform: rotate(-2deg);
}
.seccion__titulo { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.seccion__texto { margin-top: 12px; max-width: 60ch; }

.pasos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.paso {
  background: var(--papel);
  border: var(--borde);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--sombra-sm);
}
.paso:nth-child(1) { transform: rotate(-1.5deg); }
.paso:nth-child(2) { transform: rotate(1deg); }
.paso:nth-child(3) { transform: rotate(-0.8deg); }
.paso__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: var(--terracota);
  color: var(--papel);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: 'Bungee', cursive;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.paso h3 { font-size: 1.05rem; margin-bottom: 8px; }
.paso p { margin: 0; font-size: 0.92rem; }

@media (max-width: 820px) {
  .pasos { grid-template-columns: 1fr; }
}


/* ===========================================================
   CARRUSEL + LISTA DE CONTENIDO (packing list)
   =========================================================== */
.seccion--kraft-dark { background: var(--kraft-dark); }
 
.duo {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: stretch;
}
@media (max-width: 860px) {
  .duo { grid-template-columns: 1fr; }
}
 
/* Contenedor del carrusel: caja de juego vertical (3:4) */
.carrusel {
  position: relative;
  background: var(--papel);
  border: var(--borde);
  border-radius: 8px;
  box-shadow: var(--sombra);
  overflow: hidden;
  max-width: 300px;
  margin: 0 auto;
}
.carrusel__pista {
  display: flex;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.carrusel__pista img {
  min-width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}
.carrusel__slide {
  min-width: 100%;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--kraft);
  font-weight: 700;
  color: var(--ink);
  border-right: 2px dashed var(--ink);
}
.carrusel__slide img { width: 100%; height: 100%; object-fit: cover; }
 
.carrusel__vacio {
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.75;
}
 
.carrusel__controles {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: var(--borde);
  padding: 10px 14px;
  background: var(--papel);
}
.carrusel__btn {
  font-family: 'Bungee', cursive;
  font-size: 0.7rem;
  background: var(--tape);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
}
.carrusel__btn:hover { background: var(--terracota); color: var(--papel); }
.carrusel__puntos { display: flex; gap: 8px; }
.carrusel__punto {
  width: 10px; height: 10px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--papel);
  cursor: pointer;
  padding: 0;
}
.carrusel__punto.activo { background: var(--terracota); }




/* --- Overlay de zoom del carrusel --- */
.carrusel-zoom-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.carrusel-zoom-overlay.activo {
  display: flex;
}

.carrusel-zoom-overlay__inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.carrusel-zoom-overlay__img {
  max-width: 90vw;
  max-height: 80vh;
  cursor: zoom-in;
  user-select: none;
  transition: transform 0.05s linear;
}

.carrusel-zoom-overlay__cerrar {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: 600;
  z-index: 2;
}

.carrusel-zoom-overlay__hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.85rem;
  opacity: 0.8;
}
 
.recibo {
  background: var(--papel);
  border: var(--borde);
  border-radius: 8px;
  box-shadow: var(--sombra);
  padding: 26px 26px 20px;
  position: relative;
}
.recibo::before {
  content: "CONTENIDO DEL PAQUETE";
  display: block;
  font-family: 'Bungee', cursive;
  font-size: 0.85rem;
  border-bottom: 2px dashed var(--ink);
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.recibo ul { list-style: none; margin: 0; padding: 0; }
.recibo li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed #c9b98e;
  font-size: 0.92rem;
}
.recibo li:last-child { border-bottom: none; }

.recibo li span:last-child {
  font-weight: 700;
  color: var(--sello);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===========================================================
   PRECIOS
   =========================================================== */
.tarjetas-precio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
@media (max-width: 720px) {
  .tarjetas-precio { grid-template-columns: 1fr; }
}

.precio-card {
  background: var(--papel);
  border: var(--borde);
  border-radius: 8px;
  box-shadow: var(--sombra);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.precio-card:nth-child(1) { transform: rotate(-1deg); }
.precio-card:nth-child(2) { transform: rotate(0.8deg); }

/* Tarjeta destacada (jugador) */
.precio-card--destacado {
  background: var(--ink);
  color: var(--papel);
  border-color: var(--ink);
}
.precio-card--destacado .precio-card__ojo {
  background: var(--tape);
  color: var(--ink);
}
.precio-card--destacado .precio-card__lista li::before {
  color: var(--tape);
}

.precio-card__ojo {
  display: inline-block;
  background: var(--sello);
  color: var(--papel);
  font-family: 'Bungee', cursive;
  font-size: 0.72rem;
  padding: 4px 10px;
  transform: rotate(-2deg);
  align-self: flex-start;
}
.precio-card__numero {
  font-family: 'Bungee', cursive;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--terracota);
}
.precio-card--destacado .precio-card__numero {
  color: var(--tape);
}
.precio-card__decimal {
  font-size: 1.6rem;
  vertical-align: baseline;
}
.precio-card__desc {
  font-size: 0.88rem;
  margin: 0;
  opacity: 0.9;
}
.precio-card__lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.precio-card__lista li {
  font-size: 0.88rem;
  padding-left: 18px;
  position: relative;
}
.precio-card__lista li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--sello);
  font-size: 0.8rem;
}

.precios__nota {
  text-align: center;
  font-size: 0.88rem;
  max-width: 60ch;
  margin: 0 auto;
  opacity: 0.85;
}
.precios__nota a {
  font-weight: 700;
  text-decoration: underline;
}


/* ===========================================================
   PARA DESARROLLADOR / PARA JUGADOR
   =========================================================== */
.tarjetas-dos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: var(--borde);
  border-radius: 8px;
  box-shadow: var(--sombra);
  overflow: hidden;
  background: var(--papel);
}
.tarjeta-info { padding: 32px; }
.tarjeta-info:first-child { border-right: 3px dashed var(--ink); }
.tarjeta-info__ojo {
  font-family: 'Bungee', cursive;
  font-size: 0.75rem;
  background: var(--sello);
  color: var(--papel);
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 10px;
  transform: rotate(-2deg);
}
.tarjeta-info h3 { font-size: 1.3rem; margin-bottom: 10px; }
.tarjeta-info ul { margin: 14px 0 18px; padding-left: 20px; }
.tarjeta-info li { margin-bottom: 8px; font-size: 0.92rem; }

@media (max-width: 720px) {
  .tarjetas-dos { grid-template-columns: 1fr; }
  .tarjeta-info:first-child { border-right: none; border-bottom: 3px dashed var(--ink); }
}




/* ===========================================================
   CONTACTO
   =========================================================== */
.postal {
  background: var(--papel);
  border: var(--borde);
  border-radius: 8px;
  box-shadow: var(--sombra);
  padding: 34px;
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}
.postal__sello {
  position: absolute;
  top: -18px; right: 30px;
  background: var(--tape);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 8px 14px;
  font-family: 'Bungee', cursive;
  font-size: 0.75rem;
  transform: rotate(6deg);
}
.postal .boton { margin-top: 12px; }
.postal__nota {
  margin-top: 14px;
  font-size: 0.82rem;
  opacity: 0.75;
}

/* Formulario (comentado en HTML, estilos listos para cuando se active) */
.formulario { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo label { font-weight: 700; font-size: 0.85rem; }
.campo input, .campo textarea {
  font-family: 'Space Mono', monospace;
  font-size: 0.95rem;
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 10px 12px;
  background: var(--kraft);
  color: var(--ink);
  resize: vertical;
}
.campo input:focus, .campo textarea:focus { background: var(--papel); }

/* ===== FORMULARIO DE CONTACTO ===== */
.formulario__ok {
  display: none;
  background: var(--sello);
  color: var(--papel);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.92rem;
  margin-top: 14px;
  text-align: center;
}
.formulario__ok.visible { display: block; }

.formulario__error {
  display: none;
  background: var(--terracota);
  color: var(--papel);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 0.88rem;
  margin-top: 14px;
}
.formulario__error.visible { display: block; }

.boton--enviando {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}


/* ===========================================================
   FOOTER
   =========================================================== */
.pie {
  background: var(--ink);
  color: var(--papel);
  border-top: var(--borde);
  padding: 34px 0 22px;
  font-size: 0.85rem;
}
.pie__interior {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.pie__marca { font-family: 'Bungee', cursive; font-size: 1.05rem; }

/* Logo en el footer */
.pie__logo {
  height: 70px;
  width: auto;
  display: block;
  /* Invertir colores para que el logo oscuro se vea en fondo oscuro */
  margin-bottom: 8px;
}

.pie a { text-decoration: none; }
.pie a:hover { color: var(--tape); }
.pie__cols { display: flex; gap: 40px; flex-wrap: wrap; }
.pie__col ul { list-style: none; padding: 0; margin: 8px 0 0; }
.pie__col li { margin-bottom: 6px; }
.pie__barras {
  margin-top: 24px;
  height: 16px;
  background: repeating-linear-gradient(90deg, var(--papel) 0 3px, transparent 3px 7px);
  opacity: 0.6;
}
.pie__legal {
  display: block;
  text-align: center;
  margin-top: 14px;
  opacity: 0.7;
  font-size: 0.78rem;
}

.pie__legales {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
  font-size: 0.78rem;
}
.pie__legales a { opacity: 0.75; text-decoration: underline; }
.pie__legales a:hover { opacity: 1; }


@media (max-width: 720px) {
  .pie__interior {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 34px;
  }

  .pie__marca {
    display: flex;
    justify-content: center;
  }

  .pie__cols {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
  }

  .pie__col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .pie__col ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
  }

  .pie__legal {
    border-top: 1px dashed rgba(255, 255, 255, 0.25);
    padding-top: 16px;
    margin-top: 10px;
  }
}




/* ===========================================================
   Estilos para el desplegable de idioma y el overlay de zoom
=========================================================== */

/* --- Desplegable de idioma --- */
.nav__idioma {
  position: relative;
}

.nav__btn-idioma {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;

  color: var(--papel);
  background: var(--terracota);
  border: var(--borde);
  border-radius: 6px;
  padding: 10px 22px;
  text-decoration: none;
  box-shadow: var(--sombra);
  cursor: pointer;
  transform: rotate(-1deg);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}


.nav__btn-idioma:hover {
  transform: rotate(0deg) translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--ink);
}


.nav__dropdown-idioma {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 140px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  display: none;
  flex-direction: column;
  z-index: 50;
}

.nav__dropdown-idioma.abierto {
  display: flex;
}

.nav__opcion-idioma {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.nav__opcion-idioma:hover {
  background: rgba(0, 0, 0, 0.06);
}

.nav__opcion-idioma.activo {
  font-weight: 700;
}

.nav__opcion-idioma.activo::after {
  content: ' ✓';
}
