html, body {
  background-color: #111;
  color: #eee;
  margin: 0;
  font-family: 'Inter', sans-serif;
}
/* ================= HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000;
  border-bottom: 1px solid #a225eb;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 24px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.brand img {
  height: 40px;
}

/* Navegación desktop */
.main-nav {
  display: flex;
  gap: 24px;
}

.main-nav a {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

.main-nav a:hover {
  opacity: 1;
}

/* ================= MENU HAMBURGUESA ================= */

.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #a225eb;
  user-select: none;
}

/* Menú mobile */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #a225eb;
  color: #fff;

  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;

  border-top: 1px solid rgba(255,255,255,0.2);
  z-index: 99;
}
/* FAUM destacado en desktop */
.main-nav a[href="/faum/"] {
  color: #a225eb;
  font-weight: 600;
}
/* ===== FIX LINKS HEADER ===== */

.main-nav a {
  color: #ffffff;              /* blanco limpio */
  text-decoration: none;       /* quita subrayado */
  border-bottom: none;         /* por si algún navegador raro */
  opacity: 0.75;
}

.main-nav a:hover {
  opacity: 1;
}

/* FAUM se mantiene igual */
.main-nav a[href="/faum/"] {
  color: #a225eb;
  font-weight: 600;
  text-decoration: none;
}
/* Links del menú */
.mobile-nav a {
  color: #fff;
  padding: 18px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: background 0.25s ease;
}

/* Hover elegante */
.mobile-nav a:hover {
  background: rgba(255,255,255,0.12);
}

/* Estado activo */
.mobile-nav.open {
  display: flex;
}

/* Activo */
.mobile-nav.open {
  display: flex;
}

/* ================= HERO MANADA ================= */

.hero {
  position: relative;
  min-height: 100vh;
  background: #0b0b0b; /* negro editorial, no puro */
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 640px;
  margin-left: 6vw;
}

.hero-tag {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 32px;
}

.hero h1 {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.15;
  color: #f2f2f2;
  margin-bottom: 28px;
}

.hero h1 span {
  color: #a225eb; /* morado Manada como acento */
  font-weight: 500;
}

.hero-text {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
}

/* Detalle ilegal sutil */
.hero::after {
  content: "DOCUMENTO NO OFICIAL";
  position: absolute;
  bottom: 24px;
  left: 6vw;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

/* ================= SECCIONES ================= */
section {
  padding: 100px 24px;
}

.section-header {
  max-width: 1000px;
  margin: 0 auto 40px;
}

.section-header h2 {
  font-size: 1.8rem;
  text-transform: uppercase;
}

.section-subtitle {
  opacity: .45;
  font-size: .9rem;
}

/* ================= ARCHIVO ================= */
.madra-archivo {
  background: #0e0e0e;
}

.archivo-list {
  max-width: 800px;
  margin: 0 auto;
}

.archivo-item {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  cursor: pointer;
  transition: all .3s ease;
}

.archivo-item:hover {
  transform: translateX(6px);
  opacity: .9;
}

.archivo-item p {
  opacity: .6;
}

/* ================= CHAPA ================= */

.chapa {
  background: #000;
  color: #fff;
  padding: 120px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.chapa-content {
  max-width: 600px;
  text-align: center;
}

/* Logo */
.chapa-logo img {
  width: 220px;
  max-width: 80%;
  margin-bottom: 45px;
}

.madra-game-text {
  max-width: 520px;
  opacity: .7;
  line-height: 1.7;
}

.game-link {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 28px;
  background: #a225eb;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .1em;
  border-radius: 6px;
  transition: all .25s ease;
}

.game-link:hover {
  background: #fff;
  color: #a225eb;
}
/* ================= CARTELERA ================= */
.cartelera-list {
  max-width: 1000px;
  margin: 0 auto;
}

.cartelera-item {
  display: grid;
  grid-template-columns: 80px 1fr 180px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.cartelera-placeholder {
  opacity: .45;
  font-style: italic;
}

/* ================= FOOTER ================= */

.site-footer {
  padding: 80px 24px 30px;
  background: #000;
  position: relative;
}

/* Línea ritual */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, #a225eb, transparent);
}

/* Contenedor */
.footer-inner {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

/* Marca */
.footer-logo {
  font-weight: 900;
  color: #a225eb;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
}

.footer-manifest {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.65;
}

/* ================= CTA ================= */

.footer-cta-title {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 10px;
}

.footer-cta-text {
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 300px;
  opacity: 0.75;
}

/* LINKS Escríbenos / Hablemos */
.footer-cta-link {
  position: relative;
  display: inline-block;
  margin-top: 14px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

/* Línea morada animada */
.footer-cta-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1px;
  background: #a225eb;
  transition: width 0.25s ease;
}

.footer-cta-link:hover {
  opacity: 1;
}

.footer-cta-link:hover::after {
  width: 100%;
}

/* ================= SOCIAL ================= */

.footer-social {
  display: flex;
  align-items: center;
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  transition: all 0.25s ease;
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-social a:hover {
  color: #a225eb;
  transform: scale(1.1);
}

/* ================= FOOTER BOTTOM ================= */

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.35;
}
/* ================= ANIMACIONES ================= */
@keyframes urbanHang {
  from { transform: rotate(-9deg) translate(0,0); }
  to { transform: rotate(-6deg) translate(-40px,30px); }
}

@keyframes textReveal {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ================= RESPONSIVE HEADER ================= */
@media (max-width: 768px) {

  /* Oculta menú desktop */
  .main-nav {
    display: none;
  }

  /* Muestra hamburguesa */
  .menu-toggle {
    display: block;
  }

}
/* ================= FOOTER MOBILE ================= */
@media (max-width: 768px) {

  .footer-inner {
    flex-direction: column;
    gap: 48px;
  }

  .footer-brand,
  .footer-cta,
  .footer-alliances {
    max-width: 100%;
  }

  .footer-logo {
    font-size: 1.6rem;
  }

  .footer-manifest {
    font-size: 0.85rem;
  }

  .footer-cta-text {
    max-width: 100%;
  }

  /* Social centrado */
  .footer-social {
    margin-top: 12px;
  }

  /* Footer bottom en columna */
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  /* Línea ritual más discreta */
  .site-footer::before {
    left: 50%;
    transform: translateX(-50%);
    height: 40px;
  }
}