/* =========================================================
   LAPATA LOG
   SHARED HEADER + FOOTER
========================================================= */


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

.site-header,
.site-header *,
.site-footer,
.site-footer * {
    box-sizing: border-box;
}


.site-header {
    width: 100%;
    position: relative;
    z-index: 1000;

    background:
        linear-gradient(
            135deg,
            #061a3b 0%,
            #082957 55%,
            #061a3b 100%
        );

    border-bottom: 1px solid rgba(255,255,255,.10);

    box-shadow:
        0 8px 28px rgba(0,0,0,.22);

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


.site-header-inner {
    width: 100%;
    max-width: 1280px;

    min-height: 78px;

    margin: 0 auto;
    padding: 10px 22px;

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

    gap: 24px;
}


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

.site-logo {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    min-width: 0;

    color: #fff;
    text-decoration: none;

    flex-shrink: 0;
}


/* WHITE LOGO BOX */

.site-logo-box {
    width: 58px;
    height: 58px;

    min-width: 58px;
    min-height: 58px;

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

    padding: 5px;

    border-radius: 15px;

    /* WHITE BOX */
    background: #ffffff;

    /* RED BLINKING BORDER */
    border: 2px solid #ff3038;

    box-shadow:
        0 0 6px rgba(255,48,56,.45),
        0 0 14px rgba(255,48,56,.20);

    animation:
        lapata-logo-blink 1.6s ease-in-out infinite;

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


/* LOGO IMAGE */

.site-logo-box img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
    object-position: center;

    padding: 0;
    margin: 0;

    background: #ffffff;

    border: 0;
    outline: 0;

    filter:
        drop-shadow(0 2px 5px rgba(0,0,0,.18));
}


/* HOVER */

.site-logo:hover .site-logo-box {
    transform: translateY(-1px) scale(1.03);

    box-shadow:
        0 0 9px rgba(255,48,56,.95),
        0 0 22px rgba(255,48,56,.60),
        0 0 38px rgba(255,48,56,.25);
}


/* =========================================================
   RED BLINKING BORDER
========================================================= */

@keyframes lapata-logo-blink {

    0% {
        border-color: #ff3038;

        box-shadow:
            0 0 5px rgba(255,48,56,.40),
            0 0 11px rgba(255,48,56,.18);
    }

    25% {
        border-color: #ff454c;

        box-shadow:
            0 0 8px rgba(255,48,56,.65),
            0 0 17px rgba(255,48,56,.35);
    }

    50% {
        border-color: #ff7076;

        box-shadow:
            0 0 10px rgba(255,48,56,.95),
            0 0 24px rgba(255,48,56,.62);
    }

    75% {
        border-color: #ff454c;

        box-shadow:
            0 0 8px rgba(255,48,56,.65),
            0 0 17px rgba(255,48,56,.35);
    }

    100% {
        border-color: #ff3038;

        box-shadow:
            0 0 5px rgba(255,48,56,.40),
            0 0 11px rgba(255,48,56,.18);
    }
}


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

.site-logo-info {
    min-width: 0;

    display: flex;
    flex-direction: column;

    justify-content: center;
}


.site-logo-text {
    display: block;

    margin: 0;

    color: #fff;

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

    font-weight: 900;

    letter-spacing: -.7px;

    white-space: nowrap;
}


.site-logo-text b {
    color: #ff3038;
}


.site-logo-tag {
    display: block;

    margin-top: 5px;

    color: #b9c9df;

    font-size: 10px;

    line-height: 1.2;

    letter-spacing: .3px;

    white-space: nowrap;
}


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

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 7px;

    flex-wrap: wrap;
}


