/* ============================================================
   CENESAM Academy — Identidad Visual Base
   Versión 1.0.0
   ============================================================ */

/* ---- Variables de diseño ---------------------------------- */
/* Paleta alineada con la landing de SST 360 (cenesamgroup.com/leysst).
   Criterio de la landing: fondos claros, el verde solo en textos y acentos. */
:root {
    --c-verde-oscuro:  #0E3B2E;   /* verde institucional profundo */
    --c-verde-medio:   #1F5C45;   /* verde medio para hover/bordes */
    --c-verde-claro:   #3F8F5D;
    --c-verde-suave:   #e8f5ee;
    --c-blanco:        #ffffff;
    --c-hueso:         #F7F5EF;   /* fondo cálido del hero */
    --c-gris-claro:    #F4F5F3;   /* fondo general claro */
    --c-gris-medio:    #DADCD8;
    --c-gris-texto:    #4B524C;
    --c-texto:         #1a1a1a;
    --c-dorado:        #C9A24B;
    --c-dorado-suave:  #E6D6A8;
    --c-azul-suave:    #5C7A99;
    --c-rojo:          #C1462F;
    --c-wa:            #25D366;
    --c-paypal:        #003087;

    --radio:           8px;
    --radio-grande:    16px;
    --sombra:          0 4px 20px rgba(0,0,0,0.10);
    --sombra-suave:    0 2px 8px rgba(0,0,0,0.07);
    --transicion:      all 0.25s ease;

    --max-ancho:       1200px;
    --padding-seccion: 80px 0;
}

/* Portada institucional CENESAM Nexus IA */
.home .entry-header.ast-no-thumbnail {
    display: none;
}

.home .ast-article-single {
    padding-top: 0;
}

/* ---- Reset mínimo ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

img { max-width: 100%; height: auto; display: block; }

/* ---- Contenedor base -------------------------------------- */
.cenesam-container {
    max-width: var(--max-ancho);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Tipografía base -------------------------------------- */
.cenesam-titulo-seccion {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: var(--c-verde-oscuro);
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.2;
}

.cenesam-subtitulo-seccion {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--c-gris-texto);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

/* ============================================================
   BOTONES
   ============================================================ */
.cenesam-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transicion);
    line-height: 1.3;
    white-space: nowrap;
}

.cenesam-btn--grande { padding: 16px 36px; font-size: 16px; }

.cenesam-btn--primario {
    background: var(--c-verde-oscuro);
    color: var(--c-blanco);
    border-color: var(--c-verde-oscuro);
}
.cenesam-btn--primario:hover {
    background: var(--c-verde-medio);
    border-color: var(--c-verde-medio);
    color: var(--c-blanco);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,61,43,0.3);
}

.cenesam-btn--secundario {
    background: transparent;
    color: var(--c-verde-oscuro);
    border-color: var(--c-verde-oscuro);
}
.cenesam-btn--secundario:hover {
    background: var(--c-verde-oscuro);
    color: var(--c-blanco);
}

/* Solo se usa en el hero. Antes era blanco translúcido para fondo oscuro;
   con el hero claro pasa a botón de contorno, como los de la landing. */
.cenesam-btn--claro {
    background: var(--c-blanco);
    color: var(--c-verde-oscuro);
    border-color: var(--c-gris-medio);
}
.cenesam-btn--claro:hover {
    background: var(--c-verde-oscuro);
    color: var(--c-blanco);
    border-color: var(--c-verde-oscuro);
    transform: translateY(-2px);
}

.cenesam-btn--paypal {
    background: var(--c-paypal);
    color: var(--c-blanco);
    border-color: var(--c-paypal);
}
.cenesam-btn--paypal:hover {
    background: #00246b;
    border-color: #00246b;
    color: var(--c-blanco);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,48,135,0.3);
}

.cenesam-btn--wa {
    background: var(--c-wa);
    color: var(--c-blanco);
    border-color: var(--c-wa);
}
.cenesam-btn--wa:hover {
    background: #1da851;
    border-color: #1da851;
    color: var(--c-blanco);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

/* ============================================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================================ */
.cenesam-wa-flotante {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: var(--c-wa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.5);
    z-index: 9999;
    transition: var(--transicion);
    text-decoration: none;
}
.cenesam-wa-flotante:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,0.6);
}
.cenesam-wa-flotante::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--c-wa);
    animation: cenesam-wa-pulse 2.5s ease-out infinite;
    z-index: -1;
}

