/* =============================================
   ALPACAVIAJES — styles.css
   Paleta: poncho de alpaca 🦙
   ============================================= */

/* --- Variables --- */
:root {
  --ruso: #3B82F6;
  --portugues: #22C55E;
  --chino: #EF4444;
  --ingles: #EAB308;
  --castellano: #A855F7;

  --fondo: #FDFAF5;
  --texto: #1C1917;
  --texto-suave: #78716C;
  --blanco: #FFFFFF;
  --sombra: rgba(28, 25, 23, 0.08);

  --fuente-titulo: 'Fraunces', Georgia, serif;
  --fuente-cuerpo: 'DM Sans', sans-serif;

  --radio: 16px;
  --radio-grande: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fuente-cuerpo);
  background-color: var(--fondo);
  color: var(--texto);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

/* =============================================
   NAV
   ============================================= */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blanco);
  border-bottom: 1px solid #E7E5E4;
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-alpaca {
  font-size: 1.6rem;
}

.logo-text {
  font-family: var(--fuente-titulo);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--texto);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--texto-suave);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--texto);
}

.nav-cta {
  background: var(--texto) !important;
  color: var(--blanco) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: opacity 0.2s !important;
}

.nav-cta:hover {
  opacity: 0.8;
}

.nav-hamburguesa {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  z-index: 101;
}

.nav-hamburguesa span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--texto);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Animación X al abrir */
.nav-hamburguesa.abierto span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburguesa.abierto span:nth-child(2) { opacity: 0; }
.nav-hamburguesa.abierto span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-poncho {
  grid-column: 1 / -1;
  display: flex;
  height: 6px;
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.franja {
  flex: 1;
}

.hero-contenido {
  grid-column: 1;
}

.hero-alpaca {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.alpaca-img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radio-grande);
  box-shadow: 0 12px 40px var(--sombra);
  /* Placeholder si no hay imagen */
  background: linear-gradient(135deg, #EAB308 0%, #22C55E 50%, #3B82F6 100%);
  min-height: 260px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texto-suave);
  margin-bottom: 1rem;
}

.hero-titulo {
  font-family: var(--fuente-titulo);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  color: var(--texto);
}

.hero-titulo em {
  font-style: italic;
  font-weight: 400;
  color: var(--castellano);
}

.hero-bajada {
  font-size: 1.1rem;
  color: var(--texto-suave);
  max-width: 480px;
  margin-bottom: 2rem;
}

.btn-principal {
  display: inline-block;
  background: var(--texto);
  color: var(--blanco);
  padding: 0.9rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px var(--sombra);
}

.btn-principal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--sombra);
}

/* =============================================
   SEPARADOR PONCHO
   ============================================= */
.separador-poncho,
.footer-poncho {
  display: flex;
  height: 8px;
}

.franja-sep {
  flex: 1;
}

/* =============================================
   IDIOMAS
   ============================================= */
/* Offset para que el nav sticky no tape las secciones al scrollear */
#idiomas,
#metodos,
#sobre {
  scroll-margin-top: 120px;
}
.idiomas {
  max-width: 1100px;
  margin: 5rem auto;
  padding: 0 2rem;
}

.seccion-titulo {
  font-family: var(--fuente-titulo);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.seccion-bajada {
  color: var(--texto-suave);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.idiomas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.2rem;
}

.idioma-card {
  background: var(--blanco);
  border-radius: var(--radio);
  padding: 1.8rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--texto);
  box-shadow: 0 2px 12px var(--sombra);
  border-top: 4px solid var(--color-idioma);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.idioma-card:not(.proxim):hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px var(--sombra);
}

.idioma-card.proxim {
  opacity: 0.6;
  cursor: default;
}

.idioma-bandera {
  font-size: 2.2rem;
}

.idioma-nombre {
  font-family: var(--fuente-titulo);
  font-size: 1.25rem;
  font-weight: 700;
}

.idioma-desc {
  font-size: 0.9rem;
  color: var(--texto-suave);
  line-height: 1.4;
  flex: 1;
}

.idioma-flecha {
  font-size: 1.2rem;
  color: var(--color-idioma);
  font-weight: 700;
  margin-top: 0.5rem;
}

.idioma-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--texto-suave);
  background: #F5F5F4;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  width: fit-content;
}

/* =============================================
   SOBRE
   ============================================= */
.sobre {
  background: var(--texto);
  color: var(--blanco);
  padding: 5rem 2rem;
}

.sobre-contenido {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.sobre-imagen img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radio-grande);
  flex-shrink: 0;
}

.sobre h2 {
  font-family: var(--fuente-titulo);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1.5rem;
}

