/* Portada de la plataforma (landing con login y directorio de emisoras). Solo se carga en la portada.
   Misma familia visual que colforce.com: negro, amarillo colForce, Aldrich en títulos y detalles,
   rejilla sutil y brillo amarillo. Las animaciones solo usan opacity/transform y se apagan con
   prefers-reduced-motion. */

.tipo-portada .contenido { max-width: none; padding: 0; display: block; }
.tipo-portada .contenido > .aviso { max-width: 1160px; margin: 16px auto 0; width: calc(100% - 32px); }
[hidden] { display: none !important; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.boton-grande { padding: 15px 30px; font-size: 1.02rem; }

/* ── Encabezado ── */
.pt-hero { position: relative; overflow: hidden; padding: clamp(48px, 9vw, 110px) clamp(16px, 4vw, 40px) clamp(56px, 8vw, 100px); }
/* Rejilla y brillo del fondo: en plataforma.css (los comparten las páginas de acceso) */
.pt-hero-grid { position: relative; max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pt-hero-texto { display: flex; flex-direction: column; align-items: flex-start; }
.pt-hero-texto .marca-etiqueta { margin-bottom: 18px; }
.pt-hero-texto .marca-titulo { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.pt-hero-texto .marca-eslogan { text-align: left; margin-top: clamp(20px, 3vw, 30px); }
.pt-lead { color: var(--texto-2); font-size: clamp(1.02rem, 1.5vw, 1.15rem); max-width: 36em; margin: 24px 0 30px; }
.pt-acciones { display: flex; flex-wrap: wrap; gap: 12px; }
.pt-punto-vivo { width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 0 rgba(255, 77, 77, .6); animation: pt-latido 1.8s infinite; }
@keyframes pt-latido { 70% { box-shadow: 0 0 0 8px rgba(255, 77, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); } }

.pt-login { margin: 0; padding: clamp(24px, 3vw, 34px); background: rgba(21, 21, 24, .92); box-shadow: 0 30px 80px -30px #000, 0 0 0 1px color-mix(in srgb, var(--amarillo-colforce) 8%, transparent); backdrop-filter: blur(6px); }
.pt-login h2 { margin-top: 0; }
.pt-login-pie { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 18px 0 0; font-size: .92rem; color: var(--texto-2); }

/* ── Secciones ── */
.pt-seccion { max-width: 1160px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) clamp(16px, 4vw, 40px) 0; }
.pt-etiqueta {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px;
  font: .78rem/1 'Aldrich', sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--amarillo-colforce);
}
.pt-etiqueta::before { content: ''; width: 4px; height: 1.15em; background: var(--amarillo-colforce); }
.pt-titulo { margin: 0 0 clamp(24px, 3vw, 36px); font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.15; max-width: 22em; }

.pt-ventajas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.pt-ventaja { background: var(--superficie); border: 1px solid var(--linea); border-radius: 18px; padding: 24px; transition: border-color .2s, transform .2s; }
.pt-ventaja:hover { border-color: color-mix(in srgb, var(--amarillo-colforce) 45%, transparent); transform: translateY(-3px); }
.pt-ventaja h3 { margin: 16px 0 8px; font-size: 1.08rem; }
.pt-ventaja p { margin: 0; color: var(--texto-2); font-size: .95rem; }
.pt-icono { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--amarillo-colforce) 12%, transparent); color: var(--amarillo-colforce); }
.pt-icono svg { width: 24px; height: 24px; fill: currentColor; }

.pt-pasos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; counter-reset: paso; }
.pt-pasos li { position: relative; padding: 26px 24px 24px; border-radius: 18px; border: 1px solid var(--linea); background: linear-gradient(180deg, color-mix(in srgb, var(--amarillo-colforce) 6%, transparent), transparent 60%); }
.pt-paso-num { font: 2.4rem/1 'Aldrich', sans-serif; font-weight: 900; color: var(--amarillo-colforce); }
.pt-pasos h3 { margin: 14px 0 8px; font-size: 1.08rem; }
.pt-pasos p { margin: 0; color: var(--texto-2); font-size: .95rem; }

/* ── Directorio ── */
.pt-directorio-cabeza { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(24px, 3vw, 36px); }
.pt-directorio-cabeza .pt-titulo { margin: 0; }
.pt-buscar { position: relative; display: block; width: min(320px, 100%); }
.pt-buscar svg { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: var(--texto-2); pointer-events: none; }
.pt-buscar input { padding-left: 42px; border-radius: 999px; }
.pt-directorio { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 14px; }
.pt-emisora {
  --c: var(--amarillo-colforce);
  position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px;
  background: var(--superficie); border: 1px solid var(--linea); color: var(--texto); text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.pt-emisora:hover, .pt-emisora:focus-visible { border-color: var(--c); transform: translateY(-2px); box-shadow: 0 16px 40px -22px var(--c); color: var(--texto); }
.pt-emisora-logo { flex: none; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: #1f1f24; }
.pt-emisora-logo img { width: 100%; height: 100%; object-fit: contain; }
.pt-emisora-logo span { font: 1.8rem/1 'Aldrich', sans-serif; font-weight: 900; color: var(--c); }
.pt-emisora-texto { min-width: 0; display: grid; gap: 3px; }
.pt-emisora-texto strong { font-size: 1.02rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-emisora-texto small { color: var(--texto-2); font-size: .85rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pt-emisora-vivo {
  position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px;
  font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: #e53935;
}
.pt-emisora-vivo::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pt-parpadeo 1.4s infinite; }
@keyframes pt-parpadeo { 50% { opacity: .25; } }
.pt-vacio { color: var(--texto-2); padding: 28px; border: 1px dashed var(--linea); border-radius: 18px; text-align: center; margin: 0; }

/* ── Cierre ── */
.pt-cierre {
  max-width: 1160px; margin: clamp(56px, 8vw, 100px) auto clamp(32px, 5vw, 56px); width: calc(100% - 2 * clamp(16px, 4vw, 40px));
  padding: clamp(32px, 5vw, 56px); border-radius: 24px; text-align: center;
  background: radial-gradient(600px 220px at 50% 0%, color-mix(in srgb, var(--amarillo-colforce) 18%, transparent), transparent 70%), var(--superficie); border: 1px solid color-mix(in srgb, var(--amarillo-colforce) 25%, transparent);
}
.pt-cierre h2 { margin: 0 0 10px; font: 900 clamp(1.8rem, 4vw, 2.6rem)/1.1 'Aldrich', sans-serif; }
.pt-cierre p { color: var(--texto-2); max-width: 34em; margin: 0 auto 26px; }

@media (max-width: 900px) {
  .pt-hero-grid { grid-template-columns: 1fr; }
  .pt-hero-texto { align-items: center; text-align: center; }
  .pt-hero-texto .marca-eslogan { text-align: center; }
  .pt-acciones { justify-content: center; }
  .pt-login { width: 100%; max-width: 480px; justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .pt-punto-vivo, .pt-emisora-vivo::before { animation: none; }
  .pt-ventaja, .pt-emisora { transition: none; }
}
