/* =========================================================
   LOGOS HUB ACADEMY
   SHARED SHELL
   HEADER + FOOTER
========================================================= */


:root {

    --shell-dark: #110F37;
    --shell-purple: #220E7A;
    --shell-green: #13E8A5;

    --shell-white: #FFFFFF;

    --shell-soft: #F7F6FA;
    --shell-green-soft: #E9FFF8;

    --shell-text: #171426;
    --shell-muted: #6D697D;

    --shell-line: #E2DEE7;

}


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


html {

    scroll-behavior: smooth;

}


body {

    margin: 0;

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

    color: var(--shell-text);

}


body *,
body *::before,
body *::after {

    box-sizing: border-box;

}


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


.academy-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background: rgba(255, 255, 255, .94);

    border-bottom: 1px solid rgba(17, 15, 55, .08);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

}


.academy-header-inner {

    width: min(1240px, calc(100% - 48px));

    min-height: 78px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 40px;

}


/* =========================================================
   LOGO
========================================================= */


.academy-logo {

    display: inline-flex;

    align-items: center;

}


.academy-logo img {

    display: block;

    width: auto;
    height: 58px;

    object-fit: contain;

}


/* =========================================================
   NAV
========================================================= */


.academy-nav {

    display: flex;

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

    gap: 31px;

}


.academy-nav > a {

    position: relative;

    display: inline-flex;

    align-items: center;

    gap: 5px;

    padding: 28px 0 25px;

    font-size: 13px;
    line-height: 1;

    font-weight: 700;

    color: #575260;

    transition:
        color .2s ease;

}


.academy-nav > a::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 17px;

    height: 2px;

    background: var(--shell-green);

    transform: scaleX(0);

    transform-origin: center;

    transition:
        transform .2s ease;

}


.academy-nav > a:hover,
.academy-nav > a.active {

    color: var(--shell-purple);

}


.academy-nav > a:hover::after,
.academy-nav > a.active::after {

    transform: scaleX(1);

}


.academy-nav-main-site {

    color: #77717E !important;

}


.academy-nav-main-site i {

    font-size: 10px;

}


/* =========================================================
   LOGIN
========================================================= */


.academy-actions {

    display: flex;

    align-items: center;

    gap: 15px;

}


.academy-login {

    display: inline-flex;

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

    gap: 8px;

    min-height: 42px;

    padding: 0 18px;

    border: 1px solid var(--shell-line);
    border-radius: 999px;

    font-size: 12px;
    font-weight: 800;

    color: var(--shell-purple);

    text-decoration: none;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;

}


.academy-login:hover {

    transform: translateY(-1px);

    background: var(--shell-dark);
    border-color: var(--shell-dark);

    color: var(--shell-white);

}


/* =========================================================
   MOBILE TOGGLE
========================================================= */


.academy-menu-toggle {

    display: none;

    width: 34px;
    height: 25px;

    padding: 0;

    flex-direction: column;
    justify-content: space-between;

    background: transparent;

    border: 0;

    cursor: pointer;

}


.academy-menu-toggle span {

    display: block;

    width: 100%;
    height: 2px;

    background: var(--shell-dark);

    border-radius: 2px;

    transition:
        transform .25s ease,
        opacity .2s ease;

}


.academy-menu-toggle.is-open span:nth-child(1) {

    transform:
        translateY(11.5px)
        rotate(45deg);

}


.academy-menu-toggle.is-open span:nth-child(2) {

    opacity: 0;

}


.academy-menu-toggle.is-open span:nth-child(3) {

    transform:
        translateY(-11.5px)
        rotate(-45deg);

}


/* =========================================================
   FOOTER
========================================================= */


.academy-footer {

    padding: 75px 0 26px;

    background: var(--shell-dark);

    color: var(--shell-white);

}


.academy-footer-container {

    width: min(1240px, calc(100% - 48px));

    margin: 0 auto;

}


.academy-footer-top {

    display: grid;

    grid-template-columns:
        minmax(280px, 1.65fr)
        .7fr
        .7fr
        1fr;

    gap: 60px;

    align-items: start;

}


/* =========================================================
   FOOTER BRAND
========================================================= */


.academy-footer-logo {

    display: inline-flex;

    margin-bottom: 22px;

}


.academy-footer-logo img {

    display: block;

    width: 145px;
    height: auto;

    object-fit: contain;

}


.academy-footer-brand > p {

    max-width: 440px;

    margin: 0;

    font-size: 14px;
    line-height: 1.7;

    color: rgba(255, 255, 255, .64);

}


.academy-footer-note {

    display: block;

    max-width: 270px;

    margin: 25px 0 0 25px;

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

    font-size: 24px;
    font-weight: 500;

    line-height: 1.04;

    color: var(--shell-green);

    transform: rotate(-2deg);

}


/* =========================================================
   FOOTER COLUMNS
========================================================= */


.academy-footer-column h2 {

    margin: 0 0 20px;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1.7px;

    color: var(--shell-green);

}


.academy-footer-column ul {

    list-style: none;

    padding: 0;
    margin: 0;

}


.academy-footer-column li {

    margin-bottom: 12px;

}


.academy-footer-column li:last-child {

    margin-bottom: 0;

}


.academy-footer-column a {

    font-size: 13px;
    line-height: 1.4;

    color: rgba(255, 255, 255, .67);

    text-decoration: none;

    transition:
        color .2s ease;

}


.academy-footer-column a:hover {

    color: var(--shell-white);

}


/* =========================================================
   CONTACT
========================================================= */