.sobre p {
  color: #D6D3D1;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--blanco);
}

.footer-cuerpo {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--texto-suave);
}

.footer-link {
  color: var(--texto-suave);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--texto);
}

/* =============================================
   PÁGINA DE IDIOMA (ingles.html)
   ============================================= */
.barra-idioma {
  height: 6px;
  width: 100%;
}

.hero-idioma {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
}

.hero-idioma-contenido {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.hero-idioma-texto {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.hero-idioma-imagen img {
  max-width: 300px;
  height: auto;
  border-radius: var(--radio-grande);
  box-shadow: 0 12px 40px var(--sombra);
}

.idioma-bandera-grande {
  font-size: 3rem;
}

.hero-idioma h1 {
  font-family: var(--fuente-titulo);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
}

.idioma-contenido {
  max-width: 1100px;
  margin: 0 auto 5rem;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.leccion-card {
  background: var(--blanco);
  border-radius: var(--radio);
  padding: 1.8rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  box-shadow: 0 2px 12px var(--sombra);
  transition: transform 0.2s;
}

.leccion-card:hover {
  transform: translateX(6px);
}

.leccion-numero {
  color: var(--blanco);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  min-width: 48px;
  text-align: center;
  font-family: var(--fuente-titulo);
}

.leccion-cuerpo {
  flex: 1;
}

.leccion-cuerpo h3 {
  font-family: var(--fuente-titulo);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.leccion-cuerpo p {
  color: var(--texto-suave);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.btn-leccion {
  display: inline-block;
  background: transparent;
  color: var(--color-idioma, var(--ingles));
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 2px solid var(--color-idioma, var(--ingles));
  transition: opacity 0.2s;
}

.btn-leccion:hover {
  opacity: 0.7;
}

/* =============================================
   MÉTODOS DE APRENDIZAJE
   ============================================= */
.metodos {
  max-width: 1100px;
  margin: 5rem auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.metodos-encabezado {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 1rem;
}

.metodos-encabezado h2 {
  font-family: var(--fuente-titulo);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.metodos-encabezado p {
  color: var(--texto-suave);
  font-size: 1.05rem;
}

.metodo-fila {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.metodo-etiqueta {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blanco);
  background: var(--color-metodo);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.metodo-texto h3 {
  font-family: var(--fuente-titulo);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.metodo-texto h3 em {
  font-style: italic;
  font-weight: 400;
}

.metodo-texto p {
  color: var(--texto-suave);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 400px;
}

.metodo-card {
  background: var(--blanco);
  border-radius: var(--radio-grande);
  padding: 2.4rem 2rem;
  box-shadow: 0 4px 24px var(--sombra);
  border-top: 5px solid var(--color-metodo);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.metodo-icono {
  font-size: 2.8rem;
  line-height: 1;
}

.metodo-card h4 {
  font-family: var(--fuente-titulo);
  font-size: 1.35rem;
  font-weight: 700;
}

.metodo-card p {
  color: var(--texto-suave);
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
}

.btn-metodo {
  display: inline-block;
  background: var(--color-metodo);
  color: var(--blanco);
  padding: 0.75rem 1.6rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  width: fit-content;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px var(--sombra);
}

.btn-metodo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--sombra);
}

/* =============================================
   JUEGOS
   ============================================= */
.juegos-lista {
  max-width: 900px;
  margin: 4rem auto 5rem;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.juego-card {
  background: var(--blanco);
  border-radius: var(--radio);
  padding: 2rem;
  display: flex;
  gap: 1.8rem;
  align-items: flex-start;
  box-shadow: 0 2px 12px var(--sombra);
  border-left: 5px solid var(--color-juego);
  text-decoration: none;
  color: var(--texto);
  transition: transform 0.25s, box-shadow 0.25s;
}

.juego-card:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 28px var(--sombra);
}

.juego-card-icono {
  font-size: 2.8rem;
  line-height: 1;
  flex-shrink: 0;
}

.juego-card-cuerpo {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.juego-tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-juego);
}

.juego-card-cuerpo h3 {
  font-family: var(--fuente-titulo);
  font-size: 1.4rem;
  font-weight: 700;
}

.juego-card-cuerpo p {
  color: var(--texto-suave);
  font-size: 0.95rem;
  line-height: 1.6;
}

.btn-juego {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-juego);
  margin-top: 0.3rem;
}

/* =============================================
   GRAMMARCRUSH
   ============================================= */
.grammarcrush-contenedor {
  max-width: 680px;
  margin: 3rem auto 5rem;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gc-progreso {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gc-contador {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--texto-suave);
  white-space: nowrap;
}

.gc-barra {
  flex: 1;
  height: 6px;
  background: #E7E5E4;
  border-radius: 100px;
  overflow: hidden;
}

.gc-barra-fill {
  height: 100%;
  background: var(--castellano);
  border-radius: 100px;
  transition: width 0.4s ease;
}

.gc-card {
  background: var(--blanco);
  border-radius: var(--radio-grande);
  padding: 2.4rem;
  box-shadow: 0 4px 24px var(--sombra);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.gc-tipo-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  width: fit-content;
}

.tag-ingles    { background: #FEF9C3; color: #854D0E; }
.tag-castellano { background: #F3E8FF; color: #6B21A8; }

.gc-frase {
  font-family: var(--fuente-titulo);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--texto);
}

.gc-input-grupo {
  display: flex;
  gap: 0.8rem;
}

.gc-input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: 2px solid #E7E5E4;
  border-radius: var(--radio);
  font-family: var(--fuente-cuerpo);
  font-size: 1rem;
  color: var(--texto);
  background: var(--fondo);
  transition: border-color 0.2s;
  outline: none;
}

.gc-input:focus  { border-color: var(--castellano); }
.gc-input:disabled { opacity: 0.6; }

.gc-btn-enviar {
  background: var(--castellano);
  color: var(--blanco);
  border: none;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radio);
  font-family: var(--fuente-cuerpo);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.gc-btn-enviar:hover    { opacity: 0.85; }
.gc-btn-enviar:disabled { opacity: 0.4; cursor: default; }

.gc-feedback { display: flex; flex-direction: column; gap: 0.6rem; }

.gc-feedback-texto {
  font-weight: 600;
  font-size: 1.05rem;
}

.correcto   { color: #16A34A; }
.incorrecto { color: #DC2626; }

.gc-traduccion-correcta {
  font-size: 0.95rem;
  color: var(--texto-suave);
}

.gc-tip {
  background: var(--fondo);
  border-left: 4px solid var(--castellano);
  padding: 0.8rem 1rem;
  border-radius: 0 var(--radio) var(--radio) 0;
  font-size: 0.9rem;
  color: var(--texto-suave);
  line-height: 1.6;
}

.gc-navegacion {
  display: flex;
  justify-content: space-between;
}

.gc-btn-nav {
  background: var(--blanco);
  color: var(--texto);
  border: 2px solid #E7E5E4;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radio);
  font-family: var(--fuente-cuerpo);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.gc-btn-nav:hover    { border-color: var(--castellano); color: var(--castellano); }
.gc-btn-nav:disabled { opacity: 0.35; cursor: default; }

.gc-btn-siguiente {
  background: var(--texto);
  color: var(--blanco);
  border-color: var(--texto);
}

.gc-btn-siguiente:hover    { opacity: 0.8; color: var(--blanco); border-color: var(--texto); }
.gc-btn-siguiente:disabled { opacity: 0.35; }

/* =============================================
   FORO — HERO
   ============================================= */
.hero-foro {
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
}

.hero-foro-overlay {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--blanco);
}

.hero-foro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.55);
  z-index: 0;
}

.hero-foro h1 {
  font-family: var(--fuente-titulo);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
}

.hero-foro .hero-bajada {
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-bottom: 0;
}

/* =============================================
   JUEGOS — HERO
   ============================================= */
.hero-juegos {
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
}

.hero-juegos-overlay {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--blanco);
}

.hero-juegos::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.55);
  z-index: 0;
}

.hero-juegos h1 {
  font-family: var(--fuente-titulo);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
}

.hero-juegos .hero-bajada {
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-bottom: 0;
}

/* =============================================
   FORO — CURIOSIDADES
   ============================================= */
.curiosidades {
  max-width: 1100px;
  margin: 4rem auto 3rem;
  padding: 0 2rem;
}

.curiosidades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}

.curiosidad-card {
  background: var(--blanco);
  border-radius: var(--radio);
  padding: 1.6rem;
  box-shadow: 0 2px 12px var(--sombra);
  border-top: 4px solid var(--castellano);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.curiosidad-bandera { font-size: 2rem; line-height: 1; }

.curiosidad-texto {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--texto);
  flex: 1;
}

.curiosidad-traduccion {
  font-family: var(--fuente-titulo);
  font-style: italic;
  font-size: 1rem;
  color: var(--castellano);
}

/* =============================================
   FORO — POSTS
   ============================================= */
.foro-contenedor {
  max-width: 740px;
  margin: 3rem auto 5rem;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.foro-form {
  background: var(--blanco);
  border-radius: var(--radio-grande);
  padding: 2rem;
  box-shadow: 0 4px 24px var(--sombra);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.foro-form-titulo {
  font-family: var(--fuente-titulo);
  font-size: 1.2rem;
  font-weight: 700;
}

.foro-input,
.foro-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #E7E5E4;
  border-radius: var(--radio);
  font-family: var(--fuente-cuerpo);
  font-size: 0.95rem;
  color: var(--texto);
  background: var(--fondo);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.foro-input:focus,
.foro-textarea:focus { border-color: var(--castellano); }

.foro-input-sm  { font-size: 0.9rem; padding: 0.6rem 0.9rem; }
.foro-textarea-sm { font-size: 0.9rem; padding: 0.6rem 0.9rem; }

.foro-btn-publicar {
  background: var(--castellano);
  color: var(--blanco);
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 100px;
  font-family: var(--fuente-cuerpo);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  width: fit-content;
  transition: opacity 0.2s;
}

.foro-btn-publicar:hover { opacity: 0.85; }
.foro-btn-sm { padding: 0.6rem 1.2rem; font-size: 0.88rem; }

.foro-btn-cancelar {
  background: none;
  border: none;
  color: var(--texto-suave);
  font-family: var(--fuente-cuerpo);
  font-size: 0.88rem;
  cursor: pointer;
  padding: 0.6rem 0;
}

.foro-btn-cancelar:hover { color: var(--texto); }

.respuesta-form-btns {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.foro-vacio {
  text-align: center;
  padding: 3rem;
  color: var(--texto-suave);
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.foro-vacio span { font-size: 3rem; }

.foro-posts {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.post-card {
  background: var(--blanco);
  border-radius: var(--radio);
  padding: 1.6rem;
  box-shadow: 0 2px 12px var(--sombra);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.post-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.post-autor {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--texto);
}

.post-fecha {
  font-size: 0.8rem;
  color: var(--texto-suave);
}

.post-contenido {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--texto);
}

.post-acciones {
  display: flex;
  gap: 0.8rem;
}

.btn-like,
.btn-responder {
  background: none;
  border: 1px solid #E7E5E4;
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  font-family: var(--fuente-cuerpo);
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--texto-suave);
  transition: border-color 0.2s, color 0.2s;
}

.btn-like:hover,
.btn-responder:hover { border-color: var(--castellano); color: var(--castellano); }

.btn-like.liked       { border-color: #EC4899; color: #EC4899; }
.btn-like:disabled    { cursor: default; }

.respuestas-lista {
  border-left: 3px solid #E7E5E4;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

.respuesta-card {
  background: var(--fondo);
  border-radius: var(--radio);
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.respuesta-form {
  background: var(--fondo);
  border-radius: var(--radio);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.4rem;
}

/* =============================================
   ANIMACIONES DE ENTRADA
   ============================================= */
.hidden-izq {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.show-izq {
  opacity: 1;
  transform: translateX(0);
}

.hidden-der {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.show-der {
  opacity: 1;
  transform: translateX(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {

  /* NAV — hamburguesa */
  .nav {
    padding: 0.8rem 1.2rem;
    flex-wrap: wrap;
    position: relative;
  }

  .nav-hamburguesa {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    background: var(--blanco);
    border-top: 1px solid var(--borde);
    padding: 0.5rem 0 1rem;
    order: 3;
  }

  .nav-links.abierto {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .nav-links .nav-cta {
    margin: 0.5rem 1rem 0;
    display: inline-block;
    width: auto;
    border-radius: 100px;
    text-align: center;
  }

  /* HERO HOME */
  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem 2rem;
    text-align: center;
  }

  .hero-alpaca {
    grid-column: 1;
    grid-row: auto;
    justify-content: center;
  }

  .alpaca-img {
    width: 160px;
    height: 160px;
    min-height: 160px;
  }

  .hero-poncho {
    display: none;
  }

  /* MÉTODOS */
  .metodo-fila {
    grid-template-columns: 1fr;
  }

  /* JUEGOS lista */
  .juegos-lista {
    flex-direction: column;
    padding: 2rem 1.2rem;
  }

  .juego-card {
    flex-direction: column;
    gap: 1rem;
  }

  /* LECCIONES */
  .leccion-card {
    flex-direction: column;
  }

  /* HERO IDIOMA */
  .hero-idioma-contenido {
    flex-direction: column;
    text-align: center;
  }

  .hero-idioma-imagen img {
    width: 180px;
    height: 180px;
  }

  /* SOBRE */
  .sobre-contenido {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .sobre-imagen img {
    width: 200px;
    height: 200px;
  }

  /* FOOTER */
  .footer-cuerpo {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }
}