/* duelforge.ai · home v2 (diseño aprobado el 05/11/2026).
   Unidad: 1rem = 10 px del diseño (667 px de ancho). Escritorio: 667 px de diseño = 1440 px de pantalla.
   Móvil (< 768 px): diseño móvil, también 667 px de diseño = ancho del teléfono. Los textos llevan mínimos legibles. */
:root {
  --fondo: #090c0f;
  --fondo-2: #0b0e11;
  --cabecera: #060a0d;
  --rojo: #e3170a;
  --rojo-vivo: #f22e13;
  --rojo-texto: #ff3a22;
  --oro: #f0b21c;
  --texto: #f1f1f1;
  --suave: #d2d2d2;
  --linea: rgba(255, 255, 255, .14);
  --serifa: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Mukta", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
html { font-size: clamp(11.5px, calc(100vw / 66.7), 24px); background: var(--fondo); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.6rem; }
* { box-sizing: border-box; }
body {
  margin: 0; color: var(--texto); font-family: var(--sans); font-size: 1rem; line-height: 1.3;
  background-color: var(--fondo);
  background-image: url("../img/v2-brasas-izq.png"), url("../img/v2-brasas-der.png");
  background-repeat: repeat-y; background-position: left top, right top; background-size: 2rem auto;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--rojo-texto); outline-offset: 2px; border-radius: 4px; }
.solo-movil { display: none !important; }
.visualmente-oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.caja { position: relative; width: 66.7rem; max-width: 100%; margin: 0 auto; }
.fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.icono svg, .icono img { width: 100%; height: 100%; }

