/* ==========================================================================
   Test "Actividades extracurriculares" (page-actividades-extracurriculares.php + js/actividades.js).
   Se carga DESPUÉS de css/tipos-escuelas.css (mismo componente, clases tde-*): aquí sólo lo distinto.
   Diseño: tmp/entrega-test-actividades/LP Test Actividades.html (hero y test en azul).
   ========================================================================== */

.act .tde-hero, .act .tde-test { background: var(--hp26-azul); }
.act .tde-crumbs, .act .tde-crumbs a { color: var(--hp26-blanco); }
.act.tde-en-resultado .tde-hero, .act.tde-en-resultado .tde-test { background: #fff4f8; }
.act.tde-en-resultado .tde-crumbs, .act.tde-en-resultado .tde-crumbs a { color: var(--hp26-negro); }
.act .act-pasos { grid-template-columns: repeat(var(--act-pasos, 7), 1fr); }
.act .act-cd-pie { margin-top: 18px; font-size: 15px; font-weight: 600; color: #6b6b6b; }

/* ---------- Encabezado del resultado ---------- */
.act .act-res-aviso { margin-top: 16px; font-size: 14px; line-height: 1.55; font-weight: 600; color: #6b6b6b; }
.tde .act-res-mon { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0 auto; }

/* ---------- Tarjeta de cada disciplina ---------- */
.act .act-tipo-cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.act .act-tipo-cab .tde-tipo-nom { margin: 0; }
.act .act-chip { flex: none; padding: 6px 12px; border-radius: 999px; background: #f3f3f3; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hp26-negro); }
.act .act-chip-1 { background: #fffce0; }
.act .act-tipo-tit { margin-top: 10px; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.15; font-weight: 800; color: var(--hp26-negro); text-wrap: pretty; }
.act .act-deja { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.act .tde-tipo .act-deja li { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.45; font-weight: 700; color: var(--hp26-negro); }
.act .act-intro-bebe { max-width: 820px; }
.act .act-bebe-ops strong { font-size: clamp(17px, 1.6vw, 20px); color: var(--hp26-negro); }
.act .act-kit { margin-top: 16px; }

/* ---------- Academias ---------- */
.act .act-acad-cab { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 20px; }
.act .act-ver { font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--hp26-magenta); }
.act .act-cargando { margin-top: 14px; font-size: 15px; font-weight: 600; color: #6b6b6b; }
.act .act-acs { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: clamp(12px, 1.6vw, 18px); }
.act .act-ac { display: flex; flex-direction: column; border: 1px solid #ececec; border-radius: 22px; overflow: hidden; background: var(--hp26-blanco); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.act .act-ac:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0, 0, 0, .10); text-decoration: none; }
.act .act-ac-img { display: flex; align-items: center; justify-content: center; height: 120px; padding: 12px; background: #fafafa; }
.act .act-ac-img img { max-width: 100%; max-height: 96px; object-fit: contain; }
.act .act-ac-img span { font-weight: 800; color: #6b6b6b; text-align: center; }
.act .act-ac-txt { display: flex; flex-direction: column; gap: 5px; padding: 16px 18px; }
.act .act-ac-nom { font-size: 17px; font-weight: 800; line-height: 1.3; color: var(--hp26-negro); }
.act .act-ac-zona, .act .act-ac-cal { font-size: 14px; font-weight: 600; color: #6b6b6b; }
.act .act-ac-cal { color: #a97600; }
.act .act-ac-precio { font-size: 14px; font-weight: 700; color: var(--hp26-negro); }
.act .act-ac-ver { margin-top: 4px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hp26-magenta); }
.act .act-sin { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: clamp(18px, 2.2vw, 26px); border: 2px dashed var(--hp26-amarillo); border-radius: 22px; }
.act .act-sin p { flex: 1 1 320px; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.55; font-weight: 600; color: var(--hp26-negro); }
.act .act-cd-elegir button { min-height: 40px; padding: 0 16px; border: 2px solid var(--hp26-amarillo); border-radius: 999px; background: var(--hp26-blanco); color: var(--hp26-negro); font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.act .act-cd-elegir button:hover { background: #fffce0; border-color: var(--hp26-magenta); }

/* ---------- Consejo, espacio público y regalos ---------- */
.act .act-consejo { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: clamp(20px, 2.6vw, 32px); border: 3px solid var(--hp26-azul); border-radius: 28px; background: var(--hp26-blanco); }
.act .act-consejo-et { flex: 0 0 auto; font-family: 'Amatic SC', cursive; font-weight: 700; font-size: clamp(34px, 3.6vw, 46px); line-height: 1; color: var(--hp26-azul); }
.act .act-consejo-tx { flex: 1 1 380px; min-width: 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; font-weight: 600; color: var(--hp26-negro); }
.act .act-espacio { padding: clamp(22px, 3vw, 42px); border-radius: 28px; background: #e5f5fd; }
.act .act-espacio .tde-txt { margin-top: 12px; max-width: 820px; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.65; font-weight: 500; color: var(--hp26-negro); }
.act .act-btn-azul { background: var(--hp26-azul); }
.act .act-btn-azul:hover { background: #0088c4; }
.act .act-regalos { padding: clamp(22px, 3vw, 42px); border-radius: 28px; background: var(--hp26-blanco); box-shadow: 0 6px 24px rgba(0, 0, 0, .06); }
.act .act-regalos-top { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(18px, 3vw, 40px); }
.act .act-regalos-txt { flex: 1 1 420px; min-width: 0; }
.act .act-regalos-top img { flex: 0 0 auto; width: clamp(100px, 11vw, 150px); height: auto; margin: 0 auto; }
.act .act-perfil { display: inline-block; margin-bottom: 12px; padding: 7px 14px; border-radius: 999px; background: #fff4f8; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hp26-magenta); }
.act .act-regalos .tde-txt { margin-top: 12px; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.65; font-weight: 500; color: var(--hp26-texto); }
.act .act-regalos-lista { margin: clamp(18px, 2.4vw, 26px) 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.act .act-regalos-lista li { padding: 12px 18px; border: 2px solid var(--hp26-amarillo); border-radius: 999px; background: #fffce0; font-size: 16px; font-weight: 700; color: var(--hp26-negro); }
.act .act-btn-borde { border: 2px solid var(--hp26-magenta); color: var(--hp26-magenta); }
.act .act-regalos-guias { margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--hp26-texto); }
.act .act-regalos-guias a { font-weight: 800; color: var(--hp26-magenta); }
.act .act-cruce { font-weight: 700; }

/* ---------- Ventanas (lead y recomendar). Con .tde: también las usa el test de tipos de escuelas. ---------- */
.tde .act-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(26, 26, 26, .55); }
.tde .act-modal[hidden] { display: none; }
body.act-modal-abierta { overflow: hidden; }
.tde .act-modal-caja { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow-y: auto; padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: var(--hp26-blanco); box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.tde .act-modal-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 999px; background: #f3f3f3; color: var(--hp26-negro); font-size: 22px; font-weight: 700; line-height: 1; cursor: pointer; }
.tde .act-modal-tit { padding-right: 40px; font-family: 'Amatic SC', cursive; font-weight: 700; font-size: clamp(36px, 4vw, 46px); line-height: 1; color: var(--hp26-azul); }
.tde .act-modal-sub { margin-top: 10px; font-size: 15px; line-height: 1.5; font-weight: 500; color: var(--hp26-texto); }
.tde .act-form { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.tde .act-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--hp26-texto); }
.tde .act-form label[hidden], .tde .act-form button[hidden], .tde .act-form p[hidden] { display: none; }
.tde .act-form input { padding: 14px 18px; border: 2px solid #ececec; border-radius: 999px; font-family: inherit; font-size: 16px; font-weight: 600; color: var(--hp26-negro); }
.tde .act-form input:focus { outline: none; border-color: var(--hp26-magenta); }
.tde .act-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.tde .act-form-msg { min-height: 1em; font-size: 15px; font-weight: 700; color: var(--hp26-magenta); }
.tde .act-form-msg:empty { display: none; }
.tde .act-form-nota { font-size: 12px; line-height: 1.45; font-weight: 500; color: #6b6b6b; }
.tde .act-modal-wa { margin-top: 20px; padding-top: 18px; border-top: 2px solid var(--hp26-amarillo); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.tde .act-modal-wa p { font-size: 15px; font-weight: 700; color: var(--hp26-negro); }

@media (max-width: 719px) {
	.tde .act-res-mon .tde-btn { width: 100%; }
	.tde .act-modal { align-items: flex-end; padding: 0; }
	.tde .act-modal-caja { max-width: none; border-radius: 24px 24px 0 0; max-height: 92vh; }
}
