/* Página «Asertio Play para empresas» (asertio.com/asertio-play/).
   Estilos solo de esta página; el formulario reutiliza .asertio-contact-* de custom-conversion.css. */
.ap { --ap-morado: #702F8A; --ap-noche: #2E1237; --ap-amarillo: #FFCD00; --ap-texto: #2C2732; --ap-gris: #5d5766;
  font-family: "Poppins", sans-serif; color: var(--ap-texto); }
.ap *, .ap *::before, .ap *::after { box-sizing: border-box; }
.ap h1, .ap h2, .ap h3 { font-family: "Funnel Display 1", "Poppins", sans-serif; font-weight: 600; line-height: 1.08; margin: 0; }
.ap p { margin: 0; }
.ap img { display: block; max-width: 100%; height: auto; }
.ap-in { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* portada */
.ap-portada { background: var(--ap-noche); color: #fff; overflow: hidden; }
.ap-portada .ap-in { display: grid; gap: 36px; padding-top: 56px; padding-bottom: 56px; align-items: center; }
.ap-sobre { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ap-amarillo); margin-bottom: 16px !important; }
.ap-portada h1 { font-size: clamp(38px, 6vw, 62px); color: #fff; }
.ap-portada h1 span { color: var(--ap-amarillo); }
.ap-bajada { margin-top: 20px !important; font-size: 18px; line-height: 1.55; color: #e6dcea; max-width: 34em; }
.ap-acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ap-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 30px; border-radius: 999px; border: 2px solid transparent;
  font-family: "Funnel Display 1", "Poppins", sans-serif; font-weight: 700; font-size: 17px; letter-spacing: .04em; text-decoration: none !important; transition: transform .2s ease, background-color .2s ease; }
.ap-btn:hover { transform: translateY(-2px); }
.ap-btn-amarillo { background: var(--ap-amarillo); color: var(--ap-morado) !important; }
.ap-btn-amarillo:hover { background: #ffd933; }
.ap-btn-linea { border-color: rgba(255, 255, 255, .55); color: #fff !important; }
.ap-btn-linea:hover { border-color: #fff; }
.ap-portada-foto { margin: 0; position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); transform: rotate(1.2deg); }
.ap-portada-foto img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ap-portada-foto figcaption { position: absolute; left: 16px; bottom: 14px; padding: 6px 14px; border-radius: 999px; background: var(--ap-amarillo); color: var(--ap-noche); font-size: 13px; font-weight: 600; }

/* secciones */
.ap-seccion { padding: 72px 0; background: #fff; }
.ap-seccion-gris { background: #f7f8fb; }
.ap-seccion h2 { font-size: clamp(30px, 4.4vw, 44px); color: var(--ap-morado); max-width: 18em; }
.ap-intro { margin-top: 14px !important; font-size: 18px; line-height: 1.55; color: var(--ap-gris); max-width: 40em; }
.ap-rejilla { display: grid; gap: 20px; margin-top: 36px; }
.ap-tarjeta { background: #fff; border: 1px solid #e7e7e7; border-radius: 20px; padding: 28px 26px; box-shadow: 0 4px 24px rgba(46, 18, 55, .06); }
.ap-tarjeta h3 { font-size: 26px; color: var(--ap-noche); }
.ap-tarjeta > p { margin-top: 10px; line-height: 1.55; color: var(--ap-gris); }
.ap-etq { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; background: #f1e8f5; color: var(--ap-morado); font-size: 13px; font-weight: 600; }
.ap-lista { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.ap-lista li { position: relative; padding-left: 26px; line-height: 1.45; }
.ap-lista li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 12px; height: 7px; border-left: 3px solid #86C332; border-bottom: 3px solid #86C332; transform: rotate(-45deg); }

/* juegos */
.ap-juego { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.ap-juego img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ap-juego-cuerpo { padding: 22px 24px 26px; }
.ap-juego-cuerpo > p { margin-top: 8px; line-height: 1.5; color: var(--ap-gris); }
.ap-datos { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ap-datos li { padding: 4px 12px; border: 1px solid #d1d5db; border-radius: 999px; font-size: 14px; color: var(--ap-texto); }
.ap-nota { margin-top: 24px !important; color: var(--ap-gris); }
.ap-nota a { color: var(--ap-morado); font-weight: 600; }

/* formulario: campos en dos columnas sobre la tarjeta de contacto del sitio */
.ap-form-fila { display: grid; gap: 0 20px; }
.ap .asertio-contact-form-card > p { margin: 10px 0 24px; line-height: 1.5; }
.ap .asertio-btn-primary, .ap .asertio-btn-primary .btn-text { color: #fff !important; }
.ap .asertio-form-fallback a { color: var(--ap-morado); font-weight: 600; }
.ap .asertio-form-fallback { display: none; margin-top: 14px; }
.ap .asertio-form-fallback.active { display: block; }

@media (min-width: 700px) {
  .ap-rejilla-2 { grid-template-columns: 1fr 1fr; }
  .ap-rejilla-3 { grid-template-columns: repeat(3, 1fr); }
  .ap-form-fila { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .ap-portada .ap-in { grid-template-columns: 1.1fr .9fr; gap: 56px; padding-top: 84px; padding-bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) { .ap-btn { transition: none; } .ap-btn:hover { transform: none; } }