.site-nav a {
    display: inline-flex;

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

    min-height: 42px;

    padding: 0 15px;

    border: 1px solid transparent;

    border-radius: 10px;

    color: #eaf1fb;

    text-decoration: none;

    font-size: 13px;

    font-weight: 800;

    white-space: nowrap;

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


.site-nav a:hover {
    color: #fff;

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

    border-color: rgba(255,255,255,.10);

    transform: translateY(-1px);
}


.site-nav a.primary {
    color: #fff;

    background:
        linear-gradient(
            135deg,
            #ff3038,
            #d9151f
        );

    border-color: rgba(255,255,255,.08);

    box-shadow:
        0 7px 18px rgba(235,30,40,.24);
}


.site-nav a.primary:hover {
    background:
        linear-gradient(
            135deg,
            #ff4148,
            #e31b25
        );

    box-shadow:
        0 10px 24px rgba(235,30,40,.35);

    transform: translateY(-2px);
}


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

.site-footer {
    width: 100%;

    background:
        linear-gradient(
            145deg,
            #04152f 0%,
            #06224a 48%,
            #04152f 100%
        );

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

    color: #fff;
}


.site-footer-inner {
    width: 100%;
    max-width: 1280px;

    margin: 0 auto;

    padding: 44px 22px 20px;
}


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

.footer-main {
    display: grid;

    grid-template-columns:
        1.6fr
        .8fr
        .9fr
        1.1fr;

    gap: 38px;
}


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

.footer-brand {
    display: inline-flex;

    align-items: center;

    gap: 13px;

    color: #fff;

    text-decoration: none;
}


/* WHITE FOOTER LOGO BOX */

.footer-logo-box {
    width: 64px;
    height: 64px;

    min-width: 64px;
    min-height: 64px;

    display: flex;

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

    padding: 5px;

    border-radius: 16px;

    /* WHITE BOX */
    background: #ffffff;

    /* RED BORDER */
    border: 2px solid #ff3038;

    box-shadow:
        0 0 6px rgba(255,48,56,.42),
        0 0 14px rgba(255,48,56,.18);

    animation:
        lapata-footer-logo-blink 1.8s ease-in-out infinite;
}


.footer-logo-box img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
    object-position: center;

    background: #ffffff;

    border: 0;
    outline: 0;

    filter:
        drop-shadow(0 2px 5px rgba(0,0,0,.18));
}


/* FOOTER LOGO BLINK */

@keyframes lapata-footer-logo-blink {

    0% {
        border-color: #ff3038;

        box-shadow:
            0 0 5px rgba(255,48,56,.35),
            0 0 10px rgba(255,48,56,.15);
    }

    50% {
        border-color: #ff7378;

        box-shadow:
            0 0 10px rgba(255,48,56,.90),
            0 0 23px rgba(255,48,56,.55);
    }

    100% {
        border-color: #ff3038;

        box-shadow:
            0 0 5px rgba(255,48,56,.35),
            0 0 10px rgba(255,48,56,.15);
    }
}


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

.footer-brand-info {
    display: flex;

    flex-direction: column;
}


.footer-brand-info strong {
    color: #fff;

    font-size: 24px;

    line-height: 1.05;

    font-weight: 900;

    letter-spacing: -.4px;
}


.footer-brand-info strong b {
    color: #ff3038;
}


.footer-brand-info > span {
    margin-top: 5px;

    color: #aebed5;

    font-size: 9px;

    letter-spacing: .3px;

    white-space: nowrap;
}


.footer-copy {
    max-width: 510px;

    margin: 17px 0 0;

    color: #b8c7da;

    font-size: 13px;

    line-height: 1.75;
}


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

.footer-column {
    min-width: 0;
}


.footer-title {
    margin: 0 0 15px;

    color: #fff;

    font-size: 14px;

    line-height: 1.2;

    font-weight: 900;
}


.footer-title::after {
    content: "";

    display: block;

    width: 28px;
    height: 2px;

    margin-top: 8px;

    background: #ff3038;

    border-radius: 99px;

    box-shadow:
        0 0 8px rgba(255,48,56,.45);
}


.footer-links {
    display: flex;

    flex-direction: column;

    gap: 10px;
}


.footer-links a {
    width: fit-content;

    color: #aebdd1;

    text-decoration: none;

    font-size: 13px;

    line-height: 1.4;

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


.footer-links a:hover {
    color: #fff;

    transform: translateX(4px);
}


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

.footer-mission p {
    margin: 0;

    color: #aebdd1;

    font-size: 13px;

    line-height: 1.7;
}


.footer-status {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 15px;

    padding: 8px 11px;

    border-radius: 999px;

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

    border: 1px solid rgba(255,255,255,.08);

    color: #cbd8e8;

    font-size: 11px;

    font-weight: 700;
}


.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #ff3038;

    box-shadow:
        0 0 8px rgba(255,48,56,.85);

    animation:
        footer-status-blink 1.4s ease-in-out infinite;
}


@keyframes footer-status-blink {

    0%,
    100% {
        opacity: .45;
        transform: scale(.85);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);

        box-shadow:
            0 0 12px rgba(255,48,56,1);
    }
}


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

.footer-bottom {
    display: flex;

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

    gap: 20px;

    margin-top: 35px;

    padding-top: 18px;

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

    color: #8294ad;

    font-size: 11px;

    line-height: 1.5;
}