/* Redes sociales oficiales: acceso global, compacto y accesible. */
.cenesam-social-dock {
    position: fixed; left: 18px; bottom: 22px; z-index: 9998; display: flex; align-items: center; gap: 7px;
    padding: 8px; border: 1px solid rgba(255,255,255,.20); border-radius: 999px;
    background: rgba(3,27,38,.88); box-shadow: 0 12px 30px rgba(0,12,20,.28); backdrop-filter: blur(12px);
}
.cenesam-social-dock__label { padding: 0 5px 0 8px; color: rgba(255,255,255,.72); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cenesam-social-dock__link {
    width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: white; text-decoration: none;
    background: rgba(255,255,255,.10); transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.cenesam-social-dock__link svg { width: 19px; height: 19px; fill: currentColor; }
.cenesam-social-dock__link:hover { color: white; transform: translateY(-3px) scale(1.06); }
.cenesam-social-dock__link--youtube { background: #ff0033; box-shadow: 0 5px 13px rgba(255,0,51,.28); }
.cenesam-social-dock__link--facebook { background: #1877f2; box-shadow: 0 5px 13px rgba(24,119,242,.28); }
.cenesam-social-dock__link--tiktok { background: #090909; box-shadow: 2px 2px 0 #25f4ee,-2px -2px 0 #fe2c55; }
.cenesam-social-dock__link--tiktok svg { filter: drop-shadow(1.3px 0 #25f4ee) drop-shadow(-1.3px 0 #fe2c55); }
.cenesam-social-dock__link--linkedin { background: #0a66c2; box-shadow: 0 5px 13px rgba(10,102,194,.28); }
.cenesam-social-dock__link--youtube:hover { background: #d9002b; box-shadow: 0 8px 18px rgba(255,0,51,.42); }
.cenesam-social-dock__link--facebook:hover { background: #1265d2; box-shadow: 0 8px 18px rgba(24,119,242,.42); }
.cenesam-social-dock__link--tiktok:hover { background: #000; box-shadow: 3px 3px 0 #25f4ee,-3px -3px 0 #fe2c55; }
.cenesam-social-dock__link--linkedin:hover { background: #084f98; box-shadow: 0 8px 18px rgba(10,102,194,.42); }
@media (max-width: 680px) {
    .cenesam-social-dock { left: 10px; bottom: 12px; gap: 5px; padding: 6px; }
    .cenesam-social-dock__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .cenesam-social-dock__link { width: 34px; height: 34px; }
}
@keyframes cenesam-wa-pulse {
    0%   { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* ============================================================
   HERO PRINCIPAL
   ============================================================ */
/* Fondo claro como en la landing: el verde va en el texto, no en la pantalla. */
.cenesam-hero {
    position: relative;
    min-height: 62vh;
    display: flex;
    align-items: center;
    background: var(--c-hueso);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Velo apenas perceptible: si el hero lleva imagen de fondo, mantiene legible
   el texto oscuro sin apagar la foto. */
.cenesam-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(247,245,239,0.86) 0%,
        rgba(244,245,243,0.72) 100%
    );
}

.cenesam-hero-contenido {
    position: relative;
    z-index: 2;
    max-width: var(--max-ancho);
    margin: 0 auto;
    padding: 60px 24px;
    color: var(--c-verde-oscuro);
}

.cenesam-hero-etiqueta {
    display: inline-block;
    background: rgba(201,162,75,0.14);
    border: 1px solid rgba(201,162,75,0.45);
    color: #8A6D22;                      /* dorado legible sobre fondo claro */
    padding: 6px 16px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.cenesam-hero-titulo {
    font-size: clamp(28px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    max-width: 700px;
    margin: 0 0 20px;
    color: var(--c-verde-oscuro);
}

.cenesam-hero-titulo em {
    color: var(--c-dorado);
    font-style: normal;
}

.cenesam-hero-subtitulo {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.6;
    max-width: 580px;
    color: var(--c-gris-texto);
    margin-bottom: 36px;
}

.cenesam-hero-botones {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.cenesam-hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    border-top: 1px solid var(--c-gris-medio);
    padding-top: 28px;
}

.cenesam-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cenesam-stat strong {
    font-size: 22px;
    font-weight: 700;
    color: var(--c-verde-oscuro);
}
.cenesam-stat span {
    font-size: 13px;
    color: var(--c-gris-texto);
}

/* ============================================================
   BENEFICIOS
   ============================================================ */
.cenesam-beneficios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    padding: var(--padding-seccion);
    max-width: var(--max-ancho);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.cenesam-beneficio-card {
    background: var(--c-blanco);
    border: 1px solid var(--c-gris-medio);
    border-radius: var(--radio-grande);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transicion);
    box-shadow: var(--sombra-suave);
}
.cenesam-beneficio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sombra);
    border-color: var(--c-verde-claro);
}

.cenesam-beneficio-icono {
    font-size: 40px;
    display: block;
    margin-bottom: 16px;
}
.cenesam-beneficio-titulo {
    font-size: 17px;
    font-weight: 700;
    color: var(--c-verde-oscuro);
    margin: 0 0 8px;
}
.cenesam-beneficio-desc {
    font-size: 14px;
    color: var(--c-gris-texto);
    line-height: 1.5;
    margin: 0;
}

/* ============================================================
   ÁREAS DE FORMACIÓN
   ============================================================ */
.cenesam-areas {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    max-width: var(--max-ancho);
    margin: 0 auto;
    padding: 0 24px 60px;
}

.cenesam-area-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 20px;
    background: var(--c-blanco);
    border: 1px solid var(--c-gris-medio);
    border-radius: var(--radio-grande);
    text-decoration: none;
    transition: var(--transicion);
    box-shadow: var(--sombra-suave);
    text-align: center;
}
.cenesam-area-card:hover {
    background: var(--c-verde-oscuro);
    border-color: var(--c-verde-oscuro);
    color: var(--c-blanco);
    transform: translateY(-4px);
    box-shadow: var(--sombra);
}
.cenesam-area-icono { font-size: 36px; }
.cenesam-area-titulo {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-verde-oscuro);
    line-height: 1.4;
}
.cenesam-area-card:hover .cenesam-area-titulo {
    color: var(--c-blanco);
}

/* ============================================================
   SECCIÓN WEBINAR
   ============================================================ */
.cenesam-webinar-seccion {
    background: var(--c-gris-claro);
    padding: var(--padding-seccion);
}

.cenesam-webinar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 768px) {
    .cenesam-webinar-grid { grid-template-columns: 1fr; }
}

.cenesam-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}
.cenesam-badge--rojo {
    background: rgba(229,57,53,0.1);
    color: var(--c-rojo);
    border: 1px solid rgba(229,57,53,0.3);
}

.cenesam-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: var(--radio-grande);
    overflow: hidden;
    box-shadow: var(--sombra);
}
.cenesam-video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.cenesam-video-placeholder {
    aspect-ratio: 16/9;
    background: var(--c-verde-oscuro);
    border-radius: var(--radio-grande);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--c-blanco);
    font-size: 24px;
}
.cenesam-video-placeholder small {
    font-size: 13px;
    opacity: 0.7;
    text-align: center;
    padding: 0 16px;
}
.cenesam-video-placeholder small a {
    color: inherit;
}

.cenesam-webinar-titulo {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    color: var(--c-verde-oscuro);
    margin: 0 0 20px;
    line-height: 1.3;
}

.cenesam-webinar-lista {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}
.cenesam-webinar-lista li {
    padding: 8px 0;
    font-size: 15px;
    color: var(--c-texto);
    border-bottom: 1px solid var(--c-gris-medio);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cenesam-webinar-botones {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.cenesam-webinar-beneficios-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.cenesam-webinar-beneficios-mini span {
    font-size: 13px;
    color: var(--c-gris-texto);
    background: var(--c-blanco);
    padding: 6px 12px;
    border-radius: 24px;
    border: 1px solid var(--c-gris-medio);
}

/* ============================================================
   CÓMO FUNCIONA
   ============================================================ */
.cenesam-pasos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0;
    max-width: var(--max-ancho);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.cenesam-pasos::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: var(--c-verde-claro);
    opacity: 0.3;
    z-index: 0;
}

.cenesam-paso {
    text-align: center;
    padding: 24px 20px;
    position: relative;
    z-index: 1;
}

.cenesam-paso-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--c-verde-oscuro);
    color: var(--c-blanco);
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 16px rgba(26,61,43,0.3);
}

.cenesam-paso-titulo {
    font-size: 16px;
    font-weight: 700;
    color: var(--c-verde-oscuro);
    margin: 0 0 8px;
}
.cenesam-paso-desc {
    font-size: 14px;
    color: var(--c-gris-texto);
    line-height: 1.5;
    margin: 0;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cenesam-cta-bloque {
    background: var(--c-verde-oscuro);
    color: var(--c-blanco);
    text-align: center;
    padding: 72px 24px;
}
.cenesam-cta-titulo {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 800;
    margin: 0 0 16px;
    color: var(--c-blanco);
}
.cenesam-cta-subtitulo {
    font-size: clamp(15px, 2vw, 18px);
    color: rgba(255,255,255,0.8);
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.6;
}
.cenesam-cta-botones {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   FAQ
   ============================================================ */
.cenesam-faq {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

.cenesam-faq-item {
    border-bottom: 1px solid var(--c-gris-medio);
}

.cenesam-faq-pregunta {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--c-verde-oscuro);
    text-align: left;
    transition: var(--transicion);
}
.cenesam-faq-pregunta:hover { color: var(--c-verde-medio); }

.cenesam-faq-icono {
    font-size: 22px;
    font-weight: 300;
    color: var(--c-verde-medio);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.cenesam-faq-pregunta[aria-expanded="true"] .cenesam-faq-icono {
    transform: rotate(45deg);
}

.cenesam-faq-respuesta {
    padding-bottom: 20px;
}
.cenesam-faq-respuesta p {
    color: var(--c-gris-texto);
    line-height: 1.7;
    margin: 0;
    font-size: 15px;
}

/* ============================================================
   BLOQUE DE PAGOS MANUALES
   ============================================================ */
.cenesam-pagos-bloque {
    background: var(--c-blanco);
    border: 1px solid var(--c-gris-medio);
    border-radius: var(--radio-grande);
    padding: 32px;
    max-width: 640px;
    margin: 0 auto;
    box-shadow: var(--sombra-suave);
}

.cenesam-pagos-titulo {
    font-size: 20px;
    font-weight: 700;
    color: var(--c-verde-oscuro);
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--c-verde-suave);
}

.cenesam-pago-metodo {
    background: var(--c-gris-claro);
    border: 1px solid var(--c-gris-medio);
    border-radius: var(--radio);
    padding: 20px;
    margin-bottom: 16px;
}

.cenesam-pago-metodo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.cenesam-pago-metodo-icono {
    font-size: 24px;
}

.cenesam-pago-metodo-nombre {
    font-size: 16px;
    font-weight: 700;
    color: var(--c-verde-oscuro);
    margin: 0;
}

.cenesam-pago-dato {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--c-gris-medio);
    font-size: 14px;
}
.cenesam-pago-dato:last-of-type { border-bottom: none; }

.cenesam-pago-dato-label {
    color: var(--c-gris-texto);
    font-size: 13px;
    flex-shrink: 0;
}
.cenesam-pago-dato-valor {
    font-weight: 600;
    color: var(--c-texto);
    font-family: monospace;
    font-size: 14px;
}

.cenesam-btn-copiar {
    background: var(--c-verde-oscuro);
    color: var(--c-blanco);
    border: none;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transicion);
    flex-shrink: 0;
}
.cenesam-btn-copiar:hover { background: var(--c-verde-medio); }
.cenesam-btn-copiar.copiado { background: var(--c-verde-claro); }

/* Metodos que se cobran con enlace de pago (PayPal) en vez de datos a copiar */
.cenesam-pago-enlace {
    padding: 4px 0 2px;
}
.cenesam-pago-enlace-nota {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--c-gris-texto);
    line-height: 1.5;
    white-space: normal;
}

.cenesam-pagos-aviso {
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: var(--radio);
    padding: 14px 16px;
    font-size: 13px;
    color: #7a6020;
    margin: 20px 0;
    line-height: 1.5;
}

.cenesam-pagos-acciones {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* ============================================================
   VALIDADOR DE CERTIFICADOS
   ============================================================ */
.cenesam-validador {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 24px;
}

.cenesam-validador-form {
    background: var(--c-blanco);
    border: 1px solid var(--c-gris-medio);
    border-radius: var(--radio-grande);
    padding: 32px;
    box-shadow: var(--sombra-suave);
    margin-bottom: 24px;
}

.cenesam-validador-label {
    display: block;
    font-weight: 600;
    color: var(--c-verde-oscuro);
    margin-bottom: 8px;
    font-size: 15px;
}

.cenesam-validador-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--c-gris-medio);
    border-radius: var(--radio);
    font-size: 16px;
    font-family: monospace;
    color: var(--c-texto);
    transition: var(--transicion);
    margin-bottom: 16px;
}
.cenesam-validador-input:focus {
    outline: none;
    border-color: var(--c-verde-medio);
    box-shadow: 0 0 0 3px rgba(45,122,79,0.15);
}

.cenesam-validador-btn {
    width: 100%;
    padding: 14px;
    background: var(--c-verde-oscuro);
    color: var(--c-blanco);
    border: none;
    border-radius: var(--radio);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transicion);
}
.cenesam-validador-btn:hover { background: var(--c-verde-medio); }

.cenesam-cert-resultado {
    border-radius: var(--radio-grande);
    padding: 28px;
    margin-bottom: 24px;
}

.cenesam-cert-valido {
    background: var(--c-verde-suave);
    border: 2px solid var(--c-verde-claro);
}
.cenesam-cert-invalido {
    background: #fde8e8;
    border: 2px solid #e57373;
}

.cenesam-cert-estado {
    font-size: 20px;
    font-weight: 800;
    color: var(--c-verde-oscuro);
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cenesam-cert-invalido .cenesam-cert-estado { color: #c0392b; }

.cenesam-cert-tabla {
    width: 100%;
    border-collapse: collapse;
}
.cenesam-cert-tabla tr { border-bottom: 1px solid rgba(0,0,0,0.06); }
.cenesam-cert-tabla tr:last-child { border-bottom: none; }
.cenesam-cert-tabla td { padding: 10px 0; font-size: 14px; }
.cenesam-cert-tabla td:first-child {
    color: var(--c-gris-texto);
    width: 160px;
    font-weight: 500;
}
.cenesam-cert-tabla td:last-child {
    font-weight: 600;
    color: var(--c-texto);
}
.cenesam-cert-codigo { font-family: monospace; font-size: 15px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    :root { --padding-seccion: 48px 0; }

    .cenesam-hero { min-height: 70vh; }
    .cenesam-hero-botones { flex-direction: column; }
    .cenesam-hero-stats { gap: 20px; }

    .cenesam-pasos::before { display: none; }

    .cenesam-cta-botones { flex-direction: column; align-items: center; }

    .cenesam-webinar-botones { flex-direction: column; }

    .cenesam-pagos-acciones { flex-direction: column; }

    .cenesam-wa-flotante { bottom: 16px; right: 16px; width: 52px; height: 52px; }
}

@media (max-width: 480px) {
    .cenesam-btn--grande { padding: 14px 24px; font-size: 15px; }
    .cenesam-beneficios { grid-template-columns: 1fr; }
    .cenesam-areas { grid-template-columns: repeat(2, 1fr); }
}

/* BLOG · CENTRO DE CONOCIMIENTO */
.cenesam-blog-hub { padding: clamp(5px,2vw,22px); }
.cenesam-blog-hub__hero { overflow: hidden; padding: clamp(38px,7vw,82px); border: 1px solid rgba(230,185,77,.42); border-radius: 26px; color: #fff; background: radial-gradient(circle at 85% 20%,rgba(25,171,159,.35),transparent 33%),linear-gradient(125deg,#031b28,#064b52 72%,#087f78); box-shadow: 0 28px 65px rgba(0,19,29,.3); }
.cenesam-blog-hub__hero > span,.cenesam-blog-hub__head > span,.cenesam-blog-hub__footer span { color: #e6b94d; font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.cenesam-blog-hub__hero h1 { max-width: 820px; margin: 12px 0 16px; color: #fff; font-size: clamp(36px,6vw,68px); line-height: 1.03; }
.cenesam-blog-hub__hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.8); font-size: 18px; line-height: 1.7; }
.cenesam-blog-hub__hero div { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.cenesam-blog-hub__hero a { padding:13px 21px; border:1px solid #e6b94d; border-radius:10px; color:#062d38; background:#e6b94d; font-weight:800; text-decoration:none; }
.cenesam-blog-hub__hero a + a { color:#fff; background:transparent; border-color:rgba(255,255,255,.45); }
.cenesam-blog-hub__proof { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; margin:18px 0 48px; overflow:hidden; border-radius:14px; background:rgba(8,127,120,.15); }
.cenesam-blog-hub__proof span { padding:18px; color:#52656b; background:rgba(255,255,255,.93); text-align:center; }
.cenesam-blog-hub__proof b { color:#087f78; }
.cenesam-blog-pillars { display:flex; flex-wrap:wrap; justify-content:center; gap:9px; margin:22px 0 16px; }
.cenesam-blog-pillars span { padding:8px 13px; border:1px solid rgba(8,127,120,.22); border-radius:999px; color:#075d62; background:rgba(255,255,255,.88); font-size:12px; font-weight:800; }
.cenesam-blog-featured { display:grid; grid-template-columns:minmax(0,1fr) 210px; gap:36px; margin:0 0 35px; padding:clamp(28px,5vw,52px); border:1px solid rgba(230,185,77,.42); border-radius:22px; color:#fff; background:radial-gradient(circle at 90% 10%,rgba(8,127,120,.45),transparent 38%),linear-gradient(125deg,#031b28,#073f4a); box-shadow:0 22px 52px rgba(1,22,31,.25); }
.cenesam-blog-featured > div > span,.cenesam-blog-subscribe span { color:#e6b94d; font-size:11px; font-weight:900; letter-spacing:.14em; text-transform:uppercase; }
.cenesam-blog-featured h2 { max-width:820px; margin:9px 0 13px; color:#fff; font-size:clamp(26px,4vw,42px); line-height:1.13; }
.cenesam-blog-featured p { color:rgba(255,255,255,.76); line-height:1.7; }
.cenesam-blog-featured ul { display:flex; flex-wrap:wrap; gap:8px; margin:20px 0; padding:0; list-style:none; }
.cenesam-blog-featured li { padding:7px 10px; border-radius:7px; color:#dff7f3; background:rgba(255,255,255,.1); font-size:12px; }
.cenesam-blog-featured a { display:inline-flex; padding:12px 18px; border-radius:9px; color:#062d38; background:#e6b94d; font-weight:900; text-decoration:none; }
.cenesam-blog-featured aside { display:flex; flex-direction:column; justify-content:center; padding:24px; border:1px solid rgba(255,255,255,.16); border-radius:16px; background:rgba(255,255,255,.07); }
.cenesam-blog-featured aside b { color:#e6b94d; font-size:38px; line-height:1; }
.cenesam-blog-featured aside span { margin:2px 0 17px; color:rgba(255,255,255,.72); font-size:12px; text-transform:uppercase; }
.cenesam-blog-featured aside small { color:#fff; font-weight:800; }
.cenesam-blog-method { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; margin-bottom:48px; }
.cenesam-blog-method div { padding:20px; border:1px solid #dce8e6; border-radius:13px; background:rgba(255,255,255,.92); }
.cenesam-blog-method span { color:#e6b94d; font-size:22px; font-weight:900; }
.cenesam-blog-method strong { display:block; margin:8px 0 5px; color:#073845; }
.cenesam-blog-method p { margin:0; color:#68797d; font-size:12px; line-height:1.5; }
.cenesam-blog-hub__head { max-width:760px; margin:0 auto 28px; text-align:center; }
.cenesam-blog-hub__head h2 { margin:8px 0; color:#062d38; font-size:clamp(28px,4vw,43px); }
.cenesam-blog-hub__head p { margin:0; color:#52656b; }
.cenesam-blog-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.cenesam-blog-card { min-height:330px; margin:0; border:1px solid rgba(6,45,56,.12); border-radius:18px; background:linear-gradient(145deg,#fff,#f1f8f7); box-shadow:0 14px 34px rgba(2,29,39,.1); transition:.25s ease; }
.cenesam-blog-card:hover { transform:translateY(-7px); border-color:rgba(230,185,77,.75); box-shadow:0 24px 48px rgba(2,29,39,.17); }
.cenesam-blog-card a { height:100%; display:flex; flex-direction:column; padding:25px; color:inherit; text-decoration:none!important; }
.cenesam-blog-card__number { color:rgba(8,127,120,.2); font-size:42px; font-weight:900; line-height:1; }
.cenesam-blog-card small { margin-top:18px; color:#a97925; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.cenesam-blog-card h2 { margin:8px 0 12px; color:#082d3a; font-size:21px; line-height:1.3; }
.cenesam-blog-card p { margin:0 0 22px; color:#607278; font-size:14px; line-height:1.6; }
.cenesam-blog-card__meta { display:flex; gap:7px; margin:auto 0 14px; }
.cenesam-blog-card__meta span { padding:5px 8px; border-radius:6px; color:#607278; background:#e8f2f0; font-size:10px; font-weight:800; }
.cenesam-blog-card strong { margin-top:auto; color:#087f78; }
.cenesam-blog-hub__footer,.cenesam-blog-article__cta { display:grid; grid-template-columns:minmax(0,1fr) minmax(190px,auto); align-items:center; gap:25px; margin-top:34px; padding:clamp(26px,4vw,44px); border-radius:20px; color:#fff; background:linear-gradient(125deg,#041e2c,#075f61); }
.cenesam-blog-hub__footer h2 { margin:7px 0; color:#fff; }
.cenesam-blog-hub__footer p,.cenesam-blog-article__cta p { margin:0; color:rgba(255,255,255,.7); }
.cenesam-blog-hub__footer a,.cenesam-blog-article__cta a { display:flex; align-items:center; justify-content:center; min-width:0; max-width:260px; padding:13px 20px; border-radius:10px; color:#062d38; background:#e6b94d; font-weight:800; line-height:1.35; text-align:center; text-decoration:none; white-space:normal; overflow-wrap:anywhere; }
.cenesam-blog-article { max-width:900px; margin:0 auto; padding:clamp(12px,3vw,32px); }
.cenesam-blog-article__meta { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.cenesam-blog-article__meta span { padding:6px 9px; border-radius:7px; color:#087f78; background:#e8f5f3; font-size:11px; font-weight:900; }
.cenesam-blog-article__authority { display:flex; flex-wrap:wrap; gap:7px 14px; padding:14px 0; border-top:1px solid #dbe7e5; border-bottom:1px solid #dbe7e5; }
.cenesam-blog-article__authority strong { color:#063d47; }
.cenesam-blog-article__authority span { color:#68797d; font-size:13px; }
.cenesam-blog-article__answer { margin:22px 0 30px; padding:22px; border-radius:13px; color:#fff; background:linear-gradient(125deg,#063642,#087f78); }
.cenesam-blog-article__answer strong { color:#e6b94d; text-transform:uppercase; letter-spacing:.1em; }
.cenesam-blog-article__answer p { margin:7px 0 0; color:rgba(255,255,255,.85); }
.cenesam-blog-article .lead { color:#284c56; font-size:20px; line-height:1.75; }
.cenesam-blog-article h2 { margin-top:34px; color:#062d38; }
.cenesam-blog-article li { margin:10px 0; color:#455e65; }
.cenesam-blog-article__insight { margin:30px 0; padding:24px; border-left:5px solid #e6b94d; border-radius:10px; background:#edf7f5; }
.cenesam-blog-article__insight p { margin:6px 0 0; }
.cenesam-blog-article__cluster { display:flex; align-items:center; flex-wrap:wrap; gap:8px 18px; margin:25px 0; padding:18px 20px; border:1px solid #d6e6e3; border-radius:12px; background:#f5faf9; }
.cenesam-blog-article__cluster span { color:#a97925; font-size:10px; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.cenesam-blog-article__cluster strong { color:#073845; }
.cenesam-blog-article__cluster a { margin-left:auto; color:#087f78; font-weight:800; }
.cenesam-blog-article__cta-actions { display:grid; gap:8px; min-width:220px; }
.cenesam-blog-article__cta-actions a { width:100%; max-width:none; }
.cenesam-blog-article__cta-actions .is-outline { color:#fff; background:transparent; border:1px solid rgba(255,255,255,.45); }
.cenesam-blog-subscribe { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:25px; margin-top:34px; padding:clamp(26px,4vw,42px); border:1px solid rgba(230,185,77,.4); border-radius:18px; background:linear-gradient(145deg,#fffdf7,#f6f0df); }
.cenesam-blog-subscribe h2 { margin:6px 0; color:#073845; }
.cenesam-blog-subscribe p { margin:0; color:#64757a; }
.cenesam-blog-subscribe a { padding:13px 19px; border-radius:9px; color:#fff; background:#087f78; font-weight:900; text-decoration:none; }
.cenesam-tech-table { margin:22px 0 30px; overflow-x:auto; border:1px solid #d7e6e3; border-radius:14px; box-shadow:0 10px 24px rgba(2,29,39,.08); }
.cenesam-tech-table table { width:100%; min-width:620px; margin:0; border:0; border-collapse:collapse; }
.cenesam-tech-table th { padding:13px 15px; color:#fff; background:#07545a; text-align:left; }
.cenesam-tech-table td { padding:13px 15px; border-bottom:1px solid #dce8e6; color:#425d64; vertical-align:top; }
.cenesam-tech-table tr:last-child td { border-bottom:0; }
.cenesam-tech-flow { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:10px; margin:24px 0; padding:22px; border-radius:14px; background:#edf7f5; }
.cenesam-tech-flow b { padding:9px 12px; border:1px solid #b7d9d4; border-radius:9px; color:#064e52; background:#fff; font-size:13px; }
.cenesam-tech-flow span { color:#c18e27; font-weight:900; }
.cenesam-formula { margin:24px 0; padding:24px; border:1px solid rgba(230,185,77,.55); border-radius:14px; background:linear-gradient(145deg,#fffdf7,#f7f1df); text-align:center; }
.cenesam-formula code { display:block; color:#063d47; background:transparent; font-size:clamp(16px,3vw,22px); font-weight:800; }
.cenesam-formula small { display:block; margin-top:9px; color:#68787c; }
@media(max-width:900px){.cenesam-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cenesam-blog-method{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:760px){.cenesam-blog-grid,.cenesam-blog-hub__proof,.cenesam-blog-featured,.cenesam-blog-subscribe{grid-template-columns:1fr}.cenesam-blog-featured aside{display:grid;grid-template-columns:auto 1fr;gap:8px 12px}.cenesam-blog-hub__footer,.cenesam-blog-article__cta{grid-template-columns:1fr;align-items:start}.cenesam-blog-hub__footer a,.cenesam-blog-article__cta a,.cenesam-blog-subscribe a{width:100%;max-width:none;text-align:center}.cenesam-blog-card{min-height:0}.cenesam-blog-article__cluster a{width:100%;margin-left:0}.cenesam-blog-article__cta-actions{width:100%;min-width:0}}
@media(max-width:480px){.cenesam-blog-method{grid-template-columns:1fr}.cenesam-blog-hub__hero{padding:32px 24px}.cenesam-blog-featured{padding:25px 20px}}

/* ============================================
   Tienda Digital (página 18): fondo e identidad
   ============================================ */
body.page-id-18 {
    background: linear-gradient(180deg, #EAF1ED 0%, #F6F3EA 100%);
}

body.page-id-18 ul.products li.product {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px 18px 22px;
    box-shadow: 0 4px 18px rgba(14, 59, 46, 0.10);
    border: 1px solid rgba(14, 59, 46, 0.08);
    transition: transform .15s ease, box-shadow .15s ease;
}

body.page-id-18 ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(14, 59, 46, 0.16);
}

body.page-id-18 ul.products li.product img {
    border-radius: 10px;
}

body.page-id-18 .woocommerce-loop-product__title {
    color: #0E3B2E;
    font-weight: 700;
}

body.page-id-18 ul.products li.product .price {
    color: #0E3B2E;
    font-weight: 700;
    font-size: 1.15em;
}

/* Auditoría técnico-legal: curso de Higiene Industrial */
.cenesam-auditoria-tecnica {
    margin: 36px 0 20px;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid #c9dcd5;
    border-top: 6px solid #d7a92f;
    border-radius: 16px;
    background: linear-gradient(145deg, #f4f8f6 0%, #fffaf0 100%);
    box-shadow: 0 12px 32px rgba(5, 58, 48, .10);
    color: #102a25;
}

.cenesam-auditoria-tecnica h2 {
    margin-top: 0;
    color: #073d33;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.15;
}

.cenesam-auditoria-tecnica li {
    margin-bottom: 12px;
    line-height: 1.65;
}

.cenesam-control-ia {
    margin: 26px 0 18px;
    padding: 18px 20px;
    border-left: 5px solid #d7a92f;
    background: #073d33;
    color: #fff;
    border-radius: 8px;
    line-height: 1.55;
}

.cenesam-fuentes {
    margin-bottom: 0;
    padding-top: 16px;
    border-top: 1px solid #c9dcd5;
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================================
   ATMÓSFERA GLOBAL PREMIUM · CIENCIA + IA
   ============================================================ */
:root {
    --c-noche-premium: #031b26;
    --c-petroleo-premium: #073d46;
    --c-esmeralda-premium: #087f78;
    --c-oro-premium: #e6b94d;
    --c-perla-premium: #f3f8f7;
}

html {
    background: var(--c-noche-premium);
}

body:not(.wp-admin) {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    background-color: #02151f;
    background-image:
        linear-gradient(145deg, rgba(1, 16, 27, .28), rgba(2, 51, 58, .12)),
        url('../images/cenesam-premium-science-bg-v2.png');
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Trama tecnológica fina: visible, elegante y sin competir con el contenido. */
body:not(.wp-admin)::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: .24;
    background-image:
        linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px),
        radial-gradient(circle, rgba(91, 231, 216, .25) 1px, transparent 1.5px);
    background-size: 64px 64px, 64px 64px, 32px 32px;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 88%);
    mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

body:not(.wp-admin)::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 83% 12%, rgba(83, 246, 218, .14), transparent 22rem),
        linear-gradient(115deg, transparent 22%, rgba(255,255,255,.055) 41%, transparent 59%);
    animation: cenesam-premium-light 16s ease-in-out infinite alternate;
}

@keyframes cenesam-premium-light {
    from { transform: translateX(-8%); }
    to   { transform: translateX(8%); }
}

body:not(.wp-admin) #page,
body:not(.wp-admin) .site,
body:not(.wp-admin) .site-content,
body:not(.wp-admin) .ast-container,
body:not(.wp-admin) #primary,
body:not(.wp-admin) #main {
    background-color: transparent;
}

/* Superficies claras tipo cristal para conservar lectura en catálogos y aulas. */
body:not(.wp-admin):not(.home) .site-content > .ast-container {
    margin-top: clamp(18px, 3vw, 38px);
    margin-bottom: clamp(30px, 5vw, 70px);
    padding-top: clamp(22px, 3vw, 42px);
    padding-bottom: clamp(22px, 3vw, 42px);
    border: 1px solid rgba(255,255,255,.62);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(250,253,253,.965), rgba(232,242,241,.94));
    box-shadow: 0 28px 75px rgba(0, 10, 18, .34), inset 0 1px 0 rgba(255,255,255,.95);
    backdrop-filter: blur(15px) saturate(120%);
    -webkit-backdrop-filter: blur(15px) saturate(120%);
}

body:not(.wp-admin) .site-header,
body:not(.wp-admin) .ast-primary-header-bar {
    box-shadow: 0 10px 30px rgba(0, 13, 20, .20);
}

body:not(.wp-admin) .ast-article-single,
body:not(.wp-admin) .ast-article-post,
body:not(.wp-admin) .tutor-card,
body:not(.wp-admin) .woocommerce ul.products li.product {
    border-color: rgba(8, 127, 120, .15);
    box-shadow: 0 14px 34px rgba(2, 29, 39, .10);
}

body:not(.wp-admin) a:focus-visible,
body:not(.wp-admin) button:focus-visible,
body:not(.wp-admin) input:focus-visible,
body:not(.wp-admin) select:focus-visible {
    outline: 3px solid var(--c-oro-premium);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    body:not(.wp-admin) {
        background-attachment: scroll;
    }

    body:not(.wp-admin):not(.home) .site-content > .ast-container {
        width: calc(100% - 20px);
        margin-left: 10px;
        margin-right: 10px;
        border-radius: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body:not(.wp-admin)::after { animation: none; }
}

/* ============================================================
   CONVENIOS ACADÉMICOS
   ============================================================ */
.cenesam-convenios { padding: clamp(10px, 2vw, 24px); }
.cenesam-convenios__intro { max-width: 780px; margin: 0 auto 38px; text-align: center; }
.cenesam-convenios__eyebrow,
.cenesam-convenio-card__meta {
    color: #087f78; font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
}
.cenesam-convenios__intro h1 { margin: 10px 0 14px; color: #062d38; font-size: clamp(30px, 5vw, 52px); line-height: 1.08; }
.cenesam-convenios__intro p { margin: 0; color: #52656b; font-size: 17px; line-height: 1.7; }
.cenesam-convenios__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cenesam-convenio-card {
    overflow: hidden; border: 1px solid rgba(6,45,56,.12); border-radius: 20px; background: rgba(255,255,255,.96);
    box-shadow: 0 18px 44px rgba(2,29,39,.12); transition: transform .25s ease, box-shadow .25s ease;
}
.cenesam-convenio-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(2,29,39,.18); }
.cenesam-convenio-card__brand {
    min-height: 160px; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 28px;
    color: #071f32; text-align: left; background: linear-gradient(145deg,#fff,#f3f8f7); border-bottom: 1px solid #dfe8e7;
}
.cenesam-convenio-card__logo { display: block; width: auto; max-width: min(100%, 390px); object-fit: contain; }
.cenesam-convenio-card__logo--unica { height: 64px; }
.cenesam-convenio-card__logo--cip { height: 92px; }
.cenesam-convenio-card__brand small { display: block; color: #a64a1c; font-weight: 700; }
.cenesam-convenio-card__brand strong { display: block; font-size: 18px; line-height: 1.25; text-transform: uppercase; }
.cenesam-convenio-card__seal {
    width: 66px; height: 66px; flex: 0 0 66px; display: grid; place-items: center; border-radius: 50%;
    color: #68120e; font-weight: 900; background: radial-gradient(circle,#f7d14d 35%,#bf251e 37% 49%,#f0ba28 51%);
    border: 3px solid #d7a92f; box-shadow: 0 5px 14px rgba(0,0,0,.18);
}
.cenesam-convenio-card__seal--cip { color: #f8d354; background: radial-gradient(circle,#a20d16 45%,#f3c43e 47% 53%,#9b1018 55%); font-size: 14px; }
.cenesam-convenio-card__body { display: block; padding: 28px; }
.cenesam-convenio-card__meta { display: block; margin: 0 0 10px; }
.cenesam-convenio-card__body h2 { margin: 10px 0; color: #071f32; font-size: 19px; line-height: 1.35; }
.cenesam-convenio-card__body p { min-height: 0; margin: 0; color: #52656b; line-height: 1.7; }
.cenesam-convenio-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.cenesam-convenio-card__status { padding: 7px 11px; border-radius: 999px; color: #075d71; background: #e4f5fb; font-size: 12px; font-weight: 800; }
.cenesam-convenio-card__footer a { color: #087f78; font-weight: 800; text-decoration: none; }
.cenesam-alianzas { margin-top: 34px; padding: clamp(24px,4vw,42px); border: 1px solid rgba(230,185,77,.28); border-radius: 22px; background: linear-gradient(145deg,rgba(255,255,255,.98),rgba(241,247,245,.97)); box-shadow: 0 22px 55px rgba(2,29,39,.13); }
.cenesam-alianzas__head { max-width: 790px; margin: 0 auto 30px; text-align: center; }
.cenesam-alianzas__head h2 { margin: 8px 0 10px; color: #062d38; font-size: clamp(28px,4vw,42px); line-height: 1.14; }
.cenesam-alianzas__head p { margin: 0; color: #52656b; font-size: 16px; line-height: 1.65; }
.cenesam-alianzas__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.cenesam-alianza-card { overflow: hidden; color: inherit; border: 1px solid rgba(6,45,56,.12); border-radius: 17px; background: #fff; box-shadow: 0 13px 32px rgba(2,29,39,.10); text-decoration: none !important; transition: transform .25s ease,border-color .25s ease,box-shadow .25s ease; }
.cenesam-alianza-card:hover { transform: translateY(-7px); border-color: rgba(230,185,77,.75); box-shadow: 0 22px 44px rgba(2,29,39,.18); }
.cenesam-alianza-card > img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .45s ease; }
.cenesam-alianza-card:hover > img { transform: scale(1.045); }
.cenesam-alianza-card__body { position: relative; min-height: 238px; padding: 48px 20px 20px; text-align: center; }
.cenesam-alianza-card__icon { position: absolute; top: -27px; left: 50%; width: 54px; height: 54px; display: grid; place-items: center; transform: translateX(-50%); border: 5px solid #fff; border-radius: 15px; color: #08a9bd; background: linear-gradient(145deg,#effcff,#ddf7fa); box-shadow: 0 8px 22px rgba(2,29,39,.13); font-size: 25px; font-weight: 800; }
.cenesam-alianza-card h3 { margin: 0; color: #092b39; font-size: 15px; line-height: 1.45; text-transform: uppercase; }
.cenesam-alianza-card strong { display: block; margin: 10px 0 8px; color: #a97925; font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
.cenesam-alianza-card p { margin: 0; color: #697b80; font-size: 12px; line-height: 1.55; }
.cenesam-alianza-card small { position: absolute; right: 20px; bottom: 17px; left: 20px; display: flex; justify-content: center; gap: 8px; color: #173844; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.cenesam-alianza-card small b { color: #087f78; }
.cenesam-convenios__cta {
    display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 30px; padding: clamp(25px,4vw,42px);
    border: 1px solid rgba(230,185,77,.46); border-radius: 20px; color: white;
    background: linear-gradient(120deg,rgba(3,27,38,.98),rgba(7,76,75,.96)); box-shadow: 0 20px 50px rgba(2,29,39,.25);
}
.cenesam-convenios__cta span { color: #e6b94d; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cenesam-convenios__cta h2 { margin: 6px 0; color: white; }
.cenesam-convenios__cta p { margin: 0; color: rgba(255,255,255,.78); }
.cenesam-convenios__cta .cenesam-btn { flex: 0 0 auto; background: #e6b94d; border-color: #e6b94d; color: #071f32; }
.cenesam-experiencias {
    margin-top: 34px; padding: clamp(24px,4vw,42px); overflow: hidden; border: 1px solid rgba(230,185,77,.30);
    border-radius: 22px; color: white; background: linear-gradient(145deg,rgba(2,24,35,.99),rgba(5,52,62,.98));
    box-shadow: 0 24px 58px rgba(1,18,28,.30);
}
.cenesam-experiencias__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; margin-bottom: 26px; }
.cenesam-experiencias__head h2 { margin: 8px 0; color: white; font-size: clamp(27px,4vw,40px); line-height: 1.12; }
.cenesam-experiencias__head p { max-width: 700px; margin: 0; color: rgba(255,255,255,.72); line-height: 1.65; }
.cenesam-experiencias__signature { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.cenesam-experiencias__signature > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: #071f32; background: #e6b94d; }
.cenesam-experiencias__signature strong,
.cenesam-experiencias__signature small { display: block; }
.cenesam-experiencias__signature strong { color: white; font-size: 13px; }
.cenesam-experiencias__signature small { color: rgba(255,255,255,.55); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.cenesam-experiencias__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.cenesam-video-testimonio { overflow: hidden; border: 1px solid rgba(230,185,77,.35); border-radius: 17px; background: rgba(255,255,255,.07); box-shadow: 0 15px 35px rgba(0,0,0,.24); }
.cenesam-video-testimonio__frame { position: relative; aspect-ratio: 16/9; background: #020b12; }
.cenesam-video-testimonio__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cenesam-video-testimonio__meta { display: flex; align-items: center; gap: 14px; padding: 17px 19px; }
.cenesam-video-testimonio__meta > span { color: #e6b94d; font-size: 20px; font-weight: 900; }
.cenesam-video-testimonio__meta strong,
.cenesam-video-testimonio__meta small { display: block; }
.cenesam-video-testimonio__meta strong { color: white; }
.cenesam-video-testimonio__meta small { margin-top: 2px; color: rgba(255,255,255,.58); }
.cenesam-especialistas { margin-top: 34px; padding: clamp(24px,4vw,42px); border: 1px solid rgba(8,127,120,.16); border-radius: 22px; background: rgba(255,255,255,.94); box-shadow: 0 22px 55px rgba(2,29,39,.13); }
.cenesam-especialistas__head { max-width: 760px; margin: 0 auto 28px; text-align: center; }
.cenesam-especialistas__head h2 { margin: 8px 0 10px; color: #062d38; font-size: clamp(28px,4vw,42px); line-height: 1.14; }
.cenesam-especialistas__head p { margin: 0; color: #52656b; font-size: 16px; line-height: 1.65; }
.cenesam-especialistas__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.cenesam-especialista { display: flex; align-items: flex-start; gap: 15px; min-height: 225px; padding: 23px; border: 1px solid #dce9e7; border-radius: 16px; background: linear-gradient(145deg,#fff,#f2f8f7); transition: transform .22s ease,border-color .22s ease,box-shadow .22s ease; }
.cenesam-especialista:hover { transform: translateY(-4px); border-color: rgba(8,127,120,.42); box-shadow: 0 15px 32px rgba(2,60,65,.12); }
.cenesam-especialista__avatar { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: 50%; color: #071f32; font-size: 14px; font-weight: 900; background: linear-gradient(145deg,#f5d477,#e6b94d); box-shadow: 0 6px 15px rgba(155,113,20,.22); }
.cenesam-especialista img.cenesam-especialista__avatar { object-fit: cover; object-position: center top; border: 2px solid #e6b94d; background: #eaf3f2; }
.cenesam-especialista h3 { margin: 1px 0 4px; color: #071f32; font-size: 17px; line-height: 1.3; }
.cenesam-especialista strong { display: block; color: #087f78; font-size: 13px; }
.cenesam-especialista p { margin: 11px 0 0; color: #52656b; font-size: 14px; line-height: 1.6; }
.cenesam-especialistas__action { margin-top: 26px; text-align: center; }
.cenesam-especialistas__action a { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border: 1px solid #087f78; border-radius: 999px; color: #076b66; font-weight: 800; text-decoration: none; transition: .2s ease; }
.cenesam-especialistas__action a:hover { color: white; background: #087f78; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(8,127,120,.22); }

/* Ocultar la tarjeta lateral de autor administrativo del curso. */
body.single-courses .tutor-course-details-instructors {
    display: none !important;
}
@media (max-width: 820px) {
    .cenesam-convenios__grid { grid-template-columns: 1fr; }
    .cenesam-convenio-card__body p { min-height: 0; }
    .cenesam-convenios__cta { align-items: flex-start; flex-direction: column; }
    .cenesam-experiencias__head { align-items: flex-start; flex-direction: column; }
    .cenesam-experiencias__grid { grid-template-columns: 1fr; }
    .cenesam-especialistas__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .cenesam-alianzas__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 480px) {
    .cenesam-convenios { padding: 0; }
    .cenesam-convenio-card__brand { align-items: center; min-height: 135px; padding: 20px; }
    .cenesam-convenio-card__body { padding: 22px; }
    .cenesam-convenio-card__footer { align-items: flex-start; flex-direction: column; }
    .cenesam-especialistas__grid { grid-template-columns: 1fr; }
    .cenesam-especialista { min-height: 0; }
    .cenesam-alianzas { padding: 20px 14px; }
    .cenesam-alianzas__grid { grid-template-columns: 1fr; }
    .cenesam-alianza-card__body { min-height: 220px; }
}
