/* Academia Dr. Pen. Navy #0B2D8F, teal #00B5C4 (solo como acento: sobre blanco
   no cumple AA como texto), Oswald y Open Sans que el portal ya carga. */
.acad-wrap { max-width: 820px; padding-top: 24px; padding-bottom: 48px; }
.acad-wrap, .acad-wrap p, .acad-wrap li { color: #2b2f3a; }
.acad-wrap h1, .acad-wrap h2, .acad-wrap h3 { color: #0B2D8F; font-family: var(--font-head); }
.acad-wrap h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); margin: 4px 0 10px; overflow-wrap: anywhere; }
.acad-wrap h2 { font-size: 1.35rem; margin: 32px 0 10px; }
.acad-wrap h3 { font-size: 1.1rem; margin: 22px 0 8px; }
.acad-wrap a { color: #0B2D8F; text-decoration: underline; }
.acad-wrap a:hover { color: #08216b; }
.acad-wrap p, .acad-wrap li { overflow-wrap: anywhere; }

.acad-migas { font-size: 14px; margin-bottom: 8px; }
.acad-migas span { color: #5a6070; }
.acad-eyebrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: #0B2D8F; margin: 0; }
.acad-desc { color: #4a5060; }
.acad-contador { margin-top: 12px; font-size: 15px; }
.acad-barra { height: 8px; border-radius: 4px; background: #e6eaf3; overflow: hidden; margin: 8px 0 20px; }
.acad-barra span { display: block; height: 100%; background: #00B5C4; }

.acad-flash { border-left: 4px solid #00B5C4; background: #eefbfc; padding: 10px 14px; border-radius: 8px; margin: 0 0 16px; }
.acad-flash-warn { border-left-color: #8a5a00; background: #fff6e5; }
.acad-aviso { border: 1px dashed #b9c0d0; border-radius: 12px; padding: 20px; background: #f7f8fb; margin: 20px 0; }
.acad-aviso h1 { margin-top: 0; }

/* Listas de módulos y clases */
.acad-modulo { margin-top: 28px; }
.acad-modulo h2 { margin-top: 0; }
.acad-modulo h2 a { text-decoration: none; }
.acad-modulo h2 a:hover { text-decoration: underline; }
.acad-lista { list-style: none; margin: 10px 0 0; padding: 0; border: 1px solid #e1e5ee; border-radius: 12px; overflow: hidden; }
.acad-lista li + li { border-top: 1px solid #e1e5ee; }
.acad-lista a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-height: 48px; text-decoration: none; color: #1b2030; background: #fff; }
.acad-lista a:hover { background: #f1f5fd; text-decoration: none; }
.acad-num { font-family: var(--font-head); color: #0B2D8F; min-width: 34px; font-weight: 600; }
.acad-tit { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.acad-est { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.acad-est-ok { background: #e3f6f8; color: #00525a; border: 1px solid #00B5C4; }
.acad-est-prep { background: #f0f1f4; color: #4a5060; }

/* Contenido de la clase (fragmentos HTML) */
.acad-clase { margin-top: 8px; }
.acad-clase p, .acad-clase li { line-height: 1.75; }
.acad-clase ul, .acad-clase ol { padding-left: 22px; margin: 10px 0; }
.acad-objetivo { background: #eef2fc; border-left: 4px solid #0B2D8F; padding: 14px 16px; border-radius: 8px; margin: 0 0 8px; }
.acad-fig { margin: 22px 0; padding: 12px; border: 1px solid #e1e5ee; border-radius: 12px; background: #fff; overflow-x: auto; }
.acad-fig svg { display: block; width: 100%; height: auto; }
.acad-fig figcaption { font-size: 14px; color: #4a5060; margin-top: 8px; }
.acad-tabla { overflow-x: auto; margin: 18px 0; -webkit-overflow-scrolling: touch; }
.acad-tabla table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; }
.acad-tabla th { background: #0B2D8F; color: #fff; text-align: left; font-family: var(--font-head); font-weight: 500; }
.acad-tabla th, .acad-tabla td { padding: 10px 12px; border: 1px solid #d4d9e6; vertical-align: top; }
.acad-tabla tbody tr:nth-child(even) td { background: #f7f8fb; }
.acad-clave, .acad-errores { border-radius: 12px; padding: 14px 18px; margin: 24px 0; }
.acad-clave { background: #eefbfc; border-left: 5px solid #00B5C4; }
.acad-errores { background: #fff6e5; border-left: 5px solid #8a5a00; }
.acad-clave h2, .acad-clave h3, .acad-errores h2, .acad-errores h3 { margin-top: 0; font-size: 1.1rem; }
.acad-errores h2, .acad-errores h3 { color: #6b4400; }

/* Marcar como leída y navegación */
.acad-marcar { margin: 28px 0 8px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.acad-marcar .acad-leida { margin: 0; font-weight: 700; color: #00525a; }
.acad-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 8px; }
.acad-nav a { display: block; border: 1px solid #c9d0e2; border-radius: 12px; padding: 12px 14px; text-decoration: none; min-height: 48px; background: #fff; overflow-wrap: anywhere; }
.acad-nav a:hover { background: #f1f5fd; text-decoration: none; }
.acad-nav a span { display: block; font-family: var(--font-head); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #0B2D8F; }
.acad-next { text-align: right; }
.acad-indice { text-align: center; margin-top: 16px; }

@media (max-width: 480px) {
  .acad-nav { grid-template-columns: 1fr; }
  .acad-next { text-align: left; }
}

/* Descargas de plantillas PDF */
.acad-descarga { margin: 20px 0; }
.acad-descarga a { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 20px; border: 2px solid #00B5C4; border-radius: 10px; background: #fff; color: #0B2D8F; font-weight: 700; text-decoration: none; }
.acad-descarga a:hover { background: #eefbfc; color: #08216b; text-decoration: none; }
@media (max-width: 480px) { .acad-descarga a { display: flex; justify-content: center; text-align: center; } }

/* Landing de venta */
.acad-hero { text-align: center; padding: 20px 0 8px; }
.acad-hero h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
.acad-hero-sub { font-size: 1.1rem; max-width: 620px; margin: 0 auto 18px; }
.acad-cta { background: #0B2D8F; border-color: #0B2D8F; color: #fff !important; text-decoration: none !important; min-height: 48px; display: inline-flex; align-items: center; }
.acad-cta:hover { background: #08216b; border-color: #08216b; }
.acad-nota { font-size: 14px; color: #4a5060; margin-top: 8px; }
.acad-puntos { padding-left: 22px; margin: 10px 0; }
.acad-puntos li { margin: 8px 0; }
.acad-temario { padding-left: 22px; }
.acad-temario li { margin: 8px 0; }
.acad-temario span { color: #4a5060; font-size: 15px; }
.acad-planes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 14px 0; }
.acad-plan { border: 1px solid #c9d0e2; border-radius: 12px; padding: 18px; background: #fff; }
.acad-plan-dest { border: 2px solid #00B5C4; }
.acad-plan h3 { margin-top: 0; }
.acad-precio { font-family: var(--font-head); font-size: 2rem; color: #0B2D8F; margin: 0 0 6px; }
.acad-precio span { font-size: 1rem; color: #4a5060; }
.acad-dispositivo { background: #eefbfc; border-left: 4px solid #00B5C4; padding: 12px 14px; border-radius: 8px; }
@media (max-width: 560px) { .acad-planes { grid-template-columns: 1fr; } }

/* Página de venta (fragmento content/academia/venta/pagina-de-venta.html) */
.venta-hero { text-align: center; padding: 20px 0 8px; }
.venta-hero h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
.venta-etiqueta { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: #0B2D8F; margin: 0; }
.venta-sub { font-size: 1.1rem; max-width: 640px; margin: 0 auto 16px; }
.venta-boton { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border-radius: 10px; border: 2px solid #0B2D8F; background: #0B2D8F; color: #fff !important; font: 700 16px var(--font-body); text-decoration: none !important; cursor: pointer; }
.venta-boton:hover { background: #08216b; border-color: #08216b; }
.venta-boton-secundario { background: #fff; color: #0B2D8F !important; border-color: #00B5C4; }
.venta-boton-secundario:hover { background: #eefbfc; }
.venta-datos { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 0; margin: 16px 0 0; }
.venta-seccion { margin-top: 36px; }
.venta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.venta-grid article { border: 1px solid #e1e5ee; border-radius: 12px; padding: 16px; background: #fff; }
.venta-grid h3 { margin-top: 0; }
.venta-lista { padding-left: 22px; }
.venta-lista li { margin: 8px 0; }
.venta-modulo { border: 1px solid #e1e5ee; border-radius: 10px; margin: 8px 0; background: #fff; }
.venta-modulo summary { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; min-height: 48px; align-items: center; cursor: pointer; }
.venta-modulo summary span { font-size: 13px; color: #4a5060; white-space: nowrap; }
.venta-modulo p, .venta-modulo ul { margin: 0 14px 12px; }
.venta-modulo ul { padding-left: 20px; }
.venta-planes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 14px 0; }
.venta-plan { border: 1px solid #c9d0e2; border-radius: 12px; padding: 18px; background: #fff; }
.venta-plan-destacado { border: 2px solid #00B5C4; }
.venta-plan h3 { margin-top: 0; }
.venta-plan ul { padding-left: 20px; }
.venta-recomendado { display: inline-block; margin: 0 0 6px; padding: 2px 10px; border-radius: 999px; background: #e3f6f8; color: #00525a; font-size: 12px; font-weight: 700; }
.venta-precio { font-family: var(--font-head); font-size: 1.9rem; color: #0B2D8F; margin: 0 0 6px; }
.venta-precio del { font-size: 1rem; color: #4a5060; }
.venta-fundador { background: #eefbfc; border-left: 4px solid #00B5C4; padding: 8px 12px; border-radius: 8px; }
.venta-bloque { border: 1px solid #e1e5ee; border-radius: 12px; padding: 16px 18px; margin: 16px 0; background: #f7f8fb; }
.venta-bloque h3 { margin-top: 0; }
.venta-compradores label { display: block; font-weight: 600; margin-top: 10px; }
.venta-compradores input { width: 100%; max-width: 360px; min-height: 44px; padding: 8px 12px; border: 1px solid #b9c0d0; border-radius: 8px; font: inherit; }
.venta-compradores .venta-boton { margin-top: 12px; }
.venta-nota { font-size: 14px; color: #4a5060; }
.venta-seccion details { border: 1px solid #e1e5ee; border-radius: 10px; margin: 8px 0; background: #fff; }
.venta-seccion details summary { padding: 12px 14px; min-height: 48px; cursor: pointer; font-weight: 600; }
.venta-seccion details p { margin: 0 14px 12px; }
.venta-cierre { text-align: center; margin: 40px 0 8px; }
.acad-wrap form { margin: 0; }
@media (max-width: 560px) { .venta-grid, .venta-planes { grid-template-columns: 1fr; } }

/* Mapa de profesionales Dr. Pen */
.mapa-filtros { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin: 8px 0 18px; }
.mapa-filtros label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 14px; }
.mapa-filtros select { min-height: 44px; padding: 8px 10px; border: 1px solid #b9c0d0; border-radius: 8px; font: inherit; max-width: 100%; }
.mapa-ciudad { margin-top: 26px; }
.mapa-pro { border: 2px solid #00B5C4; }
.mapa-sello, .mapa-ver { display: inline-block; margin-left: 6px; padding: 1px 9px; border-radius: 999px; font: 700 12px var(--font-body); vertical-align: middle; }
.mapa-sello { background: #0B2D8F; color: #fff; }
.mapa-ver { background: #e3f6f8; color: #00525a; }
.mapa-serv { font-size: 14px; color: #4a5060; }

/* Términos y casilla de aceptación */
.venta-acepto { display: block; font-size: 12px; color: #4a5060; margin: 6px 0 0; line-height: 1.4; }
.acad-terminos h2 { font-size: 1.2rem; }

/* Mapa interactivo (Leaflet) */
.mapa-lienzo { width: 100%; height: 62vh; min-height: 340px; max-height: 620px; border-radius: 12px; border: 1px solid #c9d0e2; margin: 6px 0 8px; z-index: 0; }
.mapa-leyenda { font-size: 13px; color: #4a5060; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin: 0 0 14px; }
.mapa-ley { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px; margin-right: 4px; }
.mapa-ley-pro { background: #0B2D8F; border: 2px solid #00B5C4; }
.mapa-ley-exacto { background: #fff; border: 3px solid #00B5C4; }
.mapa-ley-ciudad { background: #00B5C4; border: 2px solid #fff; box-shadow: 0 0 0 1px #00B5C4; }
.mapa-pin { background: none; border: 0; }
.mapa-pin span { display: block; width: 100%; height: 100%; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.mapa-pin-exacto span { background: #fff; border: 4px solid #00B5C4; }
.mapa-pin-pro span { background: #0B2D8F; border: 4px solid #00B5C4; }
.mapa-pin-ciudad span { border-radius: 50%; transform: none; background: #00B5C4; color: #062b30; border: 3px solid #fff; font: 700 14px/28px var(--font-body); text-align: center; }
.mapa-pin-ciudad.mapa-pin-tiene-pro span { background: #0B2D8F; color: #fff; }
.mapa-pop { font-family: var(--font-body); }
.mapa-pop-titulo { font-weight: 700; color: #0B2D8F; margin-bottom: 6px; }
.mapa-pop-persona { padding: 6px 0; border-top: 1px solid #e1e5ee; }
.mapa-pop-persona:first-of-type { border-top: 0; }
.mapa-pop-persona strong { color: #1b2030; }
.mapa-pop-persona .mapa-sello, .mapa-pop-persona .mapa-ver { margin-left: 4px; }
.mapa-pop-linea { font-size: 13px; color: #2b2f3a; }
.mapa-pop-serv { font-size: 12px; color: #4a5060; margin-top: 2px; }
.mapa-pop-wa { display: inline-block; margin-top: 6px; padding: 6px 12px; border-radius: 8px; border: 2px solid #00B5C4; color: #0B2D8F !important; font-weight: 700; text-decoration: none; }
.leaflet-container a.mapa-pop-wa { color: #0B2D8F; }
.mapa-perfil-lienzo { width: 100%; height: 300px; border-radius: 10px; border: 1px solid #c9d0e2; margin: 8px 0; z-index: 0; }

/* Tarjetas del Mapa Dr. Pen: compactas, 4 por fila en escritorio */
.mapa-wrap { max-width: 1180px; }
.mapa-ciudad h2 { font-size: 1.2rem; margin: 22px 0 8px; }
.mapa-lista { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1000px) { .mapa-lista { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .mapa-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .mapa-lista { grid-template-columns: 1fr; } }
.mapa-card { border: 1px solid #e1e5ee; border-radius: 10px; padding: 10px 12px; background: #fff; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mapa-card.mapa-pro { border: 2px solid #00B5C4; padding: 9px 11px; }
.mc-cab { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.acad-wrap .mc-nombre { margin: 0; font-size: .98rem; line-height: 1.25; color: #1b2030; overflow-wrap: anywhere; }
.mc-cab .mapa-sello, .mc-cab .mapa-ver { margin-left: 0; font-size: 11px; padding: 0 8px; line-height: 18px; }
.acad-wrap .mc-negocio { margin: 0; font-size: 14px; font-weight: 600; color: #0B2D8F; line-height: 1.35; overflow-wrap: anywhere; }
.acad-wrap .mc-linea { margin: 0; display: flex; gap: 4px; align-items: flex-start; font-size: 13px; line-height: 1.4; color: #4a5060; }
.mc-i { flex: none; width: 14px; height: 14px; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 2; }
.acad-wrap .mc-acciones { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.acad-wrap .mc-btn { display: inline-flex; align-items: center; min-height: 32px; padding: 3px 10px; border-radius: 8px; font-size: 13px; font-weight: 700; text-decoration: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acad-wrap .mc-wa { background: #0B2D8F; color: #fff; }
.acad-wrap .mc-wa:hover { background: #08216b; color: #fff; }
.acad-wrap .mc-ig { border: 1.5px solid #00B5C4; color: #0B2D8F; }
.mc-serv { margin-top: 2px; font-size: 13px; }
.mc-serv summary { cursor: pointer; color: #0B2D8F; font-weight: 600; min-height: 28px; display: flex; align-items: center; }
.acad-wrap .mc-serv p { margin: 2px 0 0; color: #4a5060; line-height: 1.4; }
.mapa-pop-ig { display: inline-block; margin: 6px 6px 0 0; font-size: 13px; font-weight: 700; color: #0B2D8F; }

/* Mapa: agrupación por país y ciudad */
.mapa-pais { margin-top: 28px; }
.acad-wrap .mapa-pais > h2 { font-size: 1.3rem; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 2px solid #00B5C4; }
.acad-wrap .mapa-ciudad h3 { font-size: 1.05rem; margin: 16px 0 8px; color: #0B2D8F; }
.mapa-limpiar { align-self: center; font-size: 14px; }

/* ═════ Planes (rediseño): igual altura, botón abajo, Pro destacado ═════ */
.venta-planes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; margin: 18px 0; }
/* Tres columnas necesitan más que los 820 px del texto: la zona de planes se ensancha, centrada. */
@media (min-width: 901px) { .venta-planes { width: min(1080px, calc(100vw - 48px)); position: relative; left: 50%; transform: translateX(-50%); } }
.acad-wrap .vp-precio .venta-precio { white-space: nowrap; }
.venta-plan { position: relative; display: flex; flex-direction: column; gap: 14px; border: 1px solid #d4d9e6; border-radius: 16px; padding: 24px 22px 20px; background: #fff; }
.venta-plan-destacado { border: 2px solid #0B2D8F; padding-top: 44px; box-shadow: 0 12px 32px rgba(11,45,143,.14); }
.venta-plan .venta-recomendado { position: absolute; top: 0; left: 0; right: 0; margin: 0; padding: 7px 12px; border-radius: 13px 13px 0 0; background: #0B2D8F; color: #fff; text-align: center; font: 600 12px var(--font-head); letter-spacing: .12em; text-transform: uppercase; }
.vp-cab h3 { margin: 0; font-size: 1.35rem; }
.acad-wrap .vp-sub { margin: 4px 0 0; font-size: 14px; color: #4a5060; line-height: 1.45; }
.vp-precio { padding: 12px 0; border-top: 1px solid #e6eaf3; border-bottom: 1px solid #e6eaf3; }
.acad-wrap .vp-precio .venta-precio { margin: 0; font-size: 2.1rem; line-height: 1.1; color: #0B2D8F; }
.acad-wrap .vp-antes { margin: 0 0 2px; font-size: 13px; color: #4a5060; }
.vp-antes del { color: #4a5060; }
.acad-wrap .vp-nota { margin: 4px 0 0; font-size: 13px; color: #4a5060; }
.venta-plan .venta-fundador { margin: 0; padding: 8px 12px; border-radius: 10px; border: 0; background: #e3f6f8; color: #00525a; font-size: 14px; }
.vp-lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.acad-wrap .vp-lista li { position: relative; padding-left: 28px; margin: 0; font-size: 15px; line-height: 1.45; }
.vp-lista li::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #00B5C4; }
.vp-lista li::after { content: ''; position: absolute; left: 6px; top: 6px; width: 5px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.acad-wrap .vp-lista li.vp-todo { padding-left: 0; font-weight: 700; color: #0B2D8F; }
.vp-lista li.vp-todo::before, .vp-lista li.vp-todo::after { display: none; }
.vp-cta { margin: auto 0 0; padding-top: 6px; }
.vp-cta form { display: flex; flex-direction: column; gap: 6px; }
.vp-cta .venta-boton { width: 100%; min-height: 52px; font-size: 17px; }
.vp-cta .venta-acepto { text-align: center; }
@media (max-width: 900px) {
  .venta-planes { grid-template-columns: 1fr; }
  .venta-plan-destacado { order: -1; }
  .venta-plan-gratis { order: 1; }
}

/* ═════ Plantillas: vista previa ilustrada (sin contenido real) ═════ */
.venta-plantillas { background: linear-gradient(180deg, #f4f7fd 0%, #fff 100%); border-radius: 18px; padding: 24px 20px; }
.acad-wrap .vpl-intro { margin: 0 0 16px; color: #4a5060; }
.vpl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vpl { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: start; background: #fff; border: 1px solid #e1e5ee; border-radius: 14px; padding: 14px; transition: transform .2s ease, box-shadow .2s ease; }
.vpl:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(11,45,143,.12); }
.vpl-hoja { position: relative; grid-row: span 2; }
.vpl-hoja svg { display: block; width: 100%; height: auto; border-radius: 6px; filter: drop-shadow(0 4px 8px rgba(11,45,143,.18)); transform: rotate(-3deg); transition: transform .25s ease; }
.vpl:hover .vpl-hoja svg { transform: rotate(0deg) scale(1.03); }
.vpl-paginas { position: absolute; right: -4px; bottom: -6px; background: #0B2D8F; color: #fff; font: 600 11px var(--font-body); padding: 2px 8px; border-radius: 999px; }
.acad-wrap .vpl h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.vpl ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 5px; }
.acad-wrap .vpl li { position: relative; padding-left: 16px; margin: 0; font-size: 14px; line-height: 1.45; color: #2b2f3a; }
.vpl li::before { content: ''; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: #00B5C4; }
@media (max-width: 760px) { .vpl-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .vpl { grid-template-columns: 84px 1fr; } }
@media (prefers-reduced-motion: reduce) { .vpl, .vpl-hoja svg { transition: none; } .vpl:hover { transform: none; } }
/* Muestra del certificado (página de venta) */
.venta-certificado h2 { scroll-margin-top: 80px; }
.vcert { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; align-items: center; }
.vcert-hoja { margin: 0; }
.vcert-hoja svg { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 10px 28px rgba(11,45,143,.18); }
.acad-wrap .vcert-hoja figcaption { margin-top: 10px; font-size: 13px; color: #5b606e; text-align: center; }
.vcert-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.acad-wrap .vcert-lista li { position: relative; padding-left: 18px; margin: 0; line-height: 1.45; }
.vcert-lista li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: #00B5C4; }
@media (max-width: 760px) { .vcert { grid-template-columns: 1fr; gap: 16px; } }
.venta-plan ul.vp-lista { padding-left: 0; }
.vp-cta form { width: 100%; }
.vp-cta .venta-boton, .vp-cta form .venta-boton { display: flex; width: 100%; }

/* Lo que el plan Academia no incluye (cruz roja) */
.acad-wrap .vp-lista li.vp-no { color: #5b606e; }
.vp-lista li.vp-no::before { content: '\2715'; background: #fdecec; color: #c0392b; border: 1.5px solid #c0392b; box-sizing: border-box; font: 700 10px/15px Arial, sans-serif; text-align: center; }
.vp-lista li.vp-no::after { display: none; }
/* Mapa dinámico */
.mapa-conteo { align-self: center; margin: 0; font-size: 14px; color: #4a5060; font-weight: 600; }
.mapa-pop-acciones { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.mapa-pop-acciones .mapa-pop-wa, .mapa-pop-acciones .mapa-pop-ig { margin: 0; }

/* ═════ Evaluación final y certificado ═════ */
.ev-tarjeta { display: flex; align-items: center; gap: 12px; margin: 4px 0 18px; padding: 14px 16px; border-radius: 12px; background: #0B2D8F; color: #fff !important; text-decoration: none !important; }
.ev-tarjeta:hover { background: #08216b; }
.ev-tarjeta-txt { flex: 1; font-size: 14px; line-height: 1.45; }
.ev-tarjeta-txt strong { display: block; font-size: 16px; color: #fff; }
.ev-tarjeta-ir { font-size: 22px; }
.ev-intro { margin: 8px 0 16px; }
.ev-bloqueo, .ev-empezar { border: 1px solid #e1e5ee; border-radius: 12px; padding: 16px 18px; background: #f7f8fb; margin: 12px 0; }
.ev-bloqueo h2 { margin-top: 0; font-size: 1.2rem; }
.ev-form { margin-top: 10px; }
.ev-pregunta { border: 1px solid #e1e5ee; border-radius: 12px; padding: 12px 14px 8px; margin: 0 0 12px; background: #fff; }
.ev-pregunta legend { font-weight: 700; color: #1b2030; padding: 0 4px; line-height: 1.45; }
.ev-n { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; margin-right: 6px; border-radius: 50%; background: #e3f6f8; color: #00525a; font-size: 13px; }
.ev-op { display: flex; gap: 10px; align-items: flex-start; padding: 8px 6px; border-radius: 8px; cursor: pointer; line-height: 1.45; }
.ev-op:hover { background: #f1f5fd; }
.ev-op input { margin-top: 4px; min-width: 18px; min-height: 18px; }
.ev-entregar { position: sticky; bottom: 12px; text-align: center; }
.ev-entregar .venta-boton { box-shadow: 0 8px 20px rgba(11,45,143,.25); min-width: 260px; }
.ev-resultado { border-radius: 14px; padding: 18px 20px; margin: 12px 0; border: 1px solid #e1e5ee; }
.ev-resultado h2 { margin-top: 0; }
.ev-ok { background: #eefbfc; border-color: #00B5C4; }
.ev-no { background: #fff6e5; border-color: #e0b25a; }
.ev-calidad { color: #6b4400; }
.ev-cert { border: 2px solid #0B2D8F; border-radius: 16px; padding: 20px; margin: 14px 0; background: linear-gradient(180deg, #f4f7fd, #fff); }
.ev-cert h2 { margin-top: 2px; }
.ev-codigo { font-size: 15px; }
.ev-acciones { display: flex; flex-wrap: wrap; gap: 10px; }
.ev-verificar { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin: 8px 0 16px; }
.ev-verificar label { width: 100%; font-weight: 600; }
.ev-verificar input { flex: 1; min-width: 200px; min-height: 48px; padding: 8px 12px; border: 1px solid #b9c0d0; border-radius: 10px; font: inherit; text-transform: uppercase; }
.ev-datos { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 10px 0 0; }
.ev-datos dt { font-weight: 700; color: #4a5060; }
.ev-datos dd { margin: 0; color: #1b2030; overflow-wrap: anywhere; }
@media (max-width: 520px) { .ev-datos { grid-template-columns: 1fr; } .ev-datos dd { margin-bottom: 6px; } }
.acad-wrap .ev-op { margin: 0; font: 400 15px/1.45 var(--font-body); letter-spacing: normal; text-transform: none; color: #2b2f3a; }
.acad-wrap .ev-op span { font-weight: 400; }

/* Confirmación del nombre del certificado */
.ev-nombre { display: grid; gap: 8px; max-width: 520px; }
.ev-nombre label { font-weight: 700; }
.ev-nombre input { min-height: 48px; padding: 8px 12px; border: 1px solid #b9c0d0; border-radius: 10px; font: inherit; font-size: 17px; }
.ev-preview { margin: 4px 0; padding: 12px 14px; border: 1px dashed #c9d0e2; border-radius: 10px; text-align: center; font: 700 22px var(--font-head); color: #1b2030; background: #fff; overflow-wrap: anywhere; }

/* Mapa: países como chips y bloque para profesionales */
.mapa-paises { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mapa-paises a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border: 1px solid #d5dbe8; border-radius: 999px; background: #fff; color: #0B2D8F; font-size: 14px; font-weight: 600; text-decoration: none; }
.mapa-paises a:hover { border-color: #00B5C4; background: #eefbfc; text-decoration: none; }
.mapa-paises b { display: inline-block; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #0B2D8F; color: #fff; font-size: 12px; text-align: center; }
.mapa-cta { margin: 32px 0 8px; padding: 26px 28px; border: 1px solid #bfeaf0; border-left: 6px solid #00B5C4; border-radius: 14px; background: linear-gradient(135deg, #eefbfc 0%, #ffffff 100%); color: #1d2433; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; box-shadow: 0 6px 20px rgba(11, 45, 143, .08); }
.mapa-cta > div { flex: 1 1 320px; }
.mapa-cta h2 { margin: 0 0 8px; color: #0B2D8F; font-size: 24px; }
.mapa-cta p { margin: 0 0 6px; color: #3a4256; }
.mapa-cta strong { color: #0B2D8F; }
.mapa-cta .mapa-cta-sec { font-size: 14px; color: #5a6070; }
.mapa-cta .btn, .acad-wrap .mapa-cta .btn { flex: 0 0 auto; background: #0B2D8F; border-color: #0B2D8F; color: #fff; text-decoration: none; }
.mapa-cta .btn:hover, .acad-wrap .mapa-cta .btn:hover { background: #00B5C4; border-color: #00B5C4; color: #06223a; text-decoration: none; }
@media (max-width: 560px) { .mapa-cta { padding: 20px; } .mapa-cta .btn { display: flex; width: 100%; justify-content: center; } }

.ev-mejora-precio { font-size: 16px; }
.ev-cert-pro form { display: grid; gap: 6px; max-width: 420px; }

/* Sello de certificado en el mapa: enlaza a la verificación */
.mapa-cert { display: inline-block; margin-left: 0; padding: 0 8px; border-radius: 999px; border: 1.5px solid #00B5C4; background: #fff; color: #00525a !important; font: 700 11px/17px var(--font-body); text-decoration: none !important; vertical-align: middle; }
.mapa-cert:hover { background: #e3f6f8; }
.mapa-pop-persona .mapa-cert { margin-left: 4px; }

/* Selector de moneda de visualización */
.venta-moneda { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 14px 0 6px; padding: 12px 16px; background: #f4f7fd; border: 1px solid #dde4f3; border-radius: 14px; }
.venta-moneda-titulo { margin: 0; font: 600 12px var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: #0B2D8F; }
.vm-fila { display: flex; flex-wrap: wrap; gap: 6px; }
.vm-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #c9d3ec; background: #fff; color: #0B2D8F !important; font: 700 14px var(--font-body); text-decoration: none !important; transition: border-color .15s, background .15s; }
.vm-chip:hover { border-color: #00B5C4; background: #eefbfc; }
.vm-chip:focus-visible, .vm-mas summary:focus-visible { outline: 3px solid #00B5C4; outline-offset: 2px; }
.vm-chip.vm-activo { background: #0B2D8F; border-color: #0B2D8F; color: #fff !important; }
.vm-mas { flex-basis: 100%; border: 0 !important; background: none !important; margin: 0 !important; }
.vm-mas summary { display: inline-flex; align-items: center; min-height: 36px !important; padding: 0 !important; font: 600 14px var(--font-body); color: #0B2D8F; cursor: pointer; }
.vm-mas summary { list-style: none; }
.vm-mas summary::-webkit-details-marker { display: none; }
.vm-mas summary::after { content: ''; width: 7px; height: 7px; margin: -3px 0 0 8px; border-right: 2px solid #00B5C4; border-bottom: 2px solid #00B5C4; transform: rotate(45deg); transition: transform .15s; }
.vm-mas[open] summary::after { transform: rotate(225deg); margin-top: 3px; }
.vm-mas .vm-fila { margin-top: 6px; }
.venta-moneda-nota { flex-basis: 100%; margin: 0; font-size: 13px; color: #4a5060; }
@media (max-width: 560px) { .venta-moneda { padding: 12px; } .vm-chip { min-height: 40px; } }
.acad-wrap .venta-equiv { display: block; margin-top: 2px; font-family: var(--font-body); font-size: 13px; font-weight: 600; line-height: 1.3; color: #4a5060; }
.acad-wrap .venta-equiv[hidden] { display: none; }
.acad-wrap .venta-equiv-linea { display: inline; margin: 0 0 0 4px; font-weight: 400; }

/* Popup del mapa: botón a la página del especialista, y nombre enlazado en la tarjeta. */
.mapa-pop-ver { display: block; margin-top: 8px; padding: 7px 12px; border-radius: 8px; background: #0B2D8F; color: #fff !important; font-weight: 700; font-size: 13px; text-align: center; text-decoration: none; }
.leaflet-container a.mapa-pop-ver { color: #fff; }
.mapa-pop-ver:hover { background: #08216b; }
.acad-wrap .mc-nombre a { color: inherit; text-decoration: none; }
.acad-wrap .mc-nombre a:hover { text-decoration: underline; }

/* Plan Gratis, precio por clase y clase de muestra */
.venta-plan-gratis { background: #f7f9fd; border-style: dashed; }
.acad-wrap .vp-porclase { margin: 4px 0 0; font-size: 13px; font-weight: 600; color: #00525a; }
.vp-fino { color: #5b606e; font-size: 13px; }
.vp-cta p { margin: 0 0 8px; }
.vp-enlace { text-align: center; font-size: 14px; }
.vp-actual { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 40px; border-radius: 10px; background: #e3f6f8; color: #00525a; font: 700 14px var(--font-body); }
.venta-muestra-fin { margin: 32px 0; padding: 22px 20px; border-radius: 16px; background: #f4f7fd; border: 1px solid #dde4f3; text-align: center; }
.acad-wrap .venta-muestra-fin h2 { margin-top: 0; }