.footer-copyright strong {
    color: #b9c8dc;
}


.footer-tagline {
    text-align: right;
}


.footer-heart {
    color: #ff3038;

    font-size: 15px;

    padding: 0 2px;

    animation:
        footer-heart-beat 1.4s ease-in-out infinite;
}


@keyframes footer-heart-beat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.18);
    }
}


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

@media (max-width: 1000px) {

    .site-header-inner {
        padding: 10px 18px;
    }

    .site-logo-box {
        width: 54px;
        height: 54px;

        min-width: 54px;
        min-height: 54px;
    }

    .site-logo-text {
        font-size: 22px;
    }

    .site-nav a {
        padding: 0 12px;

        font-size: 12px;
    }


    .footer-main {
        grid-template-columns:
            1.5fr
            1fr
            1fr;

        gap: 30px;
    }

    .footer-brand-column {
        grid-column: 1 / -1;
    }
}


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

@media (max-width: 650px) {

    .site-header-inner {
        min-height: 68px;

        padding: 8px 13px;

        gap: 10px;
    }


    .site-logo {
        gap: 9px;
    }


    .site-logo-box {
        width: 48px;
        height: 48px;

        min-width: 48px;
        min-height: 48px;

        padding: 4px;

        border-radius: 13px;
    }


    .site-logo-text {
        font-size: 18px;

        letter-spacing: -.3px;
    }


    .site-logo-tag {
        margin-top: 4px;

        font-size: 8px;

        letter-spacing: .1px;
    }


    .site-nav {
        gap: 5px;
    }


    .site-nav a {
        min-height: 36px;

        padding: 0 10px;

        border-radius: 8px;

        font-size: 11px;
    }


    .site-nav a:not(.primary) {
        display: none;
    }


    /* FOOTER */

    .site-footer-inner {
        padding: 36px 17px 18px;
    }


    .footer-main {
        grid-template-columns: 1fr;

        gap: 28px;
    }


    .footer-brand-column {
        grid-column: auto;
    }


    .footer-logo-box {
        width: 57px;
        height: 57px;

        min-width: 57px;
        min-height: 57px;

        border-radius: 14px;
    }


    .footer-brand-info strong {
        font-size: 21px;
    }


    .footer-brand-info > span {
        font-size: 8px;
    }


    .footer-copy {
        font-size: 12px;

        line-height: 1.7;
    }


    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 8px;

        margin-top: 28px;
    }


    .footer-tagline {
        text-align: left;
    }
}


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

@media (max-width: 380px) {

    .site-header-inner {
        padding-left: 10px;
        padding-right: 10px;
    }


    .site-logo-box {
        width: 44px;
        height: 44px;

        min-width: 44px;
        min-height: 44px;

        border-radius: 11px;
    }


    .site-logo-text {
        font-size: 16px;
    }


    .site-logo-tag {
        font-size: 7px;
    }


    .site-nav a.primary {
        padding: 0 9px;
    }
}



/* =========================================================
   PUBLIC HEADER BUTTONS
========================================================= */

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.site-nav a {
    text-decoration: none;
    white-space: nowrap;
}

/* Login */
.site-nav .login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 10px;

    color: #ffffff;
    background: rgba(255,255,255,.08);

    border: 1px solid rgba(255,255,255,.22);

    font-size: 14px;
    font-weight: 700;

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

.site-nav .login-btn:hover {
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.45);
    transform: translateY(-2px);
}

/* Sign Up */
.site-nav .signup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 21px;
    border-radius: 10px;

    color: #ffffff;

    background: linear-gradient(
        135deg,
        #ff3b3b,
        #d71920
    );

    border: 1px solid rgba(255,90,90,.65);

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

    box-shadow:
        0 8px 22px rgba(215,25,32,.22);

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

.site-nav .signup-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);

    box-shadow:
        0 12px 28px rgba(215,25,32,.34);
}

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

@media (max-width: 760px) {

    .site-header-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .site-logo {
        justify-content: center;
    }

    .site-nav {
        width: 100%;
        justify-content: center;
    }

    .site-nav a {
        flex: 0 0 auto;
    }
}

@media (max-width: 500px) {

    .site-nav {
        gap: 7px;
    }

    .site-nav .report-link {
        display: none;
    }

    .site-nav .login-btn,
    .site-nav .signup-btn {
        min-height: 40px;
        padding: 0 18px;
        font-size: 13px;
    }
}