/* =========================================================
   AURORA APP
   Diseño principal
   ========================================================= */


/* ---------------------------------------------------------
   VARIABLES
--------------------------------------------------------- */

:root {

    --aurora-navy: #0b2742;
    --aurora-navy-light: #173a5e;

    --aurora-gold: #d79b32;
    --aurora-gold-light: #f5c96b;

    --aurora-green: #187e70;
    --aurora-blue: #235b91;

    --aurora-text: #172334;
    --aurora-text-secondary: #6b7788;

    --aurora-background: #f8f7f4;
    --aurora-white: #ffffff;

}


/* =========================================================
   PÁGINA
========================================================= */

html,
body {

    margin: 0;

    width: 100%;
    height: 100%;

}


body {

    font-family:
        "DM Sans",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: #e7eaee;

    overflow: hidden;

}



/* =========================================================
   CONTENEDOR DESKTOP
========================================================= */

.aurora-desktop-container {

    width: 100%;

    height: 100vh;

    display: flex;

    justify-content: center;
    align-items: center;

    box-sizing: border-box;


    background:

        radial-gradient(
            circle at 15% 15%,
            rgba(215,155,50,.12),
            transparent 30%
        ),

        radial-gradient(
            circle at 85% 80%,
            rgba(23,58,94,.16),
            transparent 32%
        ),

        linear-gradient(
            145deg,
            #edf1f4,
            #dce2e8
        );

}



/* =========================================================
   CONTENEDOR APP
========================================================= */

.aurora-phone-container {

    width: 100%;

    height: 100%;

    background: var(--aurora-background);

    overflow: hidden;

}


.aurora-ui-view {

    width: 100%;
    height: 100%;

    overflow-y: auto;
    overflow-x: hidden;

    -webkit-overflow-scrolling: touch;

}



/* =========================================================
   HOME
========================================================= */

.aurora-home {

    position: relative;

    min-height: 100%;

    background:

        linear-gradient(
            180deg,
            #ffffff 0%,
            #faf9f6 100%
        );

    color: var(--aurora-text);

}



/* =========================================================
   HEADER
========================================================= */

.aurora-header {

    height: 88px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding:

        0
        20px;

    box-sizing: border-box;

    background:

        rgba(
            255,
            255,
            255,
            .97
        );

}



/* ---------------------------------------------------------
   MARCA
--------------------------------------------------------- */

.aurora-brand {

    display: flex;

    align-items: center;

    gap: 10px;

}


.aurora-logo {

    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

}


.aurora-logo svg {

    width: 100%;
    height: 100%;

}



/* ---------------------------------------------------------
   NOMBRE AURORA APP
--------------------------------------------------------- */