/* ---------- Botones e insignias ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; border-radius: .45rem; font-weight: 500; white-space: nowrap; transition: filter .15s, box-shadow .15s; }
.btn svg { flex: none; width: 1.1em; height: 1.1em; }
.btn-rojo {
  color: #fff; border: 1px solid #ff5537;
  background: linear-gradient(180deg, #ea1d0f 0%, #c90f07 50%, #8f0503 100%);
  box-shadow: 0 0 1rem rgba(232, 30, 10, .55), inset 0 1px 0 rgba(255, 170, 140, .4);
}
.btn-rojo:hover { filter: brightness(1.12); }
.btn-oscuro { color: #fff; border: 1px solid rgba(255, 255, 255, .45); background: rgba(14, 14, 16, .82); }
.btn-oscuro:hover { border-color: #fff; }
.pastilla18 {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  border: 1.5px solid var(--rojo); border-radius: 2rem; color: var(--rojo-texto); font-weight: 600;
  box-shadow: 0 0 .5rem rgba(227, 23, 10, .55), inset 0 0 .3rem rgba(227, 23, 10, .3); background: rgba(30, 0, 0, .4);
}

/* ---------- Cabecera fija ---------- */
.cabecera { position: sticky; top: 0; z-index: 30; background: var(--cabecera); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.cabecera-dentro { display: flex; align-items: center; width: 66.7rem; max-width: 100%; height: 4.35rem; margin: 0 auto; padding: 0 1.3rem 0 1.5rem; }
.logo img { width: 11.1rem; height: auto; }
.menu { display: flex; justify-content: space-between; width: 33.6rem; margin-left: 3.1rem; font-size: .84rem; }
.menu a { position: relative; line-height: 4.35rem; color: #e6e6e6; white-space: nowrap; }
.menu a:hover, .menu a.activo { color: #fff; }
.menu a.activo::after {
  content: ""; position: absolute; left: 50%; bottom: .75rem; width: 4.3rem; height: 2px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #ff2d14 25%, #ff2d14 75%, transparent); box-shadow: 0 0 .6rem 1px rgba(255, 45, 20, .85);
}
.idioma {
  display: flex; align-items: center; justify-content: center; gap: .3rem; width: 4.4rem; height: 1.55rem; margin-left: auto;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: .35rem; font-size: .68rem; background: rgba(0, 0, 0, .35);
}
.idioma a { color: #d7d7d7; }
.idioma a[aria-current] { color: #fff; font-weight: 600; }
.idioma .sep { color: #9a9a9a; }
.idioma svg { width: .7rem; height: .7rem; }
.idioma-m { display: none; }
.cabecera .btn-app { width: 8.9rem; height: 1.95rem; margin-left: 1.3rem; font-size: .84rem; gap: .5rem; }
.hamburguesa, .menu-movil { display: none; }

/* ---------- Portada ---------- */
.portada { position: relative; height: 31.2rem; overflow: hidden; background: #07090b; }
.portada .fondo { object-position: center top; }
.portada-dentro { height: 100%; }
.portada .barra { position: absolute; left: 2.4rem; top: 4.7rem; width: .28rem; height: 8.5rem; border-radius: 2px; background: var(--rojo-vivo); box-shadow: 0 0 .7rem rgba(242, 46, 19, .9); }
.portada h1 { position: absolute; left: 4rem; top: 4.1rem; width: 22rem; font-family: var(--serifa); font-weight: 700; font-size: 2.3rem; line-height: 2.32rem; color: #f2f0ee; text-shadow: 0 2px 8px rgba(0, 0, 0, .7); }
.portada .intro { position: absolute; left: 2.3rem; top: 14.9rem; width: 23.2rem; font-size: 1.13rem; line-height: 1.36rem; color: #ececec; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }
.portada .acciones { position: absolute; left: 2.1rem; top: 20.7rem; display: flex; gap: 1.2rem; }
.portada .btn { height: 2.75rem; font-size: 1.2rem; }
.portada .btn-ver { width: 15rem; gap: 1.1rem; }
.portada .btn-ver svg { width: 1.1rem; height: 1.1rem; }
.portada .btn-oscuro { width: 11.1rem; }
.insignia { display: inline-flex; align-items: center; gap: .55rem; padding-right: .9rem; border-radius: 2rem; background: rgba(14, 12, 12, .8); border: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }
.portada .insignia { position: absolute; left: 2.3rem; top: 25rem; height: 2rem; }
.portada .pastilla18 { width: 3.7rem; height: 2rem; font-size: 1.05rem; }

/* ---------- Secciones con título centrado ---------- */
.seccion { position: relative; }
.titulo-c { text-align: center; }
.titulo-c h2 { display: flex; align-items: center; justify-content: center; gap: 2.5rem; font-family: var(--serifa); font-weight: 700; font-size: 2.35rem; line-height: 3rem; color: #f2f0ee; }
.titulo-c .raya { width: 10.5rem; height: 1px; background: linear-gradient(90deg, transparent, var(--rojo-vivo)); box-shadow: 0 0 .4rem rgba(242, 46, 19, .8); }
.titulo-c .raya:last-child { transform: scaleX(-1); }
.titulo-c p { margin-top: .15rem; font-size: 1.13rem; line-height: 1.45rem; color: #dcdcdc; }

/* ---------- Formatos ---------- */
.formatos { padding: 1.6rem 0 1.6rem; background: #0a0d10; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.rejilla-formatos { display: grid; grid-template-columns: 30.6rem 30.5rem; grid-auto-rows: 13.9rem; gap: 1.3rem 1.2rem; justify-content: center; margin-top: 2.1rem; }
.formato, .tarjeta, .pasos, .mundo {
  position: relative; border-radius: .7rem; overflow: hidden;
  background: linear-gradient(180deg, rgba(22, 24, 27, .96), rgba(10, 11, 13, .98));
  border: 1px solid rgba(255, 255, 255, .16); border-bottom-color: rgba(240, 50, 20, .85);
  box-shadow: 0 .25rem .9rem -.2rem rgba(225, 30, 10, .55), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.formato { display: block; }
.formato:hover { border-color: rgba(255, 255, 255, .32); }
.formato-img { position: absolute; left: 0; top: 0; bottom: 0; width: 15.6rem; }
.formato-img img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent); mask-image: linear-gradient(90deg, #000 70%, transparent); }
.formato-txt { position: absolute; left: 16.9rem; top: 1.15rem; right: .8rem; }
.formato .icono { display: block; width: 3rem; height: 2.6rem; color: var(--rojo-texto); }
.formato .icono.oro { color: var(--oro); }
.formato h3 { margin-top: .4rem; font-family: var(--serifa); font-weight: 700; font-size: 1.72rem; line-height: 1.9rem; letter-spacing: .02em; }
.formato p { margin-top: .45rem; max-width: 12.4rem; font-size: 1.14rem; line-height: 1.42rem; color: #e8e8e8; }

/* ---------- Cómo funciona + universo ---------- */
.como { padding: 2.4rem 0 2.1rem; background: #0b0e11; }
.pasos { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); width: 63.1rem; height: 13.1rem; margin: 2.05rem auto 0; padding: 1.9rem 0 0; border-color: rgba(255, 255, 255, .2); box-shadow: 0 0 1.2rem -.1rem rgba(225, 30, 10, .5), inset 0 0 0 1px rgba(240, 50, 20, .25); }
.pasos li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 .8rem; }
.pasos li:not(:last-child)::after { content: ""; position: absolute; right: -.3rem; top: 4.15rem; width: .7rem; height: .7rem; border-right: 2px solid var(--rojo-texto); border-bottom: 2px solid var(--rojo-texto); transform: rotate(-45deg); }
.pasos .icono { width: 3.6rem; height: 2.6rem; color: var(--rojo-texto); }
.pasos h3 { margin-top: .9rem; font-size: 1.42rem; line-height: 1.5rem; font-weight: 600; }
.pasos p { margin-top: .5rem; font-size: 1.08rem; line-height: 1.3rem; color: #e2e2e2; max-width: 9rem; }
.pasos li:nth-child(2) p { max-width: 8.6rem; }
.pasos li:nth-child(4) p { max-width: 11.8rem; }
.divisoria { width: 63.1rem; margin: 1.9rem auto 1.7rem; border: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22) 15%, rgba(255, 255, 255, .22) 85%, transparent); }
.universo { display: grid; grid-template-columns: 20.3rem 20.7rem 20.4rem; gap: .9rem; justify-content: center; margin-top: 1.4rem; }
.mundo { height: 13.4rem; margin: 0; border-color: rgba(255, 255, 255, .22); }
.mundo img { width: 100%; height: 100%; object-fit: cover; }
.mundo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(15deg, rgba(0, 0, 0, .45), transparent 45%); }
.mundo figcaption { position: absolute; z-index: 1; left: 1.4rem; bottom: 1.05rem; font-family: var(--serifa); font-style: italic; font-weight: 500; font-size: 2.05rem; line-height: 1; color: #f3f0ec; text-shadow: 0 2px 6px rgba(0, 0, 0, .85); }

/* ---------- Tres tarjetas ---------- */
.tres { padding: 3.2rem 0 2.2rem; background: #090c0e; border-top: 1px solid rgba(255, 255, 255, .1); }
.tres-rejilla { display: grid; grid-template-columns: 19.8rem 20.3rem 21.1rem; gap: 1rem; justify-content: center; }
.tarjeta { min-height: 16.2rem; padding: .8rem 1rem 1rem 1.9rem; background: linear-gradient(180deg, rgba(32, 34, 38, .96), rgba(12, 13, 15, .98)); }
.tarjeta-cab { display: flex; align-items: flex-start; gap: 1.3rem; }
.tarjeta-cab .icono { flex: none; width: 3.6rem; height: 3.3rem; color: var(--rojo-texto); }
.tarjeta-cab .icono.df { width: 3.6rem; height: 3.4rem; }
.tarjeta-cab .icono.df img { object-fit: contain; }
.tarjeta h2 { padding-top: .5rem; font-family: var(--serifa); font-weight: 700; font-size: 1.45rem; line-height: 1.8rem; }
.tarjeta > p { margin-top: 1.25rem; font-size: 1.1rem; line-height: 1.5rem; color: #e8e8e8; padding-right: .5rem; }
.lista { list-style: none; margin-top: .6rem; padding: 0; }
.lista li { display: flex; gap: .95rem; font-size: 1.02rem; line-height: 1.27rem; color: #e8e8e8; margin-bottom: .22rem; }
.lista li span { max-width: 14.6rem; }
.lista svg { flex: none; width: 1.3rem; height: 1.1rem; margin-top: .2rem; color: var(--rojo-texto); }
.tarjeta:nth-child(2) { padding-left: 1.7rem; }
.tarjeta:nth-child(3) { padding-left: 1.8rem; }
.tarjeta:nth-child(3) .tarjeta-cab { gap: 1.6rem; }
.tarjeta:nth-child(3) .tarjeta-cab .icono { width: 4.3rem; }

/* ---------- Banners: Quiénes somos y Contacto ---------- */
.banner { position: relative; overflow: hidden; background: #08090b; border-top: 1px solid rgba(255, 255, 255, .14); }
.banner .caja { height: 100%; }
.banner .barra { position: absolute; left: 3.3rem; width: .28rem; border-radius: 2px; background: var(--rojo-vivo); box-shadow: 0 0 .7rem rgba(242, 46, 19, .9); }
.banner h2 { font-family: var(--serifa); font-weight: 700; font-size: 2.5rem; line-height: 3rem; color: #f2f0ee; text-shadow: 0 2px 8px rgba(0, 0, 0, .7); }
.banner-texto { position: absolute; left: 5.2rem; }
.banner-texto p { text-shadow: 0 1px 4px rgba(0, 0, 0, .85); }
.quienes { height: 24.5rem; }
.quienes .barra { top: 2.8rem; height: 10rem; left: -1.9rem; }
.quienes .banner-texto { top: 2.15rem; width: 22rem; }
.quienes .banner-texto p { margin-top: .4rem; max-width: 20.4rem; font-size: 1.17rem; line-height: 1.5rem; color: #ececec; }
.quienes::after { content: ""; position: absolute; left: 0; right: 0; top: 14.9rem; bottom: 0; border-top: 1px solid rgba(255, 255, 255, .16); background: linear-gradient(180deg, rgba(6, 8, 10, .55), rgba(6, 8, 10, .35)); }
.pilares { z-index: 1; position: absolute; left: 1.8rem; right: 1.7rem; top: 15.6rem; display: grid; grid-template-columns: 21.1rem 20.8rem 21.3rem; }
.pilar { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pilar + .pilar::before { content: ""; position: absolute; left: 0; top: 1.3rem; height: 5.2rem; width: 1px; background: rgba(255, 255, 255, .28); }
.pilar .icono { width: 4.4rem; height: 2.4rem; color: var(--rojo-texto); }
.pilar h3 { margin-top: .55rem; font-family: var(--serifa); font-weight: 700; font-size: 1.25rem; line-height: 1.6rem; color: #f2f0ee; }
.pilar p { margin-top: .15rem; font-size: .96rem; line-height: 1.27rem; color: #dcdcdc; }
.contacto { height: 16.1rem; }
.contacto .barra { top: .6rem; height: 8.3rem; left: -1.9rem; }
.contacto .banner-texto { top: 1.55rem; }
.contacto h2 { display: flex; align-items: center; gap: 1.7rem; }
.raya-larga { width: 16.3rem; height: 2px; background: linear-gradient(90deg, var(--rojo-vivo), transparent); box-shadow: 0 0 .4rem rgba(242, 46, 19, .7); }
.contacto .banner-texto p { margin-top: .35rem; font-size: 1.08rem; line-height: 1.3rem; color: #ececec; white-space: nowrap; }
.contacto-acciones { position: absolute; left: 5.4rem; top: 10.3rem; display: flex; align-items: center; }
.contacto-acciones .btn { height: 3rem; font-size: 1.32rem; }
.btn-correo { width: 22.8rem; gap: 1.6rem; color: #fff; border: 1.5px solid #e9321b; background: rgba(40, 6, 4, .55); box-shadow: 0 0 .9rem rgba(232, 30, 10, .45), inset 0 0 .6rem rgba(232, 30, 10, .2); }
.btn-correo svg { width: 1.6rem; height: 1.3rem; }
.btn-correo:hover { background: rgba(80, 10, 6, .65); }
.contacto-acciones .sep-v { width: 1px; height: 3rem; margin: 0 2.9rem 0 3.1rem; background: rgba(255, 255, 255, .3); }
.btn-entrar { width: 15.1rem; }

/* ---------- Pie ---------- */
.pie { background: #070a0d; border-top: 1px solid rgba(255, 255, 255, .13); }
.pie-dentro { display: grid; grid-template-columns: 17.3rem 10.7rem 12rem 14.7rem 1fr; height: 11rem; padding: 1.7rem 0 0 2.1rem; }
.pie-col { position: relative; padding-left: 1.9rem; }
.pie-col::before { content: ""; position: absolute; left: 0; top: .3rem; height: 7.5rem; width: 1px; background: rgba(255, 255, 255, .2); }
.pie-marca img { width: 11.7rem; height: auto; }
.pie-marca p { margin-top: 1.25rem; font-size: .9rem; line-height: 1.05rem; color: #dadada; width: 15.5rem; }
.pie h2 { font-size: .92rem; line-height: 1.1rem; font-weight: 600; }
.pie ul { list-style: none; padding: 0; margin-top: .45rem; font-size: .84rem; line-height: .97rem; color: #dadada; }
.pie-legal ul { line-height: 1.13rem; margin-top: .55rem; }
.pie a:hover { color: #fff; text-decoration: underline; }
.pie-correo { display: inline-flex; align-items: center; gap: .9rem; margin-top: .6rem; font-size: .88rem; color: #e0e0e0; }
.pie-correo svg { width: 1.4rem; height: 1.15rem; }
.pie-18 { padding-left: 2rem; }
.pie-18 .pastilla18 { width: 3.6rem; height: 1.9rem; font-size: 1.05rem; color: #fff; }
.pie-18 p { margin-top: .9rem; font-size: .9rem; line-height: 1.05rem; color: #dadada; }

/* ---------- Páginas legales y 404 ---------- */
.legal-cabecera { position: relative; overflow: hidden; height: 13rem; display: flex; align-items: center; background: #07090b; }
.legal-cabecera .fondo { object-position: center 35%; opacity: .55; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%); mask-image: linear-gradient(90deg, transparent 0, #000 45%); }
.legal-cabecera .caja { padding-left: 4rem; }
.legal-cabecera .barra { position: absolute; left: 2.4rem; top: .2rem; bottom: .2rem; width: .28rem; border-radius: 2px; background: var(--rojo-vivo); box-shadow: 0 0 .7rem rgba(242, 46, 19, .9); }
.legal-cabecera h1 { font-family: var(--serifa); font-weight: 600; font-size: 2.6rem; line-height: 1.2; }
.legal-cabecera .fecha { margin-top: .5rem; font-size: 1rem; color: var(--suave); }
.legal-cuerpo { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 3rem; padding: 2.2rem 2.4rem 4rem; }
.legal-indice { position: sticky; top: 6rem; align-self: start; padding: 1rem; border-radius: .7rem; border: 1px solid rgba(255, 255, 255, .16); border-bottom-color: rgba(240, 50, 20, .85); background: linear-gradient(180deg, #16181b, #0a0b0d); box-shadow: 0 .25rem .9rem -.2rem rgba(225, 30, 10, .5); }
.legal-indice h2 { margin-bottom: .5rem; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--suave); font-weight: 600; }
.legal-indice ul { list-style: none; padding: 0; }
.legal-indice a { display: block; padding: .45rem .6rem; border-radius: .3rem; font-size: .95rem; color: #e2e2e2; border-left: 2px solid transparent; }
.legal-indice a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.legal-indice a[aria-current] { color: #fff; font-weight: 600; border-left-color: var(--rojo-vivo); background: rgba(227, 23, 10, .1); }
.lectura { max-width: 44rem; font-size: 1.02rem; line-height: 1.65; color: #e6e6e6; }
.lectura h2 { margin: 2rem 0 .5rem; font-family: var(--serifa); font-weight: 600; font-size: 1.35rem; line-height: 1.3; color: #fff; }
.lectura h2:first-child { margin-top: 0; }
.lectura h3 { margin: 1.3rem 0 .3rem; font-size: 1.08rem; font-weight: 600; color: #fff; }
.lectura p, .lectura ul { margin: 0 0 .85rem; }
.lectura ul { padding-left: 1.3rem; }
.lectura li { margin-bottom: .35rem; }
.lectura li::marker { color: var(--rojo-texto); }
.lectura a { color: #ff6a52; text-decoration: underline; text-underline-offset: 2px; }
.lectura a:hover { color: #fff; }
.lectura .datos-titular { padding: .9rem 1.1rem; border: 1px solid var(--linea); border-left: 3px solid var(--rojo-vivo); border-radius: .35rem; background: rgba(255, 255, 255, .03); margin-bottom: 1rem; }
.lectura .datos-titular p { margin: 0 0 .2rem; }
.lectura table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; font-size: .95rem; }
.lectura th, .lectura td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--linea); vertical-align: top; }
.lectura th { color: #fff; font-weight: 600; }
.ord { font-family: Georgia, "Times New Roman", serif; font-size: .9em; }
.error-404 { height: auto; min-height: 30rem; }
.error-404 .codigo { font-family: var(--serifa); font-weight: 700; font-size: 5rem; line-height: 1; color: var(--rojo-texto); text-shadow: 0 0 1.2rem rgba(227, 23, 10, .6); }
.error-404 h1 { margin: .5rem 0 .4rem; }
.error-404 p { font-size: 1.05rem; line-height: 1.5; color: var(--suave); max-width: 34rem; margin-bottom: 1rem; }
.error-404 .acciones { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.2rem; }
.error-404 .btn { height: 2.6rem; padding: 0 1.2rem; font-size: 1rem; }

/* =====================================================================================
   MÓVIL (< 768 px): diseño aprobado-home-v2-movil. 1rem = 10 px del diseño móvil.
   ===================================================================================== */
@media (max-width: 767px) {
  html { font-size: calc(100vw / 66.7); scroll-padding-top: 52px; }
  body { font-size: 14px; background-size: 3rem auto; }
  .solo-escritorio { display: none !important; }
  .solo-movil { display: block !important; }

  /* Cabecera: logo, ES y hamburguesa */
  .cabecera-dentro { height: max(48px, 8.8rem); padding: 0 3.6rem 0 4rem; }
  .logo img { width: max(118px, 19.6rem); }
  .menu, .idioma, .cabecera .btn-app { display: none; }
  .idioma-m { display: block; position: relative; margin-left: auto; }
  .idioma-m summary { display: flex; align-items: center; justify-content: center; gap: 6px; width: max(62px, 7.1rem); height: max(30px, 3.2rem); list-style: none; cursor: pointer; border: 1px solid rgba(255, 255, 255, .35); border-radius: 8px; font-size: 14px; background: rgba(0, 0, 0, .35); }
  .idioma-m summary::-webkit-details-marker { display: none; }
  .idioma-m svg { width: 12px; height: 12px; }
  .idioma-m a { position: absolute; top: calc(100% + 4px); left: 0; right: 0; display: block; padding: 8px 0; text-align: center; font-size: 14px; border-radius: 8px; background: #11151a; border: 1px solid rgba(255, 255, 255, .25); }
  .hamburguesa { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: max(30px, 2.9rem); height: 34px; margin-left: max(14px, 2.5rem); padding: 0; background: none; border: 0; cursor: pointer; }
  .hamburguesa span { display: block; height: 3px; border-radius: 2px; background: #fff; }
  .menu-movil { position: absolute; left: 0; right: 0; top: 100%; background: #0b0f12; border-bottom: 1px solid rgba(235, 45, 20, .6); box-shadow: 0 10px 24px rgba(0, 0, 0, .6); padding: 6px 16px 16px; }
  .menu-movil.abierto { display: block; }
  .menu-movil a { display: block; padding: 12px 4px; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .menu-movil a.btn { display: flex; margin-top: 12px; height: 42px; border-bottom: 1px solid #ff5537; }

  /* Portada */
  .portada-m { position: relative; padding: 1rem 0 2.4rem; text-align: center; overflow: hidden; }
  .portada-m .fondo { bottom: auto; height: auto; aspect-ratio: 667 / 337; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .portada-m > *:not(.fondo) { position: relative; }
  .logo-grande { width: 21rem; height: auto; margin: 0 auto; }
  .portada-m h1 { text-wrap: balance; margin: 8rem 2.4rem 0; font-family: var(--serifa); font-weight: 600; font-size: max(23px, 4.6rem); line-height: 1.12; color: #f3f1ee; text-shadow: 0 2px 8px rgba(0, 0, 0, .85); }
  .portada-m .intro { margin: 1.2rem 4rem 0; font-size: 14.5px; line-height: 1.35; color: #ececec; text-shadow: 0 1px 4px rgba(0, 0, 0, .9); }
  .portada-m .acciones { display: flex; justify-content: center; gap: 2.4rem; margin-top: 2.2rem; padding: 0 1.6rem; }
  .portada-m .btn { height: max(40px, 3.9rem); padding: 0 12px; font-size: 14.5px; gap: 8px; }
  .portada-m .btn-ver { min-width: 23.4rem; }
  .portada-m .btn-oscuro { min-width: 21.3rem; }
  .portada-m .btn svg { width: 14px; height: 14px; }
  .portada-m .insignia { margin-top: 1.6rem; height: max(28px, 2.8rem); font-size: 13px; padding-right: 12px; }
  .portada-m .pastilla18 { width: max(48px, 5.6rem); height: max(28px, 2.8rem); font-size: 15px; }

  /* Formatos: Batallas e Historias */
  .formatos-m { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 0 1.8rem; }
  .formato-m { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 23rem; padding: 0 2rem 2rem 3.5rem; border-radius: 1.3rem; overflow: hidden; background: #0d0b0b; border: 1px solid rgba(255, 255, 255, .16); border-bottom-color: rgba(240, 50, 20, .85); box-shadow: 0 .3rem 1.2rem -.2rem rgba(225, 30, 10, .6); }
  .formato-m > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
  .formato-m::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(12, 8, 8, .75) 70%); }
  .formato-m-txt { position: relative; padding-top: 12rem; }
  .formato-m-cab { display: flex; align-items: center; gap: 1.5rem; }
  .formato-m .icono { width: max(24px, 4.2rem); height: max(22px, 3.7rem); color: var(--rojo-texto); flex: none; }
  .formato-m h3 { font-family: var(--serifa); font-weight: 700; font-size: max(15px, 2.4rem); letter-spacing: .02em; }
  .formato-m p { margin-top: .8rem; font-size: 13.5px; line-height: 1.3; color: #e8e8e8; padding-right: 14px; }
  .formato-m .flecha { position: absolute; right: 2.2rem; bottom: 4.6rem; width: 12px; height: 16px; color: #fff; }
  .formato-m .flecha svg { width: 100%; height: 100%; }

  /* Títulos de sección móvil */
  .seccion-m { padding: 0 1.8rem; }
  .titulo-m { position: relative; padding-left: 2.2rem; font-family: var(--serifa); font-weight: 600; font-size: max(20px, 3.4rem); line-height: 1.3; color: #f2f0ee; }
  .titulo-m::before { content: ""; position: absolute; left: .8rem; top: .2em; bottom: .2em; width: 3px; border-radius: 2px; background: var(--rojo-vivo); box-shadow: 0 0 6px rgba(242, 46, 19, .9); }

  /* Universo: tres bandas */
  .formatos-m + .seccion-m { margin-top: 2.4rem; }
  .bandas { display: grid; gap: .9rem; margin-top: 1.5rem; }
  .banda { position: relative; margin: 0; aspect-ratio: 629 / 83; border-radius: 1rem; overflow: hidden; border: 1px solid rgba(255, 255, 255, .22); }
  .banda img { width: 100%; height: 100%; object-fit: cover; }
  .banda figcaption { position: absolute; left: 3.1rem; top: 50%; transform: translateY(-38%); font-family: var(--serifa); font-style: italic; font-weight: 500; font-size: max(19px, 2.9rem); color: #f3f0ec; text-shadow: 0 2px 6px rgba(0, 0, 0, .9); }

  /* Cómo funciona: cinco pasos en fila */
  .como-m { margin-top: 2.2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .como-m .titulo-m { padding-left: 1.5rem; }
  .como-m .titulo-m::before { left: 0; }
  .sub-m { margin-top: .4rem; padding-left: 1.5rem; font-size: 13.5px; line-height: 1.3; color: #e0e0e0; }
  .pasos-m { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 1.8rem; padding: 0; }
  .pasos-m li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 2px; }
  .pasos-m li:not(:last-child)::after { content: ""; position: absolute; right: -4px; top: max(11px, 1.3rem); width: 7px; height: 7px; border-right: 2px solid var(--rojo-texto); border-bottom: 2px solid var(--rojo-texto); transform: rotate(-45deg); }
  .pasos-m .icono { width: max(30px, 4.6rem); height: max(24px, 3.4rem); color: var(--rojo-texto); }
  .pasos-m li:last-child .icono { width: max(34px, 5rem); }
  .pasos-m h3 { margin-top: 1.4rem; font-size: 12.5px; line-height: 1.2; font-weight: 600; white-space: nowrap; }
  .pasos-m p { margin-top: .5rem; font-size: 11.5px; line-height: 1.25; color: #e2e2e2; }

  /* Banners móviles */
  .banner-m { position: relative; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .14); background: #08090b; }
  .banner-m .fondo { object-fit: cover; }
  .banner-m-texto { position: relative; }
  .banner-m p { font-size: 13.5px; line-height: 1.32; color: #ececec; text-shadow: 0 1px 4px rgba(0, 0, 0, .9); }
  .comunidad-m { min-height: 18.6rem; }
  .comunidad-m .fondo { width: 60%; object-position: 18% center; -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent); mask-image: linear-gradient(90deg, #000 70%, transparent); }
  .comunidad-m .banner-m-texto { margin-left: 50%; padding: 1.4rem 2rem 2rem 0; }
  .comunidad-m h2 { font-family: var(--serifa); font-weight: 600; font-size: max(18px, 3.4rem); line-height: 1.12; color: #f2f0ee; text-shadow: 0 2px 6px rgba(0, 0, 0, .8); }
  .comunidad-m p { margin-top: .8rem; }
  .btn-comunidad { margin-top: 1.2rem; height: max(34px, 3.8rem); padding: 0 10px; gap: 6px; font-size: 13px; color: #fff; border: 1.5px solid #e9321b; background: linear-gradient(180deg, rgba(110, 10, 6, .9), rgba(60, 4, 2, .92)); box-shadow: 0 0 .9rem rgba(232, 30, 10, .5); }
  .btn-comunidad svg { width: 18px; height: 16px; }
  .btn-comunidad .mas { font-size: 16px; }
  .quees-m { min-height: 14.3rem; }
  .quees-m .fondo { left: auto; right: 0; width: 56%; object-position: 78% center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
  .quees-m .banner-m-texto { width: 52%; padding: 1.6rem 0 2rem 2.6rem; }
  .quees-m .titulo-m { font-size: max(17px, 3.1rem); padding-left: 2.3rem; }
  .quees-m .titulo-m::before { left: .4rem; }
  .quees-m p { margin-top: .6rem; }
  .entra-m { min-height: 12.5rem; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .entra-m .banner-m-texto { padding: 1.6rem 2rem 1.8rem; }
  .entra-m h2 { font-family: var(--serifa); font-style: italic; font-weight: 700; font-size: max(19px, 3.3rem); line-height: 1.15; color: #f3f0ec; text-shadow: 0 2px 8px rgba(0, 0, 0, .85); }
  .entra-m p { margin-top: .5rem; }
  .entra-m .btn { margin-top: 1.4rem; min-width: 23.1rem; height: max(38px, 3.8rem); padding: 0 16px; font-size: 14.5px; gap: 8px; }
  .entra-m .btn svg { width: 15px; height: 16px; }

  /* Pie móvil */
  .pie-m { padding: 2.4rem 2.6rem 2rem; background: #070a0d; }
  .pie-m-arriba { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1.6rem; border-bottom: 1px solid rgba(255, 255, 255, .16); }
  .pie-m-arriba img { width: max(110px, 17.8rem); height: auto; }
  .redes { display: flex; gap: .9rem; }
  .red { display: flex; align-items: center; justify-content: center; width: max(30px, 3.7rem); height: max(30px, 3.4rem); border-radius: 8px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .03); color: #fff; cursor: default; }
  .red svg { width: 55%; height: 55%; }
  .pie-m-cols { display: grid; grid-template-columns: 26% 31% 1fr; padding: 1.6rem 0 1.6rem .6rem; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .pie-m .pie-col { padding-left: 0; }
  .pie-m .pie-col + .pie-col { padding-left: 2rem; border-left: 1px solid rgba(255, 255, 255, .2); }
  .pie-m .pie-col::before { display: none; }
  .pie-m h2 { font-size: 13.5px; font-weight: 600; }
  .pie-m ul { list-style: none; padding: 0; margin-top: 6px; font-size: 12px; line-height: 1.45; color: #dadada; }
  .pie-m .pie-correo { display: flex; gap: 6px; margin-top: 8px; font-size: 11.5px; color: #e0e0e0; }
  .pie-m .pie-correo svg { width: 15px; height: 12px; flex: none; }
  .pie-m-18 { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
  .pie-m-18 .pastilla18 { width: 40px; height: 24px; font-size: 13px; color: #fff; }
  .pie-m-18 p { font-size: 11.5px; line-height: 1.25; color: #dadada; }
  .pie-m-derechos { margin-top: 1.4rem; text-align: center; font-size: 11.5px; line-height: 1.4; color: #cfcfcf; }
  .pie-m a:hover { text-decoration: underline; }

  /* Legales y 404 en móvil */
  .legal-cabecera { height: 130px; }
  .legal-cabecera .caja { padding-left: 40px; }
  .legal-cabecera .barra { left: 24px; }
  .legal-cabecera h1 { font-size: 25px; }
  .legal-cabecera .fecha { font-size: 13px; }
  .legal-cuerpo { grid-template-columns: 1fr; gap: 16px; padding: 16px 16px 28px; }
  .legal-indice { position: static; padding: 10px; }
  .legal-indice h2 { font-size: 11px; }
  .legal-indice ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .legal-indice a { font-size: 13.5px; padding: 7px 8px; }
  .lectura { font-size: 15.5px; line-height: 1.6; }
  .lectura h2 { font-size: 19px; }
  .lectura h3 { font-size: 16px; }
  .lectura table { font-size: 13.5px; }
  .error-404 { min-height: 60vh; }
  .error-404 .caja { padding: 24px 16px 24px 40px; }
  .error-404 .codigo { font-size: 60px; }
  .error-404 p { font-size: 15px; }
  .error-404 .btn { height: 40px; font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }
