/* =========================
   BASE
========================= */

body.academia-page {
    background: var(--bg-main);
}

main.academia-page {
    background: transparent !important;
}

#particles-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.dark-mode #particles-bg {
    opacity: 0.3;
}

.academia-page main,
.academia-page section,
.academia-page .sb-container {
    position: relative;
    z-index: 1;
}

/* Contenedor consistente */
.sb-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================
   HERO
========================= */

.academia-hero {
    max-width: 800px;
}

.academia-hero h1 {
    font-size: clamp(2.8rem, 5vw, 4rem);
    line-height: 1.05;
}

.academia-hero p {
    margin-top: 18px;
    color: var(--text-soft);
    font-size: 1.05rem;
}

/* badges */
.hero-badges {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge-soft {
    background: rgba(15, 92, 46, 0.08);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
}

/* =========================
   SECCIONES
========================= */

.section {
    padding: 120px 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
}

.section-text {
    margin: 16px auto 0;
    max-width: 700px;
    text-align: center;
    color: var(--text-soft);
}

/* =========================
   CARDS (APPLE STYLE)
========================= */

.academia-card {
    padding: 28px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    height: 100%;
}

.dark-mode .academia-card {
    background: rgba(28, 28, 30, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.academia-card:hover {
    transform: translateY(-4px);
    background: rgba(0, 0, 0, 0.04);
}

.dark-mode .academia-card:hover {
    background: rgba(255, 255, 255, 0.06);
}

.academia-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.academia-card p {
    color: var(--text-soft);
}

/* =========================
   BLOQUES DESTACADOS
========================= */

.highlight-box {
    padding: 50px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.dark-mode .highlight-box {
    background: rgba(28, 28, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.highlight-box h2 {
    margin-bottom: 16px;
}

.highlight-box p {
    color: var(--text-soft);
    margin-bottom: 25px;
}

/* listas */
.highlight-box ul {
    padding-left: 18px;
}

.highlight-box li {
    margin-bottom: 8px;
    color: var(--text-soft);
}

/* =========================
   STEPS (PROCESO)
========================= */

.step-list {
    margin-top: 50px;
}

.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.step-content h3 {
    margin-bottom: 6px;
}

.step-content p {
    color: var(--text-soft);
}

/* =========================
   CTA FINAL
========================= */

.cta-panel {
    text-align: center;
    padding: 60px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.dark-mode .cta-panel {
    background: rgba(28, 28, 30, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.cta-panel h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
}

.cta-panel p {
    margin-top: 12px;
    color: var(--text-soft);
}

.cta-buttons {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* botones secundarios */
.btn-outline-soft {
    border-radius: 999px;
    padding: 10px 20px;
    background: rgba(15, 92, 46, 0.08);
    color: var(--color-primary);
}

/* nota */
.small-note {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-soft);
}

/* =========================
   ANIMACIONES
========================= */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

    .section {
        padding: 90px 0;
    }

    .highlight-box {
        padding: 30px;
    }

    .cta-panel {
        padding: 40px 20px;
    }

    .step-item {
        flex-direction: column;
        align-items: flex-start;
    }
}