.academy-footer-contact > p {

    max-width: 260px;

    margin: 0 0 22px;

    font-size: 13px;
    line-height: 1.65;

    color: rgba(255, 255, 255, .63);

}


.academy-footer-contact
.academy-footer-cta {

    display: inline-flex;

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

    gap: 8px;

    min-height: 44px;

    padding: 0 17px;

    border-radius: 999px;

    background: var(--shell-green);

    font-size: 12px;
    font-weight: 800;

    color: var(--shell-dark);

    transition:
        transform .2s ease,
        background .2s ease;

}


.academy-footer-contact
.academy-footer-cta:hover {

    transform: translateY(-2px);

    background: var(--shell-white);

    color: var(--shell-purple);

}


/* =========================================================
   FOOTER BOTTOM
========================================================= */


.academy-footer-bottom {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto
        auto;

    gap: 30px;

    align-items: center;

    margin-top: 60px;
    padding-top: 23px;

    border-top: 1px solid rgba(255, 255, 255, .12);

    font-size: 11px;

    color: rgba(255, 255, 255, .48);

}


.academy-footer-bottom-links {

    display: flex;

    gap: 18px;

}


.academy-footer-bottom-links a {

    color: rgba(255, 255, 255, .5);

    text-decoration: none;

}


.academy-footer-bottom-links a:hover {

    color: var(--shell-white);

}


.academy-footer-socials {

    display: flex;

    gap: 15px;

}


.academy-footer-socials a {

    display: inline-flex;

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

    color: rgba(255, 255, 255, .7);

    font-size: 15px;

    transition:
        color .2s ease,
        transform .2s ease;

}


.academy-footer-socials a:hover {

    transform: translateY(-2px);

    color: var(--shell-green);

}


/* =========================================================
   WHATSAPP
========================================================= */


.academy-whatsapp {

    position: fixed;

    right: 20px;
    bottom: 20px;

    z-index: 1200;

    display: inline-flex;

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

    gap: 8px;

    min-height: 46px;

    padding: 0 16px;

    border-radius: 999px;

    background: var(--shell-green);

    box-shadow:
        0 16px 38px rgba(17, 15, 55, .19);

    font-size: 12px;
    font-weight: 800;

    color: var(--shell-dark);

    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease;

}


.academy-whatsapp i {

    font-size: 17px;

}


.academy-whatsapp:hover {

    transform: translateY(-2px);

    box-shadow:
        0 20px 45px rgba(17, 15, 55, .24);

}


/* =========================================================
   ACCESSIBILITY
========================================================= */


.academy-header a:focus-visible,
.academy-header button:focus-visible,
.academy-footer a:focus-visible,
.academy-whatsapp:focus-visible {

    outline: 3px solid rgba(19, 232, 165, .55);
    outline-offset: 3px;

}


/* =========================================================
   TABLET
========================================================= */


@media (max-width: 960px) {

    .academy-footer-top {

        grid-template-columns:
            1.4fr
            1fr
            1fr;

    }


    .academy-footer-contact {

        grid-column: 1 / -1;

    }


    .academy-footer-contact > p {

        max-width: 520px;

    }

}


/* =========================================================
   MOBILE
========================================================= */


@media (max-width: 768px) {

    .academy-header-inner {

        width: calc(100% - 32px);

        min-height: 70px;

        grid-template-columns:
            minmax(0, 1fr)
            auto;

    }


    .academy-logo img {

        height: 47px;

    }


    .academy-nav {

        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        display: flex;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 8px 24px 20px;

        background: rgba(255, 255, 255, .98);

        border-bottom: 1px solid var(--shell-line);

        box-shadow:
            0 20px 40px rgba(17, 15, 55, .08);

        opacity: 0;

        transform: translateY(-8px);

        pointer-events: none;

        transition:
            opacity .22s ease,
            transform .22s ease;

    }


    .academy-nav.is-open {

        opacity: 1;

        transform: translateY(0);

        pointer-events: auto;

    }


    .academy-nav > a {

        width: 100%;

        padding: 16px 0;

        border-bottom: 1px solid #F0EDF3;

    }


    .academy-nav > a:last-child {

        border-bottom: 0;

    }


    .academy-nav > a::after {

        display: none;

    }


    .academy-actions {

        gap: 10px;

    }


    .academy-login {

        min-height: 39px;

        padding: 0 14px;

    }


    .academy-login span {

        display: none;

    }


    .academy-menu-toggle {

        display: flex;

    }


    .academy-footer {

        padding: 58px 0 22px;

    }


    .academy-footer-container {

        width: calc(100% - 32px);

    }


    .academy-footer-top {

        grid-template-columns: 1fr;

        gap: 38px;

    }


    .academy-footer-contact {

        grid-column: auto;

    }


    .academy-footer-bottom {

        grid-template-columns: 1fr;

        gap: 16px;

        align-items: start;

    }


    .academy-footer-bottom-links {

        flex-wrap: wrap;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */


@media (max-width: 480px) {

    .academy-header-inner {

        width: calc(100% - 26px);

    }


    .academy-footer-container {

        width: calc(100% - 26px);

    }


    .academy-whatsapp {

        width: 46px;
        height: 46px;

        padding: 0;

    }


    .academy-whatsapp span {

        display: none;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */


@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior: auto;

    }


    .academy-nav,
    .academy-nav > a::after,
    .academy-login,
    .academy-menu-toggle span,
    .academy-footer-column a,
    .academy-footer-cta,
    .academy-footer-socials a,
    .academy-whatsapp {

        transition: none;

    }

}