/* ============================================================
   Logros + footer · copiado del diseño de campus/ate-pregrado
   Fuente: campus/_shared/assets/css/campus.css (bloque Logros/footer)
   y pregrado/assets/css/pregrado-theme.css (ajustes finales).
   Actúa sobre los componentes de plataforma _main/components/logros.php
   y _main/components/footer.php.
   ============================================================ */

:root {
    --lc-max-width: 1200px;
    --lc-padding-x: 24px;
    --logros-bg: #002CA0;      /* azul de la sección Logros */
    --footer-ink: #001b5e;     /* texto del footer */
    --footer-accent: #ee1c25;  /* hover de enlaces del footer */
}

/* ── Footer: fondo blanco, texto azul ────────────────────── */
.editorial-footer {
    background: #ffffff !important;
}
.editorial-footer .footer-copyright-text { color: var(--footer-ink) !important; }
.editorial-footer .time-label { color: rgba(0, 27, 94, 0.6) !important; }
.editorial-footer .time-value { color: var(--footer-ink) !important; }
.editorial-footer .time-value:hover { color: var(--footer-accent) !important; }
.editorial-footer .scroll-top-btn {
    background-color: #ffffff !important;
    color: var(--footer-ink) !important;
    box-shadow: 0 4px 15px rgba(0, 34, 65, 0.1) !important;
    border: 1px solid rgba(0, 27, 94, 0.1) !important;
}
.editorial-footer .scroll-top-btn:hover {
    background-color: var(--footer-ink) !important;
    color: #ffffff !important;
}

/* ── Logros: fondo azul, tarjetas de vidrio ──────────────── */
.logros-section {
    background-color: var(--logros-bg) !important;
    padding: 100px 24px !important;
}
.logros-section .flex { align-items: center !important; }
.logros-heading-text {
    color: #ffffff !important;
    font-weight: 900 !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    margin: 0 auto !important;
    width: 100% !important;
    text-transform: none !important;
    font-size: clamp(32px, 4vw, 78px) !important;
    overflow: visible !important;
    line-height: 1.2 !important;
    padding-bottom: 12px !important;
}
#logros-intro { display: none !important; }

/* Tarjetas glassmorphism */
.achievement-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    width: 100%;
    min-height: 350px;
    padding: 40px 30px !important;
    border-radius: 48px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.01) !important;
    backdrop-filter: blur(100px) !important;
    -webkit-backdrop-filter: blur(100px) !important;
    box-shadow:
        inset 0px 39px 56px -36px rgba(255, 255, 255, 0.5),
        inset 0px 7px 11px -4px rgba(255, 255, 255, 1),
        inset 0px -82px 68px -64px rgba(14, 78, 114, 0.3),
        inset 0px 98px 100px -48px rgba(0, 161, 253, 0.3),
        inset 0px 4px 18px 0px rgba(8, 59, 88, 0.3),
        inset 0px 1px 40px 0px rgba(13, 137, 207, 0.2) !important;
}
/* editorial-style.css trae un :hover con elevación que el táctil dispara al tocar;
   se neutraliza y se reactiva solo con puntero real */
.achievement-card:hover { transform: none; }
@media (hover: hover) and (pointer: fine) {
    .achievement-card:hover {
        background: rgba(255, 255, 255, 0.05) !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
        transform: translateY(-8px) !important;
    }
}
.achievement-category {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    margin-bottom: 24px !important;
}
.achievement-title { display: none !important; }
.achievement-desc {
    color: #ffffff !important;
    font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.1rem) !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
}
.achievement-desc strong,
.achievement-desc em { color: #ffffff !important; font-weight: 700 !important; }

/* Controles del slider */
.achievements-slider-controls { padding-bottom: 30px; }
.achievements-slider-controls .swiper-pagination-custom .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.4) !important;
    opacity: 1 !important;
}
.achievements-slider-controls .swiper-pagination-custom .swiper-pagination-bullet-active { background: #ffffff !important; }
.achievements-prev,
.achievements-next { border-color: rgba(255, 255, 255, 0.4) !important; color: #ffffff !important; }
.achievements-prev:hover,
.achievements-next:hover {
    background-color: #ffffff !important;
    color: var(--logros-bg) !important;
    border-color: #ffffff !important;
}

/* Alinear el contenedor con el ancho máximo de la página */
.logros-section .benefits-container {
    max-width: var(--lc-max-width) !important;
    margin: 0 auto !important;
    padding: 0 var(--lc-padding-x) !important;
    box-sizing: border-box !important;
}

@media (max-width: 767px) {
    .logros-section { padding: 50px 15px 20px 15px !important; }
    .logros-heading-text { font-size: clamp(28px, 8vw, 40px) !important; padding-bottom: 8px !important; }
    .achievement-card { min-height: 260px; justify-content: center; gap: 20px; padding: 24px 20px !important; }
    .achievement-category { margin-bottom: 14px !important; }
}