.aurora-brand-copy {

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.aurora-brand-name {

    font-family:
        "Outfit",
        sans-serif;

    font-size: 27px;

    font-weight: 700;

    line-height: .95;

    letter-spacing: -1.3px;

    color: var(--aurora-navy);

}


.aurora-brand-name span {

    color: var(--aurora-gold);

    font-weight: 600;

}


.aurora-brand-tagline {

    margin-top: 7px;

    padding-left: 1px;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 3.2px;

    color: #667587;

}



/* ---------------------------------------------------------
   PERFIL
--------------------------------------------------------- */

.aurora-profile-button {

    width: 44px;
    height: 44px;

    padding: 0;

    border: 1px solid rgba(11,39,66,.08);

    border-radius: 50%;

    background: #ffffff;

    color: var(--aurora-navy);

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;

    box-shadow:

        0 5px 20px
        rgba(26,42,58,.07);

}


.aurora-profile-button .material-icons {

    font-size: 24px;

}



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

.aurora-hero {

    position: relative;

    height: 280px;

    overflow: hidden;


    background:

        radial-gradient(
            circle at 69% 51%,
            rgba(253,190,79,.50),
            transparent 14%
        ),

        linear-gradient(
            180deg,
            #dae7ef 0%,
            #f4dcc0 60%,
            #f2b86f 100%
        );

}



/* SOL */

.aurora-sun {

    position: absolute;

    width: 43px;
    height: 43px;

    right: 72px;
    bottom: 67px;

    border-radius: 50%;

    background:

        linear-gradient(
            135deg,
            #fff5b9,
            #f4b63d
        );

    box-shadow:

        0 0 25px
        rgba(245,183,63,.75),

        0 0 80px
        rgba(245,183,63,.45);

}



/* MONTAÑAS */

.aurora-mountains {

    position: absolute;

    bottom: 0;
    left: 0;

    width: 100%;

}


.mountain-back {

    height: 125px;

    background:

        linear-gradient(
            140deg,
            #8c9cad,
            #53697e
        );

    opacity: .44;

    clip-path:

        polygon(
            0 72%,
            17% 46%,
            31% 63%,
            48% 27%,
            65% 62%,
            82% 34%,
            100% 63%,
            100% 100%,
            0 100%
        );

}


.mountain-front {

    height: 92px;

    background:

        linear-gradient(
            140deg,
            #344a5e,
            #182f45
        );

    opacity: .94;

    clip-path:

        polygon(
            0 75%,
            17% 42%,
            32% 68%,
            51% 36%,
            67% 70%,
            84% 42%,
            100% 67%,
            100% 100%,
            0 100%
        );

}



/* ---------------------------------------------------------
   TEXTO HERO
--------------------------------------------------------- */

.aurora-hero-content {

    position: relative;

    z-index: 5;

    width: 75%;

    padding:

        27px
        24px;

    box-sizing: border-box;

}


.aurora-small-title {

    font-family:
        "DM Sans",
        sans-serif;

    color: var(--aurora-gold);

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1.7px;

}


.aurora-hero h1 {

    margin:

        5px
        0
        9px;

    font-family:
        "Outfit",
        sans-serif;

    font-size: 39px;

    font-weight: 700;

    line-height: 1;

    letter-spacing: -1.5px;

    color: var(--aurora-navy);

}


.aurora-hero-content > p {

    width: 280px;

    max-width: 100%;

    margin: 0;

    color: #465668;

    font-size: 14px;

    line-height: 1.5;

}



/* =========================================================
   VERSÍCULO
========================================================= */

.aurora-verse {

    width: 292px;

    max-width: 100%;

    margin-top: 15px;

    padding:

        10px
        13px;

    box-sizing: border-box;

    display: flex;

    align-items: flex-start;

    gap: 9px;

    border:

        1px solid
        rgba(255,255,255,.48);

    border-radius: 12px;

    background:

        rgba(
            255,
            255,
            255,
            .66
        );

    backdrop-filter: blur(8px);

    box-shadow:

        0 5px 18px
        rgba(30,45,60,.06);

}


.aurora-verse .material-icons {

    font-size: 18px;

    color: var(--aurora-gold);

}


.aurora-verse strong {

    display: block;

    color: #33475a;

    font-size: 10.5px;

    font-weight: 600;

    line-height: 1.45;

}


.aurora-verse small {

    display: block;

    margin-top: 2px;

    color: #6f7d8a;

    font-size: 9px;

}



/* =========================================================
   CONTENIDO
========================================================= */

.aurora-content {

    padding:

        0
        17px
        25px;

}



/* =========================================================
   ACCIONES PRINCIPALES
========================================================= */

.aurora-actions {

    position: relative;

    z-index: 10;

    margin-top: -26px;

    display: grid;

    grid-template-columns:

        repeat(
            3,
            minmax(0,1fr)
        );

    gap: 10px;

}



/* TARJETA */

.aurora-action {

    min-width: 0;

    min-height: 139px;

    padding:

        13px
        6px;

    border: 0;

    border-radius: 17px;

    cursor: pointer;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    font-family:
        "DM Sans",
        sans-serif;

    box-shadow:

        0 8px 24px
        rgba(15,32,48,.10);

    transition:

        transform .18s ease,
        box-shadow .18s ease;

}


.aurora-action:hover {

    transform:

        translateY(-3px);

    box-shadow:

        0 12px 30px
        rgba(15,32,48,.14);

}


.aurora-action:active {

    transform:

        scale(.97);

}



/* ICONO */

.aurora-action-icon {

    width: 48px;
    height: 48px;

    margin-bottom: 9px;

    display: flex;

    justify-content: center;
    align-items: center;

    border-radius: 14px;

    background:

        rgba(
            255,
            255,
            255,
            .16
        );

}


.aurora-action-icon .material-icons {

    font-size: 29px;

}



/* TEXTOS */

.aurora-action strong {

    color: #ffffff;

    font-family:
        "Outfit",
        sans-serif;

    font-size: 14px;

    font-weight: 600;

}


.aurora-action > span {

    color:

        rgba(
            255,
            255,
            255,
            .88
        );

    font-size: 12px;

}



/* ---------------------------------------------------------
   INSCRIBIR
--------------------------------------------------------- */

.aurora-action-orange {

    background:

        linear-gradient(
            145deg,
            #d9a349,
            #a87320
        );

    color: #ffffff;

}



/* ---------------------------------------------------------
   CURSOS
--------------------------------------------------------- */

.aurora-action-blue {

    background:

        linear-gradient(
            145deg,
            #245d91,
            #11395f
        );

    color: #ffffff;

}



/* ---------------------------------------------------------
   ALUMNOS
--------------------------------------------------------- */

.aurora-action-purple {

    background:

        linear-gradient(
            145deg,
            #248b79,
            #126459
        );

    color: #ffffff;

}



/* =========================================================
   SECCIÓN CURSOS
========================================================= */

.aurora-courses {

    margin-top: 30px;

}


.aurora-section-header {

    margin-bottom: 14px;

    display: flex;

    justify-content: space-between;
    align-items: flex-end;

}


.aurora-section-label {

    display: block;

    margin-bottom: 3px;

    color: var(--aurora-gold);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 1.5px;

}


.aurora-section-header h2 {

    margin: 0;

    font-family:
        "Outfit",
        sans-serif;

    font-size: 22px;

    font-weight: 650;

    letter-spacing: -.4px;

    color: var(--aurora-navy);

}



/* VER TODOS */

.aurora-see-all {

    padding: 5px;

    border: 0;

    background: transparent;

    display: flex;

    align-items: center;

    color: var(--aurora-blue);

    cursor: pointer;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 11px;

    font-weight: 600;

}


.aurora-see-all .material-icons {

    font-size: 18px;

}



/* =========================================================
   TARJETAS CURSO
========================================================= */

.aurora-course {

    width: 100%;

    min-height: 88px;

    margin-bottom: 10px;

    padding: 10px;

    box-sizing: border-box;

    display: flex;

    align-items: center;

    gap: 12px;

    border:

        1px solid
        rgba(15,39,63,.055);

    border-radius: 15px;

    background: #ffffff;

    cursor: pointer;

    box-shadow:

        0 4px 17px
        rgba(15,34,51,.06);

    transition:

        transform .17s ease,
        box-shadow .17s ease;

}


.aurora-course:hover {

    transform:

        translateY(-2px);

    box-shadow:

        0 7px 23px
        rgba(15,34,51,.10);

}



/* ICONO */

.aurora-course-icon {

    flex: 0 0 66px;

    height: 66px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

}


.aurora-course-icon .material-icons {

    color: white;

    font-size: 30px;

}


.aurora-course-icon-1 {

    background:

        linear-gradient(
            145deg,
            #d49d3c,
            #a67325
        );

}


.aurora-course-icon-2 {

    background:

        linear-gradient(
            145deg,
            #285f91,
            #173b5f
        );

}


.aurora-course-icon-3 {

    background:

        linear-gradient(
            145deg,
            #218778,
            #136358
        );

}


.aurora-course-icon-4 {

    background:

        linear-gradient(
            145deg,
            #59677a,
            #344353
        );

}



/* INFORMACIÓN */

.aurora-course-info {

    flex: 1;

    min-width: 0;

}


.aurora-course-info h3 {

    margin:

        0
        0
        4px;

    font-family:
        "Outfit",
        sans-serif;

    font-size: 15px;

    font-weight: 600;

    color: var(--aurora-navy);

}


.aurora-course-info p {

    margin: 0;

    overflow: hidden;

    color: var(--aurora-text-secondary);

    font-size: 10.5px;

    line-height: 1.4;

    display: -webkit-box;

    -webkit-box-orient: vertical;

    -webkit-line-clamp: 2;

}



/* FLECHA */

.aurora-course-button {

    flex: 0 0 31px;

    width: 31px;
    height: 31px;

    padding: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border:

        1px solid
        rgba(23,58,94,.08);

    border-radius: 50%;

    background: #f7f8fa;

    color: var(--aurora-navy);

    cursor: pointer;

}


.aurora-course-button .material-icons {

    font-size: 18px;

}



/* =========================================================
   BOTTOM NAVIGATION
========================================================= */

.aurora-bottom-nav {

    position: sticky;

    z-index: 50;

    bottom: 0;

    height: 68px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    align-items: center;

    border-top:

        1px solid
        rgba(15,39,63,.075);

    background:

        rgba(
            255,
            255,
            255,
            .97
        );

    backdrop-filter: blur(10px);

}


.aurora-nav-item {

    padding: 6px;

    border: 0;

    background: transparent;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 2px;

    color: #8b96a3;

    cursor: pointer;

    font-family:
        "DM Sans",
        sans-serif;

}


.aurora-nav-item .material-icons {

    font-size: 22px;

}


.aurora-nav-item span:last-child {

    font-size: 9px;

    font-weight: 600;

}


.aurora-nav-item.active {

    color: var(--aurora-gold);

}



/* =========================================================
   CARGANDO
========================================================= */

.aurora-empty {

    padding: 30px;

    text-align: center;

    color: #8994a0;

}


.aurora-empty .material-icons {

    font-size: 35px;

}



/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 700px) {

    .aurora-desktop-container {

        padding: 22px;

    }


    .aurora-phone-container {

        width: 430px;

        height:

            calc(
                100vh - 44px
            );

        max-height: 910px;

        border-radius: 32px;

        border:

            7px solid
            #1e2227;

        box-shadow:

            0 30px 90px
            rgba(14,27,39,.30),

            0 7px 20px
            rgba(14,27,39,.16);

    }


    .aurora-ui-view {

        scrollbar-width: none;

    }


    .aurora-ui-view::-webkit-scrollbar {

        display: none;

    }

}



/* =========================================================
   MÓVILES PEQUEÑOS
========================================================= */

@media (max-width: 360px) {

    .aurora-brand-name {

        font-size: 24px;

    }


    .aurora-logo {

        width: 48px;
        height: 48px;

    }


    .aurora-hero h1 {

        font-size: 35px;

    }


    .aurora-action {

        min-height: 126px;

    }


    .aurora-action strong {

        font-size: 12px;

    }


    .aurora-action > span {

        font-size: 10px;

    }

}