/* Agregados de la plataforma al index original: selector de idioma con banderas. */
.ini-idioma { position: relative; }
.ini-idioma summary { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border-radius: 999px; cursor: pointer; list-style: none; font-size: 13px; font-weight: 600; color: inherit; background: rgba(255, 255, 255, .6); border: 1px solid rgba(28, 20, 22, .08); }
.ini-idioma summary::-webkit-details-marker { display: none; }
.ini-idioma .bandera { width: 20px; height: 14px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.ini-idioma__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; display: grid; gap: 2px; min-width: 170px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: 0 18px 40px -14px rgba(60, 20, 30, .35), 0 0 0 1px rgba(28, 20, 22, .06); }
.ini-idioma__menu a, .ini-idioma-movil a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 14px; color: inherit; text-decoration: none; }
.ini-idioma__menu a:hover, .ini-idioma__menu a[aria-current] { background: #fff1f4; }
.ini-idioma-movil { display: flex; gap: 6px; justify-content: center; margin-bottom: 10px; }
.ini-idioma-movil a { padding: 8px 10px; border: 1px solid rgba(28, 20, 22, .08); background: #fff; }
.ini-idioma-movil a[aria-current] { border-color: #ff5769; }
.ini-idioma-movil .bandera { width: 20px; height: 14px; border-radius: 3px; }

/* Menos aire entre secciones (pedido de Wiio, 09/10/2026: los márgenes sobre los títulos se veían vacíos). Antes 80–130 px. */
.section { padding-block: clamp(56px, 5.5vw, 84px); }

/* Países: métodos de pago de cada país (lista enviada por Wiio) */
.ini-metodos { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ini-metodos li { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.5; color: var(--text-body); background: #fff; border: 1px solid #f53d5c1f; box-shadow: 0 2px 6px #0000000d; }
.ini-metodos__nota { display: flex; align-items: flex-start; gap: 7px; margin: 12px 0 0; font-size: 12.5px; line-height: 1.45; font-weight: 500; color: var(--text-body); }
.ini-metodos__nota svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--red); }

/* Página «Iniciar sesión»: dos puertas (Wiio Academy · Mi cuenta Wiio) */
.ent { min-height: 100vh; min-height: 100dvh; background: var(--bg-hero); display: flex; flex-direction: column; position: relative; overflow-x: hidden; }
.ent__fondo { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background-image: linear-gradient(#f53d5c0a 1px, transparent 1px), linear-gradient(90deg, #f53d5c0a 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); }
.ent__fondo i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.ent__fondo i:first-child { width: 520px; height: 520px; top: -160px; left: -120px; background: #ff9aa8; }
.ent__fondo i:last-child { width: 480px; height: 480px; right: -140px; bottom: -160px; background: #fdc89a; }
.ent__barra, .ent__main { position: relative; z-index: 1; }
.ent__barra { z-index: 5; }   /* el menú de idiomas queda por encima del contenido (antes lo tapaba y no se podía elegir) */
.ent__barra { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.ent__marca { display: inline-flex; color: inherit; text-decoration: none; }
.ent__main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: clamp(24px, 3vw, 34px); padding-block: clamp(12px, 6vh, 72px) clamp(28px, 5vh, 56px); }
.ent__cabeza { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 780px; text-align: center; }
.ent__cabeza .pill { background: #fffc; box-shadow: 0 0 0 1px #f53d5c26; }
.ent__titulo { margin: 0; font-size: clamp(30px, 1.3rem + 2.2vw, 50px); line-height: 1.12; letter-spacing: -.02em; font-weight: 600; color: var(--text); text-wrap: balance; }
.ent__cabeza .lead { margin: 0; max-width: 540px; text-wrap: pretty; }

.ent__puertas { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 980px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.ent__puertas > li { display: flex; }
.ent__puerta { position: relative; flex: 1; display: flex; color: inherit; text-decoration: none; flex-direction: column; gap: 10px; padding: clamp(22px, 2.6vw, 30px); border-radius: 28px; background: #ffffffc7;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid #ffffff; box-shadow: 0 1px 0 #fff inset, 0 0 0 1px #f53d5c14, 0 24px 48px -28px #8a1f3366;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.ent__puerta:hover, .ent__puerta:focus-visible { transform: translateY(-4px); box-shadow: 0 1px 0 #fff inset, 0 0 0 1px #f53d5c33, 0 32px 60px -28px #8a1f3380; }
.ent__puerta-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.ent__icono { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; color: #fff; background: var(--grad-fill); box-shadow: 0 12px 24px -10px #f53d5c99; }
.ent__icono svg { width: 28px; height: 28px; }
.ent__puerta--wiio .ent__icono { background: linear-gradient(145deg, #2a2326 0%, #121011 100%); box-shadow: 0 12px 24px -10px #12101199; color: #fcad67; }
.ent__dominio { padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .01em; color: var(--text-muted); background: #fff; box-shadow: 0 0 0 1px #1c1c1c12; }
.ent__nombre { display: block; margin: 0; font-size: clamp(22px, 1.1rem + .6vw, 26px); line-height: 1.25; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.ent__desc { display: block; margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-body); }
.ent__puntos { margin: 6px 0 auto; display: grid; gap: 9px; }
.ent__puntos > span { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text-body); }
.ent__puntos svg { width: 18px; height: 18px; flex: none; padding: 3px; border-radius: 50%; color: var(--red); background: #f53d5c14; box-sizing: content-box; }
.ent__puerta--wiio .ent__puntos svg { color: #c2621c; background: #fcad6729; }
.ent__cta { width: 100%; margin-top: 16px; }
.ent__cta .btn__label { display: inline-flex; align-items: center; gap: 8px; }
.ent__cta .btn__arrow { width: 18px; height: 18px; }
.ent__puerta:hover .btn__arrow { transform: translate(4px); }
.ent__cta--wiio { color: #fff; background: linear-gradient(180deg, #2a2326 0%, #121011 100%); }
.ent__puerta:hover .ent__cta--wiio { box-shadow: 0 10px 24px -10px #121011b3; }
.ent__puerta:focus-visible { outline: 3px solid #ff576999; outline-offset: 4px; }
.ent__puerta:hover .btn--primary::before { opacity: 1; background-position: 72% 28%, 100%; }
.ent__nota { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 2px 0 -6px; font-size: 12.5px; color: var(--text-muted); }
.ent__nota svg { width: 14px; height: 14px; }
.ent__dominio--activa { display: inline-flex; align-items: center; gap: 6px; color: #1a7f4b; background: #e9f8ef; box-shadow: 0 0 0 1px #1a7f4b26; }
.ent__dominio--activa i { width: 7px; height: 7px; border-radius: 50%; background: #22a35d; box-shadow: 0 0 0 3px #22a35d2e; }
.ent__quien { display: block; font-size: 13.5px; color: var(--text-muted); }
.ent__quien b { color: var(--text); font-weight: 600; }
.ent__alt { margin: -8px 0 -14px; font-size: 15px; color: var(--text-body); text-align: center; }
.ent__alt a { font-weight: 600; color: var(--red); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .3s var(--ease-out); }
.ent__alt a:hover { background-size: 100% 1.5px; }
.ent__volver { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--text-body); text-decoration: none; padding: 8px 14px; border-radius: 999px; transition: background .2s; }
.ent__volver:hover { background: #ffffffa6; }
.ent__volver svg { width: 18px; height: 18px; }
@media (max-width: 720px) {
  .ent__puertas { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
  .ent__puerta { border-radius: 24px; }
  .ent__barra { padding-block: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ent__puerta, .ent__puerta .btn__arrow { transition: none; }
  .ent__puerta:hover, .ent__puerta:focus-visible { transform: none; }
}

/* Aviso de idioma por país (lote SEO): sugerencia, no redirección. */
.idioma-aviso { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 16px; margin: 0 auto; width: fit-content; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 24px); padding: 10px 12px 10px 16px; border-radius: 999px; font: 500 14px/1.3 system-ui, sans-serif; color: #1d1416; background: rgba(255, 255, 255, .92); border: 1px solid rgba(120, 40, 60, .12); box-shadow: 0 12px 32px -8px rgba(160, 40, 70, .25); backdrop-filter: blur(14px); }
.idioma-aviso a { color: #f53d5c; font-weight: 700; text-decoration: none; white-space: nowrap; }
.idioma-aviso a:hover { text-decoration: underline; }
.idioma-aviso button { appearance: none; border: 0; background: transparent; color: inherit; font-size: 22px; line-height: 1; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; }
.idioma-aviso button:hover { background: rgba(120, 40, 60, .08); }
.theme-dark .idioma-aviso { color: #f4e9ec; background: rgba(32, 18, 24, .92); border-color: rgba(255, 255, 255, .12); }
@media (max-width: 520px) { .idioma-aviso { bottom: 10px; border-radius: 18px; } .idioma-aviso span { flex: 1; } }

/* Lote PAIS: bloque «Elige tu país» (enlaces a las landings por país publicadas). Hereda el color del texto: sirve de día y de noche. */
.pais-bloque { padding: 44px 20px; }
.pais-bloque__in { max-width: 960px; margin: 0 auto; text-align: center; }
.pais-bloque h2 { margin: 0 0 6px; font-size: clamp(22px, 3.2vw, 30px); font-weight: 750; letter-spacing: -.03em; line-height: 1.15; }
.pais-bloque p { margin: 0 0 20px; opacity: .78; }
.pais-bloque ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pais-bloque a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 650; color: inherit; text-decoration: none;
  background: color-mix(in srgb, currentColor 6%, transparent); border: 1px solid color-mix(in srgb, currentColor 18%, transparent); transition: border-color .15s, color .15s; }
.pais-bloque a:hover, .pais-bloque a:focus-visible { color: #f53d5c; border-color: #f53d5c; }
